@font-face {
  font-family: "Garet";
  src: url("Font/Garet\ Bold.ttf") format("woff2");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "GaretMediumm";
  src: url("Font/Garet\ Regular.ttf") format("woff2");
  font-weight: normal;
  font-style: normal;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "GaretMediumm", sans-serif;
}

*::selection {
  background-color: #272727;
  color: white;
}

html,
body {
  height: 100%;
  overflow: hidden;
}

.container {
  height: 100%;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
  position: relative;
}

.section {
  height: 100vh;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.section:nth-child(1) {
  background: #f8f3d9;
}
.section:nth-child(2) {
  background: linear-gradient(to bottom, #111111, #272727, #434343);
  position: relative;
}
.section:nth-child(3) {
  background: #181818;
  color: #f8f3d9;
  position: relative;
}
.section:nth-child(4) {
  background: #181818;
}
.section:nth-child(5) {
  background: #181818;
}
.section:nth-child(6) {
  background: #181818;
}
.section:nth-child(7) {
  background: #181818;
}
.section:nth-child(8) {
  background: #181818;
}
.section:nth-child(9) {
  background: #181818;
}
.section:nth-child(10) {
  background: #181818;
}
.section:nth-child(11) {
  background: #f8f3d9;
  color: #272722;
  position: relative;
  padding: 30px;
  overflow: hidden;
}
.section:nth-child(12) {
  background: #f8f3d9;
  color: #272722;
  padding: 30px;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background: #272727;
  color: white;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  height: 70px;
}
.logo {
  font-size: 25px;
  font-weight: 600;
}
.menu-toggle {
  display: none;
  cursor: pointer;
  width: 25px;
  height: 25px;
  z-index: 101;
}
.menu-toggle svg {
  width: 100%;
  height: 100%;
}
.menu-toggle.active svg rect:nth-child(1) {
  transform: translateY(20px) rotate(45deg);
}
.menu-toggle.active svg rect:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active svg rect:nth-child(3) {
  transform: translateY(-20px) rotate(-45deg);
}
.menu-toggle svg rect {
  transition: all 0.3s ease-in-out;
}
.fullscreen-menu {
  position: fixed;
  top: 0;
  padding: 40px 30px;
  left: -100%;
  width: 100%;
  height: 100vh;
  background: #272727;
  display: flex;
  flex-direction: column;
  transition: left 0.5s ease-in-out;
  z-index: 1000;
}

.fullscreen-menu p {
  color: #f8f3d9;
  text-decoration: none;
  font-size: 40px;
  margin: 35px 0;
  transition: color 0.3s;
  padding-left: 20px;
  font-weight: 500;
  padding: 15px;
  letter-spacing: -1px;
  font-family: "Garet";
}

.close-btn {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 2rem;
  color: white;
  cursor: pointer;
}
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
}

.quote {
  margin: 5px 0 0 14px;
  padding: 20px 0 0 10px;
  width: 160px;
}

.quoted-text {
  color: #272727;
  font-family: "Garet", sans-serif;
  letter-spacing: -3px;
  font-size: 40px;
  line-height: 45px;
  margin-top: 10px;
  padding: 0 30px;
}

.quoted-text-background {
  background-color: #272727;
  color: #f8f3d9;
  padding: 0 10px;
  font-family: "GaretMediumm";
}

.sand-img {
  position: absolute;
  bottom: 0;
  height: 50%;
  width: 100%;
  z-index: 200;
}

.starry-container {
  position: relative;
  overflow: hidden;
}

.star {
  position: absolute;
  background: white;
  border-radius: 50%;
  opacity: 0.8;
  animation: twinkle infinite ease-in-out, float infinite ease-in-out;
}

@keyframes twinkle {
  0%,
  100% {
    opacity: 0.8;
  }
  50% {
    opacity: 0.2;
  }
}

@keyframes float {
  0% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(1px, -1px);
  }
  100% {
    transform: translate(0, 0);
  }
}

.shooting-star {
  position: absolute;
  width: 2px;
  height: 2px;
  background: white;
  box-shadow: 0px 0px 10px white;
  opacity: 0;
  transform: rotate(45deg);
}

@keyframes shoot {
  0% {
    opacity: 1;
    transform: translate(0, 0) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(200px, 200px) scale(0);
  }
}

.moon {
  z-index: 103;
  position: absolute;
  right: 20%;
  top: 30%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, #fdf6c3, #f8f3d9);
  border-radius: 50%;
  box-shadow: 0 0 100px rgba(255, 255, 210, 0.363);
  transition: transform 0.1s ease-out;
}
.name {
  z-index: 0;
  font-family: "Garet", sans-serif;
  color: #f8f3d9;
  position: absolute;
  letter-spacing: -1px;
  font-size: 36px;
  line-height: 45px;
  text-align: left;
  width: 100%;
  padding: 20px;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 30px;
}

.name > span {
  background-color: #f8f3d9;
  color: #272722;
  font-family: "Garet", sans-serif;
  padding: 0 7px;
}

.thought {
  font-size: 55px;
  line-height: 55px;
  font-family: "Garet";
  letter-spacing: -2.5px;
  color: #f8f3d9;
  padding: 40px 30px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  text-align: left;
  width: 100%;
}

.thought > .text {
  font-size: 90px;
  text-transform: uppercase;
  font-family: "Garet";
  padding: 15px 0;
}

.quote2 {
  width: 200px;
  padding: 0 30px;
  margin-top: 60px;
}
.top {
  margin-top: 55px;
}
.top img {
  width: 50px;
  margin-top: 30px;
}
.top h1 {
  font-size: 60px;
  margin-bottom: 10px;
  font-family: "Garet";
  letter-spacing: -2px;
}

.top p {
  color: #272727c8;
  font-family: "Garet", sans-serif;
  letter-spacing: -3px;
  font-size: 40px;
  line-height: 45px;
  margin-top: 10px;
}

.bottom {
  text-align: left;
  font-size: 1rem;
  margin-top: 30px;
}

.bottom p {
  font-size: 20px;
}

#loading-circle {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.spinner {
  border: 4px solid #f8f3d9;
  border-top: 4px solid #272722;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 2s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.ending {
  line-height: 57px;
}

.flower {
  height: 450px;
  position: absolute;
  bottom: 40px;
  left: -50px;
}
.thankyou {
  color: #272727;
  font-family: "Garet", sans-serif;
  letter-spacing: -3px;
  font-size: 40px;
  line-height: 45px;
  margin-top: 10px;
  padding: 0 10px;
}
