@import url("https://fonts.googleapis.com/css2?family=Zain:ital,wght@0,200;0,300;0,400;0,700;0,800;0,900;1,300;1,400&display=swap");

:root {
  --colorPrimary: #00cfff;
  --colorAccent: #ff5373;
  --fontFamily: "Zain", sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--fontFamily);
  scrollbar-width: thin;
}

html,
body {
  height: 100%;
  color: #000000;
  scroll-behavior: smooth;
  background: #090909
    radial-gradient(circle, rgba(255, 255, 255, 0.03) 1px, transparent 1px) 0
    0 / 4px 4px;
}

body {
  overflow-x: hidden;
  touch-action: manipulation;
  user-select: none;
  -ms-touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

main {
  position: relative;
  max-width: 1000px;
  margin: auto;
  background: #fff;
  box-shadow: 0 0 150px #0f0f0f;
  overflow-y: hidden;
  border-bottom-left-radius: 30px;
  border-bottom-right-radius: 30px;
}

header {
  position: relative;
  color: #fff;
  height: calc(100vh - 125px);
  display: flex;
  gap: 20px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
  min-height: 300px;
}

header img {
  position: absolute;
  top: 50%;
  right: 50%;
  transform: translate(50%, -50%);
  height: calc(100% + 50px);
  width: calc(100% + 50px);
  filter: blur(10px) brightness(50%);
  object-fit: cover;
}

header h1 {
  font-size: 80px;
  font-weight: 800;
  line-height: 60px;
  z-index: 1;
  transition: font-size 1s ease;
}

header p {
  font-size: 28px;
  max-width: 700px;
  z-index: 1;
  transition: font-size 1s ease;
}

button {
  padding: 10px 50px;
  font-size: 20px;
  border: none;
  border-radius: 30px;
  background: #fff;
  color: #000;
  cursor: pointer;
  transition: transform 0.25s ease;
  font-weight: bold;
  z-index: 1;
}

button:hover {
  transform: scale(1.2) rotate(2deg);
}

symbol {
  display: block;
  width: 100%;
  height: 50px;
  margin-top: -50px;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="50" height="50"><polygon points="0,50 25,30 50,50" fill="white"/></svg>')
    repeat-x bottom;
  position: absolute;
}

section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 50px 0px 100px 0px;
  gap: 30px;
}

section div {
  max-width: 800px;
  text-align: left;
  padding: 20px;
  border-radius: 12px;
}

section div h2 {
  font-size: 48px;
}

section div p {
  font-size: 25px;
}

span[style*="color:"] {
  display: inline-block;
  background: linear-gradient(120deg, currentColor, #000, currentColor);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  background-size: 200% 100%;
  animation: sweep 2s infinite linear;
}

footer {
  text-align: center;
  padding: 100px 0px;
  font-size: 18px;
  color: #fff;
  display: flex;
  justify-content: center;
  flex-direction: column;
  gap: 20px;
}

footer div {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

footer a {
  margin: 0 15px;
  color: inherit;
  text-decoration: none;
}

footer a:hover {
  text-decoration: none;
}

dialog {
  display: flex;
  position: fixed;
  width: 100%;
  height: calc(100% + 30px);
  padding: 20px;
  box-shadow: 0 0 10px #000;
  background: #fff;
  color: #000;
  border: none;
  text-align: center;
  overflow-y: auto;
  top: calc(-100vh - 30px);
  border-bottom-left-radius: 30px;
  border-bottom-right-radius: 30px;
  z-index: 999;
  align-content: center;
  justify-content: center;
  transition: transform 1s ease;
}

html.dialog dialog {
  transform: translateY(calc(100vh + 30px));
}

dialog menu {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  width: 400px;
  margin-top: 80px;
  overflow: auto;
  padding: 0 10px;
}

dialog div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

dialog h3 {
  margin: 0;
  font-size: 25px;
  width: 100px;
  text-align: left;
}

dialog a {
  padding: 12px 20px;
  color: #fff;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  width: 150px;
  transition: transform 0.25s ease;
}

dialog a:hover {
  transform: scale(1.1) rotate(1deg);
}

.starfield {
  width: 100vw;
  height: 100vh;
  display: block;
  position: absolute;
  top: 0;
  animation: rotate 60s infinite linear;
  z-index: 1;
  transform-origin: center;
  pointer-events: none;
}

.star {
  fill: url(#starGlow);
  animation: flicker 2s infinite alternate;
}

@keyframes flicker {
  0% {
    opacity: 0.2;
    r: 1;
  }
  50% {
    opacity: 1;
    r: 2;
  }
  100% {
    opacity: 0.3;
    r: 1;
  }
}

.star:nth-child(1) {
  animation-delay: 0s;
}
.star:nth-child(2) {
  animation-delay: 0.5s;
}
.star:nth-child(3) {
  animation-delay: 1s;
}
.star:nth-child(4) {
  animation-delay: 1.5s;
}
.star:nth-child(5) {
  animation-delay: 0.8s;
}
.star:nth-child(6) {
  animation-delay: 1.2s;
}
.star:nth-child(7) {
  animation-delay: 0.3s;
}
.star:nth-child(8) {
  animation-delay: 1.7s;
}
.star:nth-child(9) {
  animation-delay: 2.2s;
}
.star:nth-child(10) {
  animation-delay: 0.9s;
}

@keyframes show {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes sweep {
  0% {
    background-position: 100% 0%;
  }
  100% {
    background-position: -100% 0%;
  }
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 600px) {
  header {
    gap: 10px;
  }
  header h1 {
    font-size: 60px;
  }
  header p {
    font-size: 20px;
  }
  header button {
    padding: 5px 30px;
  }
  section div h2 {
    font-size: 30px;
  }
  section div p {
    font-size: 22px;
  }
  footer {
    font-size: 15px;
  }
}
