/* === FONTS === */
@font-face {
  font-family: "AlphaPipe";
  src: url("/fonts/BCAlphapipeTEST-Regular.otf") format("opentype");
  font-weight: var(--font-weight-normal);
  font-style: normal;
}

@font-face {
  font-family: "AlphaPipeSemiBold";
  src: url("/fonts/BCAlphapipeTEST-SemiBold.otf") format("opentype");
  font-weight: var(--font-weight-normal);
  font-style: normal;
}

@font-face {
  font-family: "QuicksandBold";
  src: url("/fonts/Quicksand-Bold.otf") format("opentype");
  font-weight: var(--font-weight-normal);
  font-style: normal;
}

@font-face {
  font-family: "QuicksandRegular";
  src: url("/fonts/Quicksand-Regular.otf") format("opentype");
  font-weight: var(--font-weight-normal);
  font-style: normal;
}

/* === LAYOUT === */

html {
  overflow-y: scroll;
}

html,
body {
  min-height: 100vh;
  width: 100vw;
  overflow-x: hidden;
}

body {
  position: relative;
  font-family: var(--font-alphapipe-reg);
  background-color: var(--bg);
}

footer {
  font-family: "QuicksandRegular";
  font-size: var(--font-subtext);
  color: var(--text);
  display: flex;
  justify-content: center;
  width: 100%;
  padding: 8px 0;
}

.page-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 auto;
  max-width: 1000px;
  padding: 56px 24px 36px;
}

.page-label {
  font-size: var(--font-default-size);
  font-weight: var(--font-weight-medium);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.page-title {
  font-family: var(--font-quicksand-bold);
  font-size: var(--font-title-large);
  color: var(--text);
}

/* === DECORATIVE BACKGROUND === */
.bg-effects {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(
      circle at 80% 10%,
      rgba(100, 181, 210, 0.9) 0%,
      transparent 55%
    ),
    radial-gradient(
      circle at 20% 90%,
      rgba(70, 150, 190, 0.7) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 50% 50%,
      rgba(85, 165, 200, 0.4) 0%,
      transparent 60%
    );
}

/* Fixes background on other browsers */
body > *:not(.bg-effects):not(.flash-message) {
  position: relative;
  z-index: 1;
}

/* === ELEMENTS === */
h1,
h2,
h3,
h4 {
  margin: 0;
}

.manuals-list {
  padding-left: 20px;
}

.manuals-list li {
  margin: 5px 0;
  list-style-type: disc;
}

.arrow {
  margin: 10px;
  display: inline-block;
  transform: rotate(90deg);
}

/* ERRORPAGE BUTTONS */
.btn-primary {
  background: var(--accent);
  color: white;
  border: 1px solid var(--accent);
}

.btn-primary:hover {
  background: var(--accent-hover);
}

.btn-secondary {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}

.btn-secondary:hover {
  background: var(--accent-light);
}
