@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-cyrillic.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
}

@font-face {
  font-family: "JetBrains Mono";
  src: url("../fonts/jetbrains-mono-cyrillic.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "JetBrains Mono";
  src: url("../fonts/jetbrains-mono-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
}

html {
  scroll-padding-top: 68px;
}

body {
  min-width: 320px;
  margin: 0;
}

#root {
  min-height: 100dvh;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 8px;
  background: oklch(82% .15 175);
  color: oklch(10% .012 240);
  font-size: 14px;
  font-weight: 600;
  transform: translateY(-160%);
  transition: transform 160ms ease-out;
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 2px solid oklch(82% .15 175);
  outline-offset: 3px;
}

summary::-webkit-details-marker {
  display: none;
}

button,
a,
summary {
  -webkit-tap-highlight-color: transparent;
}

.config-custom-banner {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 1024px) {
  .config-custom-banner {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }
}

@media (max-width: 639px) {
  header a[href="#contact"] {
    max-width: 152px;
    padding-inline: 12px;
    text-align: center;
    font-size: 9px;
  }

  .absolute.-bottom-5.-left-5 {
    left: 12px;
    bottom: -18px;
    max-width: calc(100% - 24px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1 !important;
  }
}
