.splash {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;

  opacity: 0;

  >div {
    text-align: center;
    padding: 2rem;
    max-width: 800px;
    position: relative;
    overflow: visible;

    >::before {
      content: "";
      position: absolute;
      top: -80px;
      left: -80px;
      width: 150px;
      height: 150px;
      background: url("../img/stars.png") center/contain no-repeat;
      z-index: 1;
      animation: float-rotate 3s ease-in-out infinite;
    }

    >::after {
      content: "";
      position: absolute;
      bottom: -56px;
      right: -60px;
      width: 100px;
      height: 100px;
      background: url("../img/stars.png") center/contain no-repeat;
      z-index: 1;
      animation: float-drift 8s ease-in-out infinite 1s;
    }
  }

  .content {
    font-family: "Archivo Black", sans-serif;

    >h1 {
      opacity: 0;
      animation: fadeInUp 1s ease-out forwards;
      border: 5px solid rgba(var(--accent-1), 1);
      background-color: white;
      font-size: 4rem;
      color: rgba(var(--accent-1), 1);
      padding: 1.5rem;
      margin-bottom: 1rem;
      font-weight: 700;
      letter-spacing: -0.5px;
    }

    >p {
      opacity: 0;
      transform: translateY(20px);
      animation: fadeInUp 1s ease-out 1s forwards;
      font-size: 1.5rem;
      color: white;
      background-color: rgba(var(--accent-1), 1);
      padding: 1rem 0;
      font-weight: 500;
    }
  }
}

@media (max-width: 768px) {
  .splash {
    >div {
      >::before {
        top: -50px;
        left: -50px;
        width: 100px;
        height: 100px;
      }

      >::after {
        bottom: 30px;
        right: -30px;
        width: 80px;
        height: 80px;
      }
    }

    .content {
      >h1 {
        font-size: 2.5rem;
        padding: 1rem;
      }

      >p {
        font-size: 1.2rem;
      }
    }
  }
}

@media (max-width: 480px) {
  .splash {
    .content {
      >h1 {
        font-size: 2rem;
        margin-bottom: 0.5rem;
      }

      >p {
        font-size: 1rem;
      }
    }
  }
}
