* {
  box-sizing: border-box;
  font-family: 'Lato', sans-serif;
}

body {
  background: var(--main-bg);
}

#stars {
  pointer-events: none;
  user-select: none;
  position: absolute;
  width: 100%;
}

#stars[data='assets/img/star-bottom.svg'] {
  position: relative;
  z-index: -1;
}

header {
  display: flex;
  justify-content: center;
  padding-top: 12px;
  user-select: none;
  width: 100%;
}

header img {
  max-width: 570px;
  transition: all 0.2s cubic-bezier(0, 0, 0.58, 1);
  width: 100%;
}

header img:hover {
  filter: brightness(1.2);
}

header img:active {
  filter: brightness(1.4);
}

.hero {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 24px;
  justify-content: center;
  padding: 0 36px;
}

@media only screen and (max-width: 470px) {
  .hero {
    padding: 0 24px;
  }
}

.hero h1 {
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent;
  background-clip: text !important;
  background: var(--h-color);
  font-family: 'Libre Baskerville', serif;
  font-size: 48px;
  font-weight: 400;
  letter-spacing: -1.44px;
  line-height: 56px;
  position: relative;
  text-align: center;
  text-shadow: var(--h-shadow);
}

.hero .redirect {
  display: flex;
  flex-wrap: wrap;
  gap: 64px;
  max-width: 1080px;
  padding-top: 88px;
  width: 100%;
}

.hero .redirect-item-wrapper {
  align-items: center;
  display: flex;
  flex: 1 1 350px;
  transition: 0.25s cubic-bezier(0, 0, 0.58, 1);
}

.hero .redirect-item-wrapper:hover {
  filter: brightness(1.2);
}

.hero .redirect-item-wrapper:active {
  filter: brightness(1.4);
}

.hero .redirect .redirect-item {
  align-items: center;
  background: var(--block-bg);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 48px 0;
  position: relative;
  width: 100%;
}

.hero .redirect .redirect-item:before {
  background-image: var(--block-border);
  border-radius: 16px;
  bottom: -1.5px;
  content: '';
  left: -1.5px;
  position: absolute;
  right: -1.5px;
  top: -1.5px;
  z-index: -1;
}

.hero .redirect .redirect-item:after {
  background-position: center center !important;
  background-size: cover !important;
  border-radius: 16px;
  bottom: 0;
  content: '';
  left: 0;
  mix-blend-mode: color-dodge;
  position: absolute;
  right: 0;
  top: 0;
}

.hero .redirect .redirect-item.sig:after {
  background: url('/assets/img/redirect-item-sig.png');
}

.hero .redirect .redirect-item.af:after {
  background: url('/assets/img/redirect-item-af.png');
}

.hero .redirect .redirect-item .label {
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent;
  background-clip: text !important;
  background: var(--redirect-label-color);
  font-family: 'Libre Baskerville';
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  text-align: center;
  text-shadow: var(--redirect-label-shadow);
  z-index: 1;
}

.hero .redirect .redirect-item button {
  background: var(--button-primary-bg-redirect) !important;
}

.hero .redirect .redirect-item button a {
  align-items: center;
  display: flex;
  gap: 4px;
  justify-content: center;
  padding: 6px 10px !important;
}

.hero .redirect .redirect-item button i {
  margin-top: 1.5px;
}

.hero--content {
  display: flex;
  justify-content: center;
  padding: 0 36px;
}

.hero-container {
  width: 100%;
  max-width: 960px;
}

.hero--content h1 {
  width: fit-content;
}

.hero--content h1::before {
  background: var(--h-underline);
  bottom: -4px;
  box-shadow: var(--h-shadow);
  content: '';
  height: 2.5px;
  position: absolute;
  width: 100%;
}

@media only screen and (max-width: 579px) {
  .hero h1 {
    font-size: 32px;
    line-height: 48px;
  }
}

.hero p {
  color: var(--p-color);
  font-size: 18px;
  font-weight: 400;
  letter-spacing: -0.18px;
  line-height: 28px;
  max-width: 587px;
  text-align: center;
}
