﻿body {
    background: #201f1f;
}

.loading-indicator {
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
    height: 100vh;
    width: 100vw;
    overflow: hidden;
    z-index: 0;
    background: #201f1f;
}

.loading-indicator > img.loading-preview {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    max-width: 150px;
    height: auto;
    pointer-events: none;
}

.loader-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.loader {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    width: 100%;
    height: 100%;
    margin-left: 40px;
}

.loading-logo {
    width: 100px;
    opacity: 0.5;
    transform-origin: "center center";
    transform: scale(0.25);
    margin-bottom: 10px;
}

.loader-progress {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 0;
    max-width: 200px;
    height: 4px;
    opacity: 0.3;
    border-radius: 12px;
    background-color: rgb(80, 80, 80);
    transform-origin: "center center";
    margin-bottom: 4px;
}

.loader-progress-bar {
    width: 0%;
    height: 5px;
    border-radius: 12px;
    background-color: #fff;
    transition: width 0.75s ease;
}

.counter-container {
    align-self: end;
    display: flex;
    justify-content: end;
    align-items: center;
    font-family: sans-serif;
    font-size: clamp(0.8rem, 1.4vw, 1.6rem);
    font-weight: 500;
    width: 100%;
    min-width: 26px;
    line-height: 1;
    gap: 1px;

    opacity: 0;
    color: rgb(132, 129, 129);
}

.counter-container > .odometer {
    transform: translateY(4px);
}

@media (min-width: 1025px) {
  .counter-container {
      min-width: 30px;
      font-size: clamp(0.8rem, 1.15vw, 1.6rem);
  }

  .loader-progress {
      margin-bottom: 6px;
  }

  .loader-container {
      gap: 10px;
  }
}
