*,
*::after,
*::before {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: 'Vend Sans', sans-serif;
  line-height: 1.5em;
}

:root {
  --bg-color: #2a104b;
  --bg-color-dark: #1b0b2f;
  --text-color: white;
  --accent: #e69a3d;
  --accent-secondary: #a594f9;
}

@font-face {
  font-family: "Vend Sans";
  src: url("../font/Vend_Sans/VendSans-VariableFont_wght.ttf");
}

/* ====================================== */

/* #region GENERAL CLASSES */

html {
  scroll-behavior: smooth;
  background-color: var(--bg-color-dark);
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--bg-color);
}

header,
main,
footer {
  color: var(--text-color);
}

header {
  padding-top: 3em;
}

main {
  flex: 1;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 3em;
}

footer {
  background-color: var(--bg-color-dark);
  margin-top: 2em;
  padding: 1.5em;
  text-align: center;
}

h1 {
  margin-top: 0.6em;
  text-align: center;
  font-size: 2.6em;
}

h2 {
  margin-top: 0.2em;
  text-align: center;
  font-size: 1.2em;
  font-weight: 400;
}

a {
  color: var(--accent);
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}

video {
  display: block;
  margin: 2em auto 0;
  width: 45em;
  height: 30em;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 850px) {
  video {
    width: 100%;
    height: 55vw;
    object-fit: cover;
  }
}

/* #endregion GENERAL CLASSES */

/* ====================================== */

@-webkit-keyframes BackgroundAnimation {
  0% {
    background-position: 0% 50%
  }

  50% {
    background-position: 100% 50%
  }

  100% {
    background-position: 0% 50%
  }
}

@-moz-keyframes BackgroundAnimation {
  0% {
    background-position: 0% 50%
  }

  50% {
    background-position: 100% 50%
  }

  100% {
    background-position: 0% 50%
  }
}

@keyframes BackgroundAnimation {
  0% {
    background-position: 0% 50%
  }

  50% {
    background-position: 100% 50%
  }

  100% {
    background-position: 0% 50%
  }
}

@supports selector(::-webkit-scrollbar) {
  ::-webkit-scrollbar {
    width: 10px;
  }

  ::-webkit-scrollbar-track {
    background: var(--bg-color-dark);
  }

  ::-webkit-scrollbar-thumb {
    background-color: var(--accent-secondary);
    border-radius: 20px;
    border: 2px solid var(--bg-color-dark);
  }

  ::-webkit-scrollbar-button:single-button {
    background-color: var(--bg-color-dark);
    display: block;
    border-style: solid;
    height: 13px;
    width: 16px;
  }

  ::-webkit-scrollbar-button:single-button:vertical:decrement {
    border-width: 0 6px 6px 6px;
    border-color: transparent transparent var(--accent-secondary) transparent;
  }

  ::-webkit-scrollbar-button:single-button:vertical:decrement:hover {
    border-color: transparent transparent var(--accent-secondary) transparent;
  }

  ::-webkit-scrollbar-button:single-button:vertical:increment {
    border-width: 6px 6px 0 6px;
    border-color: var(--accent-secondary) transparent transparent transparent;
  }

  ::-webkit-scrollbar-button:vertical:single-button:increment:hover {
    border-color: var(--accent-secondary) transparent transparent transparent;
  }
}

@supports not selector(::-webkit-scrollbar) {
  * {
    scrollbar-color: var(--accent) transparent;
  }
}