
@import url('https://fonts.googleapis.com/css2?family=Barlow+Semi+Condensed:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

:root {
    --black: #101525;
    --green: #2d9b68;
    --green-light: #ecefe2;
    --green-mid:#246846;
    --green-dark: #004438;
    --purple: #5e1891;
    --purple-light: #b5b0ff;
    --purple-dark: #3d1665;
    --yellow-light: #eaeb8e;
    --yellow:#FDC82F;
    --cyan: #83ffff;
    --blue: #24288d;
    /*fonts*/
    --header-font: "Barlow Semi Condensed", sans-serif;
    --body-font: "Roboto", sans-serif;
    /*spacing*/
    --gutter-x: 1rem;
    --gutter-y: 1rem;
}
/*biotech squad website custom css using the bootstrap framework*/

/* General styles */

body {
    font-family: var(--body-font);
    color: var(--black);
}

#main-body {
    position: relative;
}

.screenreader-text {
    position: absolute;
    left: -999px;
    width: 1px;
    height: 1px;
    top: auto;

    &:focus {
        /*color: $background-color;*/
        display: inline-block;
        height: auto;
        width: auto;
        position: static;
        margin: auto;
    }
}

p,
li {
}

h1,
h2,
h3 {
    font-family: var(--header-font);
}

.collapsing {
    -webkit-transition: all 0 ease;
    -o-transition: all 0.5s ease;
    transition: all 0 ease;
}

/*color-palette*/

/* buttons  */
.btn {
    text-transform: uppercase;
    font-family: var(--header-font);
    font-weight: bold;
    display:flex;
    justify-content: center;
    align-items: center;
}

.btn-primary {
    background:var(--purple);   
    border-radius:1rem;
    border:2px solid white;
    padding:.5rem 2rem;
}
.btn-primary:hover {
    background:var(--purple-dark);   
    border:2px solid white;
}
.btn-primary:active {
    background-color:var(--purple-dark) !important;   
    color:rgba(255,255,255,.5) !important;
    border:2px solid white;
}
.btn .oi {
    top: 0.3rem;
    font-size: 105%;
    margin-left: 1rem;
}
a.btn {
    
}


/* Header Nav */
header {
    position: absolute;
    top: 0;
    left: 0;
    background-color: transparent;
    color: #fff;
    width: 100%;
    z-index: 10;
}
header.subpage-header {
   background-color: var(--green-light); 
}

#menu-toggler {
    position: absolute;
    font-family: "M PLUS Rounded 1c";
    font-weight: bold;
    font-size: 30px;
    padding: 5px;
    text-transform: uppercase;
    top: 5px;
    left: 5px;
    z-index: 20;
    color: #fff;
    transition: background ease-out 1s;
}
.navbar-brand {
    height: 54px;
    aspect-ratio: 135 / 45;
    position: absolute;
    left: 50px;
    top: 1px;
}
.navbar-light #menu-toggler[aria-expanded="false"] {
    color: #222;
}

.navbar-light #menu-toggler[aria-expanded="false"]:active {
    color: white;
}

.navbar-light #menu-toggler[aria-expanded="true"] {
    color: white;
}

#menu-toggler[aria-expanded="true"] {
    position: fixed;
}

.navbar-light .navbar-toggler-icon,
.navbar-light .navbar-toggler-icon::after {
    color: #222; /* Set the color to black */
}

#menu-toggler {
    color: var(--purple);
}

#menu-toggler .hamburger-inner,
#menu-toggler .hamburger-inner::before,
#menu-toggler .hamburger-inner::after {
    background-color: var(--purple);
}
#menu-toggler[aria-expanded="true"] .hamburger-inner,
#menu-toggler[aria-expanded="true"] .hamburger-inner::before,
#menu-toggler[aria-expanded="true"] .hamburger-inner::after {
    background-color: #e5e28e;
}
#social-media-container {
    position: absolute;
    top: 8px;
    right: 10px;
    width: auto;
    display: flex;
    align-items: flex-start;
}

a.social-icon {
    display: block;
    height: 48px;
    padding: 6px;
    margin: 0 5px;
    cursor: pointer;
}

.social-icon img {
    height: 100%;
    width: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

#biotech-nav {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    top: -90vh;
    height: 100vh;
    padding: 0;
    align-items: center;
    background-repeat: no-repeat;
    background-color: var(--purple-dark);
    background-size: cover;
    transition-timing-function: ease-out;
    transition-duration: 0.2s;
    transition-property: all;
    /*    overflow:hidden;*/
    z-index: 10;
}

#biotech-nav.show {
    top: 0;
    display: flex;
}

#biotech-nav div {
    position: relative;
    height: auto;
    margin: 60px 10%;
    width: 80%;
    transition-timing-function: ease-in-out;
    transition-duration: 0.3s;
    transition-property: all;
}

#biotech-nav .navbar-nav {
    width: 100%;
    
}

.navbar-dark {
    background: #4e4c70;
}

#biotech-nav .navbar-nav .nav-link {
    width: 100%;
    max-width:600px;
    /*border: 5px solid transparent;*/
    align-content: center;
    padding: 1.75rem 0;
    line-height: 1;
    text-align: center;
    height: auto;
    font-family: var(--header-font);
    font-weight: bold;
    font-size: 2rem;
    text-transform: uppercase;
    background-color: rgba(155,100,150,.0);
    color: #fff;
    transition: all ease-out 0.3s;
    margin:.25rem auto;
    border-radius:2rem;
    box-shadow: inset 0 -5px 80px rgba(255,0,250,.2);
}
#biotech-nav .navbar-nav .nav-item .nav-link:hover {
    background-color: rgba(90, 0, 90, 0.3);
    box-shadow: inset 0 5px 20px rgba(155,0,150,.2);
}
#biotech-nav .navbar-nav .nav-item .nav-link:active {
    background-color: rgba(0, 0, 0, 0.5);
    color: #202;
}

header .navbar {
    height: 60px;
}
header.sticky {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Jumbotron style */
.cover {
    position: relative;
    width: 100%;
    background-size: 180%;
    background-repeat: no-repeat;
    background-position: top;
    overflow: hidden;
}

#hero.cover {
    min-height: 100vh;
    background-color: #ecefe2;
    box-shadow: inset 0 0 200px rgba(10, 68, 54, 0.4);
    justify-content: center;
    align-items: center;
    display: flex;

    & #title {
        width: 80%;
        max-width: 450px;
        margin: 1rem auto;
        text-align: center;

        & img {
            width: 100%;
        }
    }

    & p.lead {
        margin: 1rem auto;
        text-align: center;
        color: var(--green-dark);
        font-weight: bold;
    }

    & .card-deck {
        margin: 3rem auto 0;

        & .card {
            border: 5px solid var(--purple-dark);
            background-color:var(--purple);
            overflow: hidden;
            border-radius: 1rem;
            cursor: pointer !important;
            transition: all 0.3s ease-in-out;
            & a {
                text-decoration:none;
            }

            & .card-body {
                background-color: var(--purple);
                border-top: 5px solid var(--purple-dark);
                color: white;
                font-weight: bold;
                font-size: 1.2rem;
            }
            & p {
                margin-bottom:0.5rem;
            }
            &:hover {
                transform: scale(1.02);
                box-shadow: 0 2px 10px rgba(20,20,0,.8);
            }
            &:active {
                transform: scale(.98);
                box-shadow: 0 -2px 10px rgba(251, 255, 224, 0.93);
            }
        }
    }
}


#hero-subpage.cover {
    display: flex;
    /*    height:20vh;*/
    min-height: 90px;
    background-color: rgba(0, 0, 0, 0.2);
    background-image: url("documents/background.jpg");
    background-size: auto;
    background-position: top;
    color: #000;
    align-content: center;
    align-items: center;
    justify-content: center;
}
#hero-subpage.cover #subpage-title {
    font-size: 2rem;
    letter-spacing: 0.12rem;

    margin: 50px 0 25px;
}

.parallax {
    background-attachment: fixed;
}

#title-small {
    position: absolute;
    top: 0px;
    width: 250px;
    left: calc(50% - 125px);
    padding: 55px 0;
    background: url("documents/Title_1.png") no-repeat;
    background-position: center;
    background-size: 100%;
    z-index: 5;
}

#characters {
    position: absolute;
    width: 120%;
    left: -10%;
    bottom: 0;
    transition: all ease-out 0.3s;
    text-align: center;
}
#characters img {
    width: 100%;
}

#play-button-container {
    position: absolute;
    top: 290px; /*345*/
    width: 80%;
    height: auto;
    left: 10%;
    text-align: center;
    z-index: 2;
    transition: all ease-out 0.3s;
    display: flex;
    align-content: center;
    align-items: center;
    flex-flow: wrap;
}

#play-button-container .btn {
    font-size: 1.5rem;
    margin: 5px auto;
}

#play-button-header {
    position: absolute;
    top: 10px;
    right: 10px;
}

#play-button-header .btn {
    padding-right: 40px;
    padding-left: 40px;
}



section.game-description {
    padding: 1rem 0 1rem;
    background-color: var(--green-light);
    & h1.game-title {
        margin: 0.5rem auto 1rem;
        max-width: 300px;
        & img {
            width: 100%;
            height: auto;
        }
        
    }
    & p {
            font-size: 1.1rem;
        }
    
    &.black-bg {
        color:white;
        background:var(--black);
    }
}


#meet-biotech-section {
    background-image: url(img/section-bg-md.png);
    background-repeat: no-repeat;
    background-size: cover;
    color: #fff;
}

#text-section .row {
    align-content: left;
    align-items: left;
    text-align: left;
    padding: 50px;
    background: rgba(127, 124, 173, 0.4);
}

#video-section .row {
    align-content: center;
    align-items: center;
    text-align: center;
    padding: 50px 0;
    background: rgba(127, 124, 173, 0.4);
}
#video-section .video-container {
    width: 80%;
    height: 45vw; /**added 4-6-21**/
    margin: auto;
    background: #7f7cad;
}
/**added 4-6-21**/
#video-section .video-container iframe {
    height: 100%;
    width: 100%;
}

main {
    /*overflow-x: hidden;*/
}

section {
    padding:1rem 0;
    
    &#about-section {
        background-color: var(--purple-light);
        border-top:5px solid var(--green-dark);
        box-shadow:inset 0 0 40px rgba(20, 0 ,20,.2);
    }
    
}
.characters,
.biotechs {
    min-height: 295px;
    pointer-events: none;

    -webkit-user-select: none; /* Chrome all / Safari all */
    -moz-user-select: none; /* Firefox all */
    -ms-user-select: none; /* IE 10+ */
    user-select: none; /* Likely future */
}

/*characters*/

.character img,
.biotech img {
    height: auto;
    width: 100%;
}

.biotech-section {
    position: relative;
    border-bottom: 1px solid #e5e28e;
    padding: 0;
}

.character-section .text {
    margin: 0 2rem;
}

.character-section h2,
.biotech-section h2 {
    font-style: italic;
}
.character-section .character {
    width: 40%;
    margin: auto;
    transform: translateX(-30%);
}

.biotech-section .biotech {
    width: 90%;
    margin: auto;
    transform: translateX(30%);

    text-align: center;
}

.biotech-section .text {
    padding-left: 1rem;
}

/*
.character-section #enforcement img {
    width:150%;
}
*/
.pull-block {
    color: #e5e28e;
    padding: 1.5rem;
}

.character-section p {
    margin-right: 2rem;
}

.character-section .pull-block h3 {
    font-style: italic;
    letter-spacing: 0.08rem;
    text-shadow: 10px 10px 50px rgba(0, 0, 0, 0.8);
    font-size: 2rem;
}
.character-section .pull-block dl {
    font-size: 1rem;
    margin-right: 0;
}
.character-section .pull-block dt {
    line-height: 1.3;
    font-size: 1.1rem;
}
.character-section .pull-block dd {
    margin-bottom: 1rem;
    line-height: 1.4;
}

.character-section .is-visible .character {
    transform: translateX(0%);
}

.biotech-section .is-visible .biotech {
    transform: translateX(0%);
}
/*   biotechs */

.biotech-section #burger img {
    width: 90%;
}
#pizza img,
#salsa-queso img {
    width: 70%;
}
#leafy-greens img {
    width: 75%;
}

#meet-biotech-section .biotech {
    position: absolute;
    right: -80%;
    bottom: 5%;
    width: 100%;
    opacity: 0;
}
/*    animations */

.show-on-scroll div {
    transition: all ease-out 0.5s;
}

#meet-squad-section .is-visible .character {
    opacity: 1;
}
#meet-biotech-section .is-visible .biotech {
    right: 0%;
    opacity: 1;
}

.show-on-scroll.text {
    transform: translateY(30px);
    opacity: 0;
    transition: all ease-out 1s;
}
.is-visible.text {
    transform: translateY(0);
    opacity: 1;
}

/*footer*/

.footer-container-fluid {
    /*padding: 50px;*/
    background-color: #fff;
    font-size: 0.9rem;
}

.footer-spacer {
    height: 100px;
    background: url(img/city-bg-md.png) bottom center no-repeat;
    background-color: rgba(0, 0, 0, 0.5);
    background-blend-mode: darken;
    background-size: cover;
    background-attachment: fixed;
}
.footer-statements {
    padding-top: 2rem;
    background-color: #fff;
}
footer .logo {
    text-align: center;
}

footer .logo img {
    padding: 1rem 0;
}

a.footer:link {
    color: #6361b8;
    text-decoration: underline;
}
a.footer:visited {
    color: #c9c87f;
}
a.footer:hover {
    color: #c9c87f;
    font-weight: bold;
}

#nmsu-logo {
    width: 50%;
}
#usda-logo {
    width: 100%;
}
#ute-logo {
    width: 80%;
}

#unityContainer {
}
/*accessibilty statement*/
#accessibility-section {
    background: #b5bcdf;
}

#game-section {
    background: #583c5b;
    padding:1.5rem;
    position:relative;
}
/*game*/
main.subpage-main {
    margin-top: 60px;
}

.game-container {
    display:flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #101;
    aspect-ratio: 16 / 9;
    max-width: 1280px;
    margin: auto;
    position:relative;
    overflow:hidden;

    & iframe {
        width: 100%;
        height: 100%;
    }
}
#unityContainer {
    height: 270px;
    width: 480px;
    margin: 5px auto !important;
}

#video-section .video-container #gameplay-video {
    width: 100%;
}
#video-section .row {
    min-height: 70vmin;

    padding-top: 10px;
    padding-bottom: 10px;
}

#accessibility-section-head .row {
    min-height: 70vmin;
    align-content: center;
    font-size: 1.1rem;

    padding-top: 10px;
    padding-bottom: 10px;
}

/*Survey Button STyles*/
#survey-button {
      text-transform:none;
        flex-wrap: wrap;
        font-size:1rem;
        white-space: normal;
        line-height:1;
    font-weight:500;
    padding: 0.5rem 1.25rem;
    }
#survey-button-container {
    max-width:150px;
    margin:auto;
    position:absolute;
   bottom:-70px;
    right:2%;
    z-index:10;
    transition:all .5s ease-out;
    
    &.attention-highlight{
        bottom:3%;
        animation: pulse .5s ease-out infinite reverse;
    }

}
    #header-survey-button-container {
        max-width:150px;
        margin:auto;
        position:absolute;  
        right:5px;
        top:7px;
        &.animate-pulse {
            animation: pulse .5s ease-out infinite reverse;
        }
    }
     
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}




/**/
/**/
/*media queries*/
/**/
/**/
/*Small devices (landscape phones, 576px and up)*/
@media (min-width: 576px) {
    #play-button-container {
        top: 340px;
    }
    #hero.cover {
        /*height:450px;*/
        background-size: 130%;
    }

    #title {
        top: 20px;
    }
    #characters {
        width: 110%;
        left: -5%;
    }

    #meet-biotech-section .biotech {
        right: -80%;
        bottom: -20%;
        width: 100%;
    }

    #hero-subpage.cover #subpage-title {
        font-size: 2.6rem;
    }
    .section .row {
        min-height: 750px;
    }
    .characters,
    .biotechs {
        min-height: 375px;
    }

    #meet-biotech-section .biotech {
        right: -80%;
        bottom: 0;
        width: 90%;
    }

    #meet-biotech-section .is-visible .biotech {
        right: 5%;
    }

}

/* Medium devices (tablets, 768px and up)*/
@media (min-width: 768px) {
    #hero.cover {
    }
    #title {
        width: 50%;
        left: 25%;
    }

    #characters {
        width: 100%;
        left: 0;
    }

    #meet-biotech-section {
        background-image: url(img/section-bg-md.png);
    }
   
    #biotech-nav div {
        margin: 60px 20%;
        width: 60%;
    }
    .section .row {
        min-height: 450px;
        align-content: center !important;
        align-items: center !important;
    }

    #accessibility-section-head .row {
        min-height: 25vmin;
    }

    .characters,
    .biotechs {
        min-height: 225px;
    }

    #meet-biotech-section .biotech {
        right: -100%;
        bottom: -40%;
        width: 170%;
    }

    #meet-biotech-section .is-visible .biotech {
        right: -30%;
    }

    .section .lead {
        font-size: 1.6rem;
    }

    .section h2 {
        font-size: 2.6rem;
    }

    #video-section .video-container {
        width: calc(60% - 4px);
        height: 33vw;
        margin: 4px auto;
        border: 2px solid rgba(0, 0, 0.5);
    }

    #nmsu-logo {
        width: 70%;
    }
    .character-section {
        padding-top: 20px;
    }
    .character-section .character {
        width: 90%;
    }
    .character-section .text {
        margin: 0.5rem;
    }
    .character-section .pull-block {
        margin-left: 33.333%;
    }
    .color-strip {
        top: 0;
        left: 0;
        height: 2%;
        width: 100%;
    }
    #unityContainer {
        height: 432px;
        width: 768px;
    }
    #play-button-container {
        top: 370px;
        justify-content: center;
    }
    #play-button-container .btn {
        margin: 10px;
    }
    #survey-button-container {
             max-width:225px;
    }
    #header-survey-button-container {
        top:4px; max-width:210px;
    }
    #survey-button {
            font-size:1.3rem;
        }
}

/* Large devices (desktops, 992px and up)*/
@media (min-width: 992px) {
    #hero.cover {
        /*        background-image: url('img/bg.png');*/
        /*height:500px;*/
    }

    #title {
    }

    #characters {
        width: 90%;
        left: 5%;
    }
    #meet-biotech-section .biotech {
    }

    .character-section .character {
    }
    .character-section .text {
    }

    .color-strip {
    }

    .character-section {
    }

    #hero-subpage.cover #subpage-title {
    }
    .biotech-section {
    }
    .biotech-section .biotech {
    }
    #unityContainer {
        height: 540px;
        width: 960px;
    }

    #meet-squad-section #enforcement {
        bottom: 10%;
    }

    #meet-squad-section #education {
        bottom: 10%;
    }

    #meet-squad-section #healthcare {
        bottom: -35%;
    }

    #meet-squad-section #research {
        bottom: -30%;
    }
    #play-button-container {
        top: 400px;
    }

    #play-button-container .btn {
        font-size: 1.6rem;
    }
}

/* Extra large devices (large desktops, 1200px and up)*/
@media (min-width: 1200px) {
    #hero.cover {
    }

    #title img {
    }
    #characters img {
    }

    #hero-subpage.cover {
    }
    #meet-biotech-section {
        /*    background-image:url(img/section-bg.png);*/
    }

    #video-section .video-container {
    }
    #meet-biotech-section .biotech {
    }
    #meet-biotech-section .is-visible .biotech {
    }

    #unityContainer {
        height: 720px;
        width: 1280px;
    }
}
@media (min-width: 1440px) {
    #hero.cover {
    }
}

/***************************/

/*!
 * Hamburgers
 * @description Tasty CSS-animated hamburgers
 * @author Jonathan Suh @jonsuh
 * @site https://jonsuh.com/hamburgers
 * @link https://github.com/jonsuh/hamburgers
 */
.hamburger {
    padding: 15px 15px;
    display: inline-block;
    cursor: pointer;
    transition-property: opacity, filter;
    transition-duration: 0.15s;
    transition-timing-function: linear;
    font: inherit;
    color: inherit;
    text-transform: none;
    background-color: transparent;
    border: 0;
    margin: 0;
    overflow: visible;
}
.hamburger:hover {
    opacity: 0.7;
}
.hamburger.is-active:hover {
    opacity: 0.7;
}

.hamburger-box {
    width: 28px;
    height: 22px;
    display: inline-block;
    position: relative;
}

.hamburger-inner {
    display: block;
    top: 50%;
    margin-top: -2px;
}
.hamburger-inner,
.hamburger-inner::before,
.hamburger-inner::after {
    width: 28px;
    height: 3px;
    background-color: #e5e28e;
    border-radius: 3px;
    position: absolute;
    transition-property: transform;
    transition-duration: 0.15s;
    transition-timing-function: ease;
}
.hamburger-inner::before,
.hamburger-inner::after {
    content: "";
    display: block;
}
.hamburger-inner::before {
    top: -10px;
}
.hamburger-inner::after {
    bottom: -10px;
}

/*
   * Elastic
   */
.hamburger--elastic .hamburger-inner {
    top: 2px;
    transition-duration: 0.275s;
    transition-timing-function: cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
.hamburger--elastic .hamburger-inner::before {
    top: 10px;
    transition: opacity 0.125s 0.275s ease;
}
.hamburger--elastic .hamburger-inner::after {
    top: 20px;
    transition: transform 0.275s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.hamburger--elastic.is-active .hamburger-inner,
.hamburger--elastic[aria-expanded="true"] .hamburger-inner {
    transform: translate3d(0, 10px, 0) rotate(135deg);
    transition-delay: 0.075s;
}
.hamburger--elastic.is-active .hamburger-inner::before,
.hamburger--elastic[aria-expanded="true"] .hamburger-inner::before {
    transition-delay: 0s;
    opacity: 0;
}
.hamburger--elastic.is-active .hamburger-inner::after,
.hamburger--elastic[aria-expanded="true"] .hamburger-inner::after {
    transform: translate3d(0, -20px, 0) rotate(-270deg);
    transition-delay: 0.075s;
}
