* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.whole{
    position: relative;
    font-family: Calibri, 'Trebuchet MS', sans-serif;
    width: 100vw;
    background-color: #3d3e42;
    display: grid;
    grid-template-rows: 80vh 1fr 6vh;
    grid-template-columns: 25vw 1fr;
    grid-template-areas: "header header"
                        "aside main"
                        "footer footer";
    background-image: url("https://static.igem.wiki/teams/4307/wiki/wikigeneralfiles/templatebackground.svg");
    background-repeat: repeat-y;
    background-position: 0 100vh;
}
footer{
    display: none;
}
.whole footer{
    display: block;
    grid-area: footer;
    height: max-content;
    width: 100vw;
    color: #dddddd;
    z-index:90;
}
.whole footer a{
    color: #dddddd;
}
.whole footer a:visited{
    color: #dddddd;
}


.whole header {
    grid-area: header;
    width: 100vw;
    height: 90vh;
    text-align: center;
    color: white;
    text-shadow: 10px 10px 0 #333;
    position: relative; 
    background-size: cover;
    background-repeat: no-repeat;
    background-position:center center;
    background-attachment: fixed;    
}



h1#headTitle{
    font-family: 'Kalam', cursive;
    font-size: 80pt;
    color: white;
    top: 47vh;
    left: 50vw;
    width: 100%; 
    transform: translate(-50%,-50%);
    line-height: 100pt;
    letter-spacing: 0.04em;
    display: inline-block;
    text-transform: uppercase;
    position: absolute;
}


/* sidebar */
aside{
    grid-area: aside;
    z-index: 90;
    padding-top: 10vh;
}
 
.sidebar{
    position: sticky;
    top: 20vh; 
    width: 19vw;
    overflow-x: hidden;
    margin-left: 3vw;
    margin-top: 10vh;
    border: 0;
    border-radius: 5px;
    list-style: none;
}

#sidebarh2{
    font-size: 22pt;
    font-weight: bold;
    color: white;
    line-height: 300%;
    border-radius: 5px;
    user-select: none;
    
}


.sidebar a{ 
    display: flex;
    align-items: center;
    line-height: 25px;
    font-size: 15pt;
    color: #fafbf3;
    height: 5vh;
    margin-top: 2vh;
    box-sizing:border-box;
    border-radius: 5px;
    transition: .4s;
    text-decoration: none;
    list-style-type: circle;
    word-break: normal;
}

.sidebar a:hover{
    padding-left: 5%;
    background-color: #fff4c6;
    font-weight: bold;
    color:#111c75;

}



/* main content */
main.mainTEXT{
    grid-area: main;
    border: 0px;    
    border-radius: 10px;
    z-index: 50;
    padding-bottom: 10%;
    width: 70vw;
    font-family: Calibri, 'Trebuchet MS', sans-serif;
    font-size: 20px;
    line-height: 150%; 
    padding-top: 30vh;
}

.mainTEXT h1{
    font-size: 28pt;
    padding-left: 10vw;
    padding-right: 10vw;
    display: flex;
    line-height: 125%;
    justify-content: center;
    align-items: center;
    box-sizing: content-box;
    color: #3e4c9a;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    margin-bottom: 5vh;
    height: fit-content;
}

.mainTEXT h3{
    padding-top: 3%;
    font-size: 17pt;
    color: #6c98e7;
    margin-bottom: 10px;
}

.mainTEXT h4{
    font-size: 16pt;
    color: #3e4c9a;
}

.mainTEXT h5{
    font-size: 21px;
}

.mainTEXT .card{
    padding-top: 11vh;
    margin-top: -11vh;
    margin-bottom: 20vh;
    border-radius: 10px;
    position: relative;
    z-index: 50;
    background-color: #FBFAF3; 
}

.mainTEXT p,.mainTEXT li{
    margin-bottom: 20px;
}
.mainContent li{
    list-style-position: inside;
}

.card .mainContent{
    color: #3d3e42;
    padding-bottom: 5vw;
    padding-left: 6vw;
    padding-right: 6vw;
    border: 0px;
    position: relative;
    width: 70vw;
    height: fit-content;
}

/* figure in main content */
.img_wrap{
    width: 58vw !important;
    height: auto;
    border:0;
    text-align: center;
    vertical-align: middle;
}
.img_wrap img{
    width: 58vw;
    height: auto;
}
.img_wrap img.smallerImg{
    width: 40vw;
    height: auto;
}
.desc{
    text-align: center;
    width: 58vw;
    color: rgb(141, 137, 137);
    line-height: 150%;
    font-size: 85%;
}



/* hyperlink*/
.mainTEXT a{
    color:#6c98e7;
    position: relative;
    font-weight: bold;
    text-decoration: none;
    
}

.mainTEXT a:hover{
    color:#111c75;
}

.mainTEXT a:active{
    color:#111c75;
    background-color: #fff4c6;
}



/* table */
.Tab{
    width:100%;
    line-height: 12px;
}

.specialTab{
	width:100%;
	border-collapse:collapse;
    margin-bottom: 30px;
}

.specialTab caption {
	font-size:15pt;
	padding:10px 20px 10px 20px;
    margin-bottom: 10px;
    color: #404040;
    line-height: 100%;
}

.specialTab td, .specialTab th {
    font-size:10pt;
	padding:10px 20px 10px 20px;
    overflow: hidden;
}

.specialTab th{
	font-size:13pt;
    line-height: 20pt;
    border-top: #accaff 1px solid;
    border-bottom: #accaff 1px solid;
	text-align:left;
	padding-top:5px;
	padding-bottom:4px;
    padding-left: 20px;
	background-color:#6c98e7;
	color:#ffffff;
}

.specialTab tr:last-child{
    border-bottom: #accaff 1px solid;
}

small a{
    color: #3d3e42;
    font-weight: normal;
}

@media screen and (max-width: 900px) {
    .whole{
        display: block;
    }
    h1#headTitle{
        font-size: 38pt;
        width: 80%;
        height: fit-content;
    }
    aside{
        display: none;
    }
    main{
        width: 100vw;
    }
    .card{
        padding: 3vw !important;
        width: 90vw;
        margin-left: 5vw;
    }
    .mainTEXT h1{
        margin: 5vw;
    }
    .mainContent{
        width: 80vw !important;
    }
    .mainContent p{
        display: block;
        width: 60vw;
    }
    .Tab{
        width: 70vw;
        overflow: scroll;
    }
}
@media screen and (min-width: 1825px){
    h1#headTitle{
        font-size: 100pt;
    }
}

