/*======================================*/
/*General*/
/*======================================*/
* {
    box-sizing: border-box;
}

@font-face {
    font-family: "Orbitron";
    src: url("https://uploads.igem.org/teams/4378/wiki/fonts/orbitron-regular.ttf");
    font-weight: regular;
}

:root {
    --darkRed: #780000;
    --red: #C1121F;
    --bone: #FEF8EC;
    --light: #FFF8FC;
    --darkBlue: #003049;
    --blue: #669BBC;
}

body {
    margin: 0;
    background-color: var(--bone);
    font-family: Tahoma, sans-serif;
    color: var(--darkBlue);
}
h1, h2, h3 {
    font-family: "Orbitron", sans-serif;
}

/*Links*/
.link_target {
    position: relative;
    float: left;
    top: -100px;
}

/*Scrollbar*/
  /* width */
  body::-webkit-scrollbar {
    width: 10px;
  }
  
  /* Track */
  body::-webkit-scrollbar-track {
    background: var(--darkBlue);
  }
   
  /* Handle */
  body::-webkit-scrollbar-thumb {
    background: var(--red); 
    border-radius: 10px;
  }
  
  /* Handle on hover */
  body::-webkit-scrollbar-thumb:hover {
    background: var(--darkRed); 
  }

  ::-webkit-scrollbar-corner {
    background: var(--darkBlue);
  }

/*======================================*/
/*Navigation menu*/
/*======================================*/
.navbar {
    background-color: var(--darkBlue);
    width: 100%;
    position: fixed;
    top: 0px;
    z-index: 3;
    font-size: 1.1vw;
    font-family: "Orbitron", sans-serif;
    margin: 0;
    border: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 6.25% 18.75% 12.5% 12.5% 12.5% 12.5% 12.5% 12.5%;
    justify-content: center;
    align-items: center;
}

.navbar .dropdown span a { 
    color: var(--bone);
    text-decoration: none;
    transition: color .15s ease-in-out; 
}

.navbar .dropdown span a:hover {color: var(--blue)}

#minilogo {
    grid-column: 1;
    display: flex;
    height: 50px;
    padding: 0 7%;
    object-fit: contain;
}

/*Dropdown sections*/
.dropdown {
    position: relative;
    display: inline-block;
    color: var(--bone);
    text-align: center;
    transition: color .15s ease-in-out; /* ,background-color .15s ease-in-out,border-color .15s ease-in-out; */
}

.dropdown-content {
    display: none;
    position: absolute;
    font-family:sans-serif;
    background-color: var(--darkBlue);
    width: 100%;
    padding: 12px 16px;
    z-index: 2;
    text-align: center;
    font-size: 0.96vw;
    box-shadow: 0px 16px 16px 0px rgba(0,0,0,0.2);
    border-radius: 0rem 0rem .25rem .25rem;
    border-left: none;
}

.dropdown:hover  {
    background-color: var(darkBlue);
    color: var(--blue);
    cursor: context-menu;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* Links inside the dropdown */
.dropdown-content a { 
    color: var(--blue);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    transition: color .15s ease-in-out; /* ,background-color .15s ease-in-out,border-color .15s ease-in-out; */
}

.dropdown-content a:hover {color: var(--bone)}

/*======================================*/
/*Header*/
/*======================================*/
.header {
    display: flex;
    height: 455px;
    background-image: linear-gradient(to bottom right, var(--darkRed), var(--blue));
    background-size: cover;
    background-attachment: fixed;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.header_pic {
position: fixed;
padding-top: 50px;
width: 100%;
}

/*======================================*/
/*Body content*/
/*======================================*/
/*Grid layout*/
.grid-container {
    width: 100%;
    display: grid;
    grid-template-columns: 20% 80%;
    background-color: var(--bone);
    padding: 0px;
    position: absolute;
}

    /*Sidemenu*/
    .sidemenu {
        grid-column: 1;
        top: 55px;
        position: sticky;
        align-self: start;
        padding-left: 8px;
    }
    .sidemenu a {
        text-decoration: none;
        color: var(--darkBlue);
    }
    .sidemenu a:hover {
        color: var(--blue);
    }

    .sidemenu ol {
        list-style-type: none; 
        margin: 5px; 
        padding: 0px;
    }

    .sidemenu ol li a:hover{
        color: var(--blue)
    }

    /*Main content*/
    .maincontent {
        grid-column: 2;
        padding-right: 100px;
        padding-left: 31px;
    }

/*Flexbox*/
.contentbox {
    width: 100%;
    display: flex;
    flex-direction: row;
    padding: 0;
}

.centerAll {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.flex {display: flex;}

.flexDown {
    display: flex;
    flex-direction: column;
}
.flex1 {flex: 1;}
.flex2 {flex: 2;}
.flex3 {flex: 3;}
.flex4 {flex: 4;}
.flex5 {flex: 5;}
.flex6 {flex: 6;}
.flex7 {flex: 7;}
.flex8 {flex: 8;}


/*Collapsible section*/
button{
    display: flex;
    font-family: "Orbitron", sans-serif;
    padding: 0;
    border: none;
    background: none;
    font-size: 1.5em;
    font-weight: bolder;
    color:var(--darkBlue);
    align-items: center;
}

.button_pic {
    width: 25px;
    padding: 0px 3px;
    position: absolute;
    left: -31px;
}

.main_sec {
    font-family: "Orbitron", sans-serif;
    font-size: 2em;
    font-weight: bolder;
    padding: 21px 0px;
}

.sec {
    font-family: "Orbitron", sans-serif;
    font-size: 1.5em;
    font-weight: bolder;
}

.sub_sec {
    font-family: "Orbitron", sans-serif;
    font-size: 1.20em;
    font-weight: bolder;
}

.collapsible {
position: relative;
cursor: pointer;
color: var(--darkBlue);
}

.collapsible:active{
color: var(--blue);
}

/*Tables*/
table, th, td {
    border: 1px solid var(--darkBlue);
    padding: 3px;
}

table {
    border-collapse: collapse;
    border-radius: 7px;
    table-layout: auto;
}

th, td {
    text-align: center;
}

th {
    background-color: var(--darkBlue);
    color: var(--bone);
}

/*======================================*/
/*Footer*/
/*======================================*/
.footer {
    /* background-color: var(--darkBlue); */
    background: rgb(102,155,188);
    background: linear-gradient(0deg, rgba(102,155,188,1) 0%, rgba(0,48,73,1) 100%);
    grid-column: 1 / 3;
    bottom: 0;
    padding: 50px 0px;
    text-align: center;
    font-size: 30px;
    color: var(--bone);
    font-family: "Orbitron", sans-serif;
    z-index: 70;

    margin-top: 20vh;
}

.smallPic {
    width: 50%;
    max-width: 300px;
}

.whiteOverlay {
    filter: brightness(0) invert(1);
}

.fadeIn {
    opacity: 70%;
    transition: opacity .15s ease-in-out;
}
.fadeIn:hover {opacity: 100%;}

/*======================================*/
/*Copyright*/
/*======================================*/

#copyright {
    bottom: 0;
    padding-top: 1em;
    color: white
}

#copyright p{
    font-size: 0.4em;
    text-align: left;
    font-family: sans-serif;
}

.gradB{
    background: rgb(102,155,188);
    background: linear-gradient(0deg, rgba(102,155,188,1) 0%, rgba(0,48,73,1) 100%);
}