/* JetBrains Mono – regular and italics */
@font-face {
  font-family: "JetBrains Mono";
  src: url("../assets/fonts/webfonts/JetBrainsMono-Thin.woff2") format("woff2"); /* Adjusted path */
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("../assets/fonts/webfonts/JetBrainsMono-ThinItalic.woff2")
    format("woff2"); /* Adjusted path */
  font-weight: 100;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "JetBrains Mono";
  src: url("../assets/fonts/webfonts/JetBrainsMono-Regular.woff2")
    format("woff2"); /* Adjusted path */
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("../assets/fonts/webfonts/JetBrainsMono-Italic.woff2")
    format("woff2"); /* Adjusted path */
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "JetBrains Mono ExtraBold";
  src: url("../assets/fonts/webfonts/JetBrainsMono-ExtraBold.woff2")
    format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

html {
  background-color: #000;
}

body::before,
body::after {
  content: "";
  position: fixed;
  left: 0;
  width: 100%;
  background: #000;
  pointer-events: none;
  z-index: -1;
}

body::before {
  top: -120px;
  height: 180px;
}

body::after {
  bottom: -120px;
  height: 180px;
}

@supports (top: env(safe-area-inset-top)) {
  body::before {
    top: calc(-1 * env(safe-area-inset-top) - 60px);
    height: calc(env(safe-area-inset-top) + 120px);
  }
  body::after {
    bottom: calc(-1 * env(safe-area-inset-bottom) - 60px);
    height: calc(env(safe-area-inset-bottom) + 120px);
  }
}

body {
  color: rgba(
    255,
    255,
    255,
    0.85
  ); /* Apple's primary label color for dark mode */
  margin: 0; /* Remove default browser margins */
  min-height: 100vh; /* Ensure body takes up at least the full viewport height */
  min-height: 100dvh; /* Use dynamic viewport height for mobile Safari */
  font-family:
    "JetBrains Mono",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Helvetica,
    Arial,
    sans-serif,
    "Apple Color Emoji",
    "Segoe UI Emoji",
    "Segoe UI Symbol";
  box-sizing: border-box; /* Include padding and border in the element's total width and height */
  padding: 20px; /* Add some padding so content isn't at the very edge */
  background: #000 url(../assets/backgrounds/position_background.jpg) center
    center no-repeat !important;
  background-size: cover !important;
  -webkit-user-select: none; /* Safari */
  -moz-user-select: none; /* Firefox */
  -ms-user-select: none; /* Internet Explorer/Edge */
  user-select: none; /* Standard syntax */
  touch-action: manipulation; /* Prevent double-tap to zoom globally, allow pan/pinch */
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

svg.fa {
  display: inline-block;
  width: 1em;
  height: 1em;
  fill: currentColor;
}

.hidden {
  display: none;
}

footer a:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.5);
  outline-offset: 4px;
  border-radius: 4px;
}
