@font-face {
  font-family: "Hk Grotesk";
  src: url("./assets/fonts/HKGrotesk-Regular.woff") format("woff");
}

@font-face {
  font-family: "Jost";
  src: url("./assets/fonts/Jost-Regular.ttf") format("truetype");
}

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

:root {
  --background-color: #080808;
  --color-on-background: #1c1c1c;
  --accent-color: #ff3258;
  --white: #f0e9f2;
  --white-1: #e5e5e6da;
}

html {
  font-size: 62.5%;
}

body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--background-color);
  color: var(--white-1);
  font-family: "Hk Grotesk", sans-serif;
  font-size: 2.2rem;
  line-height: 1.7;
  text-align: center;
}

.container {
  width: 100%;
  max-width: 1180px;
  padding: 3rem;
}

.content {
  max-width: 800px;
  margin: 0 auto;
}

h1 {
  color: var(--white);
  font-family: "Jost", sans-serif;
  font-size: clamp(4.5rem, 8vw, 7.5rem);
  font-weight: 400;
  line-height: 1;
  margin-bottom: 3rem;
}

h1::after {
  content: "";
  display: block;
  width: 10rem;
  height: 2px;
  margin: 3rem auto 0;
  background: var(--accent-color);
}

p {
  margin: 2rem auto 3.5rem;
  max-width: 700px;
  font-family: "Jost", sans-serif;
  font-size: 2.5rem;
}

.btn {
  position: relative;
  display: inline-block;
  padding: 1rem 4.2rem;
  color: inherit;
  border: 1px solid var(--accent-color);
  border-radius: 8px;
  text-decoration: none;
  font-family: "Jost", sans-serif;
  font-size: 1.8rem;
  transition: all 0.2s;
}

.btn:hover {
  color: var(--white);
  background: var(--accent-color);
}

.dots {
  display: inline-flex;
  gap: 0.8rem;
  margin-bottom: 3.5rem;
}

.dots span {
  width: 9px;
  height: 9px;
  display: block;
  border-radius: 50%;
  background: var(--accent-color);
  animation: pulse 1.4s infinite ease-in-out;
}

.dots span:nth-child(2) {
  animation-delay: 0.2s;
}

.dots span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes pulse {
  0%,
  80%,
  100% {
    opacity: 0.3;
    transform: scale(0.8);
  }
  40% {
    opacity: 1;
    transform: scale(1);
  }
}

@media (max-width: 600px) {
  html {
    font-size: 52%;
  }

  .container {
    padding: 2rem;
  }

  p {
    max-width: 500px;
  }
}
