@import url("https://fonts.googleapis.com/css2?family=Lexend:wght@300;400;700&display=swap");
html,
body {
  font-family: Lexend;
  background-color: #f2f2f2;
  margin: 0;
  padding: 0;
}

body {
  background: url("./background.svg") center center no-repeat;
  background-size: cover;
  position: relative;
}

main {
  width: 100%;
  flex: 1;

  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.version {
  font-size: 16px;
  margin-bottom: 30px;
}

.page {
  color: white;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.page.subpage {
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;

  @media (max-width: 479px) {
    padding-bottom: 40px;
  }
}

footer {
  display: flex;
  gap: 10px;
  justify-content: center;
  width: 100%;
  padding-top: 20px;
  padding-bottom: 20px;
  color: rgba(0, 0, 0, 0.32);
}

.logo {
  width: 175px;
  margin-bottom: 20px;
}

.icon {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.button {
  border-radius: 120px;
  background: radial-gradient(
    103.93% 188.87% at 40.66% -88.64%,
    #37b7ff 0%,
    #0071b0 100%
  );
  box-shadow: 0px 3px 3px 0px rgba(0, 0, 0, 0.04);
  display: inline-flex;
  padding: 10px 20px 10px 30px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  text-decoration: none;

  &:hover {
    background: linear-gradient(
        0deg,
        rgba(255, 255, 255, 0.05) 0%,
        rgba(255, 255, 255, 0.05) 100%
      ),
      radial-gradient(
        103.93% 188.87% at 40.66% -88.64%,
        #37b7ff 0%,
        #0071b0 100%
      );
    color: white;
  }
}

a,
a:visited {
  color: rgba(255, 255, 255, 0.84);
}

a:hover {
  color: white;
}

.nav {
  border-radius: 0px 0px 20px 20px;
  background: rgba(0, 0, 0, 0.64);
  width: fit-content;

  /* Text - small */
  font-family: Lexend;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 18px; /* 150% */

  display: flex;

  padding: 5px 10px;

  position: absolute;
  top: 0;
  right: 60px;
}

.nav__link {
  padding: 5px 10px;
  white-space: nowrap;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.32);
}

.nav__link:hover {
  color: white;
}

.nav__link.active {
  color: white;
}

@media (max-width: 479px) {
  .nav {
    border-radius: 20px 20px 0px 0px;
    background: rgba(0, 0, 0, 0.64);
    top: unset;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
  }
}

.text-center {
  text-align: center;
}
