@import url('https://fonts.googleapis.com/css2?family=EB+Garamond&display=swap');
/* light */
@font-face {
  font-family: Lemon-milk;
  font-weight: 200;
  src: url("LemonMilkLight-owxMq.otf") format("opentype");
}
@font-face {
  font-family: Lemon-milk;
  font-weight: 200;
  font-style: italic; 
  src: url("LemonMilkLightItalic-7BjPE.otf") format("opentype");
}
/* regular */
@font-face {
  font-family: Lemon-milk;
  font-weight: 300;
  src: url("LemonMilkRegular-X3XE2.otf") format("opentype");
}
@font-face {
  font-family: Lemon-milk;
  font-weight: 300;
  font-style: italic; 
  src: url("LemonMilkRegularItalic-L3AEy.otf") format("opentype");
}
/* medium */
@font-face {
  font-family: Lemon-milk;
  font-weight: 400;
  src: url("LemonMilkMedium-mLZYV.otf") format("opentype");
}
@font-face {
  font-family: Lemon-milk;
  font-weight: 400;
  font-style: italic; 
  src: url("LemonMilkMediumItalic-d95nl.otf") format("opentype");
}
* {
    margin: 0;
    padding:0; 
    -webkit-font-smoothing: antialiased;
    box-sizing: border-box;
    text-decoration: none;
    scroll-behavior: smooth;
}
:-webkit-scrollbar {
    display: none;
  }
  html {
    scroll-behavior: smooth;
  }
  .main{
    z-index: 2; 
    position:relative; 
  }
  #myCanvas{
    position: fixed; 
    width: 100%; 
    height: 100%;
    top: 0; 
    left: 0;
    z-index: 0; 
    overflow: hidden; 
  }
 section{
height: 96vh; 
position: relative; 
overflow: hidden; 
padding: 5% 10%; 
z-index:4; 
 }
 /******************************** BUTTONS ****************************/
button{
  border: none ;
outline: none;
-webkit-appearance: none; 
 -moz-appearance: none; 
 font: inherit;
  color: inherit;
  background-color: transparent;
}
button:hover{
  cursor: pointer; 
}
 .downArrow{
   width: 50px; 
   height: 50px; 
   margin: 0px auto; 
   position: absolute; 
   bottom:2%; 
   left: calc(50vw - 30px); 
   animation: crescendo .7s alternate infinite ease-in; 
 }
 .closeArrow{
  width: 50px; 
  height: 50px; 
position: absolute; 
right: 5%; 
top: 5%; 
 }
 #scienceBTn{
  margin:0 auto; 
  animation: crescendo2 .7s alternate infinite ease-in; 
  display: inline-block; 
  position: relative; 
left: 40%; 
  margin-top: 20px; 
 }
 #scienceBTn h4{
   color: #0F6F84; 
 }
 /* .navItem img{
   border: 1px solid red; 
   height: 100%
   /* width: 100%;  */
   /* height: 100%;  */

 .navButtons{
  background: #F9ECDC; 
  display: flex; 
  padding: 10px 12px; 
  position:fixed; 
  box-shadow:-4px 4px 4px #0F6F84;
  background: #F9ECDC; 
  z-index: 10; 
  /* bottom: 4%;  */
  top: 60px; 
 }
 #selectedNav{
   border-bottom: 3px solid #0F6F84; 
 }
 #mainMapBtn{
  left: 20px; 
 }
 #forward{
right: 20px; 
 }
 #forward h3{
   padding-right: 10px; 
 }
 #mainMapBtn h3{
   padding-left: 10px; 
 }
 #exploreBtn{
   position: sticky;
   left: 35%;
   margin:0px auto; 
   top: 50%; 
   padding: 20px 24px; 
   animation: crescendo2 .7s alternate infinite ease-in; 
 }
 .navButtons h3, .exploreBtn h3{
  color: #0F6F84; 
 }
 .navButtons h3{
  font-size: 14px; 
 }
 #exploreBtn h3{
   font-size: 22px; 
   line-height: 1.75em;
   word-spacing: .1em; 
 }
  /******************************** GENERAL TYPE ****************************/
 h1, h2, h3, h4, h5, h6, h7{
color: #F9ECDC; 
font-family: 'Lemon-milk'; 
font-weight: 400; 
z-index: 15; 
}
h4{
  font-size: 18px; 
}
a{
color: #0F6F84; 
font-family: 'Lemon-milk'; 
font-weight: 400; 
size: 12px; 
}
p{
  font-family: 'EB Garamond', serif;
  color: #F9ECDC; 
  size: 12px; 
}
 /******************************** NAVS****************************/
 .nav{
   width: 100vw; 
   height: 5vh; 
   max-height: 50px; 
    top: 0%; 
    left: 0%; 
    background-color: #F9ECDC; 
    z-index: 12; 
    overflow: hidden;  
    display: flex; 
    justify-content: space-between;  
    padding: 0px 30px; 
    min-height: 40px; 

 }
 .navItem{
   height: 5vh; 
   max-height: 50px; 
   position: relative; 
   display: flex; 
   align-items: center;
   align-self: center; 
   text-align: center; 
 }
 .navItem img{
   padding: 7%; 
  height: 100%; 
  min-height: 36px; 
  /* width: inherit;  */
 }

 #TopNav{
   position: sticky; 
 }

 /********************************TITLE SCREEN ****************************/
#TitleScreen{
  /* border: 1px solid red;  */
  text-align: center; 
  display: flex; 
  flex-direction: column; 
  justify-content: center; 
  height: 100vh; 
  padding-top: 15%; 
}
#TitleScreen2{
  text-align: center; 
}
#moreSpace{
  margin-bottom: 40px; 
}
#bold{
  font-weight: 600;
}
#aboutT1{
  margin-bottom: 100px; 
  /* border: 1px solid red;  */
  font-size: 40px; 
  font-weight: 200; 
}
.littleaboutsetion{
  margin-bottom: 80px; 
}
.bigAboutSection{
  margin: 300px 0px; 
}
.bigAboutSection h2{
font-size: 42px; 
}
.bigAboutSection p{
  margin: 50px 0px; 
}
.littleaboutsetion span{
  font-style: italic;
}
#aboutHeader span{
  border-bottom: 3px solid #F9ECDC;
}
#aboutHeader a{
  color: #F9ECDC; 
}
#spacer{
  height: 40px; 
}
#aboutSection{
  position: absolute; 
  margin-top: 200px;
  /* height: 100%;  */
  padding: 0% 15%; 
  z-index: 12; 
  /* border: 1px solid red;  */
}
#aboutSection p{
  font-size: 26px;
  margin-bottom: 20px; 
}
#aboutHeader{
  font-size: 20px; 
  font-weight: 300; 
  margin-bottom: 40px; 
}
#titleTxt{
  /* margin-bottom: 25%;  */
}
#titleTxt h1{
  font-size: 90px; 
  /* font-weight: 300;  */
  font-weight: 100; 
}
#titleTxt h2{
  font-size: 90px; 
  font-weight: 100; 
  font-weight: 100; 
}
#mainSub{
  font-size: 20px; 
  line-height: 150%; 
  letter-spacing: 1px; 
  font-weight: 300; 
  margin-top: 200px; 
}
 /******************************** LUCIEN MAP****************************/
#interactive, #sliderBar, #scenarios, #topSLR, #year{
  display: flex; 
  justify-content: space-between;
}
 #ClimateMaps{
   display: inline-block; 
width: 100vw; 
background-color: #1292AF; 
height: 100%; 
padding-top: 10%;
/* height: 100vh;  */
 }
.TISLR2{
  margin-top: 225px; 
  width: 80vw; 
  height: 40vh; 
  /* border: 2px solid blue;  */
  position:relative; 
 display: flex; 
 align-items: flex-start; 
 justify-content:space-between; 
 }
 .TISLR1{
  width: 80vw; 
 }

 .TISLR1 p{
   margin-bottom: 14px; 
   font-size: 22px; 
   width: 46%; 
 }
 /* .TISLR1 p:nth-child(2){
   padding-left: 40px; 
 } */
 .sideParas{
   display: flex;
   justify-content: space-between;
   margin-top: 40px; 
 }
 #ClimateMaps h2{
   font-size: 102px;
   font-weight: 100;
   margin-bottom: 120px; 
 }
 #ClimateMaps h3{
  font-weight: 300;
  font-size: 24px; 
  font-style: italic; 
  margin-bottom: 30px; 
 }
 #ClimateMaps h4{
   font-size: 24px; 
 }
 #ClimateMaps span{
  font-style: italic; 
  border-bottom: 3px solid #F9ECDC; 
 }
 #ClimateMaps h5{
color: #0F6F84; 
text-align: right;
padding-right: 10px; 
width: 25%; 
 }
 #ClimateMaps h6{
  color: #4CCDEA; 
font-weight: 200; 
font-size: 14px; 
  }
  #ClimateMaps h7{
    font-size: 12px; 
  }
  .modelShifter{
    position: relative; 
    display: flex; 
    /* flex-direction: column;  */
    justify-content: right;
    /* align-items: flex-end;  */
  align-items: flex-start; 
    width: 50%; 
    margin: 0 auto; 
/* margin: 7% 0%;  */
  /* border: 5px solid purple;  */
   }
 #scenarios{
  margin-bottom: 10px; 
  justify-items: space-between;
position: relative; 
  display: flex; 
  flex-direction: column; 
  width: 30%; 
  height: 80px; 
}
.scenario{
  padding: 5px 8px; 
  margin: 0px 15%; 
}
.selected{
 background-color:#0F6F84; 
 box-shadow:0px 4px 4px #0F6F84;
}
 #sliderBar{
  flex-direction: column; 
  position: relative; 
  text-align: center; 
  width: 70%; 
  height: 80px; 
  /* border: 1px solid red;  */
}
#sliderRect{
  height: 15px; 
  width: calc(100% - 15px);
  position: absolute; 
  top: 30px; 
 margin: 0px 10px; 
  background-color: #0F6F84; 
  box-shadow: inset 4px 4px 4px rgba(0,0,0,0.25);
}
.sliderRectEND{
 border-radius: 50%; 
 height: 15px; 
 width: 15px; 
 background-color: #0F6F84; 
 position: absolute; 
 top: 30px; 
}
#end{
right: 0%; 
}
.SLRwitch{
   width: 15px; 
   height: 15px; 
   position: absolute; 
  border-radius: 50%; 
  top: 30px; 
  background-color:none;
  border: 2px solid #4CCDEA; 
 }
 #secondYr{
   left: 50%; 
 }
 #thirdYr{
   right: 0%; 
 }
 .currentCirc{
   border: 0px; 
   background-color: #F9ECDC
 }
 #yrSelected h6{
   color: #F9ECDC;
 }
.TISLR2 h4{
  margin-bottom: 20px; 
}
.nAdMap, .adMap, .floodmap {
  width: 45%; 
}
.nAdMap img, .adMap img, .floodmap img{
  position: absolute; 
  width: 45%; 
}
 .floodmap{
   z-index: 10; 
 }
 .floodmap img{
  display:none; 
  border: 1px solid red; 
 }
 .medIMG, .highIMG {

 }
.selectedIMG{
   opacity: 1; 
 }
 .remove{
  display:none; 
  opacity: 0;  
 }

 .breach{
   margin-top: 250px; 
   margin-bottom: 150px; 
 }
 .breach p{
   font-size: 30px;
   margin-top: 40px; 
   line-height: 1.2em; 
 }
 .breachContent{
   display: flex; 
   justify-content: space-between;
   margin-top: 40px; 
 }
 .breachContent p{
  margin-top: 0px; 
   width: 45%; 
   font-size:  20px;
   /* border: 1px solid red;  */
 }
 .breachIMG{
  width: 50%; 
}
.breachIMG img{
  width: 100%; 
}
#breach2{
  font-size:40px; 
  color: #F9ECDC;
  font-family: 'Lemon-milk'; 
  font-weight: 300; 
  font-style: italic; 
  margin-bottom: 40px; 
  /* margin-bottom: 40px;  */
}
.moreScience{
  display: none; 
  overflow: hidden; 
  position: fixed;
  right: 0;
  bottom: 0;
  min-width: 100%;
  min-height: 100%;
  z-index: 100; 
  background-color:rgba(32, 94, 120, .93); 
  opacity: 0; 
  animation: fadeIn 2s .3s cubic-bezier(0.165, 0.840, 0.440, 1.000) forwards;
}
.moreScience p{
  font-size: 24px; 
  width: 70%; 
  margin: 0 auto; 
  margin-top: 20%; 
}
.moreScience p:nth-child(3){
  /* border: 1px solid red;  */
  margin-top: 5%; 
}
.hideOverflow{
  overflow:hidden; 
  /* height:100vh; */
}

/**************INTRO NARS *******************/
.stickyBlock{
  height: 3000px; 
  justify-content: center; 
  position: relative; 
}
#longBlock{
  height: 6000px; 
}
#medBlock{
  height: 4500px; 
}
.stickyBlock span{
  font-size: 20px; 
}
#bigPara, .doublePara{
 position:sticky; 
 width: 60%; 
 margin: 0px auto; 
  margin-top: 35%; 
  margin-bottom:40%; 
  margin-top: 35%; 
  margin-bottom:40%; 
  z-index:8; 
}
.doublePara{
  display: flex; 
  width: 75%; 
  top: 35%; 
  /* border: 2px solid blue;  */
  height: 40vh; 
  justify-content: center; 
}
#bigPara{
  font-size: 40px; 
  top: 35%; 
}
#smallPara{
  font-size: 24px; 
  width: 50%; 
}
#smallPara:nth-child(1){
  /* border: 1px solid red;  */
  margin-right: 3%; 
  align-self: flex-start
}
#smallPara:nth-child(2){
  /* border: 1px solid green;  */
  align-self: flex-end; 
}
#noImg{
  height: 96vh; 
}
.stickyBlock{
  position: relative; 
}
 .imgContainer, .stickyBlock.verticalImg{
position: absolute; 
display: block; 
width: 60%; 
left: 20%; 
z-index: 10;  
/* border: 1px solid red;  */
}
 #one{
  width: 40%; 
  left: 10%; 
  /* border: 1px solid red;  */
}
#one2{
  width: 90%; 
  left: 10%; 
  /* border: 1px solid red;  */
}
#oneB{
  width: 38%; 
  left: 10%; 
  top: 45%; 
  /* border: 1px solid red;  */
}
#threeB{
  width: 40%; 
  left: 50%; 
}
 #two{
  width: 40%; 
  left: 52%; 
  top: 56%; 
  /* border: 1px solid red;  */
}
 #three{
  width: 35%; 
  left: 52%; 
  top: 25%; 
}
#one2{
  width: 45%; 
  left: 10%; 
  /* border: 1px solid red;  */
}
#three2{
  width: 45%; 
  left: 52%; 
bottom: 50vh; 
}
#four2{
  /* top: 15%;  */
  top: 500px; 
  left: 10%; 
  width: 40%; 
}
#fourB{
  /* top: 15%;  */
  top: 30%; 
  left: 52%; 
  width: 40%; 
}
#six2{
  top: 75%; 
  left: 52%; 
  width: 40%; 
}
#six3{
  top: 75%; 
  left: 10%; 
  width: 40%; 
}
#skinnyLong{
  width: 30%; 
  left: 33%; 
}
#four{
  top: 15%; 
  left: 10%; 
  width: 40%; 
}
#five{
  top: 50%; 
  left: 52%; 
  width: 45%; 
}
#five2{
  top: 60%; 
  left: 52%; 
  width: 42%; 
}
#six{
  top: 40%; 
  left: 10%; 
  width: 40%; 
}
#fiveSmall{
  top: 50%; 
  left: 55%; 
  width: 30%; 
}
#vulZone{
  width: 45%; 
  left: 10%; 
  top: 20%; 
}
#sfArticle{
  width: 15%; 
  left: 30%; 
  top: 1600px; 
}
#infographic{
  margin-top: 200px; 
  width: 80%;
  left: 10%
}
#low{
  top: 60%; 
}
#wide{
  width: 95%; 
  left: 2.5%
}
.imgContainer img{
  width: 100%; 
}
.caption{
  background-color: #0F6F84; 
  margin-top: 8px; 
  padding: 12px 14px; 
  width: 100%; 
  font-size: 18px; 
}
/*****************************************MAIN MAP********************************/
 #loadingBar{
   display: flex; 
   align-items: center; 
   margin-bottom: 10px; 
  }
  #loading {
    position: absolute; 
    top: 45%; 
    left: 40%; 
    display: flex; 
    flex-direction: column; 
    text-align: center;
  }

   #loadContainer{
     width: 300px; 
   }
   #loading h1{
     font-weight: 200; 
   }
   #loading h1,  #loading h2{
    color: #0F6F84; 
   }
   #loadLine{
     border-bottom: 3px solid #0F6F84; 
     height: 3px; 
   }
   #loading h2{
     font-size: 20px; 
     margin-bottom:40%; 
     z-index:8; 
   }
   .fadeAway{
      animation: fadeOut 1.5s cubic-bezier(0.165, 0.840, 0.440, 1.000) backwards;
      /* animation-fill-mode: backwards; */
      opacity: 0; 
   }
   .popUp, #mainMapBtn {
     display: none; 
     opacity: 0; 
     animation: fadeIn 3s 2s cubic-bezier(0.165, 0.840, 0.440, 1.000) forwards;
   }
   #mainMapBtn{
    animation: fadeIn 3s 1.5s cubic-bezier(0.165, 0.840, 0.440, 1.000) forwards;
   }
   .subPortalPopUp{
    animation: fadeIn 3s 2.25s cubic-bezier(0.165, 0.840, 0.440, 1.000) forwards;
   }
   .popUp h1,  .popUp h2, .label h3 {
   color: #0F6F84; 
   background-color: #F9ECDC;
   }

h8{
  color: #F9ECDC;
  font-family: 'Lemon-milk'; 
font-weight: 400; 
  font-size: 40px; 
    background-color:(0,0,0,0);
    padding-left: 10%; 
    position: sticky; 
    top: 15%; 

   }
   .popUp h1,  .popUp h2{
    padding: 10px 16px; 
    z-index: 12;
   }
   .popUp h1{
    font-size: 80px; 
    margin-bottom: 50px; 
   }
   .portalHeading{
  position: absolute; 
  bottom: 40%; 
   }
   #myVideo {
    position: fixed;
    right: 0;
    bottom: 0;
    min-width: 100%;
    min-height: 100%;
  }
  /********************LABLES************************/
  .label{
    display: none;
    opacity: 0; 
    animation: fadeIn 3s 1s cubic-bezier(0.165, 0.840, 0.440, 1.000) forwards;
    position: absolute; 
    /* animation-fill-mode: backwards; */
   box-shadow:-4px 4px 4px #0F6F84;
    }
    .mainKey{
      bottom: 2%; 
      right: 2%; 
      /* width: 16%;  */
      /* height: 12%;  */
      background-color: #F9ECDC;
      padding: 20px 20px; 
    }
    #geoKey{
      left: 2%; 
      width: 22%; 
    }
    #geoKey.KeyElem{
      justify-content: left;
      border: 2PX SOLID RED; 
    }
    .KeyElem{
      display:flex; 
      justify-content: space-between;
      align-items: center;
    }
    .KeyElem h5{
      color: #0F6F84; 
      text-align: left;
    }
    .smallColor{
      width: 30px; 
      height: 30px; 
      border: .5px solid black; 
      position: relative;
      display:block; 
      margin-bottom: 8px; 
      margin-right: 10px; 
    }
   #purp{
      background-color: #CDC2F6; 
    }
    #turqu{
      background-color: #89CBAB; 
    }
    #blueWetlands{
      background-color: #1292AF; 
    }
    #red{
      background-color: #B35A49
    }
    #darkYel{
      background-color: #DCB764
    }
    #lighYel{
      background-color: #E7DBA9; 
    }
 
    .label h3{
      font-size: 14px; 
      padding: 4px 6px; 
    }
    #histLabel{
      bottom: 27%;
      right: 55%;

    }
    #geoLabel{
      top: 30%;
      right: 45%;

    }
    #adaLabel{
      bottom:23%;
     left: 19%;
    }
    #comLabel{
      top: 44%;
      left: 29%;
    }
    #BL1Label{
      bottom: 33%;
      left: 15%;
    }
    #BL2Label{
      bottom: 53%;
      left: 15%;
    }
    #BL3Label{
      bottom: 72%;
      left: 15%;
    }
    #nimitzLabel{
      top: 65%;
      right: 45%;
    }
    #torpLabel{
      top: 26%;
      right: 45%;
    }
    #YBLLabel{
      top: 58%;
      right: 25%;
    }
    #environStewLabel{
      top: 22%;
      left:10%;
    }
    #publicServLabel{
      top: 62%;
      left: 25%;
    }
    #facilLabel{
        bottom: 11%; 
        right: 22%
    }
    #soilDLabel{
      bottom: 15%; 
      right: 23%
    }
    #contamLabel{
      top: 43%; 
      left: 10%; 
    }
    #urbanDesLabel{
      top: 29%; 
      right: 18%
    }
    #greenSpLabel{
      top: 25%; 
      right: 10%
    }
    #rainWMLabel{
      top: 60%; 
      right: 35%
    }
    #wetlandLabel{
      top: 19%; 
      right: 40%
    }
    #adaPerLabel{
      top: 45%; 
      left: 32%
    }
    .mainLabel, .histlabel, .geoLabel, .adaLabel, .comLabel{
      top: 7vh; 
      left: 2vw; 
    }
    .mainLabel h3,.histlabel h3, .geoLabel h3, .adaLabel h3, .comLabel h3{
      font-size:32px; 
      padding: 16px 26px; 
      word-spacing: .1em; 
    }
 
    .mobile{
      display: none; 
      height: 100vh; 
      width: 100vw; 
      background-color: #0F6F84; 
    }
    .mobile h2{
      z-index: 12; 
      position: absolute; 
      width: 80%; 
    left: 20%; 
      padding-top: 45%; 
      line-height: 1.6em; 
    }
    .mobile span{
      border-bottom: 2px solid #F9ECDC; 
    }
    .mobile video{
      height: 100vh; 
    }
   /*******************ANIMAITON *****************/
   @keyframes fadeOut {
    0%   {opacity:1; }
    100% {opacity:0}
  }
  @keyframes fadeIn {
    0%   {opacity:0; }
    100% {opacity:1}
  }
  @keyframes scaleUp {
    0% {
      transform:scale(.7) translateY(1000px);
      opacity:0;
    }
    100% {
      transform:scale(1) translateY(0px);
      opacity:1;
    }
  }
  @keyframes crescendo {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.3);
    }
  }
  @keyframes crescendo2 {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.05);
    }
  }

  @media only screen 
  and (min-device-width: 1024px) 
  and (max-device-width: 1024px) 
  and (orientation: portrait) 
  and (-webkit-min-device-pixel-ratio: 2) {
    .regularContent{
      display:none; 
    }
    .mobile{
      display: block; 

    }
}

/* Landscape */
/* Declare the same value for min- and max-width to avoid colliding with desktops */
/* Source: https://medium.com/connect-the-dots/css-media-queries-for-ipad-pro-8cad10e17106*/
@media only screen 
  and (min-device-width: 1366px) 
  and (max-device-width: 1366px) 
  and (orientation: landscape) 
  and (-webkit-min-device-pixel-ratio: 2) {
.regularContent{
  display:none; 
}

.mobile{
  display: block; 

}
}

@media only screen 
  and (min-device-width: 260px) 
  and (max-device-width: 812px) 
  /* and (-webkit-min-device-pixel-ratio: 3) */
  and (orientation: landscape) { 
  .regularContent{
      display:none; 
    }
    .mobile{
      display: block; 
    
    }
}

@media only screen 
  and (min-device-width: 260px) 
  and (max-device-width: 812px) 
  /* and (-webkit-min-device-pixel-ratio: 3) */
  and (orientation: portrait) { 
  .regularContent{
      display:none; 
    }
    .mobile{
      display: block; 
    
    }
}