@import url(fonts.css);
@import url(loading.css);
:root {
    --nav-sticky-bg: #281f1d;
    --nav-color: #eeeeee;
    --nav-sticky-color: #C4BBAF;
    --content-bg: #C4BBAF;
}
img{
    user-select: none;
    max-width: 100%;
    margin-left:auto;
    margin-right:auto;
}
a{
    user-select: auto;
}
.page-header-pic {
    height: 50vh;
    position: fixed;
    z-index: -1;
}

.page-header-pic img {
    width: 100%;
    min-height: 50vh;
    object-fit: cover;
}

.header-pic {
    height: 80vh;
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-bottom: 2px solid #3a3534;
    /* Create the parallax scrolling effect */
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.header-title {
    font-family: title, sans-serif;
    font-weight: 800;
    color: #eee;
    text-shadow:
        -1px 0 5px #3a3534,
        0 1px 5px #3a3534,
        1px 0 5px #3a3534,
        0 -1px 5px #3a3534;
    z-index: 2;
    text-align: center;
}


h1.header-title {
    font-size: 60px;
}

h2.header-title {
    font-size: 24px;
}
@media (max-width: 755px) {
    h1.header-title {
        font-size: 10vw;
    }
}
#main-container {
    background: url("https://static.igem.wiki/teams/5441/style/bg-1-1-min.png");
    background-size: 100%;
    background-repeat: repeat;
    margin: 0;
    padding-top: 30px;
}

.text-line{
    padding: max(0.4vw,2px);
    text-align: center;
    color:#C4BBAF;
    background: #1d1d1c;
    mix-blend-mode: multiply;
    display: flex;
    white-space: nowrap;
    width: 100%;
    overflow: hidden;
    font-family: sans-serif;
    margin:0;
 }


.loop-text {

    font-size: max(0.8vw,5px);
    text-transform: uppercase;
    font-weight: 700;
    padding: 0 0.25em;
    animation: loopText 5s infinite linear;      
    margin:0;
 }

@keyframes loopText {

  from {
      transform: translateX(0);
   }

  to {
      transform: translateX(-100%);
   }

}
/* content-bg 

    h1: Main header
    h2: notebook name , sub header
    h3: sub header
    h4: team member name
    h5: experiment sub sub header
    h6: sub sub sub header
    h7: black bg white header
*/

.content-bg {
    margin: auto;
    font-family: homeText, serif;
    font-size: 24px;
    color: #6a0000;
    text-wrap: pretty;
}
@media (max-width: 755px) {
    .content-bg {
        font-size: 12px;
    }
}

.content-bg div{
    white-space: normal;
    word-break: break-word;
}

.content-bg h1,
.content-bg h2 {
    font-family: homeHeading, serif;
    
    font-size: 42px;
}
.content-bg h3{
    font-family: homeHeading, serif;
    
    text-align: center;
    font-size: 42px;
}
.content-bg h4 {
    font-family: newsHeading, serif;
    font-size: 0.7em;
    font-weight: 200;
}
.content-bg h5 {
    font-family: newsHeading, serif;
    font-size: 30px;
    font-weight: 200;
}
.content-bg h6 {
    font-family: newsHeading, serif;
    font-size: 36px;
    font-weight: 200;
}
.content-bg h7{
    font-family: newsHeading, serif;
    padding: 10px;
    text-align: center;
    font-size: 36px;
    color: white;
    background: #1d1d1c;
    mix-blend-mode: multiply;
    margin: auto;
}

table {
    border: 1px solid #430001;
	border-collapse: collapse;
	overflow: hidden;
	box-shadow: 0 0 20px rgba(0,0,0,0.1);
    vertical-align:top;
}

th,
td {
	padding: 15px;
    border: 1px solid #430001;
	background-color: rgba(156, 125, 88, 0.192);
    vertical-align:top;
}

th {
	text-align: left;
}

tr {
		&:hover {
			background-color: rgba(136, 114, 88, 0.212);
		}
	}
td {
    position: relative;
    &:hover {
        &:before {
            content: "";
            position: absolute;
            left: 0;
            right: 0;
            top: -9999px;
            bottom: -9999px;
            background-color: rgba(136, 114, 88, 0.212);
            z-index: -1;
        }
    }
}
.border1 {
    border: 20px solid transparent;
    padding: 15px;
    border-image: url(https://static.igem.wiki/teams/5441/style/border1.png) 15 repeat;
}
.border2 {
    border:35px solid transparent;
    padding: 5px;
    border-image: url(https://static.igem.wiki/teams/5441/style/border2.png) 190;\
}

.border3 {
    border: 100px solid transparent;
    padding: 15px;
    border-image: url(https://static.igem.wiki/teams/5441/style/border3-0.png) 220 repeat;
}
.border4{ 
    border: 2vw solid transparent;
    border-image: url(https://static.igem.wiki/teams/5441/style/spike.png) 180;
    width:10vw;
    height:10vw; 
}
.border4 div{
    padding: auto;
    width:100%;height:100%;padding:0px;
    color: white;
    background: black;
    mix-blend-mode: multiply;
    text-align: center;
}

.SectionBox{
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
    flex-wrap: wrap;
    margin-top: 1.5rem !important;
    margin-right: calc(var(--bs-gutter-x) / -2);
    margin-left: calc(var(--bs-gutter-x) / -2);
}
.collapsible {
    cursor: pointer;
  }
@media (max-width: 1200px) {
    .border4{ 
        border: 30px solid transparent;
        border-image: url(https://static.igem.wiki/teams/5441/style/spike.png) 180;
        width:150px;
        height:150px; 
    }
  }

.shake {
    background-color: transparent;
    transition: transform 5s ease;
}
.shake:hover{
    animation: shake 5s infinite;
}

@keyframes shake {
    5% { transform: translate(3px, 3px) rotate(0deg); }
    25% { transform: translate(-3px, -6px) rotate(-3deg); }
    50% { transform: translate(-9px, 0px) rotate(3deg); }
    75% { transform: translate(9px, 6px) rotate(0deg); }
    95% { transform: translate(3px, 3px) rotate(-3deg); }
}
/* side-bar */

.side-bar {
    position: -webkit-sticky;
    position: sticky;
    top: 10%;
    height: 100%;
    max-height: 90vh;
    margin: 5%;
    width: 100%;
    background-image: url('https://static.igem.wiki/teams/5441/protocol/img-3234.png');
    background-size: 100% 100%;;
    padding: 5px;
    font-size: large;
    overflow: scroll;
    -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}
.side-bar::-webkit-scrollbar {
    display: none;
  }

.side-bar h1 {
    font-size: large;
    padding: 2px;
}

.side-bar h2 {
    font-size: large;
    padding: 2px;
}
.hp-side-bar {
    position: -webkit-sticky;
    position: sticky;
    top: 10%;
    height: 100%;
    max-height: 90vh;
    margin: 50px;
    width: 400px;
    background-size: 100% 100%;;
    padding: 5px;
    font-size: large;
    overflow: scroll;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}
.hp-side-bar::-webkit-scrollbar {
    display: none;
}
.hp-side-bar li{
    background-image: url(https://static.igem.wiki/teams/5441/ihp/timeline-1.png);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    padding: 6%;
}
.hp-side-bar li .date{
    
    padding: 10px;
    width: 200px;
    font-weight: bold;
    text-align:center;
}
.hp-side-bar li .eve{
   
    padding: 5px;
    width: 300px;
}
.hp-side-bar a{
    display: flex;
}
@media (max-width: 1200px) {
    .side-bar,.hp-side-bar {
      display: None;
    }
  }

@media (min-width: 1000px) {
    .enginesidebar {
        position: -webkit-sticky;
        position: sticky;
        height: 90vh;
        max-height: 90vh;
        width: 100%;
        overflow: scroll;
        top: 8vh;
        
        }
    .enginesidebar .col-lg-12{
        background-image: url(https://static.igem.wiki/teams/5441/pictures/bg-2.png); background-size: 100%;
        margin-bottom:10px;
    }
}

.eduBar{
    background-image: url(https://static.igem.wiki/teams/5441/edu/edusidebar.png);
    height: 100px;
    background-size: 100% 100%;
    padding: 5%;
    block-size: max-content;
}

.eduT{
    width: 20%;
    vertical-align: middle;
    margin-right: 5%;
}

.eduD{
    width: 70%;
}
a{
    color: #6a0000;
    text-decoration: underline 0.15em rgba(248, 141, 0, 0.5);
    transition: text-decoration-color 300ms;
}
a:hover {
    color: #6a0000;
    text-shadow: 0 0 10px #f8d7ab, 0 0 20px #f8d7ab, 0 0 30px #A5978B;
    text-decoration-color: rgb(0, 0, 0);
}

.content {
    margin-top: 5%;
}

.filllayer{
    overflow: hidden;
    position: relative;
    height: 0vw;
    top: -20vw;
    width: 20vw;
}
.befilled:hover div .filllayer{
    animation: filling 2s forwards;
}

@keyframes filling {
    100% { height: 20vw;}
}
.chart{
    font-size: 1.5vw;
    background-image: url('https://static.igem.wiki/teams/5441/protocol/img-3219.png'); 
    width: 100%;
    aspect-ratio: 1 / 1;
    padding-top: 10%;
    padding-bottom: 7.5%;
    padding-left:10%;
    padding-right:10%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    * {
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
    }
    display:block;
    clear: both;
    position: relative;
    &.cf:before,
    &.cf:after {
        content: " "; /* 1 */
        display: table; /* 2 */
    }
    &.cf:after {
        clear: both;
    }
    &.cf {
        zoom: 1;
    }
    ul{
        padding: 0;
        margin: 0;
        list-style: none;		
    }
    ul li{ position: relative;}
    ul li a{
        display: block;
        border:  3px solid rgb(49, 46, 40);
        text-align: center;
        overflow: hidden;
        text-decoration: none;
        color: black;
        box-shadow: 4px 4px 9px -4px rgba(0,0,0,0.4);
        -webkit-transition: all linear .1s;
        -moz-transition: all linear .1s;
        transition: all linear .1s;
        background: #ad9972;
        padding: auto; 
    }
    /* DEPARTMENTS COLUMNs */
    .departments{ 
        width: 100%;
        display: block;
        clear: both;
        &:before{
            content: "";
            display: block; 
            width: 66.6%;
            height: 3vw;	
            border-top:  2px solid rgb(49, 46, 40);
            border-left:  2px solid rgb(49, 46, 40);
            border-right:  2px solid rgb(49, 46, 40);
            margin: 0 auto ;
            margin-top: 1%;
            top:  0px; 
        }
    }
    .department{
        border-left:  2px solid rgb(49, 46, 40);
        width: 32%;
        float: left;  
        margin: 0px 0.1%; 
        &:after{
            content: "";
            position:absolute;
            display: block; 
            height: 5vw;	
            border-left:  2px solid rgb(49, 46, 40);
            left:50%;
            top:  -11%; 
            z-index: 0;
        }
        &:first-child{
            &:after{
                display:none;
            } 
        }
        &:last-child{
            &:after{
                display:none;
            }
        }
        a{
            border-left:  1px solid rgb(49, 46, 40);
            z-index: 1;
            position: relative;
        }
        li{	
            padding-left: 1%;
            border-bottom:  2px solid rgb(49, 46, 40);
            height: 6vw;
        }
        li a{
            background: #ad9972;
            top: 45%;	
            position: absolute;
            z-index: 1;
            width: 95%;
            height: 90%;
            vertical-align: middle;
            right:0px; 
            border:  3px solid rgb(49, 46, 40);
        }
        .sections{
            margin-top: -5%;
        }
    }
}

  
  /*  
2px: 2px; 
3px: 3px;
767px: 767px;
#ad9972: #ad9972;
green: green;
rgb(49, 46, 40): rgb(49, 46, 40);
black: black;
$pageBG:  #F5EEC9;
*/