/* main css */

body {
    background-color: black;
    font-family: "Open Sans", sans-serif;
}

main, div, img, button {
    position: absolute;
}

main {
    background-color: #028a61;
    width: 2250px;
    height: 1500px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    overflow: hidden;
}

section {
    width: 100%;
    height: 100%;
    display: none;
}

#screen1 {
    display: block;
}

#bgVideo {
    opacity: .2;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* makes video cover the section */
  z-index: -1;        /* send video behind content */
}

#tree-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* makes video cover the section */
}

#main-title {
    left: 550px;
    top: 50px;
}

#main-title img {
    width: 500px;
    height: auto;
    left: -30rem;
}

.sub-title {
    left: 765px;
    top: 275px;
    justify-content: center;
    font-size: 40px;
    color: white;
    font-family: "montserrat", sans-serif;
    font-weight: 700;
    font-style: normal;
    padding: 20px 20px 20px 20px;
    filter: drop-shadow(0px 0px 10px black);
}

.subby {
    pointer-events: none;
}

#sub-txt {
    display: block;
    left: 310px;
    top: 840px;
    font-size: 25px;
    color: white;
    font-weight: 700;
    padding: 20px 20px 20px 20px;
    filter: drop-shadow(0px 0px 10px black);
}

#sub-txt1 {
    display: block;
    left: 1316px;
    top: 1145px;
    font-size: 25px;
    color: white;
    font-weight: 700;
    padding: 20px 20px 20px 20px;
    filter: drop-shadow(0px 0px 10px black);
}

#sub-txt2 {
    display: block;
    left: 462px;
    top: 750px;
    font-size: 30px;
    color: #028a61;
    font-family: "montserrat", sans-serif;
    font-weight: 700;
    font-style: normal;
    padding: 20px 20px 20px 20px;
}

#sub-txt3 {
    display: block;
    left: 657px;
    top: 460px;
    font-size: 30px;
    color: #028a61;
    font-family: "montserrat", sans-serif;
    font-weight: 700;
    font-style: normal;
    padding: 20px 20px 20px 20px;
}

#sub-txt4{
    display: block;
    left: 1135px;
    top: 662px;
    font-size: 30px;
    color: #028a61;
    font-family: "montserrat", sans-serif;
    font-weight: 700;
    font-style: normal;
    padding: 20px 20px 20px 20px;
}

#sub-txt5 {
    display: block;
    left: 1420px;
    top: 1005px;
    font-size: 30px;
    color: #028a61;
    font-family: "montserrat", sans-serif;
    font-weight: 700;
    font-style: normal;
    padding: 20px 20px 20px 20px;
}

.frame {
    display: none;
    left: 730px;
    top: 160px;
    /* top: 247px; */
}


#frame1, #title-txt {
    display: block;
}

.intro-container {
    left: 735px;
    top: 330px;
    width: 755px;
    height: 1024px;
    padding: 40px;
}

.intro-container * {
    position: static;
}

.history-txt {
    background-color: white;
    border: solid 2px #0075bf;
    border-radius: 10px;
    padding: 30px 40px;
    font-size: 23px;
    color: #0075bf;
    text-align: justify;
}

.learn-more-txt {
    font-size: 38px;
    color:#0075bf;
    font-weight: 700;   /* bold */
    margin-top: 60px;
}

button {
    background: none;
    border: none;
    cursor: pointer;
    font: inherit;
    outline: inherit;
}

.to-screen-btn {
    display: flex;
    align-items: center;
    border: solid 2px #028a61;
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.8);
    width: 630px;
    height: 130px;
    padding: 0;
    overflow: hidden;
    margin-top: 30px;
}

.to-screen-btn > div:first-child {
    color: #028a61;
      font-size: 100px;
  font-weight: 400;
  font-family: "montserrat", sans-serif;
    font-style: normal;
    height: 9.5rem;
}

.to-screen-btn > div:last-child {
    width: 70px;
    height: 130px;
    background-color: #0075bf;
    color: white;
    font-size: 80px;
    flex-shrink: 0;
}

.click-through {
    pointer-events: none;
}


#start-btn {
    color: white;
    width: 100%;
    height: 100%;
    top: 0;
    font-family: "montserrat", sans-serif;
    font-weight: 700;
    font-style: normal;
    padding-top: 1000px;
    font-size: 3rem;
}

#back-btn {
    width: 70px;
    height: 200px;
    background-color: #028a61;
    color: white;
    font-size: 100px;
    font-weight: 600;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    justify-content: center;
    border-radius: 0 10px 10px 0;
    line-height: 170px;
}


#cabin {
    top: 1150px;
    width: 600px;
    height: auto;
    display: block;
}

#tree1 {
    top: 800px;
    height: auto;
    display: block;
}

#tree2 {
    top: 1150px;
    left: 300px;
    width: 600px;
    height: auto;
    display: block;
}

#loon{
    top: 1250px;
    left: 600px;
    width: 600px;
    height: auto;
    display: block;
}



#timeLine {
    top: 500px;
    left: 400px;
    width: 1000px;
    height: 600px;
    display: block;
        clip-path: inset(0 100% 0 0); /* start fully hidden from right */
      animation: reveal 3s ease-out forwards;
      animation-delay: 3s; /* delay to sync with other animations */
}

    @keyframes reveal {
      to {
        clip-path: inset(0 0 0 0); /* fully shown */
      }
    }

    /* Overlay hidden by default */
/* Overlay background */
.overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(1, 85, 60, 0.9); /* dark background */
    display: flex;
    align-items: flex-end; /* popup slides from bottom */
    justify-content: center;
    opacity: 0;
    pointer-events: none; /* disables clicks when hidden */
    transition: opacity 0.3s ease;
    z-index: 1000; /* ensure overlay is above other content */
}

/* Popup container inside overlay */
.overlay .popup {
    position: relative;
    bottom: 0;
    transform: translateY(100%); /* start hidden off screen */
    transition: transform 0.5s ease;
}

/* Popup image styling */
.overlay .popup img {
    left: -160px;
    top: 750px;
    width: 300px; /* adjust as needed */
    border-radius: 12px;
}

/* Active overlay */
.overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* Slide up the popup when overlay is active */
.overlay.active .popup {
    transform: translateY(-850px);
    margin: auto;
}


    .popup img {
       scale: 5;
    }


    #brief1 {
  position: absolute;
  top: 500px;
  left: 1500px;
  width: 400px;
  scale: 1.5;
}

.close-btn {
  position: absolute;
  color: #028a61;
  top: 200px;
  left: 900px;
  background: #fff;
  border: 2px solid white;
  font-size: 50px;
  font-weight: bold;
  border-radius: 50%;
  width: 70px;
  height: 70px;
  cursor: pointer;
  line-height: 28px;
  text-align: center;
  padding: 0;
  transition: background 0.3s ease;
}

.close-btn:hover {
  background: #ddd;
}

.playPauseBtn {
    top: 1280px;
    left: -650px;
  background-color: white; /* blue */
  color: #028a61;
  font-family: "montserrat", sans-serif;
    font-weight: 700;
    font-style: normal;
  padding: 10px 20px;
  font-size: 25px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.hero {
  height: 80rem;
  background: url("/assets/map.jpg") center/cover no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
}

#map-boreal {
    display:flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
}

.glass-card {
  width: 900px;
  padding: 50px;
  border-radius: 20px;
    height: 1000px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 20px 50px rgba(0,0,0,0.2);
   top: 30%; 
  text-align: left;
  left: 42rem;
}

h1 {
  font-size: 9rem;
  color: #028a61;
  margin-bottom: 20px;
}

.intro {
    color: #028a61;
    font-size: 2.5rem;
  line-height: 1.6;
  margin-bottom: 12rem;
  font-family: "montserrat", sans-serif;
font-weight: 400;
font-style: normal;
}

.cta-group {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
    width: 800px;
  padding: 16px 20px;
  height: 120px;
  background: rgba(255,255,255,.6);
  text-decoration: none;
  color: #028a61;
  font-family: "montserrat", sans-serif;
font-weight: 700;
font-style: normal;
    font-size: 1.5rem;
  transition: all 0.3s ease;
}


.icon {
    display: flex;
    width:  75px;
    height: 120px;
    background-color: #028a61;
}

#booklet{
    left: 2.3rem;
    width: 40px;
    top: 2.5rem;
}

#caution-sign {
     left: 2.3rem;
    width: 40px;
    top: 11rem;
}

#dove {
     left: 2.3rem;
    width: 40px;
    top: 19.4rem;
}



.arrow {
  font-size: 100px;
  font-weight: 400;
  font-family: "montserrat", sans-serif;
    font-style: normal;
    height: 9.5rem;
}


#bird  {
    left:1500px; 
    top:432px;
}

#trillium {
    left: 305px; 
    top: 1091px;
}

#bird-bg {
    left:1546px; 
    top:451px;
}

#green-line {
    width: 80%;
    left: 5%; 
    top: 55%;
}

#checkpoint1 {
    width: 2%;
    left: 5%; 
    top: 25%;
}

#checkpoint2 {
    width: 2%;
    left: 23.9%; 
    top: 57%;
}

#checkpoint3 {
    width: 2%;
    left: 42.7%; 
    top: 25%;
}

#checkpoint4 {
    width: 2%;
    left: 61.7%; 
    top: 57%;
}

#fact1 {
    left: 7%;
    top: 25%;
    width: 30%;
    height: auto;
    display: block;
}

#fact2 {
    left: 26%;
    top: 57%;
    width: 30%;
    height: auto;
    display: block;
}

#fact3 {
    left: 44.7%;
    top: 25%;
    width: 30%;
    height: auto;
    display: block;
}

#fact4 {
    left: 63.5%;
    top: 57%;
    width: 30%;
    height: auto;
    display: block;
}

#fact5 {
    left: 83.5%;
    top: 51%;
    width: 10%;
    height: auto;
    display: block;
}

#title-card {
    left: 18%;
    top: 5%;
    width: 60%;
    height: auto;
    display: block;
}

#title-info {
    left: 20%;
    top: 5%;
    width: 60%;
    height: auto;
    display: block;
}

#bird-info {
    left: 20%;
    top: 5%;
    width: 60%;
    height: auto;
    display: block;
}

#brief1 {
    left: 81.5%;
    top: 22%;
    width: 15%;
    scale: 1.5;
}

#info-card{
    left: 81.5%;
    top: 22%;
    width: 15%;
    scale: 1.5;
}

#locator1 {
    left: 18%;
    top: 47%;
    width: 12%;
    height: auto;
    display: block;
}

#locator2 {
    left: 27%;
    top: 27.5%;
    width: 12%;
    height: auto;
    display: block;
}

#locator3 {
    left: 47%;
    top: 41%;
    width: 12%;
    height: auto;
    display: block;
}

#locator4 {
    left: 60%;
    top: 64%;
    width: 12%;
    height: auto;
    display: block;
}

#locator-1 {
    left: 12%;
    top: 40%;
    width: 15%;
    height: auto;
    display: block;
}

#locator-2 {
    left: 18%;
    top: 22.5%;
    width: 15%;
    height: auto;
    display: block;
}

#locator-3 {
    left: 35%;
    top: 35%;
    width: 15%;
    height: auto;
    display: block;
}

#locator-4 {
    left: 45%;
    top: 56%;
    width: 15%;
    height: auto;
    display: block;
}

#subs-txt1 {
    display: block;
    left: 13%;
    top: 43%;
    font-size: 30px;
    color: #028a61;
    font-family: "montserrat", sans-serif;
    font-weight: 700;
    font-style: normal;
    padding: 20px 20px 20px 20px;
}

#subs-txt2 {
    display: block;
    left: 17.8%;
    top: 25.7%;
    font-size: 30px;
    color: #028a61;
    font-family: "montserrat", sans-serif;
    font-weight: 700;
    font-style: normal;
    padding: 20px 20px 20px 20px;
}

#subs-txt3{
    display: block;
    left: 37.4%;
    top: 38.2%;
    font-size: 30px;
    color: #028a61;
    font-family: "montserrat", sans-serif;
    font-weight: 700;
    font-style: normal;
    padding: 20px 20px 20px 20px;
}

#subs-txt4 {
    display: block;
    left: 46.3%;
    top: 59.5%;
    font-size: 30px;
    color: #028a61;
    font-family: "montserrat", sans-serif;
    font-weight: 700;
    font-style: normal;
    padding: 20px 20px 20px 20px;
}

#borel-pointer {
    left: 26%;
    top: 45%;
    width: 12%;
}

#home-logo {
    left: 22.5%;
    top: 17.5%;
    width: 750px;
    transform: translate(-50%, -50%);
}

#home-bird {
    left: 66.5%;
    top: 25%;
    width: 150px;
    transform: translate(-50%, -50%);
    filter: drop-shadow(0px 5px 8px rgb(76, 76, 76));
}

#home-bird2 {
    left: 33.5%;
    top: 23%;
    width: 150px;
    transform: translate(-50%, -50%);
    filter: drop-shadow(0px 15px 15px rgb(76, 76, 76));
}

#corner1 {
    left: 0;
    top: 50%;
    width: 200px;
    height: auto;
}

#corner2 {
    right: -5rem;
    top: 72%;
    width: 500px;
    rotate: 90deg;
    height: auto;
}

#corner3 {
    left: 0;
    bottom: 0;
    width: 200px;
    height: auto;
}

#corner4 {
    right: 0;
    bottom: 0;
    width: 200px;
    height: auto;
}

.locator {
    filter: drop-shadow(0 12px 10px rgba(0, 0, 0, 0.25));
}

#trees-bottom {
    left: 0;
    bottom: 0;
    width: 100%;
    height: auto;
}
/*   background: rgba(2, 138, 97, 0.85); */
/* OVERLAY */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(1, 85, 60, 0.9);
  z-index: 999;

  display: flex;
  justify-content: center;
  align-items: center;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* CONTENT BOX */
.modal-content {
  position: relative;
  width: 80%;
  max-width: 900px;
  text-align: center;
}

.modal.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* CONTENT ANIMATION */
.modal-content {
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.modal.active .modal-content {
  transform: scale(1);
}

/* IMAGE */
.modal img {
    position: relative;
  width: 100%;
  scale: 150%;
  top: 10%;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

/* CAPTION */
#caption {
  color: white;
  margin-top: 180px;
  font-size: 46px;
    font-family: "montserrat", sans-serif;
    font-weight: 700;
    font-style: normal;
}

/* CLOSE */
#closeBtn {
  position: absolute;
  height: 60px;
  width: 60px;
  top: -200px;
  line-height: 60px;
  right: -350px;
  font-size: 60px;
  color: #028a61;
  background-color: white;
  border-radius: 50PX;
  cursor: pointer;
}

/* BUTTONS */
#prev, #next {
    border-radius: 10px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 40px;
  background: rgba(255, 255, 255, 1);
  color: #028a61;
  border: none;
  padding: 10px 15px;
  cursor: pointer;
}

#prev { left: -300px; }
#next { right: -300px; }