:root {
	font-family: 'Bahnschrift', 'DIN Alternate', 'Franklin Gothic Medium', 'Nimbus Sans Narrow', sans-serif-condensed, sans-serif;
	font-weight: normal;

  accent-color: var(--key-color, #0095ff);
}

.headline-text,h1,h2,h3,h4,h5,h6 {
  line-height: 1.1;
}

.container {
  margin: 0 auto;
  padding: 0;
  width: 100%;
}

section.container,
footer.container {
  padding-block-start: 2.5rem;
  padding-block-end: 2.5rem;
}

@media (max-width: 37.5em) {
  section.container,
  footer.container {
    padding-block-start: 5vw;
    padding-block-end: 5vw;
  }
}

nav.container {
  margin-bottom: 0;
  position: fixed;
  position: sticky;
  top: 0;
}

.container__fixed,
.container__fluid,
.container__full {
  margin: 0 auto;
  width: 100%;
}

.container__fixed {
  max-width: 88.75rem;
}

.container__fluid {
  margin: 0 auto;
  width: 100%;
  padding: 1.25rem 5vw;
}

@media (min-width: 48em) {
  .container__full {
	  padding: 0;
  }
}

body {
  background-color: #29282d;
  background-image: url("../images/skin/background-desktop.jpg"); /* MOVE TO THEMES */
  background-position: top left;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
}

#stw-wrapper {
  max-height: 100%;
  height: 100%;
  height: 100vh;
  padding: 5vmin;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-start;
  gap: 0;
  overflow: clip;
}
@media (width <= 1024px) {
  #stw-wrapper {
    height: auto;
  }
}

#stw-playarea {
  height: 100%;
  position: relative;
  flex: 1 1 100%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 0;
}

@media (width > 600px) and (width <= 1024px) {
  #stw-playarea {
	  flex-wrap: wrap;
	  justify-content: space-around
  }
}

@media (width <= 800px) and (orientation: portrait) {
  #stw-playarea {
	  flex-direction: column;
	  justify-content: center;
	  align-items: center;
  }
}

#stw-controlarea {
  flex: 0 1 auto;
}


/* Title  */
#stw-title-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  user-select: none;
  pointer-events: none;
  cursor: default;
  z-index: 2;
}
#stw-title-wrapper img {
  width: auto;
  max-height: 20.6vmin;
}
@media (width <= 1024px) and (orientation: portrait) {
  #stw-title-wrapper {
    position: relative;
  }
}
@media (width <= 800px) and (orientation: portrait) {
  #stw-title-wrapper img[desktop] {
    display: none!important;
    visibility: hidden;
  }
  #stw-title-wrapper img[mobile][portrait] {
    display: block!important;
    visibility: visible;
  }
}
@media (width <= 600px) and (orientation: portrait) {
  #stw-title-wrapper {
    width: 90dvw;
    margin-inline: auto;
  }
  #stw-title-wrapper img[landscape] {
    display: none !important;
    visibility: hidden;
  }
}
@media (width <= 600px) and (orientation: landscape) {
  #stw-title-wrapper img[portrait] {
    display: none !important;
    visibility: hidden;
  }
}


#stw-item-ref {
  display: none !important;
  visibility: hidden;
}


/* Countdown Timer */
#timer {
  color: white;
  font-size: clamp(24px, 3.20171vmin, 30px);
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
  width: fit-content;
  margin-inline: auto;
  padding-inline: 0.5em;
  background-color: color-mix(in srgb, black, transparent 60%);
  border-radius: 3px;
}
#timer > span {
  filter: drop-shadow(0px 0px 4px black);
}
#timer > span::after {
  font-size: 0.5em;
  margin-inline-start: 0.25em;
  vertical-align: middle;
}
#timer > span:not(:last-child)::after {
  margin-inline-end: 0.5em;
}

html {
  scrollbar-width: 4px;
}
html {
  scrollbar-color: color-mix(in srgb, darkgray, black 50%) transparent;
}
::-webkit-scrollbar {
  width: 4px;
  height: 4px;
}
::-webkit-scrollbar-track-piece {
  background-color: transparent;
}


#stw-wrapper {
  opacity: 0;
  transition: opacity 200ms ease-in-out;
}

#stw-wrapper.loaded {
  opacity: 1;
}