* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-image: url("../heroc-bg.jpg");
  font-family: "Dm Sans", sans-serif;
  font-weight: 400;
}

span {
  font-family: "Exo 2", sans-serif;
}

.nav-menu {
  position: relative;
  max-height: max-content;
}

.nav-menu::after {
  position: absolute;
  content: '';
  background-color: #1F004A;
  opacity: 0.8;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.nav-menu li {
  text-decoration: none;
  list-style-type: none;
  z-index: 99;
}

.nav-menu a {
  color: white;
  text-decoration: none;
  font-size: .8rem;
  position: relative;
  width: 100%;
  
}

.nav-menu a:hover::after {
  width: 100%;
}

.nav-menu a::after {
  content: '';
  height: 2px;
  transition: width 1s cubic-bezier(0.075, 0.82, 0.165, 1);
  width: 0;
  bottom: 0;
  left: 0;
  background-color: pink;
  position: absolute;
}

.nav-menu ul {
  display: flex;
  flex-flow: column wrap;
  gap: 1rem;
}

.submenu-section {
  position: fixed;
  display: flex;
  height: 100%;
  top: 10%;
  z-index: 9999;
  transform: translateX(-200px);
  transition: transform .2s cubic-bezier(0.075, 0.82, 0.165, 1);
}

.submenu-section button {
  max-height: max-content;
  position: relative;
  top: 10px;
  left: 20px;
  z-index: 999;
  cursor: pointer;
}

.submenu-section button:hover span{
  border: 2px solid wheat;
}

.submenu-section button:hover span:nth-child(2){
  border: 2px solid wheat;
  width: 80%;
}

.nav-menu {
  padding: 2rem;
  position: relative;
  height: 100%;
  width: 200px;
  top: 0;
  left: 0;
  
}

.submenu-section.active {
  transform: translateX(0);
}

.main-section-container {
  width: 100%;
  max-width: 100%;
  height: 100dvh;
  overflow: hidden;
  position: sticky;
  top: 0;
  z-index: -1;
}

.outline-section {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100dvh;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999999;
}

.outline-section-background {
  position: absolute;
  object-fit: cover;
  top: 10%;
  left: 0;
  width: 100%;
  height: 115%;
}

.main-section {
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, #ff8978, #fd5681, #fd4377);
  z-index: -1;
  position: relative;
  scale: 1;
}

.hero {
  display: flex;
  flex-flow: column wrap;
  position: relative;
  min-height: 225dvh;
}

.toggle-nav {
  border: unset;
  background-color: unset;
  width: 30px;
  display: flex;
  flex-flow: column wrap;
  gap: .2rem;
}

.toggle-nav span {
  display: flex;
  width: 100%;
  border: 2px solid black;
  transition: all .2s;
}

.tree {
  position: absolute;
  z-index: 1;
}

.leaves {
  position: relative;
}

.leaves img {
  position: absolute;
}

.tree .wood {
  position: absolute;
  top: 44px;
  left: -18px;
}

.main-section {
  display: flex;
  justify-content: center;
  align-items: center;
}

.tree {
  transform: translateY(-50px);
}

.tree2 {
  z-index: 1;
  position: absolute;
  transform: translateX(-75px) translateY(-20px);
}

.tree2 .leaves {
  position: relative;
}

.tree2 .leaves img {
  position: absolute;
}

.tree2 .wood {
  position: absolute;
  top: 40px;
  left: 40px;
}

.sun {
  background-color: #1F004A;
  border-radius: 50%;
  padding: 5px;
}
.sun img {
  width: 350px;
  z-index: -1;
}

.pacifico {
  font-family: "Pacifico", cursive;
}

.neon-pink-light {
  text-shadow: 
    0 0 7px #FF5C7E,
    0 0 10px #FF5C7E,
    0 0 21px #FF5C7E,
    0 0 42px #FF1CCD,
    0 0 82px #FF1CCD,
    0 0 92px violet,
    0 0 102px violet,
    0 0 151px violet;
}

.neon-pink-outline {
  color: white;
  -webkit-text-stroke: 1px #f27db3;
  letter-spacing: clamp(2px, 1vw, 10px);
  
}



.neon-orange-outline {
  color: white;
  -webkit-text-stroke: 1px #1F004A;
  letter-spacing: 10px;
  text-shadow: 
    0 0 7px #ff8251,
    0 0 10px #ff8251,
    0 0 21px #ff8251,
    0 0 42px #f08359,
    0 0 82px #f08359,
    0 0 92px #f5a07f,
    0 0 102px #f5a07f,
    0 0 151px #f5a07f;
}

.header-text {
  font-size: clamp(2rem, 12vw, 5rem);
  font-weight: 600;
  position: absolute;
  transform: translateY(120px) skewY(-5deg);
  z-index: 2;
}

.outline-text {
  font-size: clamp(2rem, 5vw, 5rem);
  position: absolute;
  bottom: 5%;
  right: 5%;
  text-align: center;
  /* opacity: 0; */
}

.fake-section {
  position: absolute;
  height: 100dvh;
  width: 100vw;
  display: flex;
  justify-content: center;
  align-items: center;
  left: -10px;
  scale: 1;
  z-index: -1;
}

.second-section {
  position: sticky;
  height: 100dvh;
  width: 100%;
}

.second-section-bg {
  position: absolute;
  width: 100%;
  height: 100dvh;
  top: 0;
  left: 0;
}

.second-section-bg img {
  width: 100%;
  height: 100%;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0) , rgba(255,255,255,0.5), rgba(255,255,255,1) 50%);
  object-fit: cover;
}

.second-section-img1 {
  position: absolute;
  display: flex;
  flex-flow: column wrap;
  gap: 1rem;
  top: 10%;
  left: 10%; 
  opacity: 0;
}

#miami {
  width: 50%;
  position: relative;
  transform: rotateZ(-5deg);
}

#miami img {
  width: 100%;
}

#miami::after {
  --padding-size: 1rem;
  content: '';
  height: 100%;
  width: 100%;
  padding: var(--padding-size);
  z-index: -1;
  background-color: white;
  position: absolute;
  top: calc(var(--padding-size) * -1);
  left: calc(var(--padding-size) * -1);
}

.second-section-img2 {
  position: absolute;
  display: flex;
  flex-flow: column wrap;
  align-items: flex-end;
  gap: 1rem;
  bottom: 10%;
  right: 10%; 
  opacity: 0;
}


#miami2 {
  width: 50%;
  position: relative;
  transform: rotateZ(5deg);
}

#miami2 img {
  width: 100%;
}

#miami2::after {
  --padding-size: 1rem;
  content: '';
  height: 100%;
  width: 100%;
  padding: var(--padding-size);
  z-index: -1;
  background-color: white;
  position: absolute;
  top: calc(var(--padding-size) * -1);
  left: calc(var(--padding-size) * -1);
}

.second-section h1 {
  font-size: clamp(1rem, 10vw, 5rem);
}

.third-section {
  min-height: 300dvh;
  background: linear-gradient(to bottom, #f37286, #d7667c);
  /* overflow: hidden; */
}

.third-section-text {
  /* background-color: black; */
  position: sticky;
  overflow: hidden;
  top: 0;
  left: 0;
  max-width: 100dvw;
  height: 100dvh;
}

.third-section-text p {
  position: absolute;
  font-size: clamp(2rem, 10vw, 10rem);
  bottom: 10%;
  right: 10%;
}

.third-section-text h1 {
  background: url("../images/bg-sunset.jpg");
  background-repeat: no-repeat;
  background-size: 80%;
  background-position: 50% 100%;
  overflow-x: hidden;
  font-size: clamp(10rem, 35vw, 35rem);
  -webkit-background-clip: text;
  position: relative;
  top: 100px;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

@media screen and (max-width:940px) {
  .second-section-img2 {
    bottom: 50%;
  }

  .third-section-text h1 {
    top: 50%;
  }
}


.fake-section img {
  width: 380px;
  max-height: max-content;
}

.header {
  font-size: 3rem;
}

.leaves img:nth-child(1) {
  transform-origin: 50% 50%;
  animation: tree1_leaf1 10s linear infinite;
}

.leaves img:nth-child(2) {
  transform-origin: 50% 50%;
  animation: tree1_leaf1 9s linear infinite;
}

.leaves img:nth-child(3) {
  transform-origin: 50% 50%;
  animation: tree1_leaf1 6s linear infinite;
}

.leaves img:nth-child(4) {
  transform-origin: 50% 50%;
  animation: tree1_leaf1 7s linear infinite;
}


.leaves img:nth-child(5) {
  transform-origin: 50% 50%;
  animation: tree1_leaf1 10s linear infinite;
}

.leaves img:nth-child(6) {
  transform-origin: 50% 50%;
  animation: tree1_leaf1 9s linear infinite;
}

.leaves img:nth-child(7) {
  transform-origin: 50% 50%;
  animation: tree1_leaf1 6s linear infinite;
}

.leaves img:nth-child(8) {
  transform-origin: 50% 50%;
  animation: tree1_leaf1 7s linear infinite;
}

@keyframes tree1_leaf1 {
  0% {
    transform: rotateZ(0);
  }
  50% {
    transform: rotateZ(10deg);
  }
  100% {
    transform: rotateZ(0);
  }
}