html,
body {
  overflow-x: hidden;
  /* scroll-behavior: smooth; */
}

body {
  margin: 0px;
  max-width: 100%;
}

.hero-marquee {
  color: white;
  background-color: #ba6f31;
  padding: 3px 0px 3px 0px;
  font-family: "Poppins";
  font-weight: 600;
  font-size: 14px;
  width: 100%;
  position: relative;
  top: 0;
  left: 0;
  z-index: 900;
}

.navbar {
  display: flex;
  align-items: center;
  position: fixed;
  top: 30px;
  left: 0;
  width: 100vw;
  height: 80px;
  transition: all 0.5s;
  z-index: 999;
}

.navbar-scrolled {
  background-color: #fdfae2;
  height: 80px;
  top: 0px;
}

.nav-left {
  display: flex;
  margin-left: 2%;
  justify-content: space-between;
  align-items: center;
}

.nav-AA2027 {
  height: 45px;
  margin-left: 2%;
  /* margin-right: 40% */
}

.nav-link {
  font-family: "Poppins";
  text-decoration: none;
  color: black;
  font-size: 16px;
}

.nav-link:hover {
  /* text-decoration: underline; */
  color: #ba6f31;
  font-weight: bold;
}

.nav-buttons {
  display: flex;
  margin-right: 8%;
  flex-direction: row-reverse;
}

.nav-subscribe,
.nav-login {
  display: flex;
  border-radius: 8px;
  border: none;
  height: 34px;
  width: 104px;
  text-align: center;
  text-decoration: none;
  font-family: "Inter";
  font-size: 13px;
  align-items: center;
  justify-content: center;
  margin-left: 5%;
}

.nav-subscribe:hover {
  background-color: #694123;
  transition-duration: 0.2s;
  color: white;
}

.nav-login:hover {
  background-color: rgba(255, 255, 255, 0.254);
  transition-duration: 0.2s;
}

.nav-logo-burger {
  margin-right: 5%;
  display: flex;
  align-items: center;
}

.nav-adastra-logo {
  height: 30px;
}

.nav-burger {
  height: 18px;
  margin-left: 8px;
}

.nav-burger:hover {
  filter: drop-shadow(3px 3px 2px rgba(0, 0, 0, 0.5));
}

.hero {
  min-height: 97vh;
  /* background: linear-gradient(to bottom, #0a0202 0%, #200605 15%, #5b1512 40%, #5b1512 60%, #200605 85%, #0a0202 100%); */
  background-color: #000;
  margin-top: 0;
  display: flex;
  justify-content: center;
  max-width: 100%;
  position: relative;
  width: 100%;
  overflow: hidden;
}

.hero-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.4;
}

.nav-burger-menu {
  background-color: rgba(255, 255, 255, 0.5);
  height: 595px;
  width: 230px;
  position: absolute;
  top: 100px;
  right: 20px;
  padding-left: 20px;
  padding-top: 20px;
  font-family: "Poppins";
  color: #54341c;
  border-radius: 8px;
  transition: 0.3s ease;
  display: none;
  /* transform: translateY(-100%) */
}

.nav-burger-menu.active {
  position: fixed;
  display: block;
  z-index: 998;
}

.nav-burger-menu-scrolled {
  top: 90px;
}

.nav-menu-h3 {
  display: block;
  font-size: 1.17em;
  font-weight: bold;
  unicode-bidi: isolate;
  font-family: "Poppins";
}

.nav-menu-h4 {
  display: block;
  font-weight: bold;
  unicode-bidi: isolate;
  font-size: .95em;
  margin-top: 10px;
}

.menu-divider {
  width: 200px;
  height: 1px;
  background-color: #54341c;
  margin-bottom: 10px;
}

.menu-list {
  list-style: none;
  padding: 0;
  line-height: 25px;
  font-size: 12px;
  /*margin-top: -20px;*/
  display: flex;
  flex-direction: column;
  margin-bottom: 10px;
}

.menu-item {
  text-decoration: none;
  color: #54341c;
}

.menu-item:hover {
  text-decoration: underline;
}

.hero-clouds {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: block;
  z-index: 4;
  top: 0;
  left: 0;
}

.hero-cloud1 {
  height: 200px;
  position: absolute;
  left: -60px;
  top: 160px;
  /* z-index: 2; */
  /* width: 100%; */
  display: block;
}

.hero-cloud2 {
  height: 200px;
  position: absolute;
  right: 10px;
  bottom: 250px;
  /* z-index: 2; */
  display: block;
  /* width: 100%; */
  display: block;
}

.hero-thread {
  width: 100%;
  height: 20vh;
  position: absolute;
  bottom: 25%;
  background-image: url("../assets/img/1-thread.png");
  background-size: cover;
  background-position: bottom;
  overflow: hidden;
  background-repeat: no-repeat;
  z-index: 4;
}

.hero-gradient {
  height: 200px;
  background-image: linear-gradient(to bottom,
      rgba(255, 0, 0, 0),
      rgb(72, 94, 50));
  bottom: 0px;
  left: 0;
  position: absolute;
  width: 100%;
  z-index: 0;
}

.hero-hills {
  position: absolute;
  bottom: -20px;
  width: 100%;
  height: 30vh;
  overflow: hidden;
  background-image: url("../assets/img/1-hills-desktop.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: bottom;
  z-index: 2;
}

/*.about {*/
/*  background-color: green;*/
/*  height: 100vh;*/
/*  position: relative;*/
/*  z-index: 7;*/
/*}*/

.hero-content {
  display: flex;
  height: 100%;
  width: 100%;
  z-index: 10;
  position: absolute;
  top: 0;
  left: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  margin-left: 0;
}

.hero-AA2027 {
  width: 482px;
  max-width: 90vw;
  margin-top: 50px;
  transform: translateX(-50vw);
  opacity: 0;
  animation: slideInContent 3s cubic-bezier(0.215, 0.61, 0.355, 1) forwards;
  animation-delay: 1.2s;
}

@keyframes slideUpExplore {
  0% {
    translate: 0 50px;
    opacity: 0;
  }

  100% {
    translate: 0 0;
    opacity: 1;
  }
}

.hero-explore-btn {
  margin-top: 40px;
  display: inline-block;
  transition: transform 0.2s ease;
  translate: 0 50px;
  opacity: 0;
  animation: slideUpExplore 1.5s cubic-bezier(0.215, 0.61, 0.355, 1) forwards;
  animation-delay: 3s;
}

.hero-explore-btn:hover {
  transform: scale(1.05);
}

.hero-btn-img {
  width: 161px;
  max-width: 80vw;
}

.hero-trees {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: block;
  z-index: 5;
  top: 0;
  left: 0;
}

.hero-tree1 {
  position: absolute;
  /* z-index: 19; */
  left: -300px;
  bottom: -95px;
  height: 700px;
  /* width: 100%; */
  display: block;
}

.hero-tree2 {
  position: absolute;
  /* z-index: 19; */
  right: -280px;
  bottom: -110px;
  height: 680px;
  /* width: 100%; */
  display: block;
}

.hero-leaves-left {
  display: block;
  position: relative;
  left: -32%;
  bottom: -70%;
  z-index: 6;
  width: 650px;
  /* height: 1000px; */
}

.hero-leaves-right {
  display: block;
  position: relative;
  right: -32%;
  bottom: -70%;
  z-index: 6;
  width: 650px;
  /* height: 1000px; */
}

#leaf {
  display: none;
}

@media (min-width: 320px) and (max-width: 480px) {
  /* Navbar */

  .nav-left {
    display: none;
  }

  .nav-link {
    font-size: 0px;
  }

  .nav-AA2027 {
    display: none;
  }

  .nav-right {
    display: flex;
    justify-content: space-between;
    width: 100%;
  }

  .nav-buttons {
    display: flex;
    margin-left: 0;
  }

  /* .nav-login,
  .nav-subscribe {
    background-color: #54341c;
    color: white;
  } */

  .nav-subscribe {
    background-color: #ba6f31;
    color: white;
    border: solid #54341c 1px;
  }

  .nav-subscribe:hover {
    background-color: #694123;
    transition-duration: 0.2s;
  }

  .nav-login {
    border: solid #54341c 1px;
    color: #54341c;
  }

  .nav-login:hover {
    background-color: rgba(255, 255, 255, 0.254);
    transition-duration: 0.2s;
  }

  .hero {
    height: 108vh;
  }

  .hero-hills {
    background-image: url("assets/img/1-hills-mobile.png");
    height: 38vh;
    bottom: -100px;
  }

  .hero-thread {
    background-position: bottom;
    top: 100px;
  }

  .hero-cloud1 {
    transform: scaleX(-1);
    left: 55vw;
    top: 400px;
    height: 170px;
  }

  .hero-cloud2 {
    right: 80vw;
    bottom: 440px;
    height: 120px;
  }



  .hero-tree1 {
    height: 500px;
    left: -250px;
  }

  .hero-tree2 {
    display: none;
  }

  #hero-leaves-right {
    display: none;
  }

  .hero-leaves-left {
    left: -75%;
    width: 650px;
  }
}

@media (min-width: 481px) and (max-width: 578px) {

  /* Navbar */
  .nav-left {
    display: none;
  }

  .nav-link {
    font-size: 0px;
  }

  .nav-AA2027 {
    display: none;
  }

  .nav-right {
    display: flex;
    justify-content: space-between;
    width: 100%;
  }

  .nav-buttons {
    display: flex;
    margin-left: 0;
  }

  /* .nav-login,
  .nav-subscribe {
    background-color: #54341c;
    color: white;
  } */

  .nav-subscribe {
    background-color: #ba6f31;
    color: white;
    border: solid #54341c 1px;
  }

  .nav-subscribe:hover {
    background-color: #694123;
    transition-duration: 0.2s;
  }

  .nav-login {
    border: solid #54341c 1px;
    color: #54341c;
  }

  .nav-login:hover {
    background-color: rgba(255, 255, 255, 0.254);
    transition-duration: 0.2s;
  }

  .hero {
    height: 108vh;
  }

  .hero-hills {
    background-image: url("assets/img/1-hills-mobile.png");
    height: 38vh;
    bottom: -70px;
  }

  .hero-thread {
    background-position: bottom;
    top: 100px;
  }

  .hero-cloud1 {
    transform: scaleX(-1);
    left: 70vw;
    top: 250px;
  }

  .hero-cloud2 {
    right: 75vw;
    bottom: 350px;
  }



  .hero-tree1 {
    height: 530px;
  }

  .hero-tree2 {
    height: 520px;
  }

  .hero-leaves-left {
    left: -20%;
  }

  .hero-leaves-right {
    right: -20%;
  }
}

@media (min-width: 578px) and (max-width: 768px) {
  .navbar {
    justify-content: space-between;
  }

  .nav-left {
    width: 50%;
  }

  .nav-link {
    font-size: 0px;
  }

  .nav-right {
    display: flex;
    margin-right: 5%;
  }

  .nav-subscribe {
    background-color: #ba6f31;
    color: white;
    border: solid #54341c 1px;
  }

  .nav-subscribe:hover {
    background-color: #694123;
    transition-duration: 0.2s;
  }

  .nav-login {
    border: solid #54341c 1px;
    color: #54341c;
  }

  .nav-login:hover {
    background-color: rgba(255, 255, 255, 0.254);
    transition-duration: 0.2s;
  }

  .hero-hills {
    background-image: url("assets/img/1-hills-mobile.png");
    height: 38vh;
    bottom: -70px;
  }



  .hero-tree1 {
    left: -400px;
  }

  .hero-tree2 {
    right: -320px;
    height: 620px;
  }
}

@media (min-width: 769px) and (max-width: 900px) {
  .navbar {
    justify-content: space-between;
  }

  .nav-left {
    width: 50%;
  }

  .nav-link {
    font-size: 0px;
  }

  .nav-right {
    display: flex;
    margin-right: 5%;
  }

  .nav-subscribe {
    background-color: #ba6f31;
    color: white;
    border: solid #54341c 1px;
  }

  .nav-subscribe:hover {
    background-color: #694123;
    transition-duration: 0.2s;
  }

  .nav-login {
    border: solid #54341c 1px;
    color: #54341c;
  }

  .nav-login:hover {
    background-color: rgba(255, 255, 255, 0.254);
    transition-duration: 0.2s;
  }

  .hero-hills {
    background-image: url("assets/img/1-hills-mobile.png");
    height: 38vh;
    bottom: -70px;
  }

  .hero-tree1 {
    left: -380px;
  }

  .hero-tree2 {
    right: -300px;
  }

  .hero-leaves-left {
    left: -20%;
  }

  .hero-leaves-right {
    right: -20%;
  }
}

@media (min-width: 900px) and (max-width: 1024px) {
  .navbar {
    justify-content: space-between;
  }

  .nav-left {
    width: 50%;
  }

  .nav-links-container {
    display: flex;
    justify-content: space-between;
    width: 100%;
  }

  .nav-right {
    display: flex;
    margin-right: 5%;
  }

  .nav-subscribe {
    background-color: #ba6f31;
    color: white;
    border: solid #54341c 1px;
  }

  .nav-subscribe:hover {
    background-color: #694123;
    transition-duration: 0.2s;
  }

  .nav-login {
    border: solid #54341c 1px;
    color: #54341c;
  }

  .nav-login:hover {
    background-color: rgba(255, 255, 255, 0.254);
    transition-duration: 0.2s;
  }

  .hero {
    height: 108vh;
  }
}

@media (min-width: 1025px) {
  .navbar {
    justify-content: space-between;
  }

  .nav-left {
    width: 45%;
  }

  .nav-links-container {
    display: flex;
    justify-content: space-between;
    width: 100%;
  }

  .nav-right {
    display: flex;
    margin-right: 5%;
  }

  .nav-subscribe {
    background-color: #ba6f31;
    color: white;
    border: solid #54341c 1px;
  }

  .nav-subscribe:hover {
    background-color: #694123;
    transition-duration: 0.2s;
  }

  .nav-login {
    border: solid #54341c 1px;
    color: #54341c;
  }

  .nav-login:hover {
    background-color: rgba(255, 255, 255, 0.254);
    transition-duration: 0.2s;
  }
}

@media (min-width: 1138px) and (max-width: 1422px) {
  .hero-trees {
    top: 100px;
  }

  .hero-tree1 {
    height: 600px;
    bottom: 0px;
    left: -250px;
  }

  .hero-tree2 {
    height: 580px;
    bottom: -20px;
    right: -200px;
  }
}

@media (min-width: 2560px) {
  .hero-marquee {
    font-size: 24px;
    height: 45px;
  }

  /* Navbar */
  .navbar {
    top: 70px;
  }

  .nav-AA2027 {
    height: 100px;
  }

  .navbar-scrolled {
    top: 0px;
    height: 150px;
  }

  .nav-link {
    font-size: 28px;
  }

  .nav-subscribe,
  .nav-login {
    border-radius: 13px;
    height: 68px;
    width: 250px;
    font-size: 24px;
  }

  .nav-adastra-logo {
    height: 60px;
  }

  .nav-burger {
    height: 28px;
  }

  .nav-burger-menu {
    background-color: rgba(255, 255, 255, 0.5);
    height: 900px;
    width: 400px;
    position: absolute;
    top: 200px;
    right: 90px;
    padding-left: 20px;
    padding-top: 20px;
    font-family: "Poppins";
    color: #54341c;
    border-radius: 8px;
    transition: 0.3s ease;
    display: none;
    /* transform: translateY(-100%) */
  }

  .nav-menu-h3 {
    font-size: 2.3em;
  }

  .menu-divider {
    width: 350px;
  }

  .nav-menu-h4 {
    font-size: 2em;
  }

  .menu-list {
    font-size: 1.2em;
    line-height: 38px;
  }

  /* Content */
  .hero-AA2027 {
    width: 400px;
  }

  .hero-explore {
    border-radius: 12px;
    height: 68px;
    width: 254px;
    font-size: 24px;
    margin-top: 60px;
  }

  .hero-cloud1 {
    height: 400px;
    top: 320px;
  }

  .hero-cloud2 {
    height: 400px;
    bottom: 450px;
  }

  .hero-tree1 {
    height: 1200px;
    left: -500px;
  }

  .hero-tree2 {
    height: 1100px;
    right: -350px;
  }
}

/* Curtain Animations */
.curtains-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  min-height: 100vh;
  overflow: hidden;
  z-index: 20;
  pointer-events: none;
}

.curtain-shell {
  position: absolute;
  top: -2px;
  left: 0;
  width: 100%;
  height: auto;
  min-height: 100px;
  z-index: 23;
  pointer-events: none;
  animation: openCurtainShell 2.5s cubic-bezier(0.645, 0.045, 0.355, 1) forwards;
  animation-delay: 0.5s;
}

@keyframes openCurtainShell {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(-100%);
  }
}

.curtain-left {
  position: absolute;
  top: -5%;
  left: 0;
  width: 60vw;
  height: 110%;
  object-fit: cover;
  object-position: right;
  z-index: 22;
  animation: openCurtainLeft 2s cubic-bezier(0.645, 0.045, 0.355, 1) forwards;
  animation-delay: 0.5s;
}

.curtain-right {
  position: absolute;
  top: -5%;
  right: 0;
  width: 60vw;
  height: 110%;
  object-fit: cover;
  object-position: left;
  z-index: 22;
  animation: openCurtainRight 2s cubic-bezier(0.645, 0.045, 0.355, 1) forwards;
  animation-delay: 0.5s;
}

@keyframes openCurtainLeft {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-100%);
  }
}

@keyframes openCurtainRight {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(100%);
  }
}

/* Content slide-in animation */
.hero-content-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

@keyframes slideInContent {
  0% {
    transform: translateX(-50vw);
    opacity: 0;
  }

  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

@media (max-width: 1024px) {
  .hero-AA2027 {
    width: 330px;
    margin-top: 40px;
  }
  .hero-btn-img {
    width: 120px;
  }
  .hero {
    height: 88vh;
  }
  
}

@media (max-width: 768px) {
  .hero-AA2027 {
    width: 300px;
    margin-top: 30px;
  }

  .hero-btn-img {
    width: 100px;
  }
}