/***** HOME PAGE STYLING *****/

@font-face {
  font-family: LemonMilk;
  src: url("../css/LEMONMILK-Regular.otf");
}

:root {
  --theme-color-1: #343a56;
  --theme-color-2: #1A1313;
  --theme-color-3: #226371;
  --theme-color-4: #6acaa7;
}

html {
    width: 100%;
    height: 100%;
    padding: 0px;
    background-color: var(--header-color-4);
    overflow-x: hidden;
}

body {
    margin: 0px auto;
}

.hp-container {
    min-height: calc(100vh - 220px);
    width: 100%;
    font-family: Arial, Helvetica, sans-serif;
    overflow-y: auto;
    overflow-x: hidden;
    background-image: linear-gradient(#343a56,#1A1313);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    text-align: center;
    align-items: center;
}

.hp-container h2{
    font-size: 22px;
    font-family: LemonMilk;
    margin: 0 auto;
    padding: 1%;
    text-align: center;
}

/* Link styling */
.hp-container a {
    color: var(--theme-color-4);
}
.hp-container a:visited {
    color: var(--theme-color-4);
}
.hp-container a:hover {
    color: hotpink;
}
.hp-container a:active {
    color: hotpink;
}

.awards-image {
    width: 100%;
    padding-bottom: 10px;
}

.awards-image .megagrants {
    width: 8%;
    min-width: 110px;
    max-width: 180px;
}

.awards-image .aotf-df2 {
    width: 20%;
    min-width: 120px;
    max-width: 110px;
}

.preset-search {
    /* flex: 1 1 auto; */
    flex: 1 0 45vh;
}

.image-container {
    background: #f8f9fa;
    padding: 2vh 8vw 1vh 8vw;
}

.awards-container {
    width: 100%;
    padding-left: 10vw;
    padding-right: 10vw;
    background-color: #f8f9fa;
}

.img-fluid {
    border-radius: 2px;
}

.model-image-container {
    position: relative;
    /* width: 50%; */
}

.model-image-container .btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -65%);
  -ms-transform: translate(-50%, -50%);
  background-color: black;
  color: white;
  /* font-size: 16px; */
  /* padding: 12px 24px; */
  color: var(--theme-color-4);
  border: 2px solid;
  border-color: var(--theme-color-4);
  cursor: pointer;
  border-radius: 5px;
  opacity: 0.7;
}

.nemisindo-pack-release-container {
    padding: 5vh 8vw 2vh 8vw;
    width: 100vw;
    overflow: hidden;
}

.nemisindo-pack-release-container.light {
    background-color: #f8f9fa;
    /* background-image: linear-gradient(#226371, #343a56); */
    color: black;
}

iframe {
    left: -14vh;
    max-height: 450px;
    max-width: calc(450px * (16/9));
}

.home-logo{
    margin: 0 auto;
    padding-top:1%;
    padding-bottom:1%;
    width: 40vh;
    max-width: 60vw;
    mix-blend-mode: lighten;
}

.nemisindo-pack-release-container h3{
    padding: 10px;
    font-family: LemonMilk;
    margin: 0 auto;
    text-align: center;
    color: white;
    font-size: 22px;
}

.nemisindo-pack-release-container.light h3 {
    color: black;
}

.main-content{
    grid-area: main-content;
    text-align: justify;
}

.product-description{
    grid-area: description;
    text-align: left;
    font-size: 14px;
    line-height: 1.2;
}

.product-image{
    grid-area: product-image;
    display: flex;
    flex-direction: column;
    align-items: center;
    align-content: center;
}

.product-image img{
    max-height: 90%;
    max-width: 90%;
}

.product-buttons{
    grid-area: buttons;
    display: flex;
    flex-direction: row;
    align-content: center;
    align-items: center;
    justify-content: space-between;
    margin: auto;
    padding-top: 10px;
}

.product-button{
    width: 100px;
    padding: 10px;
    margin-left: 5px;
    margin-right: 5px;
    cursor:pointer;
    text-align: center;
    border-radius: 5px;
    background-image: linear-gradient(#59c8a5, #226371);
    font-family: Roboto, Sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: white;
    border: none;
    margin: 0 auto;
    display: block;
}

.product-button:hover{
    box-shadow:inset 0px 0px 0px 2px white;
    transition: 0.5s;
}

.product-button.light:hover{
    box-shadow:inset 0px 0px 0px 2px black;
    transition: 0.5s;
}

.product-button-models{
    width: 100px;
    padding: 10px;
    margin-left: 5px;
    margin-right: 5px;
    cursor:pointer;
    text-align: center;
    border-radius: 5px;
    background-image: linear-gradient(#59c8a5, #226371);
    font-family: Roboto, Sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: white;
    border: none;
    margin: 0 auto;
    display: block;
}

.product-button-models:hover{
    box-shadow:inset 0px 0px 0px 2px black;
    transition: 0.5s;
}

.index-box {
    margin: 5px 0 5px 0;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: white;
    cursor: pointer;
    text-align: center;
    box-shadow: 3px 3px 10px 0px black;
    min-width: 160px;
}

.index-box:hover {
    background-image: linear-gradient(#59c8a5, #226371);
    border-color: black;
    color: black;
    opacity: 1;
}

.index-box .model-image{
    border-radius: 10px;
    width: 150px;
    height: 150px;
    margin: 10px;
    background-size:cover;
    background-position: center center;
}

.index-box p{
    font-family: Arial, Helvetica, sans-serif;
    color: black;
    font-size: 16px;
    font-weight: bold;
    margin: 20px 10px 10px 10px;
}

.index-box .inactive {
  background: var(--main-bg-color);
  opacity: 0.5;
  background-position: center center;
}

.index-box:hover{
  transition: 0.2s;
  box-shadow: none;
  background-image: linear-gradient(#59c8a5, #226371);
}

.index-box:hover p{
    transition: 0.2s;
    color: white;
}

@media only screen and (max-width: 1000px) {
    .product-gallery {
        top: 130px;
    }
    .product-gallery h3{
        font-size: 16px;
    }
    product-box{
        grid-template-areas: "product-image" "buttons" "main-content" "description" "video";
        grid-template-rows: auto auto auto auto;
        grid-template-columns: auto;
    }
    .product-image{
        max-height: 30vh;
    }

    #consulting {
        grid-template-areas: "product-image" "main-content";
        grid-template-rows: auto auto;
        grid-template-columns: auto;
        grid-auto-rows: auto;
    }
    #launchbanner{
        padding-left: 0px !important;
    }
    .trailer-video {

    }
}
