@font-face {
  font-family: "Golos UI";
  src: url("fonts/golos-ui_regular.woff2") format("woff2");
  font-weight: normal;
}

@font-face {
  font-family: "Golos UI";
  src: url("fonts/golos-ui_medium.woff2") format("woff2");
  font-weight: 500;
}

@font-face {
  font-family: "Golos UI";
  src: url("fonts/golos-ui_bold.woff2") format("woff2");
  font-weight: 700;
}

:root {
  --bg-color-light: #ffffff;
  --text-color-light: #000000;
  --border-color-light: rgba(0, 0, 0, 0.25);
  --bg-hover-light: rgba(0, 0, 0, 0.05);

  --bg-color-dark: #121212;
  --text-color-dark: #ffffff;
  --border-color-dark: rgba(255, 255, 255, 0.25);
  --bg-hover-dark: rgba(255, 255, 255, 0.1);
}

body[data-theme="dark"] {
  background-color: var(--bg-color-dark);
  color: var(--text-color-dark);
}

body {
  background-color: var(--bg-color-light);
  color: var(--text-color-light);
}

.group a {
  border: 1px solid var(--border-color-light);
  background: transparent;
}

body[data-theme="dark"] .group a {
  border-color: var(--border-color-dark);
}

.group a:hover {
  background: var(--bg-hover-light);
}

body[data-theme="dark"] .group a:hover {
  background: var(--bg-hover-dark);
}

body[data-theme="dark"] h1 img,
body[data-theme="dark"] .group a img {
  filter: invert(1);
}


body {
  font-family: "Golos UI", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue",
    sans-serif;
}

img {
  pointer-events: none;
}

.content {
  position: absolute;
  width: 100%;
  display: flex;
  align-items: center;
  justify-items: center;
  flex-direction: column;
  padding: 2em;
  padding-top: 4em;
  gap: 2em;
}

h1 {
  display: flex;
  flex-direction: column;
  gap: 1em;
  align-items: center;
  justify-content: center;
  font-weight: 400;
  font-size: 1.5em;
  width: 100%;
}

h1 img {
  width: 1.5em;
  margin-bottom: .5em;
}

h2 {
  font-weight: 500;
  margin-bottom: 1em;
  text-transform: uppercase;
  letter-spacing: .5em;
  opacity: .5;
  font-size: 1em;
  line-height: 150%;
}

.group {
  display: flex;
  gap: 0.75em;
}

.group a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75em;
  text-decoration: none;
  padding: 0.5em 0.75em;
  border: 1px solid rgba(0, 0, 0, 0.25);
  border-radius: 12px;
  color: inherit;
  opacity: 0.75;
  transition: opacity 0.2s, transform 0.2s, background 0.2s, border 0.2s;
}

.group a:hover {
  opacity: 1;
  transform: scale(1.05);
  background: rgba(0, 0, 0, 0.05);
}

.fill {
  position: fixed;
  bottom: -5px;
  left: 0;
  width: 100vw;
  z-index: -1;
}

@media screen and (max-width: 540px) {
  body {
    text-align: center;
  }
  .group {
    flex-direction: column;
    width: 100%;
  }
}
