@font-face {
  font-family: "Batang";
  src: url("../fonts/BATANG.woff") format("woff"),
    url("../fonts/BATANG.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
}

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

html,
body {
  width: 100%;
  height: 100%;
  color: white;
  font-family: "Batang", "Georgia", "Times New Roman", serif;
  scroll-behavior: smooth;
}

.container {
  width: 100%;
  height: 100%;
}

.hero {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero .subtitle {
  font-size: 20px;
}

.hero .title {
  font-size: 50px;
  letter-spacing: 3px;
  font-weight: 100;
  text-shadow: 1px 1px 10px #fff, 1px 1px 10px #ccc;
  z-index: 100;
  animation: enter 1.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.buttons {
  display: flex;
  gap: 8px;
}

.button {
  font-size: 15px;
  padding: 10px;
  background: none;
  color: white;
  font-family: inherit;
  border: 1px solid white;
  transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.button:hover {
  cursor: pointer;
  box-shadow: 0 0.5em 0.5em -0.4em white;
  transform: translateY(-0.25em);
}

.transition {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: black;
  pointer-events: none;
  animation: fadeOut 2s cubic-bezier(0.19, 1, 0.22, 1) forwards;
}

@keyframes enter {
  0% {
    transform: translateY(100px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes fadeOut {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

@keyframes animate {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 1;
    border-radius: 0;
  }
  100% {
    transform: translateY(-1000px) rotate(720deg);
    opacity: 0;
    border-radius: 50%;
  }
}

.background {
  position: fixed;
  width: 100vw;
  height: 100vh;
  top: 0;
  left: 0;
  margin: 0;
  padding: 0;
  background: rgb(0, 51, 201);
  background: linear-gradient(
    180deg,
    rgba(0, 51, 201, 1) 0%,
    rgba(201, 0, 199, 1) 100%
  );
  overflow: hidden;
  z-index: -1;
}
.background li {
  position: absolute;
  display: block;
  list-style: none;
  width: 20px;
  height: 20px;
  background: rgba(255, 255, 255, 0.2);
  animation: animate 19s linear infinite;
}

.background li:nth-child(0) {
  left: 32%;
  width: 128px;
  height: 128px;
  bottom: -128px;
  animation-delay: 1s;
}
.background li:nth-child(1) {
  left: 66%;
  width: 149px;
  height: 149px;
  bottom: -149px;
  animation-delay: 3s;
}
.background li:nth-child(2) {
  left: 40%;
  width: 140px;
  height: 140px;
  bottom: -140px;
  animation-delay: 1s;
}
.background li:nth-child(3) {
  left: 13%;
  width: 139px;
  height: 139px;
  bottom: -139px;
  animation-delay: 8s;
}
.background li:nth-child(4) {
  left: 87%;
  width: 170px;
  height: 170px;
  bottom: -170px;
  animation-delay: 4s;
}
.background li:nth-child(5) {
  left: 62%;
  width: 182px;
  height: 182px;
  bottom: -182px;
  animation-delay: 23s;
}
.background li:nth-child(6) {
  left: 85%;
  width: 150px;
  height: 150px;
  bottom: -150px;
  animation-delay: 16s;
}
.background li:nth-child(7) {
  left: 9%;
  width: 138px;
  height: 138px;
  bottom: -138px;
  animation-delay: 12s;
}
.background li:nth-child(8) {
  left: 54%;
  width: 109px;
  height: 109px;
  bottom: -109px;
  animation-delay: 34s;
}
.background li:nth-child(9) {
  left: 34%;
  width: 107px;
  height: 107px;
  bottom: -107px;
  animation-delay: 32s;
}
.background li:nth-child(10) {
  left: 69%;
  width: 179px;
  height: 179px;
  bottom: -179px;
  animation-delay: 7s;
}
.background li:nth-child(11) {
  left: 21%;
  width: 127px;
  height: 127px;
  bottom: -127px;
  animation-delay: 51s;
}
.background li:nth-child(12) {
  left: 9%;
  width: 141px;
  height: 141px;
  bottom: -141px;
  animation-delay: 39s;
}
.background li:nth-child(13) {
  left: 61%;
  width: 121px;
  height: 121px;
  bottom: -121px;
  animation-delay: 26s;
}
.background li:nth-child(14) {
  left: 32%;
  width: 123px;
  height: 123px;
  bottom: -123px;
  animation-delay: 69s;
}
.background li:nth-child(15) {
  left: 76%;
  width: 188px;
  height: 188px;
  bottom: -188px;
  animation-delay: 52s;
}
.background li:nth-child(16) {
  left: 68%;
  width: 186px;
  height: 186px;
  bottom: -186px;
  animation-delay: 55s;
}
.background li:nth-child(17) {
  left: 61%;
  width: 177px;
  height: 177px;
  bottom: -177px;
  animation-delay: 36s;
}
.background li:nth-child(18) {
  left: 6%;
  width: 168px;
  height: 168px;
  bottom: -168px;
  animation-delay: 26s;
}
.background li:nth-child(19) {
  left: 68%;
  width: 160px;
  height: 160px;
  bottom: -160px;
  animation-delay: 10s;
}
.background li:nth-child(20) {
  left: 11%;
  width: 146px;
  height: 146px;
  bottom: -146px;
  animation-delay: 66s;
}
.background li:nth-child(21) {
  left: 15%;
  width: 121px;
  height: 121px;
  bottom: -121px;
  animation-delay: 41s;
}
.background li:nth-child(22) {
  left: 39%;
  width: 180px;
  height: 180px;
  bottom: -180px;
  animation-delay: 85s;
}
.background li:nth-child(23) {
  left: 42%;
  width: 145px;
  height: 145px;
  bottom: -145px;
  animation-delay: 2s;
}
.background li:nth-child(24) {
  left: 32%;
  width: 179px;
  height: 179px;
  bottom: -179px;
  animation-delay: 65s;
}
