@import url("https://fonts.googleapis.com/css2?family=Permanent+Marker&family=Inter:wght@100..900&display=swap");

html {
  font-size: 100%;
}

body {
  background-color: white;
  color: #212121;
  font-family: "Inter", sans-serif;
  font-weight: 400;
  line-height: 1.75;
  max-width: 100vw;
}

p {
  margin-bottom: 1rem;
  text-align: center;
}

h1,
h2,
h3,
h4 {
  font-family: "Permanent Marker", cursive;
  font-weight: 400;
  line-height: 1.3;
  margin-top: 0;
  text-align: center;
}

h1 {
  font-size: 11.089rem;
}

h2 {
  font-size: clamp(4.236rem, 3.7027rem + 2.4378vw, 6.854rem);
}

h3 {
  font-size: 4.236rem;
}

h4 {
  font-size: 2.618rem;
}

h5 {
  font-size: 1.618rem;
  text-align: center;
}

.legacy-link {
  text-decoration: none;
  color: #fffefd;

  position: relative;
}

small,
.text_small {
  font-size: 0.618rem;
}

@keyframes fadeIn {
  from {
    top: 20%;
    opacity: 0;
  }

  to {
    top: 100;
    opacity: 1;
  }
}

.wrapper {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  animation: fadeIn 1s ease;
}

.dot {
  color: #3C5AE4;
}

.icons {
  text-align: center;
  margin-top: 6vh;
}

.icons i {
  color: #212121;
  height: 15px;
  width: 15px;
  padding: 7px;
  margin: 0 7px;
  border-radius: 50px;
  border: 2px solid black;
  transition: all 200ms ease;
  position: relative;
}

.icons i:hover,
.icons i:active {
  color: #3C5AE4;
  border: 2px solid #3C5AE4;
  transform: scale(1.2);
}

svg.logo {
  color: #212121;

  &:hover, &:active {
    color: #3C5AE4;
    transition: 0.5s;
    transform: rotate(-180deg);
  }
}

@media (prefers-color-scheme: dark) {
  body {
    background-color: #212121;
    color: white;
  }

  .icons i {
    color: white;
    border: 2px solid white;
  }

  svg.logo {
    color: white;
  }
}
