@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600&display=swap');
*{
    font-family:"Poppins",sans-serif;
}
html{
    scroll-behavior: smooth;
}
body{
    background-color: #14141f;
}
#banner{
    background: url('./Images/MIT-coral-microbiome-01-press.jpeg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height:100%;
    width:100%;
}
.banner-cnt{
    background: rgba(0,0,0,0.5);
    height:100%;
    width:100%;
}
nav{
    background-color: #14141f;
    /* background: rgba(0,0,0,0.2); */
}
.nav-link{
    color:white;
    margin-top:10px;
    margin-bottom: 10px;
    margin-right:30px;
    font-weight: 500;
}
.navbar-brand{
    color:white;
}
.nav-link:hover{
    color:#6feb9d;
    transition:0.7s;
}
.banner-row{
    padding-top:250px;
    padding-bottom:300px;
}
.banner-h1{
    color:#6feb9d;
    font-size:60px;
    font-weight:600;
}
.banner-p{
    color:white;
    font-size:20px;
    margin-top:30px;
}
.center-box{
    background:rgba(1, 169, 126,0.3);
    padding-top:30px;
    padding-bottom: 30px;
}
.number{
    color:#6feb9d;
}
.nft-btn{
    padding:10px 50px;
    border-radius:40px;
    font-size:18px;
    font-weight:600;
    background-color:#6feb9d;
    color:black;
}
.mybtns{
    margin-top:50px;
}
.explore{
    margin-left:10px;
    color:white;
    border:1px solid #6feb9d;
    background:none;
}
.nft-btn:hover{
    background-color: #6feb9d;
    transition:0.7s;
    color:black;
}

/* facts  */
#facts{
    margin-top:80px;
    margin-bottom:80px;
}
.facts-h1{
    color:#6feb9d;
    font-size:40px;
    font-weight:600;
    text-align: center;
}
.fact-img{
    height:100%;
    width:100%;
    border-radius:20px;
    border:4px solid #6feb9d;
    box-shadow: rgba(111, 235, 157, 0.2) 0px 7px 29px 0px;
}
.facts-row{
    margin-top:80px;
}
.fact-p{
    color:white;
    font-size:20px;
}
.fact-ul{
    margin-top:20px;
    font-size:20px;
    position: relative;
    right:20px;
}
.fact-ul li{
    color:white;
}

/* reason  */
#reason{
    margin-top:180px;
    margin-bottom:80px;
}
.reason-p{
    color:white;
    font-size:18px;
    font-weight:500;
    text-align: center;
}
.coral-img{
    height:280px;
    width:100%;
    border-radius: 20px;
}
.coral-row{
    margin-top:40px;
}
.coral-h1{
    color:#6feb9d;
    font-size:24px;
    font-weight:600;
    margin-top:20px;
}
.coral-box{
    text-align: center;
}


/* bleaching */
#bleaching{
    margin-top:180px;
    margin-bottom:80px;
}

.bleaching-box{
    background: #1e1e2f;
    border-radius:20px;
    padding-top:30px;
    padding-bottom:10px;
    padding-left:20px;
    text-align: center;
}
.box-3{
    position:relative;
    left:20px;
}
.bleaching-row{
    margin-top:20px;
}
.box-2{
    position:relative;
    left:10px;
}
.bleaching-h1{
    color:#6feb9d;
    font-size:24px;
    font-weight:600;
}
.bleaching-p{
    color:white;
    font-size:16px;
}
.bleaching-img{
    height:250px;
    width:100%;
    border-radius:20px;
}
.p-2{
    margin-top:20px;
}

/* prediction  */
#prediction{
    margin-top:180px;
    margin-bottom:80px;
}
.prediction-row{
    margin-top:80px;
}

/* threat  */
#threat{
    margin-top:180px;
    margin-bottom:70px;
}
.threat-row{
    margin-top:0px;
}
.experiment-row{
    margin-top:50px;
}
.mychart{
    height:800px;
    width:800px;
}
.expe-img{
    height:300px;
    width:100%;
    border-radius:20px;
}
.experiment-right{
    margin-top:50px;
}
.img-2{
    height:400px;
    width:100%;
}

#experiment{
    margin-top:80px;
    margin-bottom:80px;
}
.experiment-row{
    margin-top:100px;
}
.experiment-left{
    border-radius: 20px;
}

/* milestone  */
#milestone{
    margin-top:100px;
    margin-bottom:80px;
}
.milestone-img{
    height:100%;
    width:100%;
}
.milestone-row{
    margin-top:50px;
}
.mile-box{
    background-color: #1e1e2f;
    padding:20px;
    border-radius: 20px;
    text-align: center;
}
.mile-row{
    margin-top:50px;
}
.m-box-3{
    position: relative;
    left:30px;
}
.m-box-2{
    position: relative;
    left:20px;
}
.m-box-1{
    position: relative;
    left:10px;
}
.number-p{
    color:white;
}

/* roamdmap */
#roadmap{
    margin-top:50px;
    background-color:black;
    padding-top:30px;
    padding-bottom:30px;
}

/* timeline */
.timeline ul li {
    list-style-type: none;
    position: relative;
    width: 6px;
    margin: 0 auto;
    padding-top: 50px;
    background: #1a1a1a;
    box-shadow: black 0px 2px 18px 0px;
  }
   
  .timeline ul li::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: inherit;
    z-index: 1;
  }
  .timeline ul li div {
    position: relative;
    bottom: 0;
    width: 400px;
    padding: 15px;
    background: #1a1a1a;
    border-radius: 10px;
    box-shadow: black 0px 2px 18px 0px;
  }
   
  .timeline ul li div::before {
    content: '';
    position: absolute;
    bottom: 7px;
    width: 0;
    height: 0;
    border-style: solid;
  }
  .timeline ul li:nth-child(odd) div {
    left: 45px;
  }
   
  .timeline ul li:nth-child(odd) div::before {
    left: -15px;
    border-width: 8px 16px 8px 0;
    border-color: transparent #1a1a1a; transparent transparent;
  }
  .timeline ul li:nth-child(even) div {
    left: -439px;
  }
  .in-view{
      color:black;
      font-weight:400;
  }
   
  .timeline ul li:nth-child(even) div::before {
    right: -15px;
    border-width: 8px 0 8px 16px;
    border-color: transparent transparent transparent #1a1a1a;
  }
  .timeline ul li::after {
    background: #6feb9d;
    transition: background .5s ease-in-out;
  }
   
  .timeline ul li.in-view::after {
    background: #6feb9d;
  }
   
  .timeline ul li div {
    visibility: hidden;
    opacity: 0;
    transition: all .5s ease-in-out;
  }
   
  .timeline ul li:nth-child(odd) div {
    transform: translate3d(200px,0,0);
  }
   
  .timeline ul li:nth-child(even) div {
    transform: translate3d(-200px,0,0);
  }
   
  .timeline ul li.in-view div {
    transform: none;
    visibility: visible;
    opacity: 1;
  }
  .roadmap-h1{
    font-size:30px;
    font-weight:600;
    color:#6feb9d;
    text-align:center;
    text-shadow: rgba(0, 0, 0, 0.3) 0px 19px 38px, rgba(0, 0, 0, 0.22) 0px 15px 12px;
}
.roadmap-p{
    color:#8267cb;
    text-align:center;
    margin-top:20px;
    font-size:20px;
}
time{
    font-size:24px;
    font-family:"Alfa Slab One", sans-serif;
    color:#00b3b3;
    text-align:center;
    padding-left:10px;
    text-shadow: rgba(0, 0, 0, 0.3) 0px 19px 38px, rgba(0, 0, 0, 0.22) 0px 15px 12px;
}
.in-view{
    color:white;
    border-radius:10px;
}
.in-view p{
    margin-top:10px;
    color:#8c8c8c;
    padding-left:10px;
    padding-right:10px;
}
.fa-circle{
    color:#6feb9d;
    font-size:10px;
    margin-right:5px;
}

/* nfts  */
.nft-img{
    height:300px;
    width:100%;
    border-radius:20px;
}
.nft-row{
    margin-top:50px;
}
.nft-box{
    text-align:center;
}
.plot{
    color:white;
    margin-top:10px;
}

#workshops{
    margin-top:100px;
}

.diver-img{
    height:100%;
    width:100%;
    margin-top:50px;
}

#footer{
    background-color: #1a1a1a;
    padding-top:20px;
    padding-bottom:20px;
    margin-top:100px;
}
.footer-p{
    color:white;
}
.footer-img{
    height:200px;
    width:200px;
}
.footer-p{
    font-size:18px;
    margin-top:20px;
}

.footer-icon{
    height:30px;
    width:30x;
    margin-left:10px;
}
.footer-icons{
    margin-top:20px;
}
.social-links{
    position:fixed;
    left:10px;
    top:200px;
    background: linear-gradient(to bottom, #000099 0%, #ff0066 100%);border:0px solid white;

    border-radius: 30px;
    padding-left:15px;
    padding-right:15px;
    padding-top:15px;
    padding-bottom:15px;
    box-shadow: rgba(0, 0, 255, 0.35) 0px 5px 15px;
}
.social-link{
    font-size:30px;
    margin-top:10px;
    margin-bottom:10px;
    cursor:pointer;
    color:white;
}
.opensea{
    height:30px;
    width:30px;
}
.logo{
    height:70px;
    width:100%;
}
.fa-envelope-o{
    color:white;
    font-size:25px;
}
.myfooter{
    margin-left:10px;
}
.myfooter-2{
    margin-left:2px;
    margin-top:30px;

}
@media (max-width:500px){
    .timeline{
        position: relative;
        right:45px;
    }
    .timeline ul li {
        margin-left: 20px;
      }
       
      .timeline ul li div {
        width: calc(100vw - 91px);
      }
       
      .timeline ul li:nth-child(even) div {
        left: 45px;
      }
       
      .timeline ul li:nth-child(even) div::before {
        left: -15px;
        border-width: 8px 16px 8px 0;
        border-color: transparent #1a1a1a transparent transparent;
      }
      .banner-row{
          padding-top:150px;
          padding-bottom:100px;
      }
      .banner-h1{
          font-size:35px;
      }
      .banner-p{
          font-size:18px;
      }
      .explore{
          margin-top:20px;
      }
      .facts-h1{
          font-size:30px;
      }
      .fact-right{
          margin-top:30px;
      }
      .fact-p{
          font-size:16px;
      }
      .fact-ul{
          font-size:16px;
      }
      .fact-ul{
          position:relative;
          right:25px;
      }
      #reason{
          margin-top:0px;
      }
      .coral-box{
          margin-top:20px;
      }
      #bleaching{
          margin-top:0px;
      }
      .box-2,.box-3{
          position:relative;
          left:0px;
      }
      .bleaching-row{
          margin-left:5px;
          margin-right:5px;
      }
      .bleaching-box{
          margin-top:10px;
      }
      #prediction{
          margin-top:0px;
      }
      .prediction-row{
          margin-top:30px;
      }
      #threat{
          margin-top:0px;
      }
      .mychart{
          height:100%;
          width:100%;
      }
      #experiment{
          margin-top:30px;
      }
      .img-2{
          height:100%;
          width:100%;
      }
      .m-box-1, .m-box-2, .m-box-3{
          position:relative;
          left:0px;
      }
      .mile-box{
          margin-top:10px;
      }
      .mile-row{
          margin-left:5px;
          margin-right:5px;
      }
      .roadmap-h1{
          font-size:20px;
      }
      #workshops{
          margin-top:30px;
          margin-bottom:100px;
      }
      .diver-img{
          margin-top:20px;
      }
      .nav-link{
          margin-right:0px;
      }
      .social-links{
          display:none;
      }
}