html, body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
  }

body {
  background-color: #000;
  background-image: url("../img/background.png");
  background-position: center bottom;
  background-size: cover;
  background-repeat: no-repeat;
  color: #fff;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  overflow: hidden;
  font-family: 'Open Sans', sans-serif;
}

img {
  border-radius: 10px;
}

.pixelfont {
  font-family: 'Silkscreen', cursive;
}

.layer{
  position: absolute;
  width: 100%;
  height: 100%;
  background-position: center bottom;
  background-size: cover;
}

.none {
  display: none;
}

.layer_light {
  background-image: url("../img/background_light.png");
  animation: flash_light 5s linear infinite;
}

.layer_carlight{
  background-image: url("../img/background_carlight.png");
  animation: flash_carlight 1s linear infinite;
}

.layer_grain{
  background-image: url("../img/grain2.gif");
  background-size: 300px 300px;
  mix-blend-mode: overlay;
  opacity: 0.5;
}

.tab_bar {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  margin-top: 2em;
  gap: 1em;
  width: auto;
  height: 100%;
}

.bottom_bar {
  bottom: 0px;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

main {
  position: absolute;
  width: 100%;
  height: 100%;
}

header {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

header > img{
  width: 250px;
  max-width: 50%;
  margin-top: 5em;
  pointer-events: none;
  image-rendering: pixelated;
}

header >h3 {
  font-size: min(1em, 70vw);
  mix-blend-mode: overlay;
}

.loadingMsg {
  font-size: smaller
}

.loadingMsg > span {
  animation: blink_text 1s steps(10) infinite;
}

.footer {
  position: fixed;
  bottom: 2em;
  font-size: 0.5em;
  opacity: 0.5;
}

.footer_bistalink {
  right: 2em;
}

.footer_version {
  left: 2em;
}