:root {
    --pink: #d4acf4;
    --blue: #a3e6ed;
    --yellow: #E49543;
    --red: #d9534f;
    /* --bg: #f0f0f0; */
    --bg: white
}
@font-face{
    font-family: 'fontContent';
    src: url('https://static.igem.wiki/teams/4678/wiki/gill-sans-light.otf');
}
@font-face {
    font-family: 'fontTitle';
    src: url('https://static.igem.wiki/teams/4678/wiki/gill-sans-bold.otf');
}
*{
    font-family: fontContent;
}

html {
    overflow-x: hidden;
}

body {
    margin: 0;
    /*font-family: "TildaSans", Arial, Helvetica, sans-serif;*/
    font-size: 1.2rem;
    overflow-x: clip;
    background-color: rgb(240, 250, 255);
    /* text-align: justify; */
}

sup {
    font-size: small;
    z-index: -1;
}

.page-content-wrap {
    margin: 0;
    padding: 2rem;
    padding-bottom: 7rem;
}

.row {
    display: flex;
    justify-content: center !important;
}


h1, h2, h3, h4, h5, h6 {
    font-weight: bold;
}

#bg-black-wrap {
    color: white;
    padding-top: 7rem;
    padding: 5rem;
    background-color: black;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

section {
    margin-bottom: 7rem;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

#problem-title-wrap {
    font-size: 2.5rem;
    font-weight: bold;
    text-align: center;
    display: inline-block;
    padding: 2rem;
    border: 0.3rem solid rgba(213, 59, 72, 1);
    border-radius: 1rem;
    margin-bottom: 7rem;
}


#problem-title-wrap span {
    color: rgba(213, 59, 72, 1);
}

img {
    width: 100%;
    user-select: none;
}

#problem-im-wrapper {
    display: flex;
    height: 40vh;
    width: 100vw;
}

.problem-im-wrap {
    width: 33.3%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.problem-im {
    transition: transform 2s linear;
}

.problem-im-wrap:hover .problem-im {
    transform: scale3d(1.2, 1.2, 1.2);
}

.problem-im-text {
    position: absolute;
    text-align: center;
    padding: 2rem;
    transform: scale3d(0.2, 0.2, 0.2);
    opacity: 0.5;
    transition: 1s all;
}

.problem-im-text h2 {
    font-size: 3rem;
}

.problem-im-text p {
    font-size: 1.5rem;
}

.scaleToNormal {
    transform: scale3d(1, 1, 1);
    opacity: 1;
}

.to-slide-left {
    transform: translate3d(-30%, 0, 0);
    opacity: 0.2;
    transition: all 1s;
}

.to-slide-right {
    transform: translate3d(30%, 0, 0);
    opacity: 0.2;
    transition: all 1s;
}

.slide-in {
    transform: translate3d(0, 0, 0);
    opacity: 1;
}

#recycle-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50vw;
}

#recycle-text-wrap {
    text-align: center;
    font-size: 2.5rem;
    font-weight: bold;
    width: 50%;
}

#recycle-im-wrap {
    width: 50%;
}

#recycle-im {
    width: 100%;
    height: auto;
}

#how-title-wrap {
    text-align: center;
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 5rem;
}

#how-im-wrapper {
    display: flex;
    width: 90%;
    padding-left: 3rem;
    justify-content: center;
    align-items: center;
    /* padding-left: 5rem;
    padding-right: 5rem;
    padding-top: 4rem;
    padding-bottom: 4rem; */
    border: 0.3rem solid rgba(213, 59, 72, 1);
    border-radius: 1rem;
}

#how-im-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50%;
    position: relative;
    height: 40vh;
}

#how-text-wrap {
    text-align: justify;
    width: 50%;
    font-size: 1.4rem;
    padding: 2rem;
    color: rgba(213, 59, 72, 1);
}

.how-im {
    position: absolute;
}

#reflect-text-wrap {
    width: 60%;
    position: absolute;
    text-align: center;
    font-size: 3.5rem;
    font-weight: bold;
}

#bg-white-wrap {
    color: black;
    background-size: cover;
    background-repeat: no-repeat;
    padding: 3rem;
    margin-bottom: 0;
}

#sol {
    margin-bottom: 0;
}

#sol-title-wrap {
    font-size: 2.5rem;
    font-weight: bold;
    text-align: center;
    margin-top: 5rem;
    margin-bottom: 5rem;
}

#sol-phases {
    display: flex;
    flex-direction: column;
    width: 100%;
}

#p1-wrap {
    display: flex;
    width: 80%;
    height: 60vh;
    margin-bottom: 7rem;
}

#p1-im-wrap {
    display: flex;
    justify-content: center;
    height: 100%;
    position: relative;
    width: 55%;
}

.p1-im {
    position: absolute;
    /* height: 100%;
    width: auto; */
}

#p1-text-wrap {
    display: flex;
    align-items: center;
    height: 100%;
    width: 45%;
    text-align: start;
    font-size: 1.4rem;
}

#p1-text-wrap h4, #p1-text-wrap p {
    width: 70%;
}

#comment-wrap {
    text-align: center;
    border-radius: 1rem;
    border: 0.3rem solid cadetblue;
    padding: 1rem;
    font-size: 1.4rem;
}

#p2-wrapper {
    margin-top: 7rem;
    margin-bottom: 7rem;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.p2-wrap {
    display: flex;
    width: 70%;
    height: 35vh;
}

.line {
    width: 0.5vh;
    height: 110%;
    background-color: cadetblue;
    position: relative;
}

.dot {
    position: absolute;
    top: 46%;
    left: -0.475rem;
    width: 1.2rem;
    height: 1.2rem;
    border-radius: 50%;
    background-color: cadetblue;
}

#p2-title-wrap {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 1.4rem
}

.p2-im-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    position: relative;
    width: 55%;
    padding: 2rem;
}

.p2-im {
    position: absolute;
    height: 100%;
    width: auto;
}

.p2-text-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 48.25%;
    text-align: start;
    font-size: 1.4rem;
    padding-left: 3.5rem;
    /* border-left: 0.25rem solid #009ec6;
    padding-left: 2rem; */
}

.p2-text {
    background-color: cadetblue;
    color: white;
    padding: 1rem;
    border-radius: 1rem;
    width: 80%;
}


#p3-wrap {
    margin-top: 3rem;
    display: flex;
    width: 70%;
    height: 40vh;
    margin-bottom: 5rem;
}

#p3-im-wrap {
    display: flex;
    justify-content: center;
    height: 100%;
    position: relative;
    width: 50%;
}

.p3-im {
    position: absolute;
    /* height: 100%;
    width: auto; */
}

#p3-text-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 50%;
    padding: 2rem;
    text-align: start;
    font-size: 1.4rem;
}

#p3-title-wrap {
    text-align: center;
    font-size: 1.4rem;
    font-weight: bold;
}

#p4-title-wrap {
    text-align: center;
    font-size: 1.4rem;
    font-weight: bold;
}

#p4-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70%;
}

#p4-im {
    width: 85%;
    height: auto;
}

#p4-text-wrap {
    font-size: 1.4rem;
    text-align: left;
    width: 50%;
    padding: 2rem;
}

#p4-im-wrap {
    width: 50%;
}

/* Head vid */

ul {
    list-style-type: none;
}

.intext-link {
    color: black;
    text-decoration: underline 0.2rem;
    text-underline-offset: 0.25;
    text-decoration-color: var(--blue);
    background: linear-gradient(to top, var(--blue) 50%, white 50%) top;
    background-size: 100% 200%;
    transition: .5s ease-out
}

.intext-link:hover {
    color: black;
    background-position: bottom;
}

::selection {
    background-color: var(--blue);
}

.left-aligned { margin-left: auto; }

 @keyframes cursor {
     50% {
         border-color: transparent;
     }
 }

/* CALLOUT */
.bd-callout { padding:1.25rem; margin-top:1.25rem; margin-bottom:1.25rem; border:1px solid #e9ecef; border-left-width:.25rem; border-radius:.25rem }
.bd-callout h4 { margin-bottom:.25rem }
.bd-callout p:last-child { margin-bottom:0 }
.bd-callout code { border-radius:.25rem }
.bd-callout+.bd-callout { margin-top:-.25rem }
.bd-callout-info { border-left-color:#5bc0de }
.bd-callout-warning { border-left-color:#f0ad4e }
.bd-callout-danger { border-left-color:#d9534f }

/* footer */
footer {
    background-color: rgb(223, 159, 108);
    margin-top: 0;
    padding-top: 2rem;
    /* background-image: linear-gradient(to bottom, var(--bg), white) ; */
    color: black;
    box-shadow: 5px 0px 15px rgba(0, 0, 0, 0.2);
}

nav {
    box-shadow: 5px 0px 15px rgba(0, 0, 0, 0.2);
    background-color: white;
    padding: 0!important;
}

.nav-item {
    margin-left: 12px;
    margin-right: 12px;
}

.nav-link {
    color: black!important;
}

.nav-link:hover {
    text-decoration: underline;
    text-underline-offset: 0.5em;
}

.dropdown-menu {
    display: block;
    visibility: hidden;
    padding: 0px;
    margin: 0px;
    border: none;
    background-color: rgba(255, 255, 255, 1);
}

.nav-item:hover .dropdown-menu{
    visibility: visible;
}

.to-fade-in {
    opacity: 0;
    /* transform: translateY(3rem); */
    transition: opacity 2s;
}

.to-fade-in-fast {
    opacity: 0;
    transition: opacity 1s;
}

.fade-in {
    opacity: 1;
    /* transform: translateY(0); */
}

.hid {
    opacity: 0;
    /* transition: all 1s; */
}

.rollup {
    transform: translateY(100%);
}

.rolldown {
    transform: translateY(-100%);
}

.rollleft {
    transform: translateX(100%);
}

.rollright {
    transform: translateX(-100%);
}

.show {
    opacity: 1;
    transform: translateX(0);
    transform: translateY(0);
    filter: blur(0);
}

i {
    padding: 0.8rem
}

.footer-icon {
    color: black;
    padding: 0.8rem;
}

.footer-icon:hover {
    background-color: black;
    border-radius: 50%;
    color: var(--bg);
}

.carousel {
    width: 100%;
    margin: auto;
    position: relative;
    display: grid;
    place-items: center;
    overflow: hidden;
}


.slides {
    display: flex;
    width: calc(180px * 11);
    animation: scroll 20s linear infinite;
}

.slide {
    height: 180px;
    width: 180px;
    display: flex;
    align-items: center;
    padding: 15px;
}

.black {
    background-color: black;
}

.sponsor {
    width: 100%;
    height: auto;
}

@keyframes scroll {
    0% {
        transform: translateX(calc(180px * 5));
    }
    100% {
        transform: translateX(calc(-180px*11))
    }
}

@media (prefers-reduced-motion) {
    .hid {
        transition: none;
    }
}

.media {
    display: inline;
    border-radius: 50%;
    width: 10px;
    height: 10px;
}

.media:hover {
    background-color: black;
}

.navbar-toggler-icon {
    color: black;
}

.page-title {
    text-align: center;
    margin-top: 3rem;
}

#description-content-wrap {
    text-align: justify;
}

#notebook-content-wrap {
    text-align: justify;
}

#team-content-wrap {
    background-color: #FAF0E4;
}

.highlight {
    padding-top: 2rem;
}

#progressbar-wrap {
    position: fixed;
    top: 0;
    z-index: 100000;
    width: 100%;
    height: 5px;
    left: 0;
}

#progressbar {
    height: 5px;
    width: 0;
    background-image: linear-gradient(to right, var(--yellow), var(--red));
}

.toc-wrap {
    margin-top: 0.5rem;
}

.toc-section {
    padding-top: 5.5rem;
    margin-bottom: 0
}


.toc:hover {
    color: black;
}

.list-group, .list-group-item {
    border: none;
    padding: 0;
    margin: 0;
}

.toc.sidenav-active {
    color: cadetblue;
}

.navlist {
    width: 80%;
    border-radius: 15px 15px 15px 15px;
}

.sidenav {
    position: sticky;
    top: 140px;
}

#descnav {
    background-color: rgb(240, 250, 255);
    position: sticky;
    top: 60px;
}

.highlight-title-wrap {
    width: 80%;
    padding: 0.5rem;
    padding-left: 0.75rem;
    margin-bottom: 0.25rem;
    background-image: linear-gradient(to right, var(--bg), var(--blue));
    border-radius: 20px 20px 20px 20px;
}

.img-wrap {
    padding: 4rem;
    width: 90%;
    height: 70%;
}

.list-group-item {
    background-color: rgb(240, 250, 255);
}

.fig-wrap {
    width: 100%;
}

.fig {
    width: 100%;
    height: auto;
}

.section-title {
    /* background-color: cadetblue; */
    color: black;
    width: 100%;
    text-align: center;
    /* margin-bottom: 2rem; */
}

.im-wrap {
    margin-bottom: 3rem;
    margin-top: 3rem;
}

.fig-note-wrap {
    text-align: center;
}

.page-header-cover {
    width: 100%;
    height: auto;
}

.page-header-text {
    position: absolute;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    width: 40%;
    top: 60%;
    left: 10%;
    padding: 2rem;
}

.team-text-wrap {
    margin-top: 0.5rem;
}

.team-photo-wrap {
    width: 45%;
    padding: 1rem;
    display: inline-block;
}

.team-photo {
    position: relative;
    width: 100%;
    height: auto;
    z-index: 1000;
    transition: opacity 0.2s;
}

.team-photo:hover, .team-photo:active {
    opacity: 0;
}

.team-photo-text {
    position: absolute;
    top: 0;
    padding: 2rem;
    color: white;
    font-size: 1.2rem;
    text-align:justify;
}

.team-photo-bg {
    position: relative;
    background-color: #606C5D
}

.week-wrap {
    padding-bottom: 1.5rem;
    border-left: 0.25rem solid cadetblue;
    padding-left: 4rem;
    position: relative;
}

.week-title {
    margin-bottom: 1.5rem;
}

.dot-note {
    width: 1.5rem;
    height: 1.5rem;
    position: absolute;
    top: 0;
    left: -0.875rem;
    background-color: cadetblue;
    border-radius: 50%;
}

.week-title {
    background-color: cadetblue;
    color: white;
}

.month-title {
    margin-bottom: 2rem;
}

.month-wrap {
    margin-bottom: 2rem;
}

@media only screen and (max-width: 789px) {
    section {
        margin-bottom: 5rem;
    }
    #reflect-text-wrap {
        width: 90%;
        font-size: 2.3rem;
    }
    #problem-title-wrap {
        font-size: 1.5rem;
        padding: 1rem;
        margin-bottom: 3rem;
    }
    #problem-im-wrapper {
        flex-direction: column;
        height: 70vh;
    }
    .problem-im-wrap {
        width: 100%;
    }
    .problem-im-text h2 {
        font-size: 2rem;
    }
    .problem-im-text p {
        font-size: 1.2rem;
    }
    .problem-im {
        width: 100%;
    }
    #bg-black-wrap {
        padding: 1rem;
    }
    #bg-white-wrap {
        padding: 1rem;
    }
    #how-title-wrap {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }
    #how-im-wrapper {
        width: 100%;
        flex-direction: column;
        padding: 1rem;
        border: none;
    }
    #how-im-wrap {
        width: 100%;
        height: 35vh;
    }
    #how-text-wrap {
        width: 100%;
    }
    #p1-wrap {
        flex-direction: column;
        height: auto;
        width: 90vw;
        margin-bottom: 3rem;
    }
    #p1-im-wrap {
        width: 100%;
        height: 35vh;
    }
    #p1-im {
        height: 100%;
        width: auto;
    }
    #p1-text-wrap {
        width: 100%;
        margin-top: 3rem;
        font-size: 1.2rem;
        text-align: center;
    }
    #p1-text-wrap h2, #p1-text-wrap p {
        width: 100%;
    }
    #comment-wrap {
        font-size: 1.2rem;
        border: none;
    }
    #comment-wrap h3 {
        font-weight: normal;
        font-size: 1.2rem;
    }
    #p2-wrapper {
        margin-top: 3rem;
        margin-bottom: 5rem;
    }
    .p2-wrap {
        width: 100%;
        height: 25vh;
    }
    .p2-im-wrap {
        width: 49.5%;
        justify-content: center;
        align-items: center;
        padding: 1rem;
    }
    .p2-text-wrap {
        width: 49.5%;
        padding: 0.5rem;
    }
    .p2-text {
        background-color: transparent;
        color: black;
        width: 100%;
        font-size: 1.2rem;
    }
    .line {
        width: 0.4vh;
    }
    .dot {
        width: 1rem;
        height: 1rem;
        left: -0.4rem;
    }
    #p3-title-wrap {
        font-size: 1.2rem;
    }
    #p3-wrap {
        width: 100%;
        flex-direction: column;
        height: auto;
        justify-content: center;
        align-items: center;
    }
    #p3-text-wrap {
        font-size: 1.2rem;
        width: 80%;
        padding: 1rem;
    }
    #p3-text {
        width: 100%;
    }
    #p3-im-wrap {
        width: 100%;
        height: 30vh;
    }
    #p3-im {
        height: 100%;
        width: auto;
    }
    #p4-wrap {
        width: 100%;
        flex-direction: column;
    }
    #p4-title-wrap {
        font-size: 1.2rem;
    }
    #p4-im-wrap {
        height: 30vh;
        width: 100%;
        display: flex;
        justify-content: center;
    }
    #p4-text-wrap {
        font-size: 1.2rem;
        width: 80%;
        padding: 1rem;
    }
    #p4-im {
        height: 100%;
        width: auto;
    }
    .team-photo-wrap {
        width: 90%;
    }
    .team-photo-text {
        font-size: 1rem;
    }
    ul {
        padding-left: 1rem;
    }
    .week-wrap {
        padding-left: 1.5rem;
    }
    #team-header, #description-header, #notebook-header {
        height: 40vh;
    }
}

@media (max-width: 992px) {
    .dropdown-menu {
        display: none;
        visibility: visible;
    }
    .nav-item:hover .dropdown-menu {
        visibility: unset;
    }
}

@media (max-width: 450px) {
    .p2-im {
        width: 100%;
        height: auto;
    }
}


h2{
    text-align: left;
    font-family: fontTitle;
    font-weight: bold;
    font-size: 3.3em;
    padding-top:7vh;
    padding-left: 10vw;
    padding-bottom: 4vh;
    padding-right: 10vw;
}
h3{
    text-align: left;
     font-family: fontTitle;
    font-weight: bold;
    font-size: 2.2em;
    color: #E49543;
    padding-top: 2vh;
    padding-left: 10vw;
    padding-bottom: 2vh;
    padding-right: 10vw;
}
h4{
    font-family: fontContent;
    text-align: left;
    font-weight: bold;
    font-size: 1.6em;
    color: black;
    padding-top: 2vh;
    padding-left: 10vw;
    padding-bottom: 2vh;
    padding-right: 10vw;
}
p{
    font-family: fontContent;
    font-size:1.2em;
    padding-top: 0.3vh;
    padding-bottom: 0.3vh;
    padding-left: 10vw;
    padding-right: 10vw;
    text-align: justify;
    color: #000;
}
p a{
    color: #E49543;
}
/* .MathJax nobr>span.math>span{border-left-width:0 !important}; */
p a:hover{
    color: #E49543;;
    font-weight: bold;
}
span a{
    color: #E49543;
}
span a:hover{
    color: #E49543;;
    font-weight: bold;
}



