/* @font-face {
    font-family: 'Quicksand';
    src: url('https://static.igem.wiki/teams/5703/font/quicksand-variablefont-wght.ttf');
} */


:root {
    --main-bg-color: #c5183b;
    --secondary-bg-color: #EE9623;
    --dark-red-bg-color: #9c0d2a;
    --white-bg-color: #ffffff;
    --black-bg-color: #000000;
    --gray-bg-color: #b0b0b0;
    --light-gray-bg-color: #d9d9d9;
    --black-text-color: #000000;
    --white-text-color: #f4f7f0;
    --main-shadow-color: #470301;
    --body-font-family: serif;
    --body-font-size: 1rem;
    --body-font-weight: 400;
    --body-line-height: 1.5;
    --start-animation: fade-in 0.75s ease-out;
}

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

.bg-dark {
    background-color: var(--main-bg-color) !important;
}

.bg-hero {
    background-color: var(--black-bg-color)
}

/* 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: 1.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
}

/* load in animation */
@keyframes fade-in {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* footer */
footer a {
    color: white;
    font-weight: bold;
    text-decoration: none;
}

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

.footer-flexbox {
    display: flex;
    justify-content: space-evenly;
}

/* top scroll progress bar */
#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 5px;
    background: #000000;
    z-index: 99999;
}

/*title*/
title {
    color: var(--white-text-color)
}

/*body*/
body {
    margin: 0;
    font-family: var(--body-font-family);
    font-size: var(--body-font-size);
    font-weight: var(--body-font-weight);
    line-height: var(--body-line-height);
    color: var(--black-text-color);
    background-color: var(--white-bg-color);
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
    padding-top: 56px;
    overflow-x: hidden;
}

/* heading */
.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
    margin-top: 0;
    margin-bottom: .5rem;
    font-weight: 500;
    line-height: 1.2;
    color: var(--black-text-color)
}

h3 {
    font-size: larger;
}

/*members page*/
.members-page-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.members-page-container h2 {
    margin-top: 3vh;
}

.info-box-container {
    width: 100vw;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;

}

@media (max-width: 1070px) {
    .info-box-container {
        flex-direction: column;
        align-items: center;
    }

    .info-box {
        width: 70vw !important;
    }
}

.info-box-outer {
    position: relative;
    margin: 0;
}

.arrow-down {
    position: absolute;
    top: 0;
    left: calc(50% - 3vw);
    opacity: 0;

}

.arrow-up {
    position: absolute;
    bottom: 0;
    left: calc(50% - 3vw);
    opacity: 0;

}

.arrow-left {
    position: absolute;
    top: calc(50% - 2vw);
    left: 0;
    opacity: 0;
}

.arrow-right {
    position: absolute;
    top: calc(50% - 2vw);
    right: 0;
    opacity: 0;
}


.info-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    border-width: 0.3rem;
    border-color: rgb(192, 44, 44);
    border-style: solid;
    margin: 4vh;
    margin-left: 0;
    margin-right: 0;
    width: 20vw;
    height: auto;
    transition: all 0.5s ease;
    border-radius: 1rem;
    overflow: hidden;
    position: relative;
}

.info-box img {
    width: 100%;
}

.members-short-paragraph {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 2vh 0;
}

.member-name {
    font-size: 1.6rem;
    font-weight: 600;
}

.overlay {
    display: flex;
    flex-direction: column;
    margin-bottom: 2vh;
    margin-left: auto;
    margin-right: auto;
}

.dummy-overlay {
    display: flex;
    align-items: center;
    justify-items: center;
}

.content-line {
    display: flex;
    flex-direction: row;
    margin: 0.2rem 0;
}

.desc-content {
    text-align: left;
    width: 80%;
}

.description {
    border-width: 0.3rem;
    border-style: solid none;
    border-color: rgb(121, 19, 19);
    background: rgba(255, 255, 255, 0.527);
    position: absolute;
    opacity: 0;
    width: 90%;
    bottom: 2vh;
    text-align: center;
    transform: translateY(3vw);
    transition: all 0.3s ease-in-out;
}

.desc-small-title {
    font-weight: 600;
    margin: 0 0 0 0.5rem;
    font-size: 1rem;
    width: 6rem;
    text-align: start;
}

.info-box:hover .description {
    opacity: 1;
    transform: translateY(0);
}

.info-box-outer::before,
.info-box-outer::after {
    content: "";
    width: 20vw;
    height: 90%;
    background: rgb(192, 44, 44);
    box-shadow: 0 0 1rem #990000;
    position: absolute;
    top: 50%;
    left: 0;
    z-index: -1;
    transform: translateY(-50%) scaleX(0.3);
    transition: all 0.3s ease 0s;
}

.info-box-outer::after {
    width: 103%;
    left: 50%;
    transform: translate(-50%, -50%) scaleY(0.25);
}

.info-box-outer:hover::before {
    transform: translateY(-50%) scaleX(1);
    border-radius: 1rem;
}

.info-box-outer:hover::after {
    transform: translate(-50%, -50%) scaleY(1);
    border-radius: 1rem;
}

@keyframes indicatedown {
    0% {
        opacity: 1;
        transform: translateY(-5vw);
    }

    20% {
        opacity: 1;
        transform: translateY(-2vw);
    }

    21% {
        transform: translateY(-2vw);
        opacity: 0
    }

    100% {
        transform: translateY(-2vw);
        opacity: 0
    }
}

@keyframes indicateup {
    0% {
        opacity: 1;
        transform: translateY(5vw);
    }

    20% {
        opacity: 1;
        transform: translateY(2vw);
    }

    21% {
        transform: translateY(2vw);
        opacity: 0
    }

    100% {
        transform: translateY(2vw);
        opacity: 0
    }
}

@keyframes indicateleft {
    0% {
        opacity: 1;
        transform: translateX(-8vw);
    }

    20% {
        opacity: 1;
        transform: translateX(-5vw);
    }

    21% {
        transform: translateX(-5vw);
        opacity: 0
    }

    100% {
        transform: translateX(-5vw);
        opacity: 0
    }
}

@keyframes indicateright {
    0% {
        opacity: 1;
        transform: translateX(8vw);
    }

    20% {
        opacity: 1;
        transform: translateX(5vw);
    }

    21% {
        transform: translateX(5vw);
        opacity: 0
    }

    100% {
        transform: translateX(5vw);
        opacity: 0
    }
}

.info-box-outer:hover .arrow-down {
    animation: indicatedown 1.2s linear infinite
}

.info-box-outer:hover .arrow-up {
    animation: indicateup 1.2s linear infinite
}

.info-box-outer:hover .arrow-left {
    animation: indicateleft 1.2s linear infinite
}

.info-box-outer:hover .arrow-right {
    animation: indicateright 1.2s linear infinite
}

/*navigation bar*/
.navbar-image {
    position: absolute;
    height: 7vw;
    width: 7vw;
    top: 1vw;
    left: 1.5vw;
    padding: 0;
}

.navbar-heading {
    position: absolute;
    top: 0.7vw;
    left: 10vw;
    text-shadow: 4px 0 var(--main-bg-color), -4px 0 var(--main-bg-color), 0 4px var(--main-bg-color), 0 -4px var(--main-bg-color),
        2px 2px var(--main-bg-color), -2px -2px var(--main-bg-color), 2px -2px var(--main-bg-color), -2px 2px var(--main-bg-color);
    color: var(--white-bg-color);
    font-size: 2vw;
}

.navbar {
    position: fixed;
    width: 100vw;
    background-color: var(--main-bg-color);
    margin-top: 0;
    top: 0;
    height: 7vh;
    transition: all 300ms ease-in-out;
    z-index: 1000;
    display: flex;
    flex-direction: row;
    padding: 0;

}

.navbar-ul {
    display: flex;
    align-items: center;
    flex-direction: row;
    left: 0;
    list-style-type: none;
    margin: 0;
    margin-right: 1vw;
    height: 100%;
    position: relative;
    background-color: transparent;
}


.navbar-dropdown-toggle ul {
    display: flex;
    visibility: hidden;
    list-style-type: none;
    position: absolute;
    padding: 30px;
    padding-left: 80px;
    flex-wrap: wrap;
    justify-content: start;
    transition: all 0s cubic-bezier(0.433, 0.862, 0.633, 0.872);
    opacity: 0;
    transform: translateY(-5vh);
    background-color: var(--dark-red-bg-color);
    top: 7vh;
    right: 0vw;
    width: 40vw;
    max-width: 700px;
    border-radius: 0 0 2vh 2vh;
    box-shadow: 0vh 0.5vh 0.5vh var(--main-shadow-color);
}

.navbar-dropdown-toggle:hover ul {
    visibility: visible;
    opacity: 1;
    transition: all 0.2s cubic-bezier(0.433, 0.862, 0.633, 0.872);
    transform: translateY(0vh);
}

.navbar-dropdown-toggle, .home {
    background-color: var(--main-bg-color);
    padding: 1vh;
    height: 100%;
    width: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.navbar-dropdown-toggle a {
    transition: all 0.3s ease-in-out;
}


.navbar-dropdown-toggle:hover, .navbar-dropdown-toggle:hover strong {
    filter: brightness(120%);
}

.dropdown-title {
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--black-text-color);
    text-decoration: none;
    white-space: nowrap;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.navbar-dropdown-toggle::after {
    content: '';
    position: absolute;
    bottom: 10px;
    left: 10%;
    right: 0;
    width: 0;
    height: 2px;
    background: #000;
    transition: width 0.3s ease-in-out;
}

.navbar-dropdown-toggle:hover::after {
    width: 80%;
}

.navbar-dropdown-toggle:hover a {
    transform: translateY(-5px);
}

.navbar-link {
    color: black;
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 500;
    display: block;
}

.navbar-link:hover {
    text-decoration: underline;
}

.navbar-item {
    padding: 1vh;
    width: 15vw;
    min-width: 40%;
    max-width: 50%;
    transition: all 0.5s ease-in-out;
    display: flex;
    align-items: center;
}

.navbar-icon {
    height: 1.5vw;
    width: 1.5vw;
    margin-right: 0.5vw;
    z-index: 10000000000000;
}

.navbar-dropdown-toggle:hover .navbar-item:hover {
    transform: translateX(min(-20px, 2vw));
}

.scroll-down {
    transform: translate3d(0, -200%, 0);
}

.scroll-up {
    transform: translate3d(0, 0, 0);
}

.active {
    border-bottom: 4px solid #000000;
}

#sidebar-active {
    display: none;
}

.open-sidebar-button, .close-sidebar-button {
    display: none;
}

.open-sidebar-button svg, .close-sidebar-button svg {
    fill: var(--nav-text-color);
}

@media (max-width: 1070px) {
    .navbar {
        justify-content: flex-end;
    }

    .navbar-ul {
        position: absolute;
        top: 8vh;
        right: 0px;
        left: auto;
        margin: 0;
        padding-left: 0;
        width: auto;
        height: 100vh;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        background-color: var(--main-bg-color);
        transition: 0.7s ease-out;
        z-index: 1;
    }

    .navbar-dropdown-toggle {
        display: flex;
        height: auto;
        width: 220px;
        padding: 20px 40px 20px 30px;
    }

    .navbar-dropdown-toggle ul {
        top: 0;
        right: 220px;
        border-radius: 0 0 0 0;
        flex-direction: column;
        width: auto;
        padding: 20px 40px 20px 40px;
        transform: translateX(5vw);
    }

    .navbar-item {
        display: flex;
        white-space: nowrap;
    }

    .navbar-ul li a {
        width: 100%;
        height: auto !important;
        box-sizing: border-box;
    }

    .close-sidebar-button {
        display: flex;
    }

    #sidebar-active:checked~.navbar-ul {
        right: -100%;
    }

    #sidebar-active:not(checked)~.open-sidebar-button {
        display: none;
    }

    #sidebar-active:not(checked)~.close-sidebar-button {
        display: flex;
    }

    .scroll-down {
        transform: none;
    }

    #sidebar-active:checked~.close-sidebar-button {
        display: none;
    }

    #sidebar-active:checked~.open-sidebar-button {
        display: flex;
    }

}

@media (max-width: 475px) {
    .navbar-dropdown-toggle {
        display: flex;
        height: auto;
        width: 210px;
        padding: 10px 10px 10px 10px;
    }

    .navbar-dropdown-toggle ul {
        top: 0;
        right: 210px;
        border-radius: 0 0 0 0;
        flex-direction: column;
        width: auto;
        padding: 10px 10px 10px 10px;
        transform: translateX(5vw);
    }

    .dropdown-title {
        font-size: 1rem;
    }

}

/*page container*/
.page-content-container {
    width: 100vw;
    margin: 0vh;
    padding: 0vh;
    animation: var(--start-animation);
}



/* footer */
.instagram-container {
    display: flex;
    align-items: center;
    justify-content: start;
}

.footer-container {
    border-radius: 5vh 5vh 0vh 0vh;
}

.instagram-container img {
    width: 2.5vw;
}

.instagram-container a {
    margin: 0;
    margin-left: 1vw;
}

/* content */
.page-top-heading {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 2vw;
}

.page-top-heading h1 {
    font-size: 8vw;
    text-align: center;
}

.content-container {
    margin-top: 15vw;
    margin-right: 5vw;
}

.content-container p {
    text-align: justify;
}

.page-container {
    width: 100vw;
}

@media (max-width: 1070px) {
    .page-container {
        display: flex;
        flex-direction: column;
    }
}

.content-block {
    padding: 2rem;
}

.content-block div {
    display: flex;
    align-items: left;
}

.horizontal {
    display: flex;
    justify-content: center;
    flex-direction: row;
}

.vertical {
    flex-direction: column;
}

.center {
    justify-content: center;
}

.content-container img {
    margin: 1.5rem;
}

/*shortcut menu*/
.shortcut-menu {
    height: 100vh;
    width: 15vw;
    position: fixed;
    z-index: 0;
    top: 0vh;
    left: 0;
    overflow-x: hidden;
    padding: 0.5vw;
    padding-top: 20vh;
    display: flex;
    justify-content: start;
    align-items: start;
    border-radius: 0 1vh 1vh 0;
    line-height: 3vh;
    margin: 0;
    transition: all 300ms ease-in-out;
}

.shortcut-menu li {
    display: block;
    width: 90%;
    list-style-type: none;
    margin: 0.5vw;
    padding: 0.5vw;
    border-radius: 0.2vw;
    transition: all 300ms ease-in-out;
}

.shortcut-menu li:hover {
    background-color: var(--gray-bg-color);
}

.shortcut-menu ul {
    display: block;
    padding: 0;
    margin: 0;
    width: 100%;

}

.shortcut-menu a {
    display: block;
    width: 100%;
    font-size: 1.2vw;
    color: var(--black-text-color);
    text-decoration: none;
}

.shortcut-menu .active {
    background-color: var(--light-gray-bg-color);
}

.hide-shortcut {
    left: -50vw;
}

/* TEMPORARLY ONLY DELETE AFTER TEST */
.content-container img {
    width: 30%;
}



/*Notebook*/
.collapsible {
    max-width: 100%;
    padding: 1vw;
    overflow: hidden;
}

.collapsible label {
    background-color: var(--gray-bg-color);
    border-radius: 0.5rem;
    height: 8vh;
    width: 100%;
    padding: 0.5vw;
    padding-left: 1vw;
    font-size: 2rem;
    position: relative;
    display: block;
    cursor: pointer;
}

.collapsible label:after {
    content: ">";
    position: absolute;
    right: 1vw;
    top: 1.3vh;
    width: 2vw;
    height: 2vw;
    text-align: center;
    vertical-align: middle;
    transition: all 0.3s ease;
}

.collapsible-text {
    max-height: 1px;
    overflow: hidden;
    position: relative;
    top: -100%;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.collapsible input:checked~label:after {
    top: 1.5vh;
    transform: rotate(90deg);
}

.collapsible input:checked~.collapsible-text {
    max-height: 50vh;
    padding-bottom: 25px;
    opacity: 1;
    top: 0;
}

.collapsible input {
    display: none;
}

.collapsible-text p {
    font-size: 1.5vw;
}

.collapsible .time {
    margin-top: 1vw;
}

.notebookPDF {
    width: 30vw;
    height: 70vh;
    margin: 0vw;
    margin-right: 3vw;
    margin-top: 0.5vw;
}

.PDFcontainer a {
    margin-right: 5vw;
}