@import url(base.css);

body,
html,
#app {
  margin: 0;
  width: 100%;
  height: 100%;
}

#app {
  --fontFamily: 'Montserrat', sans-serif;
  overflow: hidden;
  touch-action: pan-up;
  color: #ffffff;
  font-family: var(--fontFamily);
  text-align: center;

}

#app canvas {
  display: block;
  position: fixed;
  z-index: -1;
  top: 0;
}

main {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

audio {
  opacity: .2;
}

.loader {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 9999;
  background-color: transparent;
  opacity: 1;
  visibility: visible;
  -webkit-transition: all 0.6s ease-in-out;
  -o-transition: all 0.6s ease-in-out;
  -moz-transition: all 0.6s ease-in-out;
  transition: all 0.6s ease-in-out;
}

.loader.loaded {
  opacity: 0;
  visibility: hidden;
}

.loader.is-animated .loader__content,
.loader.is-animated .loader__caption {
  -webkit-animation: 0.3s 1s ease-in-out 1 both fadeOut;
  -moz-animation: 0.3s 1s ease-in-out 1 both fadeOut;
  animation: 0.3s 1s ease-in-out 1 both fadeOut;
}

.loader__container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.loader__content {
  position: absolute;
  left: 50%;
  top: 50%;
  bottom: auto;
  right: auto;
  -webkit-transform: translateX(-50%) translateY(-50%);
  -moz-transform: translateX(-50%) translateY(-50%);
  -ms-transform: translateX(-50%) translateY(-50%);
  transform: translateX(-50%) translateY(-50%);
  width: 100%;
  text-align: center;
}

.loader__text {
  font: normal 700 3.4rem/0.94 "Arial", sans-serif;
  text-transform: uppercase;
  color: white;
}

.loader__text span {
  display: block;
  white-space: nowrap;
  -webkit-animation: 1s ease-in-out 0.1s infinite fadeIn;
  -moz-animation: 1s ease-in-out 0.1s infinite fadeIn;
  animation: 1s ease-in-out 0.1s infinite fadeIn;
}

.loader__text span.outline-white {
  color: white;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke-width: 1px;
  -webkit-text-stroke-color: white;
}

.loader__text span.outline-colored {
  color: var(--rdmBlue);
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke-width: 1px;
  -webkit-text-stroke-color: var(--rdmBlue);
}

.loader__text span:nth-of-type(2) {
  -webkit-animation: 1s ease-in-out 0.2s infinite fadeIn;
  -moz-animation: 1s ease-in-out 0.2s infinite fadeIn;
  animation: 1s ease-in-out 0.2s infinite fadeIn;
}

.loader__text span:nth-of-type(3) {
  -webkit-animation: 1s ease-in-out 0.3s infinite fadeIn;
  -moz-animation: 1s ease-in-out 0.3s infinite fadeIn;
  animation: 1s ease-in-out 0.3s infinite fadeIn;
}

.loader__text img {
  display: block;
  width: 100%;
  height: auto;
}

@media only screen and (min-width: 768px) {
  .loader__text {
    font-size: 5rem;
  }

  .loader__text span.outline-white {
    color: white;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke-width: 2px;
    -webkit-text-stroke-color: white;
  }

  .loader__text span.outline-colored {
    color: var(--rdmBlue);
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke-width: 2px;
    -webkit-text-stroke-color: var(--rdmBlue);
  }
}

@media only screen and (min-width: 1400px) {
  .loader__text {
    font-size: 6rem;
  }

  .loader__text span.outline-white {
    color: white;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke-width: 2px;
    -webkit-text-stroke-color: white;
  }

  .loader__text span.outline-colored {
    color: var(--rdmBlue);
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke-width: 2px;
    -webkit-text-stroke-color: var(--rdmBlue);
  }
}

.loader__caption {
  position: absolute;
  bottom: 20px;
  left: 50%;
  right: auto;
  -webkit-transform: translateX(-50%);
  -moz-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
  text-shadow: 0 0 5px #ffffff, 0 0 20px #000, 0 0 30px #000;
}

.loader__caption p,
.loader__caption a {
  font: normal 400 1.6rem/1.2 "Arial", sans-serif;
  text-transform: uppercase;
  text-align: center;
  color: rgba(255, 255, 255, 0.8);
}

.loader__caption a {
  color: rgba(255, 255, 255, 0.8);
}

@-webkit-keyframes fadeIn {
  from {
    opacity: 0.1;
  }

  to {
    opacity: 1;
  }
}

@-moz-keyframes fadeIn {
  from {
    opacity: 0.1;
  }

  to {
    opacity: 1;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0.1;
  }

  to {
    opacity: 1;
  }
}

@-webkit-keyframes fadeOut {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

@-moz-keyframes fadeOut {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

@keyframes fadeOut {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}
