:root {
  --black: #000;
  --white: #fff;
}

* {
  box-sizing: border-box;
}

body {
  background-color: #f8f9fa;
  color: var(--black);
}

/* @font-face {
  font-family: "tt_normsregular";
  src: url("/fonts/typetype_-_tt_norms_regular-webfont.woff2") format("woff2"),
    url("/fonts/typetype_-_tt_norms_regular-webfont.woff") format("woff");
  font-weight: normal;
  font-style: normal;
} */

header,
.navbar-brand,
footer {
  background-color: var(--main);
  color: var(--black);
  padding: 1rem;
  font-weight: bold;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
}

footer {
  font-size: 0.9rem;
}

header > img {
  display: block;
  width: 100%;
}

footer,
footer a,
footer p,
footer h2 {
  font-size: 0.9rem;
  color: white !important;
  background-color: var(--main) !important;
}

.btn {
  background-color: var(--main) !important;
  color: white !important;
}

a {
  color: var(--main);
  font-weight: bold;
  text-decoration: none !important;
}

a:hover {
  color: var(--secondary);
}

#loader-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 5;
  flex-direction: column;
  color: var(--main);
  font-weight: bold;
  font-size: 1.2rem;
}

.spinner {
  border: 8px solid #333;
  border-top: 8px solid var(--main);
  border-radius: 50%;
  width: 70px;
  height: 70px;
  animation: spin 1s linear infinite;
  margin-bottom: 15px;
}

.error-box {
  background-color: var(--main);
  color: var(--black);
  margin: 10vh;
  padding: 10vh;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
  max-width: 600px;
}

.error-box h1 {
  margin-bottom: 10px;
  font-size: 28px;
  text-transform: uppercase;
}

.error-box p {
  font-size: 2rem;
}

#loader-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 5;
  flex-direction: column;
  color: var(--main);
  font-weight: bold;
  font-size: 1.2rem;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
