:root {
  --background-color: black;
  --text-color: white;
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--background-color);
  height: 100svh;
  max-height: 100svh;
  font-family: 'Helvetica', sans-serif;
  user-select: none;
}

.background-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  filter: blur(8px) grayscale(100%) contrast(130%);
}

.info {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--text-color);
  text-align: center;
}

.logo {
  height: 5rem;
}

#loading-screen {
  position: absolute;
  top: 0;
  left: 0;
  background-color: black;
  width: 100%;
  height: 100%;
  z-index: 100;
  transition: opacity 1s ease-out;
  padding: 1rem;
  overflow: hidden;
  display: flex;
  gap: 1rem;
  padding-top: 2rem;
  color: white;
  flex-direction: row !important;
}

.row {
  width: 100% !important;
}

.column {
  flex-direction: column !important;
}

#loading-screen.hidden {
  opacity: 0;
  pointer-events: none;
}

.loading-logo {
  font-family: 'Chelon', sans-serif;
  white-space: nowrap;
  overflow: hidden;
  opacity: 0;
}

.fit-text {
  display: inline-block;
  white-space: nowrap;
  width: fit-content;
  padding: 0;
  margin: 0;
  line-height: 1;
  vertical-align: top;
  margin-bottom: -1rem;
}

.char {
  transform: translateY(125%);
  transition: transform .4s;
  padding: 0;
  margin: 0;
  line-height: 1;
  vertical-align: top;
}

@media (max-width: 768px) {
  #loading-screen {
    flex-direction: column !important;
  }
}

@font-face {
  font-family: 'Helvetica';
  src: url('/assets/helvetica.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Chelon';
  src: url('/assets/chelon.ttf') format('opentype');
  font-weight: normal;
  font-style: normal;
}