/* cspell:word pressura */

:root {
  --fs-biggest: 1.75em;
  --fs-big: 1.5em;
  --fs-medium: 1.25em;
  --fs-small: 1em;

  --bars-height: 4em;
  --bars-color: rgb(0, 0, 0, 0.75);
  --bars-back-blur: 7px;

  --back-color: #2c2a2a;
  --text-color: #f1f1f1;
  --theme-color: #ff9900;

  --theme-shadow: 0 0.5em 1em 0px rgb(0 0 0 / 50%);

  --fonts: 'GT Pressura', sans-serif;

  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

@font-face {
  font-family: 'GT Pressura';
  src: url(/fonts/GT-Corporate-Web.woff2) format('woff2'),
    url(/fonts/GT-Corporate-Web.woff) format('woff');
}

body {
  margin: 0;
  color: var(--text-color);
  background-color: var(--back-color);
  font-family: var(--fonts);
  overflow-x: hidden;
  overflow-y: scroll;
}

h1 {
  font-size: var(--fs-big);
}

h1,
h2,
p {
  margin: 0;
}

a {
  color: var(--theme-color);
  text-decoration: none;
  opacity: 0.9;
  transition: opacity 250ms ease-in-out;

  outline-color: var(--theme-color);
}
a:hover {
  opacity: 0.75;
}

.translucent {
  background-color: var(--bars-color);
  -webkit-backdrop-filter: blur(var(--bars-back-blur));
  backdrop-filter: blur(var(--bars-back-blur));
}

.loading-screen {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: absolute;
  font-size: calc(var(--fs-big) * 2);
  inset: 0;
  margin: auto;
  z-index: 9999;
  background-color: var(--back-color);
  transition: all 0.5s ease-in-out;
}

.loading__logo {
  width: 5em;
}

.no-script {
  padding: 1rem 0;
  font-size: 1rem;
}

input,
button {
  outline-color: var(--theme-color);
}
button.active {
  outline-offset: 4px;
}

div.focusable {
  outline-color: var(--theme-color);
}

/* focusable styles */
body.focusable-active input.focusable,
body.focusable-active button.focusable,
body.focusable-active a.focusable,
body.focusable-active div.focusable {
  outline: none;
}

/* safari outline-color fix */
a:focus,
input:focus,
button:focus {
  outline: 2px solid var(--theme-color);
}
