@import url("header.css");
@import url("footer.css");
@import url("buttons.css");

@font-face {
  font-family: "Ablation";
  src: url("fonts/Ablation.otf") format("opentype");
  font-weight: 300;
  font-style: normal;
}
@font-face {
  font-family: "Monda";
  src: url("fonts/Monda.ttf") format("opentype");
  font-weight: 300;
  font-style: normal;
}
@font-face {
  font-family: "Montserrat";
  src: url("fonts/Montserrat.ttf") format("opentype");
  font-weight: 300;
  font-style: normal;
}
@font-face {
  font-family: "Hello_January";
  src: url("fonts/Hello_January.otf") format("opentype");
  font-weight: 300;
  font-style: normal;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

a {
  text-decoration: none;
}

html,
body {
  overscroll-behavior: none;
  height: fit-content;
  min-height: 100vh;
  max-height: 100vh;
  overflow: hidden !important;
  color: #222;
  background-color: #f8f8f8;
  scrollbar-width: none;
}

body {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #b54bdb;
  background: linear-gradient(
    110deg,
    rgba(181, 75, 219, 1) 6%,
    rgba(81, 112, 255, 1) 19%,
    rgba(65, 93, 217, 1) 33%,
    rgba(195, 81, 237, 1) 53%,
    rgba(201, 85, 157, 1) 68%,
    rgba(78, 106, 230, 1) 96%
  );
  background-size: 210% 350%;
  animation: dreamyGradient 35s ease-in-out infinite;
  color: #fff;
  transition: background 0.5s ease;
}
::-webkit-scrollbar {
  display: none;
}

#toast-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  display: inline-flex;
  align-items: center;
  padding: 14px 28px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #fff;
  font-size: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s ease;
}
.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.anim {
  position: relative;
  height: calc(100vh - 160px);
  max-height: 100%;
}

@keyframes dreamyGradient {
  0% {
    background-position: 0% 50%;
  }
  25% {
    background-position: 50% 100%;
  }
  50% {
    background-position: 100% 50%;
  }
  75% {
    background-position: 50% 0%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(
    110deg,
    rgba(181, 75, 219, 1) 6%,
    rgba(81, 112, 255, 1) 19%,
    rgba(65, 93, 217, 1) 33%,
    rgba(195, 81, 237, 1) 53%,
    rgba(201, 85, 157, 1) 68%,
    rgba(78, 106, 230, 1) 96%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  flex-direction: column;
  overflow: hidden;
  /* pointer-events: all;  */
}

.overlay-text {
  opacity: 0;
  z-index: 2;
}

.overlay-inner {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50%;
  background: #cb6ded;
  z-index: 1;
  transform: translateX(0);
}

.overlay-left {
  left: 0;
}

.overlay-right {
  right: 0;
}

.loader {
  font-weight: bold;
  font-family: "Ablation", sans-serif;
  font-size: 3rem;
  letter-spacing: 3px;
  display: inline-grid;
}
.loader:before,
.loader:after {
  content: "WELCOME";
  grid-area: 1/1;
  line-height: 1em;
  -webkit-mask: linear-gradient(90deg, #000 50%, #0000 0) 0 50%/2ch 100%;
  -webkit-mask-position: calc(var(--s, 0) * 1ch) 50%;
  animation: l30 2.5s infinite;
}
.loader:after {
  --s: -1;
}
.loader.paused:before,
.loader.paused:after {
  animation-play-state: paused;
  animation: none;
}

@keyframes l30 {
  33% {
    transform: translateY(calc(var(--s, 1) * 50%));
    -webkit-mask-position: calc(var(--s, 0) * 1ch) 50%;
  }
  66% {
    transform: translateY(calc(var(--s, 1) * 50%));
    -webkit-mask-position: calc(var(--s, 0) * 1ch + 1ch) 50%;
  }
  100% {
    transform: translateY(calc(var(--s, 1) * 0%));
    -webkit-mask-position: calc(var(--s, 0) * 1ch + 1ch) 50%;
  }
}
.overlay-text h1 {
  font-family: "Ablation", sans-serif;
  font-size: 3rem;
  color: #ffffff;
  letter-spacing: 3px;
  text-align: center;
}

main {
  flex: 1;
  /*opacity: 0;
  transition: opacity 1s ease; */
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.small-heading {
  color: #ffff;
  font-family: Ablation;
  font-size: 10px;
  word-spacing: 20px;
  letter-spacing: 8px;
  font-weight: normal;
}
.heading1 {
  color: #ffff;
  font-family: Ablation;
  font-size: 48px;
  line-height: 32px;
  letter-spacing: 2px;
  font-weight: normal;
}
.heading2 {
  color: #ffff;
  font-family: Ablation;
  font-size: 38px;
  letter-spacing: 1.5px;
  font-weight: normal;
}
.heading-mini {
  color: #21e1f4;
  font-family: Ablation;
  font-size: 22px;
  letter-spacing: 1px;
  font-weight: normal;
}
.cursive1 {
  color: #ffff;
  font-family: Hello_January;
  font-size: 40px;
  letter-spacing: 1px;
  font-weight: normal;
}
.text1 {
  color: #ffff;
  font-family: Montserrat;
  font-size: 20px;
  line-height: 1.1;
  font-weight: normal;
}
.text2 {
  color: #ffff;
  font-family: Montserrat;
  font-size: 16px;
  font-weight: normal;
}
.shadow-text {
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.4));
}

@media (max-width: 1250px) {
  .container {
    width: 90%;
  }
  .big-heading {
    letter-spacing: 7px;
  }
  .heading1 {
    font-size: 42px;
  }
  .heading2 {
    font-size: 32px;
  }
  .heading-mini {
    font-size: 20px;
  }
  .text1 {
    font-size: 18px;
  }
  .text2 {
    font-size: 14px;
  }
  .cursive1 {
    font-size: 38px;
  }
}

@media (max-width: 1050px) {
  .big-heading {
    letter-spacing: 3px;
  }
  .heading1 {
    font-size: 40px;
  }
  .heading2 {
    font-size: 30px;
  }
  .heading-mini {
    font-size: 19px;
  }
  .text1 {
    font-size: 18px;
  }
  .text2 {
    font-size: 15px;
  }
  .cursive1 {
    font-size: 34px;
  }
}

@media (max-width: 780px) {
  .anim {
    height: calc(100vh - 120px);
  }
}

@media (max-width: 480px) {
  .anim {
    height: calc(100vh - 100px);
  }
  .heading1 {
    font-size: 24px;
  }
  .heading2 {
    font-size: 20px;
  }
  .heading-mini {
    font-size: 16px;
  }
  .text1 {
    font-size: 15px;
  }
  .text2 {
    font-size: 13px;
  }
  .cursive1 {
    font-size: 30px;
  }
}
