:root {
  --font-family-base: 'Spartan', sans-serif;

  --dark: #000;
  --white: #fff;
  --gray: #a09e9e;
  --gray-50: #d8d8d8;

  --bg-gradient: linear-gradient(90deg, #40f 0%, #8400ff 100%);
}

body {
  font-family: var(--font-family-base);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--gray);
  background-color: #0e0e0e;
}

h1 {
  font-size: 100px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -5px;
}

h2 {
  color: #d8d8d8;
  font-size: 50px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -2.5px;
}

h3 {
  font-size: 30px;
  letter-spacing: -1.5px;
}

h4 {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -1px;
}

.wrapper {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow: clip;

  main {
    flex-grow: 1;
  }
}

.container {
  max-width: 1340px;
  width: 100%;
  margin-inline: auto;
  padding-inline: 30px;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 325px;
  width: 100%;
  padding: 16px 32px;
  font-weight: 600;
  color: var(--white);
  overflow: hidden;
  border-radius: 8px;
  background-image: var(--bg-gradient);
  background-color: #2f00b0;
  background-size: 100% 100%;
  background-position: right;
  background-repeat: no-repeat;
  cursor: pointer;

  transition: scale 0.3s, translate 0.3s, background-size 0.3s;

  &:hover {
    scale: 1.03;
    translate: 0 -3px;
    background-size: 0% 100%;
  }
}

.language-selector {
  display: flex;
  font-weight: 600;
  line-height: 1.5;
  color: #60f;
  padding: 9px;
  border-radius: 8px;
  border: 1px solid #60f;
  background: rgba(140, 0, 255, 0.21);
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;

  &:hover {
    color: var(--white);
    background: #60f;
  }
}

.highlight {
  display: inline-block;
  background: var(--bg-gradient);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  font-weight: 700;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  border: 0 !important;
  padding: 0 !important;
  white-space: nowrap !important;
  clip-path: inset(100%) !important;
  clip: rect(0 0 0 0) !important;
  overflow: hidden !important;
}

/* #region MEDIA QUERIES */

@media (max-width: 998px) {
  .container {
    max-width: 100%;
  }
  h1 {
    font-size: 75px;
    letter-spacing: -3.75px;
  }
  h2 {
    font-size: 40px;
    letter-spacing: -2px;
  }
}

@media (max-width: 744px) {
  .container {
    padding-inline: 16px;
  }
  h1 {
    font-size: 35px;
    letter-spacing: -1.75px;
  }
  h2 {
    font-size: 30px;
    letter-spacing: -1.5px;
  }
}

/* #endregion MEDIA QUERIES */
