@font-face {
    font-family: "Cornerstone";
    src: url(https://static.igem.wiki/teams/4758/wiki/font/cornerstone.ttf) format("truetype");
}

@font-face {
    font-family: "Kanit Extralight";
    src: url(https://static.igem.wiki/teams/4758/wiki/font/kanit-extralight.ttf) format("truetype");
}

@font-face {
    font-family: "Kanit Regular";
    src: url(https://static.igem.wiki/teams/4758/wiki/font/kanit-regular.ttf) format("truetype");
}

@font-face {
    font-family: "Rubik Mono";
    src: url(https://static.igem.wiki/teams/4758/wiki/font/rubikmonoone-regular.ttf) format("truetype");
}

@font-face {
    font-family: "PT Mono";
    src: url(https://static.igem.wiki/teams/4758/wiki/font/ptmono-regular.ttf) format("truetype");
}



@media only screen AND (max-width: 900px) {
    .desktop-only {
        display: none;
    }
}


* {
    margin: 0;
    padding: 0;
    cursor: none !important;
}

html,
body {
    background-color: #f2f4b4;
    margin: 0;
    padding: 0;
    font-family: "Kanit Extralight";
    font-size: 1.1em;

    display: flex;
    flex-direction: column;
    overflow-x: hidden;

    scroll-behavior: smooth;

    animation: fadeInAnimation ease 1s;
    animation-iteration-count: 1;
    animation-fill-mode: backwards;

    cursor: none !important;

    .cursor {
        pointer-events: none;
    }

    .cursor {
        position: fixed;
        top: 0;
        left: 0;
        mix-blend-mode: difference;
        z-index: 1000;
    }

    .cursor-small rect {
        fill: rgb(255, 255, 255);

    }

    .cursor-big rect {
        fill: rgba(255, 255, 255);
    }

}



.reveal {
    position: relative;
    transform: translateY(60px);
    opacity: 0;
    transition: 1s all ease;
}

.reveal.active {
    transform: translateY(0);
    opacity: 1;
}



.page-text {
    z-index: 2;
    font-size: 1.2em;
    line-height: 2em;
    color: #001811;
}

.page-text ul li,
.page-text ol li {
    padding-left: 20px;
}

.page-text a {
    text-decoration: none;
    color: #008056;
}

.references {
    color: #004724;
    font-size: 0.8em;
}

.references a {
    color: #004724;
    font-style: italic;
}





.logo {
    position: fixed;
    top: 3vh;
    left: 3vw;
    padding: 10px;
    z-index: 20;
    width: 70px;
}

.logo:hover {
    transform: scale(1.1, 1.1);
}




.asbody {
    background-color: #001811;
}


.caption {
    padding-top: 20px;
    padding-bottom: 20px;
    color: #008056;
    font-size: 0.8em;
    font-style: italic;
    text-align: center;
    line-height: 1.5em;
}

.container {
    position: relative;
    width: 80vw;
}

.gap-1 {
    width: 100%;
    height: 1em;
}

.gap-3 {
    width: 100%;
    height: 3em;
}

.gap-5 {
    width: 100%;
    height: 5em;
}

.gap-10 {
    width: 100%;
    height: 10em;
}

.gap-15 {
    width: 100%;
    height: 15em;
}

.gap-20 {
    width: 100%;
    height: 20em;
}

.text-counter {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.align-left {
    text-align: left;
}

.align-center {
    text-align: center;
}

.align-right {
    flex: 1;
    text-align: right;
}



.fullscreen {
    display: flex;
    justify-content: space-around;
    width: 100%;
}

.page-title {
    color: #fcffad;
    -webkit-text-stroke: 0.1vw #fcffad;
    font-family: "Cornerstone";
    font-size: 9vw;
    position: relative;
    z-index: 1;
    /* background-color: red; */
}

.page-title2 {
    color: transparent;
    -webkit-text-stroke: 0.1vw #a6c894;
    font-family: "Cornerstone";
    font-size: 9vw;
    top: 0.6vw;
    left: 0.4vw;
    position: absolute;
    z-index: 0;
}

.page-subtitle {
    color: #008056;
    font-family: "Cornerstone";
    font-size: 2.7em;
    position: relative;
    line-height: 200%;

}

.page-subtitle2 {
    color: #042a1f;
    font-family: "Cornerstone";
    font-size: 1.7em;
    position: relative;
    line-height: 200%;
}

.page-subtitle3 {
    color: #f9735d;
    font-family: "Kanit Regular";
    font-size: 1em;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    line-height: 200%;
}

.page-text ul li {
    list-style-type: square;
}

.page-description {
    /* max-width: 20%; */
    position: relative;
}


.title1 {
    color: #fcffad;
    font-family: "Cornerstone";
    font-size: 5em;
    position: relative;
}

.title2 {
    color: white;
    text-align: left;
    font-family: "Cornerstone";
    font-size: 120px;
    position: relative;
    top: -20%;
}


.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


.head {
    padding: 0;
    margin: 0;
    background-color: #001811;
}

.body {
    /* padding-top: 56px; */
    background-color: #f2f4b4;
}

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

.bg-dark {
    background-color: #001811 !important;
}

.bg-light {
    background-color: #21644e !important;

}

table {
    border-collapse: collapse;
    color: #008056;
    line-height: 130%;
}

table th,
table td {
    padding: 10px 30px 10px 30px;
}

table thead {
    font-size: 0.8em;
}

table tbody {
    font-size: 0.7em;
}

table thead th {
    padding: 20px 30px 20px 30px;
    border-bottom: none;
}

table tr:not(:last-child) {
    border-bottom: 1px solid grey;
}

table thead tr {
    background-color: #008056;
    color: white;
}

.bg-hero {
    padding-top: 25vh;
    height: 80vh;
    z-index: 1;
}

.image-container {
    background-color: #f2f4b4;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.image-container img {
    display: block;
    margin: 0 0 0 0;
    padding: 20px;
    mix-blend-mode: multiply;
}


.bg-hero img {
    image-rendering: pixelated;
    top: 0;
    left: 0;
    height: 80vh;
    width: 100vw;
    object-fit: cover;
    position: absolute;
}



.content {
    flex-grow: 1;
}




@keyframes fadeInAnimation {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}



/* CALLOUT */
.bd-callout {
    padding: 1.25rem;
    margin-top: 1.25rem;
    margin-bottom: 1.25rem;
    border: 1px solid #001811;
    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
}


body.no-scroll {
    overflow: hidden;
}


footer {
    position: relative;
    bottom: 0;
    width: 100%;
    background-color: #21644e;
    z-index: 1;
}

/* footer */
footer a {
    color: white;

    font-weight: bold;
    text-decoration: none;
    z-index: 2;
}

footer a:hover {
    color: white;
    text-decoration: underline;
}