@import url('https://fonts.googleapis.com/css2?family=Michroma:wght@400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Commissioner:wght@100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lexend:wght@100..900&display=swap');

:root {
  --border-color: #666;
  --font-colour: #ebe9e1;
  --text-color: rgba(255, 255, 255, 0.6);
  --text-color-hover: #666666;
  --bg-gradient-start: rgba(40, 40, 40, 1);
  --bg-gradient-end: rgba(0, 0, 0, 1);
  --base-font-weight: 200;
}

html[data-theme="light"] {
  --border-color: #4c4c4c;
  --font-colour: #141414;
  --text-color: #1f1f1f;
  --text-color-hover: #000000;
  --bg-gradient-start: rgba(244, 244, 244, 1);
  --bg-gradient-end: rgba(224, 224, 224, 1);
  --base-font-weight: 300;
}

*, *::before, *::after {
  box-sizing: border-box;
}

* {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  font-optical-sizing: auto;
  font-weight: var(--base-font-weight);
  font-style: normal;
  color: var(--text-color);
}

html {
  height: 100%;
  background-color: #000;
}

a {
  text-decoration: none;
}

body {
  background-color: #000;
  background: linear-gradient(149deg, var(--bg-gradient-start) 1%, var(--bg-gradient-end) 50%);
  color: var(--font-colour);
  width: calc(100% - 20px);
  margin: 0 auto;
  padding: 0;
  min-height: 100vh;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.dbnx {
  font-family: "Lexend", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.4em;
}

h1 > span, h1 {
  padding: 0;
}

h1 > span {
  font-size: 1em;
}

h3 {
  border-bottom: 1px solid var(--border-color);
  display: inline-block;
  padding: 0;
  margin: 20px 0 0;
  font-weight: 300;
  font-size: 1.4em;
}

footer {
  margin-top: 100px;
  border-top: 1px solid var(--border-color);
}

section.flex {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  column-gap: 50px;
  align-items: flex-start;
}

section.flex > article {
  text-align: justify;
  width: 50%;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  z-index: 10000;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
  width: auto;
  height: auto;
  padding: 8px 12px;
  background: #000;
  color: #fff;
  border: 1px solid #fff;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.custom-cursor {
  position: fixed;
  width: 20px;
  height: 20px;
  border: 1px solid var(--text-color);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.2s ease, height 0.2s ease, border-color 0.2s ease;
  mix-blend-mode: difference;
}

.custom-cursor.hover {
  width: 40px;
  height: 40px;
  border-color: var(--text-color-hover);
}

@media (max-width: 1024px) {
  section.flex {
    flex-direction: column;
  }

  section.flex > article {
    width: 100%;
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  section.flex > article {
    margin-bottom: 20px;
  }
}

@media (hover: none) and (pointer: coarse) {
  .custom-cursor {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  .custom-cursor {
    display: none;
  }
}
