:root {
  --primary: #313f36;
  --bg: #ffffff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Montserrat", sans-serif;
  background-image: url("assets/image.png");
  color: var(--primary);
  height: 100vh;
  background-size: cover;
  background-repeat: no-repeat;
}

.page {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

/* HEADER */
.header {
  position: absolute;
  top: 28px;
  left: 24px;
  z-index: 5;
}

.header img {
  height: 56px;
}

/* CENTER CONTENT */
.center-content {
  position: absolute;
  inset: 0;
  top: 25%;
  text-align: center;
  padding: 0.3rem;
  
}

/* HEADING */
.center-content h1 {
  font-size: clamp(36px, 6vw, 68px);
  font-weight: 700;
  letter-spacing: 2px;
  line-height: 1.1;
  color: #313f36;
}

.center-content h1 span {
  display: inline-block;
  opacity: 0;
  transform: translateY(40px);
  animation: textReveal 1s ease forwards;
}

.center-content h1 span:nth-child(1) {
  animation-delay: 0.2s;
}

.center-content h1 span:nth-child(2) {
  animation-delay: 0.5s;
}

.center-content p {
  margin-top: 16px;
  font-size: clamp(14px, 2vw, 18px);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 1.2s ease forwards;
  animation-delay: 0.9s;
}

/* ANIMATIONS */
@keyframes textReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeUp {
  to {
    opacity: 0.75;
    transform: translateY(0);
  }
}

.center-content {
  animation: welcome 1.6s ease forwards;
}

@keyframes welcome {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}


/* FOOTER */
.footer {
  position: absolute;
  bottom: 28px;
  left: 2%;
  font-size: 12px;
  line-height: 1.6;
  z-index: 5;
}

/* SHAPES */
.shapes {
  position: absolute;
  right: 0;
  top: 50%;
  width: min(320px, 45vw);
  aspect-ratio: 1 / 1;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 1;
}

.shape {
  position: absolute;
  width: 100%;
  height: auto;
}

/* SAME SIZE SVGs */
.shape.outline {
  /* bottom: 0%; */
  right: -20%;
  animation: float 8s ease-in-out infinite;
}

.shape.filled {
  top: 57%;
  right: 45%;
  animation: float 10s ease-in-out infinite reverse;
}

/* ANIMATIONS */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-14px);
  }
}

@media (max-width: 460px) {

  .shape.outline {
    top: 30%;
    right: -20%;
  }

  .shape.filled {
    top: 87%;
    right: 45%;
  }
}

