::root {
   --backgroundColor: #fff;
   --backgroundColor2: #222;
   --highlight: #03ac13;
   --hightlight2:#03740e;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: monospace;
}

header {
  background-color: #222;
}

a:hover{
  color:#03740e;
}
.menu, .mobile-nav{
    border-bottom: 3px #03ac13 solid;
}

a.open-menu:hover, a.close-menu:hover{
  background-color: #666;
}

.close-menu{
  margin: 0px 35% 10px;
}

.open-menu, .close-menu{
  padding: 15px;
  border-radius: 25px;
}

header .container .mobile-nav{
  position: relative;
  max-width: 960px;
  padding: 15px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

header .container .mobile-nav {
  display: none;
}

header .container .mobile-nav .open-menu {
  color: #FFF;
  text-decoration: none;
}

@media screen and (max-width: 990px) {
  header .container .mobile-nav {
    display: block;
  }
}
header .container .navbar .menu {
  display: flex;
  list-style-type: none;
}
header .container .navbar .menu .menu-item {
  position: relative;
}
header .container .navbar .menu .menu-item a {
  display: block;
  color: #FFF;
  text-decoration: none;
  padding: 15px 25px ;
}

header .container .navbar .menu .menu-item a:hover {
  color: #03ac13;
  background-color: #323232;
}
header .container .navbar .menu .menu-item.has-sub-menu > a {
  position: relative;
  padding-right: 35px;
}
header .container .navbar .menu .menu-item.has-sub-menu > a:after {
  content: "+";
  display: block;
  position: absolute;
  top: 50%;
  right: 15px;
  transform: translateY(-50%);
  color: #FFF;
  font-size: 18px;
  font-weight: 500;
}
header .container .navbar .menu .menu-item.has-sub-menu > a:hover:after {
  color: #03ac13;
}
header .container .navbar .menu .menu-item.has-sub-menu .sub-menu{
  position: absolute;
  z-index: 999;
  opacity: 0;
  transform: translateY(-200px);
  pointer-events: none;
  transition: 0.4s ease-out;
  min-width: 100%;
  width: max-content;
  background-color: #222;
  list-style-type: none;
}

.sub-menu{
  padding-left: 20px;
}

.close-menu{
    padding: 10px;
}
.close-menu > a:hover{
    background-color: #666;
}

header .container .navbar .menu .menu-item.has-sub-menu .sub-menu .menu-item {
  width: 100%;
}
header .container .navbar .menu .menu-item.has-sub-menu:hover > .sub-menu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}
header .container .navbar .menu .menu-item.has-sub-menu:hover > .sub-menu .sub-menu {
  top: 0;
  right: 100%;
}
header .container .navbar .close-menu {
  display: none;
  color: #FFF;
  text-decoration: none;
  text-align: center;
}
@media screen and (max-width: 990px) {
  header .container .navbar .close-menu {
    display: block;
  }
}
@media screen and (max-width: 990px) {
  header .container .navbar {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    min-height: 100vh;
    z-index: 999;
    background-color: #222;
    opacity: 0;
    pointer-events: none;
    transition: 0.4s ease-out;
  }
  header .container .navbar.is-active {
    opacity: 1;
    pointer-events: all;
  }
  header .container .navbar .menu {
    flex-direction: column;
  }
  header .container .navbar .menu .has-sub-menu > .sub-menu {
    display: none;
    position: relative;
  }
  header .container .navbar .menu .has-sub-menu > .sub-menu .sub-menu {
    position: relative;
    top: 0;
    left: 0;
    right: 0;
  }
  header .container .navbar .menu .has-sub-menu:hover > .sub-menu {
    display: block;
  }
}

main section {
  padding-top: 50px;
  padding-bottom: 50px;
}
main section h1 {
  color: #666;
  font-size: 48px;
  font-weight: 500;
  text-align: center;
  margin-bottom: 30px;
}
main section .image-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
}
main section .image-wrap .image {
  display: block;
  width: 100%;
  max-width: 480px;
}
main section .content-wrap {
  display: block;
  max-width: 768px;
  margin: 0 auto;
}
main section .content-wrap p {
  color: #676767;
  font-size: 18px;
  font-weight: 400;
  margin: 0px 20px;
}

/* reveal-text */
.reveal-text {
    font-size: calc(1.475rem + 2.7vw);
    font-weight: 300;
    line-height: 1.2;
    color: white;
    margin: 25px 0px 0px;
    text-align: justify;
}

@supports (-webkit-background-clip: text) or (background-clip: text) {
    .reveal-text {
        color: transparent;
        -webkit-background-clip: text;
        background-clip: text;
        background-image: url("https://static.igem.wiki/teams/4384/wiki/reveal-background.jpeg");
        background-repeat: repeat-x;
        animation: reveal-background 2s ease-in-out;
        animation-fill-mode: forwards;
    }
}

@keyframes reveal-background {
    0% {
        background-size: 0px;
        background-position-y: 0%;
    }
    10% {
        background-size: 15px;
        background-position-y: 0%;
    }
    35%, 45% {
        background-position-y: 100%;
    }
    70% {
        background-size: 15px;
        background-position-y: 0%;
    }
    100% {
        background-size: 200px;
    }
}

/* Animated-Links */
p a, ol a {
    color: #03ac13;
    font-size: 10px;
    text-decoration: none;
    display: inline-block;
    padding: .5em;
    margin-left: -.5em;
    position: relative;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
}

p a:before, p a:after,ol a::before, ol a::after {
      position: absolute;
      content: '';
      border-bottom: 1.5px solid #03740e;
      border-radius: 1px;
      bottom: 1px;
      transition: transform .5s cubic-bezier(0.075, 0.82, 0.165, 1);
}

p a:before, ol a::before {
        width: 1em;
        transform-origin: left;
}

p a:after, ol a::after {
        width: 82%;
        left: 1em;
        transform: translateX(110%);
}

p a:hover:before, ol a:hover:before {
        transform: scaleX(0.3);
}

p a:hover:after, ol a:hover::after {
        transform: translateX(0);
}

/* team */
.teamMember h2 {
  font-size: 30px;
  font-weight: 100;
  text-align: center;
  text-decoration: underline;
  letter-spacing: 4px;
  margin: 40px 0px 0px 0px;
}

.teamMember h3 {
    font-size: 15px;
}

.teamMember p {
    font-size: 10px;
}

.banner{
    display: flex;
    justify-content: center;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: center;
    text-align: center;
    margin: 20px 0px;
}

.banner p, .banner h3{
  margin: 7px 0px 0px;
  line-height: 15px;
}

.card img{
    border-radius: 250px;
    width: 170px;
    height: 170px;
    object-fit: cover;
    border: #03740e 6px double;
    margin: auto;
}

.card{
  margin: 15px 8%;
  box-sizing: border-box;
}


/* Home */
.home {
    width: 100%;
    height: 260px;
    border-radius: 25px;
    margin: 10px;
    list-style-type: none;
    text-align:center;
    border-style: none;
    letter-spacing: 5px;
    font-size: 30px;
}
