@charset "UTF-8";

:root {
    --blue-green: #124660;
    --dark-green: #1B9476;
    --light-green: #8BD59E;
    --cold-white: #C7DBC2;
    --warm-white: #F4EBD6;
}

/* INDEX */

#home {
    margin-top: -40px;
}

.presentation {
    height: calc(100vh - 110px);

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
}

.presentation-main {
    display: flex;
    align-items: center;
    justify-content: center;
}

.presentation-button {
    margin-top: 16vh;
    margin-right: -10vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.presentation-button a {
    text-align: center;
    width: 180px;
    padding: 20px;
    background-color: var(--cold-white);
    color: var(--blue-green);
    text-decoration: none;
    margin-top: 2vh;
    z-index: 1;
    opacity: 0.7;
    transition: .3s;
}

.presentation-button a:hover {
    background-color: var(--dark-green);
    color: white;
    opacity: 1;
}

#presentation-b1 {
    width: 150px;
}

#presentation-b2 {
    width: 180px;
}

#presentation-mascotte {
    width: 100%;
    max-width: 50vh;
    height: auto;
}

#presentation-awards {
    position: absolute;
    width: 20%;
    max-width: 10vh;
    height: auto;

    top: 49vh;
    right: calc(30vw - 60px);

    rotate: 17deg;
}

.presentation_title {
    margin-top: -8vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
    font-family: Inconsolata, monospace;
}

.presentation_title img {
    margin-bottom: 2vh;
}

.scontent-sdelimitation.presentation-del {
    width: 100%;
}

.subpresentation {
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    margin-right: 1em;
    margin-left: 1em;
}

.subpresentation h3 {
    line-height: 20px;
    text-indent: 0;
    text-align: center;
}

.presentation-anim {
    width: 100%;
    max-width: 50vh;
    height: auto;
}

/* SCONTENT--MAIN */

.scontent-mtitle {
    color: var(--dark-green);
    margin-bottom: 4vh;
}

.scontent-mcontent {
    margin-bottom: 6vh;
    overflow: hidden;
}

.scontent-mcontent.ref {
    margin-top: 14vh;
}

.scontent-mcontent.ref li {
    margin-bottom: 10px;
}

.scontent-mcontent.ref p {
    text-indent: 0;
}

.scontent-mcontent p {
    text-indent: 2em;
    margin-bottom: 1em;
}

.scontent-mcontent.intro {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 20px;
    background-color: var(--blue-green);
    /*font-family: Inconsolata, monospace;*/
    color: white;
    padding: 20px 20px 0;
}

.scontent-mcontent.intro p {
    text-indent: 0;
    text-align: center;
    margin: 0 0 1em;
}

.scontent-mcontent.profile p {
    text-indent: 2em;
    margin-top: 1em;
    padding-left: 0;
}

/* SCONTENT--SUB */

.scontent-stitle {
    color: var(--dark-green);
    margin-bottom: 1rem;
}

.scontent-scontent {
    margin-bottom: 2rem;
    margin-left: 1vw;
    margin-right: 1vw;
    overflow: hidden;
}

.scontent-scontent.align .scontent-bicontent {
    margin: auto;
    justify-content: space-around;
}

.scontent-scontent.questrep {
    padding-left: 10px;
    padding-right: 10px;
}

.scontent-scontent.questrep .scontent-ttitle {
    text-align: left;
    margin-left: 0;
    margin-top: 1em;
    margin-bottom: 1em;
}

.scontent-scontent.questrep p {
    text-indent: 0;
    text-align: right;
}

.scontent-sdelimitation {
    width: 60%;
    color: var(--blue-green);
    size: 2px;
    margin-bottom: 2rem;
}

.scontent-scontent.awards {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 8rem;
}

.awards-description {
    color: var(--dark-green);
    text-align: center;
}

/* SCONTENT--TSUB */

.scontent-ttitle {
    color: var(--dark-green);
    margin-left: 2vw;
    margin-bottom: 1rem;
}

.scontent-scontent {
    margin-bottom: 2rem;
    overflow: hidden;
}

/* GRAV--CONTENT */

.scontent-gravcontent {
    margin-top: 2em;
    display: flex;
    flex-direction: column;
    align-items: start;
    width: 50%;
}

.scontent-gravcontent p {
    text-align: left;
    text-indent: 0;
}

.scontent-gravcontent.rev {
    align-items: end;
}

.scontent-gravcontent.rev p {
    text-align: right;
}

/* LIST */

.scontent-slist {
    list-style: none;
    padding-left: 1vw;
}

.scontent-slist li:before {
    content: '-';
    padding-right: 10px;
    font-size: 20px;
    color: var(--blue-green);
}

#results-list-1 {
    margin-top: -20px;
}

/* TABLE */

.scontent-ctable {
    overflow-x: auto;
}

.scontent-ctable p {
    text-align: center;
    font-size: 0.85rem;
    font-family: Inconsolata, sans-serif;
    color: var(--dark-green);
    line-height: 20px;
    text-indent: 0;
    font-style: italic;
}

.scontent-stable {
    margin: 50px auto 2rem;
    border-collapse: collapse;
    border-style: hidden;
}

.scontent-stable thead {
    text-align: center;
}

.scontent-stable td {
    padding: 0 20px;
    border: 2px solid var(--blue-green);
}

.scontent-stable th {
    border: 2px solid var(--blue-green);
}

.scontent-stable .scontent-img-description {
    margin: 20px 40px;
}

.scontent-stable .scontent-img-description p {
    margin-left: -70px;
    margin-right: -70px;
}

#safety-table-1 {
    margin-bottom: 100px;
}

/* DROPDOWN */

summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--blue-green);
    cursor: pointer;
}

summary .scontent-stitle {
    margin: 0;
    text-align: left;
}

summary:after {
    content: "+";
    font-size: 30px;
    margin-right: 10px;
    margin-left: 10px;
    transition: .3s;
}

details[open] summary:after {
    transform: rotate(45deg);
}

.scontent-dropdown {
    margin-bottom: 30px;
    padding: 20px;

    border: 2px solid var(--blue-green);
    border-radius: 20px;
}

.scontent-dropdown hr {
    color: var(--blue-green);
    margin: 20px 0;
}

.scontent-dropdown a {
    color: var(--blue-green);
}

.scontent-dropdown li {
    text-align: left;
}

/* BI-CONTENT */

.scontent-bicontent {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
}

.scontent-bicontent.second {
    align-self: stretch;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: start;
}

.scontent-bicontent .scontent-img-description.photo {
    margin-left: 10px;
    margin-right: 10px;
}

/* DESCRIPTION */

.scontent-img-description {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2rem;
    margin-top: 2rem;
}

.scontent-img-description p {
    text-align: center;
    font-size: 0.85rem;
    font-family: Inconsolata, sans-serif;
    color: var(--dark-green);
    line-height: 20px;
    text-indent: 0;
    font-style: italic;
    margin-right: 10px;
    margin-left: 10px;
}

.scontent-img-description.main-close {
    margin-bottom: 6vh;
}

/* IMAGE */

.scontent-simg {
    margin: 6px;
}

.safety-pictogr {
    height: 70px;
    width: auto;
}

#safety-schema-1 {
    width: 320px;
    height: auto;
}

.scontent-simg.schema.sustainable-png {
    height: 200px;
    width: auto;
    margin: 20px 20px 3rem;
    border-radius: 20px;
}

.scontent-simg.profile-picture {
    width: 28%;
    min-width: 300px;
    height: auto;
}

.scontent-img-credit img {
    margin-bottom: 0;
}

.scontent-img-credit p {
    margin-top: -30px;
    font-size: 0.6em;
    text-align: right;
    color: var(--dark-green);
}
.scontent-simg.awards-logo {
    width: 8vw;
    min-width: 120px;
    height: auto;
    margin-bottom: 3rem;
}


/* GIF */

.safety-gif {
    width: 15%;
    max-width: 400px;
    min-width: 150px;
    height: auto;
    margin: 6px;
}

/* VIDEO */

.scontent-svideo {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2em;
}

.scontent-svideo iframe {
    margin-bottom: 5px;
    width: 50vw;
    height: 25vw;
}

.scontent-svideo p {
    text-align: center;
    font-size: 0.85rem;
    font-family: Inconsolata, sans-serif;
    color: var(--dark-green);
    line-height: 20px;
    text-indent: 0;
    font-style: italic;
}


/* ANIMATION */


.ble_1-1 {
    z-index: -1;
    width: 200px;
    height: 200px;
    position: absolute;
    top: 0;
    left: 45%;
    background-image: url('https://static.igem.wiki/teams/4187/wiki/index/ble-1.png');
    background-size: 150px;
    background-repeat: no-repeat;
    animation: 3s linear 1s infinite running Ble1;
}


.ble_2-1 {
    z-index: -1;
    width: 200px;
    height: 200px;
    position: absolute;
    top: 0px;
    left: 50%;
    background-image: url('https://static.igem.wiki/teams/4187/wiki/index/ble-2.png');
    background-size: 150px;
    background-repeat: no-repeat;
    animation: 7s linear 1s infinite running Ble2;
}

.ble_3-1 {
    z-index: -1;
    width: 200px;
    height: 200px;
    position: absolute;
    top: 0px;
    left: 55%;
    background-image: url('https://static.igem.wiki/teams/4187/wiki/index/ble-3.png');
    background-size: 150px;
    background-repeat: no-repeat;
    animation: 5s linear 1s infinite running Ble3;
}



.ble_2-2 {
    z-index: -1;
    width: 200px;
    height: 200px;
    position: absolute;
    top: 0px;
    left: 42%;
    background-image: url('https://static.igem.wiki/teams/4187/wiki/index/ble-2.png');
    background-size: 150px;
    background-repeat: no-repeat;
    animation: 10s linear 1s infinite running Ble2-2;
    transform: rotate(90deg);
}


.ble_3-2 {
    z-index: -1;
    width: 200px;
    height: 200px;
    position: absolute;
    top: 0px;
    left: 40%;
    background-image: url('https://static.igem.wiki/teams/4187/wiki/index/ble-3.png');
    background-size: 150px;
    background-repeat: no-repeat;
    animation: 2s linear 1s infinite running Ble3-2;
    transform: rotate(230deg);
}

@keyframes Ble1 {
    0% {
        margin-top: -10%;
    }
    100% {
        margin-top: 23%;
    }
}


@keyframes Ble2 {
    0% {
        margin-top: -3%;
    }
    100% {
        margin-top: 23%;
    }
}

@keyframes Ble2-2 {
    0% {
        margin-top: -3%;
    }
    100% {
        margin-top: 23%;
    }
}


@keyframes Ble3 {
    0% {
        margin-top: -10%;
    }
    100% {
        margin-top: 28%;
    }
}

@keyframes Ble3-2 {
    0% {
        margin-top: -3%;
    }
    100% {
        margin-top: 23%;
    }
}

/* AUDIO */

.scontent-saudio {
    display: flex;
    justify-content: center;
}

.scontent-saudio audio {
    display: flex;
    justify-self: center;
    border: 2px solid var(--dark-green);
    border-radius: 20px;
}

/* RESPONSIVE */

@media screen and (max-width: 650px) {
    .ble_2-1 {
        display: none;
    }
    .ble_2-2 {
        left: 8%;
    }
    .ble_1-1 {
        left: 30%;
    }
    .ble_3-1 {
        left: 50%;
    }

    @keyframes Ble2-2 {
        0% {
            margin-top: -10%;
        }
        100% {
            margin-top: 45%;
        }
    }

    @keyframes Ble1 {
        0% {
            margin-top: -15%;
        }
        100% {
            margin-top: 45%;
        }
    }

    @keyframes Ble3 {
        0% {
            margin-top: -20%;
        }
        100% {
            margin-top: 60%;
        }
    }


}

@media screen and (max-width: 1000px) and (min-width: 650px){
    .ble_2-1 {
        display: none;
    }

    .ble_2-2 {
        left: 35%;
    }

    @keyframes Ble2-2 {
        0% {
            margin-top: -10%;
        }
        100% {
            margin-top: 28%;
        }
    }
}

@media screen and (max-width: 1500px) and (min-width:650px){
    .ble_3-1 {
        left: 48%;
    }
}

@media screen and (min-width: 3000px) {
    .presentation-button {
        margin-right: 0;
    }

    #presentation-awards {
        display: none;
    }
}

@media screen and (min-width: 1300px) {
    .presentation-button {
        margin-right: -5vw;
    }

    #presentation-awards {
        right: calc(40vw - 80px);
    }
}


@media screen and (max-width: 1050px) {
    .scontent-mtitle {
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }

    .scontent-mcontent.ref {
        margin-right: 20px;
    }

    .scontent-bicontent {
        flex-direction: column;
    }

    .scontent-bicontent.re {
        flex-direction: column-reverse;
    }

    .scontent-bicontent .scontent-scontent {
        margin-bottom: 0;
    }

    .scontent-bicontent .scontent-mcontent {
        margin-bottom: 0;
    }

    .scontent-gravcontent {
        width: 100%;
        align-self: start;
    }

    .scontent-gravcontent p {
        padding-left: 2rem;
        text-indent: -1.6rem;
    }

    .scontent-gravcontent.rev {
        align-items: start;
    }

    .scontent-gravcontent.rev p {
        text-align: left;
    }

    .safety-gif {
        margin: 20px;
    }

    .scontent-svideo iframe {
        width: 520px;
        height: 280px;
    }

    #presentation-mascotte {
        width: 50vw;
    }

    .presentation {
        height: calc(100vh - 50px);
    }

    .presentation-button {
        margin-right: -12vw;
    }

    #presentation-awards {
        top: 45vh;
    }
}

@media screen and (max-width: 750px) {
    #presentation-mascotte {
        width: 90vw;
        margin-left: -80px;
    }

    #presentation-awards {
        right: 10vw;
    }

    .presentation-button {
        margin-left: 80px;
    }
}

@media screen and (max-width: 400px){
    #animation {
        display: none;
    }
}

@media screen and (max-height: 565px){
    #animation {
        display: none;
    }
}