
/* ________________________________ main_navbar ____________________________ */
.main_navbar {
	position: fixed;
	top: 0; left: 0; right: 0;
	background-color: var(--first-color);
  color: #000;
	box-shadow: 0 5px 10px rgba(0,0,0,.1);
	display: flex;
	justify-content: space-between;
	align-items: center;
	z-index: 1000;
	border-bottom: solid 2px var(--sec-color);
}
.main_navbar_logo {
	font-family: title_font;
	font-size: 25px;
}
.main_navbar_logo img {
  width: 65px;
  height: auto;
  margin: 5px;
	margin-right: 0px;
  vertical-align: middle;
}
.main_navbar ul {
	list-style-type: none;
}
.main_navbar ul li {
	position: relative;
	float: left;
}
.main_navbar ul li a {
	font-size: 20px;
	padding: 18px;
	padding-bottom: 22px;
	display: block;
}
.main_navbar ul li a:hover,
.main_navbar ul li:focus-within {
	background-color: #AF87F6;
	color: #000000;
}
.main_navbar ul li ul {
	position: absolute;
	left: 0;
	width: 200px;
	background-color: var(--sec-color);
  border-radius: 0 0 5% 5%;
	display: none;
	z-index: -1;
        border: 1px solid var(--special-color);
}
.main_navbar ul li ul li {
	width: 100%;
	height: 65px;
}
.main_navbar ul li ul li a {
	color: #fff;
  font-size: 15px;
  text-align: left;
  height: 65px;
}
.main_navbar ul li ul li a:hover {
	color: #000;
  border-radius: 0 0 5% 5%;
  background-color: #AF87F6;
}
.main_navbar ul li:focus-within > ul,
.main_navbar ul li:hover > ul {
	display: initial;
  animation: navdropdowns_slide_from_top 0.4s ease-out;
}
.main_navbar a {
	text-decoration: none;
	color: #000;
}
/* main_nav dropdown menus sliding in from top */
@keyframes navdropdowns_slide_from_top {
  0% {
		transform: translateY(-20px);
  }
	100% {
		transform: translateY(0);
	}
}

/* navbar-design small screens (sn) */
/* small_navbar icon */
#sn_menu-bar {
	display: none;
}
#sn_menu_bar i {
	margin-right: 15px;
	color: #000;
	cursor: pointer;
	display: none;
}
/* small navbar topbar, underline */
.sn_topbar {
	margin-top: 53px;
	border-bottom: solid 2px var(--sec-color);
	box-shadow: 0 5px 10px rgba(0,0,0,.1);
}
/* small navbar logo */
.sn_logo {
	position: absolute;
  top: 5px;
  left: 5px;
	width: 65px;
	height: auto;
}
.sn_teamname {
	position: absolute;
	top: 17px;
	left: 74px;
	font-family: title_font;
	font-size: 25px;
}
/* small navbar overlay */
.sn_overlay i {
	vertical-align: baseline;
}
.sn_overlay {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  background-color: var(--first-color);
  background-image: url("https://static.igem.wiki/teams/4229/wiki/pictures/general-design/sn-bg.png");
  background-size: 55%;
  background-repeat: no-repeat;
  background-position: left bottom;
  overflow-x: hidden;
  transition: 0.5s; /* transition effect to slide in the overlay */
}
.sn_overlay_content {
  position: relative;
  top: 10%;
  width: 100%;
  text-align: center;
  margin-top: 30px; /* top margin to avoid conflict with close button on smaller screens */
}
.sn_overlay a {
	font-size: 30px;
}
.sn_overlay a, .sn_overlay_content ul li a {
  padding: 8px;
  text-decoration: none;
  color: #000;
  display: block;
}
.sn_overlay_content ul li {
	float: none;
	display: inline-block;
	margin-top: 2px;
}
.sn_overlay_content ul li a {
	font-size: 20px;
}
.sn_overlay_content a:hover, .sn_overlay_content a:focus, .sn_overlay_content ul li a:hover {
  color: #000000;
  background-color: #AF87F6;
}
.sn_overlay_content ul li a:hover {
	border-radius: 10%;
}
#sn_dropdown1, #sn_dropdown2, #sn_dropdown3, #sn_dropdown4, #sn_dropdown5 {
	display: none;
}
/* small navbar closebtn */
.sn_overlay .sn_closebtn {
  position: absolute;
  top: 6.5px;
  right: 5px;
}
.sn_closebtn i {
	color: #000;
	cursor: pointer;
}
.sn_overlay_content i {
	position: relative;
	top: 3px;
}
/* only "chAMBER" in nav on small screens */
@media screen and (max-width: 452px) {
	.hidden_navtxt {
		display: none;
	}
}
@media screen and (max-width: 382px) {
	.sn_overlay_content {
	  top: 2%;
	}
}
/* main_navbar responsive */
@media screen and (max-width:1399px) {
	.main_nav {
		display: none;
	}
	#sn_menu_bar {
		display: initial;
	}
	#sn_menu_bar i {
		display: initial;
	}
}
.main_navbar .active {
	font-family: title_font;
	font-size: 20px;
	padding: 20px;
	color: #ffffff;
	background-color: var(--sec-color);
}
.main_navbar .active_largetxt {
	padding-top: 8px;
}
#smallNav .active {
	font-family: title_font;
	font-size: 24px;
	padding: 12px;
}

/* ___________________________ header ______________________________________ */
/* mainpage-header specific*/
.mp_header  {
	background-color: var(--first-color);
  width: 100%;
	height: 100vh;
}
.mp_header_3d_bmc, canvas {
  position: absolute;
  width: 100%;
  height: 100%;
}
.mp_header_txt_container {
  position: absolute;
  top: 55%;
	right: 3%;
	z-index: 1;
}
.mp_header_txt {
	text-align: center;
	padding: 5px;
	padding-bottom: 35px;
}
.mp_header_txtpart {
	font-size: 24px;
	padding-bottom: 5px;
}
.mp_header_heading {
	margin-bottom: 0;
}
.mp_header_prize_gif {
	width: 350px;
	height: auto;
	position: absolute;
	top: 100px;
	right: 10px;
}
@media screen and (max-width: 420px){
	.mp_header_prize_gif {
		margin-left: auto;
		margin-right: auto;
	}
}

/* mp-header animated arrows-down to show, there's more content underneath */
.arrow_down_anm {
  position: absolute;
	top: 84%;
	right: 47.5%;
  width: 2.9rem;
  height: 0.7rem;
  opacity: 0;
  transform: scale(0.3);
  animation: move_arrows_down 3s ease-out infinite;
	z-index: 1;
}
.arrow_down_anm:first-child {
  animation: move_arrows_down 3s ease-out 1s infinite;
}
.arrow_down_anm:nth-child(2) {
  animation: move_arrows_down 3s ease-out 2s infinite;
}
.arrow_down_anm:before,
.arrow_down_anm:after {
 content: '';
 position: absolute;
 top: 0;
 height: 100%;
 width: 50%;
 background: #000;
}
.arrow_down_anm:before {
 left: 0;
 transform: skewY(30deg);
}
.arrow_down_anm:after {
 right: 0;
 width: 50%;
 transform: skewY(-30deg);
}
@keyframes move_arrows_down {
 25% {
  opacity: 1;
	}
 33.3% {
  opacity: 1;
  transform: translateY(2.28rem);
 }
 66.6% {
  opacity: 1;
  transform: translateY(3.12rem);
 }
 100% {
  opacity: 0;
  transform: translateY(4.8rem) scale(0.5);
 }
}
.mp_header_txtpart_smaller {
	display: none;
}
@media screen and (max-width: 1335px) {
	.mp_header_txtpart {
		display: none;
	}
	.mp_header_txtpart_smaller {
		display: block;
		font-size: 20px;
	}
	.mp_header_txt_container {
	  position: absolute;
	  top: 58%;
		margin-left: auto;
		margin-right: auto;
		z-index: 1;
	}
}
@media screen and (max-width: 1438px) {
	.mp_header_txtpart {
		display: none;
	}
	.mp_header_txtpart_smaller {
		display: none;
	}
	.mp_header_txtanim h2 {
		display: none;
	}
	.mp_header_heading {
		padding: 5px;
	}
	.mp_header_txt_container {
	  position: absolute;
	  top: 70%;
		margin-left: auto;
		margin-right: auto;
		z-index: 1;
	}
}
@media screen and (max-width: 600px) {
	.mp_header_txt_container {
	  top: 65%;
	}
}

/* subpages-header specific */
.sp_header {
width: 100%;
	height: 40vh;
	background-image: url("https://static.igem.wiki/teams/4229/wiki/pictures/general-design/sp-header-bg.jpg");
	background-size: cover;
	background-repeat: no-repeat;
	color: #000000;
}
.sp_header_txt {
	width: 100%;
  position: absolute;
  top:20vh;
	text-align: center;
	z-index: 1;
}
@media screen and (max-width: 500px) {
	.sp_header_txt {
		top: 10vh;
	}
}

/* ____________________ subordinated navbar on sub-sides ____________________ */
/* !!! has to come after header-css in order !!! */
.sub_nav {
	top: 22vh;
  width: 300px;
  position: -webkit-sticky;
	position: sticky;
  background-color: var(--special-color);
	background-image: url("https://static.igem.wiki/teams/4229/wiki/pictures/general-design/subnav-bmc.png");
	background-size: 35%;
	background-repeat: no-repeat;
	background-position: right bottom;
  border-radius: 5% 5%;
  margin-right: 20px;
  opacity: 0.95;
	text-align: left;
}
.sub_nav ul {
  list-style: none;
  padding-left: 10px;
  padding-top: 10px;
    width: 250px;
}
.sub_nav a {
  text-decoration: none;
	color: #000;
}
.sub_nav ul li ul {
  border-top: 2px solid #fff;
}
.sub_nav a:hover {
  font-weight: bolder;
	transition: all 0.2s;
}
.results .sub_nav {
	top: 10vh;
}
@media screen and (max-width: 740px) {
	.sub_nav {
	  width: 210px;
	}
	.sub_nav ul li ul {
	  width: 195px;
	}
}
@media screen and (max-width: 645px) {
	.sub_nav {
	  display: none;
	}
}

/* ____________________________________ main-part __________________________ */

/* sec-color /* first-color section-intro-part */
.section_intro_bg_2 {
	width: 100%;
	height: 20vh;
	background-color: var(--first-color);
	color: #000;
  text-align: center;
}-intro-part */
.section_intro_bg {
	width: 100%;
	height: 20vh;
	background-color: var(--sec-color);
	color: #fff;
	padding-right: 10px;
	padding-top: 20px;
}
/* first-color section-intro-part */
.section_intro_bg_3 {
	width: 100%;
	height: 50vh;
	background-color: var(--first-color);
	color: #000;
  text-align: center;
}
/* references-title */
.ref_header {
  border-bottom: 3px solid var(--sec-color);
	background-color: var(--first-color);
  margin-bottom: 20px;
	padding: 5px;
	-webkit-box-shadow: 0 4px 6px rgba(0, 0, 0, .3);
  -moz-box-shadow: 0 4px 6px rgba(0, 0, 0, .3);
  box-shadow: 0 4px 6px rgba(0, 0, 0, .3);
}
/* References text-design */
.ref_txt {
  font-size: 0.9rem;
  margin-bottom: 20px;
  font-weight: lighter;
  color: #3B3B3B;
  text-align: left;
}

/* ______________________________ Lines __________________________________ */
.line-1 {
	height: 4px;
	background:#AF87F6;
	  margin-top: 15px;
  }
  .line-2 {
	height: 1px;
	background: #000;
	  margin-top: 5px;
  }
  .text_block {
	margin-right: 30px;
  }
  .line-3{
	  background: #8C5FEE2E;
	height: 5px;
  }
  
/* ______________________________ footer __________________________________ */
.footer_line {
	width: 100%;
	height: 2vh;
	background-color: var(--first-color);
}
footer {
	background-image: url("https://static.igem.wiki/teams/4229/wiki/pictures/general-design/f-bg.jpg");
	background-size: cover;
	background-repeat: no-repeat;
	padding-top: 30px;
}
.footer_infos {
  align-items: baseline;
	padding: 12px;
	box-shadow: 0 5px 10px rgba(0,0,0,.1);
	background-color: var(--first-color);
}
.footer_infos h2 {
	font-family: title_font;
	border-left: 5px var(--sec-color) solid;
	padding-left: 5px;
}
.footer_infoitem2 {
	justify-self: center;
}
.footer_infoitem3 {
	justify-self: end;
}
footer ul {
  list-style-type: none;
}
footer i {
	position: relative;
	top: 2px;
	left:0;
	margin-right: 2px;
}
/* responsiveness footer-infos */
@media screen and (max-width:719px) {
	.footer_infos {
		grid-template-columns: repeat(1, 1fr);
	}
	.footer_infoitem2, .footer_infoitem3 {
		justify-self: start;
	}
}
.footer_licensing {
	text-align: center;
	font-size: 0.9rem;
  background-color: none;
}
@media screen and (max-width: 1200px) {
	.footer_licensing {
		background-color: var(--first-color);
	}
}
.footer_licensing_small {
	display: none;
}
@media screen and (max-width: 487px) {
	.footer_licensing_large {
		display: none;
	}
	.footer_licensing_small {
		display: block;
	}
}
/* footer sponsor-logo infinite carusel */
.f_carousel_container {
  margin: 0 auto;
}
footer .slick-slide {
	margin-top: 50px;
}
.logo_carousel {
  overflow: inherit;
}
footer .slick-slide img {
	margin: 0 auto;
	filter: grayscale(100%);
	transition: filter 0.5s ease;
}
footer .slick-slide .f_larger_logo {
	height: 130px;
	width: auto;
}
footer .slick-slide .f_smaller_logo {
	height: 90px;
	width: auto;
}
footer .slick-slide img:hover {
	filter: grayscale(0%);
}
footer .slick-track::before,
footer .slick-track::after {
  display: table;
  content: '';
}
footer .slick-track::after {
  clear: both;
}
footer .slick-track {
}
footer .slick-loading .slick-track {
  visibility: hidden;
}
footer .slick-slide.slick-loading img {
  display: none;
}
footer .slick-slide.dragging img {
  pointer-events: none;
}
footer .slick-loading .slick-slide {
  visibility: hidden;
}
/* Media Queries */
@media (max-width: 768px) {
  footer .slick-arrow {
    width: 1rem;
    height: 1rem;
  }
	footer .slick-slide {
		margin-top: 30px;
	}
}
