@font-face {
  font-family: "ArchivoBlack-Regular";
  src: url('https://static.igem.wiki/teams/4392/wiki/homepage/fonts/archivoblack-regular.ttf');
}

@font-face {
  font-family: "Montserrat";
  src: url('https://static.igem.wiki/teams/4392/wiki/homepage/fonts/montserrat-semibold.ttf');
}
@font-face {
  font-family: "OpenSans";
  src: url('https://static.igem.wiki/teams/4392/wiki/homepage/fonts/montserrat-semibold.ttf');
}

:root {
  --primary-color: rgba(62, 143, 12, 0.8);
  --secondary-color: rgba(39, 111, 17, 1);
  --hover-color1: rgba(25, 147, 18, 0.782);
  --hover-color2: rgba(10, 85, 33, 0.304);
  --border-color: rgba(6, 80, 2, 0.585);
  }

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

body { padding-top: 0px; }
.left-aligned { margin-left: auto; }
.bg-dark { background-color: #198754 !important; }
/* Navigation */

#navbar {
  font-family: "OpenSans", sans-serif;
  height: 40px;
  margin-top: 15px;
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
  background-color: var(--secondary-color);
  position: fixed;
  z-index: 30;
}
h1 {
  padding: 50px;
}
.head h1 {
  font-family: "Open Sans", sans-serif;
  color: #F2C300;
  text-shadow: 1px 1px 3px #000;
}
.sub-head {
  display: flex;
  justify-content: space-around;
  align-items: center;
}

#navbar ul {
  list-style: none;
  z-index: 2;
}

#navbar ul li {
  color: #FDFED2;
  display: inline-block;
  padding: 1rem;
  position: relative;
}

#navbar ul li a {
  color: #333;
  text-decoration: none;
}

/* hide nested ul by default */
#navbar ul li ul {
  display: none;
}

#navbar ul li:hover {
  padding-top: 10px;
  height: 40px;
  cursor: pointer;
  background-color: var(--primary-color);
  color: #FDFED2;
}

#navbar ul li:hover a {
  color: #fff;
}

/* nested dropdown show */
#navbar ul li:hover ul {
  z-index: 10000;
  display: block;
  position: absolute;
  left: 0;
  width: 200px;
  margin-top: 1rem;
  margin-left: -110px;
}

#navbar ul li:hover ul li {
  display: block;
  background: #e7e7e7;

  border-bottom: 1px dotted var(--secondary-color);
}

#navbar ul li:hover ul li a {
  color: #333;
}

#navbar ul li:hover ul li:hover {
  background: #e0e0e0;
}

#navbar ul li:hover ul li span i {
  float: right;
  color: #fff;
  background-color: var(--hover-color1);
  padding: 0.2rem 0.5rem;
  text-align: center;
  font-size: 0.8rem;
  border-radius: 5px;
}

#navbar ul li:hover ul li:hover span i {
  background-color: var(--hover-color2);
}

/* .sticky {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
} */

/* Header */
.headermain {
	position: relative;
	background: radial-gradient(#007d3a, #052311);
	width: 100%;
	height: min(100vh, 100vw);
}

.headermain img {
	position: absolute;
	bottom: 0;
	width: 100%;
}

.heading {
	position: relative;
	height: 100%;
}


.heading h3 {
	position: absolute;
	color: white;
	font-size: 9vw;
	left: 50%;
	top: 40%;
	transform: translate(-50%, -50%);
	font-family: 'ArchivoBlack-Regular', sans-serif;
}

.heading h3:nth-child(1) {
	text-shadow: 5px 5px 10px #000;
}

.heading h3:nth-child(2) {
	color: #03a9f4;
	animation: animate 4s ease-in-out infinite;
}

@keyframes animate {

	0%,
	100% {
		clip-path: polygon(0% 52%, 8% 57%, 17% 60%, 26% 57%, 35% 53%, 45% 51%, 56% 52%, 65% 57%, 74% 60%, 83% 56%, 92% 51%, 100% 49%, 100% 100%, 0% 100%)
	}

	50% {
		clip-path: polygon(0 55%, 8% 49%, 19% 49%, 26% 53%, 35% 59%, 46% 57%, 54% 51%, 65% 50%, 75% 56%, 83% 60%, 92% 59%, 100% 54%, 100% 100%, 0% 100%);

	}
}

/* Header end */

/* Body */
.body1 {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	background: #052311;
	padding: 5% 0;
	width: 100%;
	height:100%;
}

.body1 p{
	display: flex;
	justify-content: space-evenly;
	margin-left: 30%;
	margin-right: 30%;
	font-size: 24px;
	text-align: center;
	letter-spacing: 2px;
	font-family: 'Montserrat', sans-serif;
	color: #fff;
}

.body1 .minhead {
	display: flex;
	justify-content: space-evenly;
	margin-left: 20%;
	margin-right: 20%;
	margin-bottom: 1%;
	font-size: 30px;
	text-align: center;
	font-weight: 600;
	letter-spacing: 2px;
	font-family: 'Montserrat', sans-serif;
	color: #fff;
}

.body1 .banghead {
	display: flex;
	justify-content: space-evenly;
	margin-left: 20%;
	margin-right: 20%;
	margin-bottom: 3%;
	font-size: 300%;
	text-align: center;
	letter-spacing: 2px;
	text-shadow: 3px 3px 5px #000;
	font-family: 'ArchivoBlack-Regular', sans-serif;
	color: #F2C300;
}

.img1{
	position: relative;
	display: flex;
	flex-basis: 100%;
	justify-content: center;
}
.img1 img{
	align-items: center;
	margin-bottom: 0%;
	width:35%;	
}

.bigger{
	font-size:50px;
	color: #F2C300;
	font-weight:1000;
	text-shadow: 3px;
	justify-content: center;
}

.numbers {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	background: #052311;
	padding: 5% 0;
}

.img2{
	position: relative;
	display: flex;
	flex-basis: 100%;
	justify-content: center;
}
.img2 img{
	align-items: center;
	margin-bottom: 5%;
	width:50%;	
}

.row {
	display: flex;
	justify-content: space-evenly;
	margin-bottom: 5%;
}

.col {
	flex-basis: 45%;
	margin: 1px;
	text-align: center;
	color: #f2c300;
}

.LRbox{
	width: 80%;
	margin: auto;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	text-align: center;
}

.leftcont{
	flex-basis: 60%;
	margin-bottom: 0%;
}

.leftcont p{
	display: block;
	margin-left: 10%;
	margin-bottom: 0%;
	font-size: 24px;
	text-align: left;
	letter-spacing: 2px;
	font-family: 'Montserrat', sans-serif;
	color: #fff;

	
}

.img3{
	flex-basis: 40%;
	margin: auto;
}
.img3 img{
	margin-bottom: 0%;
	width:80%;
	margin-right: 30%;
}

.rightcont{
	flex-basis: 60%;
	margin-bottom: 0%;
}

.rightcont p{
	display: block;
	margin-right: 10%;
	margin-bottom: 0%;
	font-size: 24px;
	text-align: right;
	letter-spacing: 2px;
	font-family: 'Montserrat', sans-serif;
	color: #fff;
}
	
.img4{
	flex-basis: 40%;
	margin: auto;
}
.img4 img{
	margin-bottom: 0%;
	margin-left: 5%;
	width: 80%;
}

.oneline{
	justify-content: center;
	
}
.img5{
	position: relative;
	display: flex;
	flex-basis: 100%;
	justify-content: center;
}
.img5 img{
	align-items: center;
	margin-bottom: 0%;
	width:60%;	
}


h2 {
	margin: 15px 0;
	font-size: 80px;
	font-family: 'ArchivoBlack-Regular', sans-serif;
	color: #f2c300;
	text-shadow: 3px 3px 5px #000;
}

h4 {
	margin: 10px 0;
	font-family: 'OpenSans', sans-serif;
	font-size: 20px;
	letter-spacing: 2px;
	color: #fdfed2;
	text-shadow: 2px 2px 5px #000;
}

@media screen and (max-width: 860px) {
	.numbers {
		justify-content: center;
		min-height: auto;
	}
	.row {
		flex-direction: column;
	}

	h2 {
		font-size: 10vw;
	}

	h4 {
		font-size: 15px;
	}
}

mark{
	color: #000;
	height: 100%;
}
.main-container {
      padding: 0;
    }

.bodylight {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	background: #007D3A;
	padding: 5% 0;
	width: 100%;
	height:100%;
}

.bodylight .minhead {
	display: flex;
	justify-content: space-evenly;
	margin-left: 20%;
	margin-right: 20%;
	font-size: 35px;
	text-align: center;
	font-weight: 600;
	letter-spacing: 2px;
	text-shadow: 2px 2px 5px #000;
	font-family: 'Montserrat', sans-serif;;
	color: #fff;
}


.bodylight p{
	display: flex;
	justify-content: space-evenly;
	margin-left: 20%;
	margin-right: 20%;
	font-size: 24px;
	text-align: justify;
	letter-spacing: 2px;
	font-family: 'Montserrat', sans-serif;;
	color: #fff;
}

.img6{
	position: relative;
	display: flex;
	flex-basis: 100%;
	justify-content: center;
}
.img6 img{
	align-items: center;
	margin-top: 2%;
	margin-bottom: 2%;
	width:40%;	
}

.fading{
  width: 100%;
  display: flex;
  flex-direction: column;
}

.fade1 {
  height: 18px;
  width: 100%;
}

.fade1:nth-of-type(1) {
  background-color: #052311;
  box-shadow: 0 0 12px 2px #052311; /* adds blur to smooth color transitions */
  margin-top: -2px; /* layers it on top of the previous <span> */
}

.fade1:nth-of-type(2) {
  opacity: .9;
  background-color: #023A19;
  box-shadow: 0 0 12px 2px #023A19;
  margin-top: -2px;
}

.fade1:nth-of-type(3) {
  opacity: .9;
  background-color: #045926;
  box-shadow: inset 0 0 12px 2px #045926;
  margin-top: -2px;
}

.fade1:nth-of-type(4) {
  opacity: .9;
  background-color: #045926;
  box-shadow: inset 0 0 12px 2px #007D3A;
  margin-top: -2px;
}

.solution {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	background: #FFFF92;
	padding: 5% 0;
	width: 100%;
	height:100%;
}

.img7{
	display: flex;
	flex-basis: 100%;
	justify-content: left;
}
	
.img7 img{
    position: absolute;
	bottom: 0;
	height: 95%;
	margin-left: 11%;
}

.fade2 {
  height: 18px;
  width: 100%;
}

.fade2:nth-of-type(1) {
  background-color: #007D3A;
  box-shadow: 0 0 12px 2px #007D3A; /* adds blur to smooth color transitions */
  margin-top: -2px; /* layers it on top of the previous <span> */
}

.fade2:nth-of-type(2) {
  opacity: .9;
  background-color: #0D843D;
  box-shadow: 0 0 12px 2px #0D843D;
  margin-top: -2px;
}

.fade2:nth-of-type(3) {
  opacity: .7;
  background-color: #E8E84D;
  box-shadow: inset 0 0 12px 2px #E8E84D;
  margin-top: -2px;
}

.fade2:nth-of-type(4) {
  opacity: .9;
  background-color: #F7F792;
  box-shadow: inset 0 0 12px 2px #F7F792;
  margin-top: -2px;
}

.fade3 {
  height: 18px;
  width: 100%;
}

.fade3:nth-of-type(1) {
  background-color: #F7F792;
  box-shadow: inset 0 0 12px 2px #F7F792; /* adds blur to smooth color transitions */
  margin-top: -2px; /* layers it on top of the previous <span> */
}

.fade3:nth-of-type(2) {
  opacity: .8;
  background-color: #E8E84D;
  box-shadow:  0 0 12px 2px #E8E84D;
  margin-top: -2px;
}

.fade3:nth-of-type(3) {
  opacity: .9;
  background-color: #0D843D;
  box-shadow:  0 0 12px 2px #0D843D;
  margin-top: -2px;
}

.fade3:nth-of-type(4) {
  opacity: .98;
  background-color: #007D3A;
  box-shadow:  0 0 12px 2px #007D3A;
  margin-top: -2px;
}

.solution .minhead {
	display: flex;
	justify-content: space-evenly;
	margin-left: 20%;
	margin-right: 20%;
	font-size: 45px;
	text-align: center;
	font-weight: 700;
	letter-spacing: 2px;
	font-family: 'Montserrat', sans-serif;;
	color: #052311;
}

.solution .banghead {
	display: flex;
	justify-content: space-evenly;
	margin-left: 20%;
	margin-right: 20%;
	font-size: 300%;
	text-align: center;
	letter-spacing: 2px;
	font-family: 'ArchivoBlack-Regular', sans-serif;;
	color: #052311;
}

.bodylight .chassis {
	display: flex;
	justify-content: space-evenly;
	margin-left: 20%;
	margin-right: 20%;
	font-size: 40px;
	text-align: center;
	font-weight: 600;
	letter-spacing: 2px;
	text-shadow: 2px 2px 5px #000;
	font-family: 'Montserrat', sans-serif;;
	color: #fff;
}

.bodylight .subhead{
	display: flex;
	justify-content: space-evenly;
	margin-left: 30%;
	margin-right: 30%;
	font-size: 24px;
	text-align: center;
	letter-spacing: 2px;
	font-family: 'Montserrat', sans-serif;;
	color: #fff;
}

.LRbox{
	width: 80%;
	margin: auto;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	text-align: center;
}

.leftcont{
	flex-basis: 60%;
	margin-bottom: 3%;
}

.leftcont p{
	display: block;
	margin-left: 10%;
	margin-bottom: 3%;
	font-size: 24px;
	text-align: left;
	letter-spacing: 2px;
	font-family: 'Montserrat', sans-serif;
	color: #fff;

	
}

.img8{
	flex-basis: 40%;
	margin: auto;
}
.img8 img{
	margin-bottom: 15%;
	width:50%;
	margin-right: 30%;
}

.rightcont{
	flex-basis: 60%;
	margin-bottom: 3%;
}

.rightcont p{
	display: block;
	margin-right: 10%;
	margin-bottom: 3%;
	font-size: 24px;
	text-align: left;
	letter-spacing: 2px;
	font-family: 'Montserrat', sans-serif;
	color: #fff;
}
	
.img9{
	flex-basis: 40%;
	margin: auto;
}
.img9 img{
	margin-bottom: 5%;
	margin-left: 25%;
	width: 50%;
}


/* Footer */

.main-footer {
  height: 210px;
  background: url("./images/Description.png") no-repeat center center/cover;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-gap: 1.5rem;
  padding: 0.5rem;

  position: relative;
  z-index: 1;
}

.main-footer::before {
  content: "";
  background: linear-gradient(45deg, rgba(0, 0, 0, 0.2), #eef200);

  position: absolute;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.main-footer img {
  padding: 0;
  height: 5rem;
  width: 9rem;
}

.partition {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 3.5rem;

  border-right: var(--border-color) solid 2.8px;
  height: 80%;
}

.clr {
  padding-left: 0.25rem;
}

.social i {
  /* color: rgb(2, 40, 211); */
  margin-right: 0.35rem;
}

.change1 {
  color: rgb(153, 35, 74);
}
.change2 {
  color: rgb(165, 28, 28);
}

.p2 img {
  padding-top: 1rem;
  margin-bottom: 0;
  height: 11rem;
  width: 11rem;
}
.p5 img {
  width: 15rem;
}
.sponsor h1 {
  padding: 0;
  font-family: "OpenSans", sans-serif;
  font-size: 40px;
  padding-bottom: 1.5rem;
  color: #075a21f6;
}
.part {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 10rem;
}

