body, html {
    width: 100%;
    height: 100%;
    margin: 0;
    overflow: hidden;
    display: flex;
    
    justify-content: center;
    background-color: #000;
  }
  
  #unity-container, #loading-screen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
  
  #unity-container {
    display: none;
  }

  /* Элемент для бесконечной анимации дороги */
  #infinite-road {
    filter:  drop-shadow(0 0 0.75rem rgb(22, 4, 8));
    position: fixed;
    align-self: center;
    rotate: -25deg;
    width: 100vw;
    height: 40vh; /* можно настроить по высоте дороги */
    scale: 1.5;
    background-image: url('/TemplateData/bridge.png');
    background-repeat: repeat-x;
    background-size: auto 100%;
    animation: slide 50s linear infinite;
    z-index: 200;

  }

    /* Элемент для бесконечной анимации дороги */
    #background {
      position: fixed;
      align-self: center;
      width: 100vw;
      height: 100vh; /* можно настроить по высоте дороги */
      background-image: url('/TemplateData/bg.jpg');
      background-repeat: repeat-x;
      background-size: auto 100%;

      z-index: 1;
    }
  
  #loading-screen {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #000;
    flex-direction: column;
  }

  #server-version{
    text-shadow: 1px 1px 20px black;
    font-family: 'Gunterz', sans-serif;
    top: 10%;
    font-size: 5vw;
    color: azure;
    z-index: 1;
    position: absolute;
  }

  #disclaimer{
    text-shadow: 1px 1px 20px black;
    text-align: center;
    font-family: 'Gunterz', sans-serif;
    bottom: 10%;
    font-size: 2vw;
    color: azure;
    z-index: 10;
    position: absolute;
  }

  #loading-container-bg{
    width:30vw;
    height:30vw;
    max-width: 15rem;
    max-height: 15rem;
    display: flex;
    justify-content: space-around;
    align-items: center;
    background-image: url('/TemplateData/speedometer.png');
    background-size: auto 100%;
    z-index: 3;
    filter:  drop-shadow(0 0 0.75rem rgb(22, 4, 8));
    
  }

  #loading-container {
    width: 30vw;
    height: 30vw;
    max-width: 15rem;
    max-height: 15rem;
    position: relative;
    background-image: url('/TemplateData/speedometer.png');
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 3;
  }
  
 

  #arrow{
    width: 10%;
    height: 10%;
    rotate: 40deg;
    border-radius: 100%;
    display: flex;
    justify-content: space-around;
    vertical-align: middle;
    background-color: aliceblue;
  }
  #arrow-line{
    width: 15%;
    height: 500%;
    background-color: aliceblue;
  }




  
  /* Ползунок для теста */
#fill-slider {
  position: absolute;
  bottom: 5%;
  left: 50%;
  transform: translateX(-50%);
  width: 50vw;
  max-width: 20rem;
  z-index: 999;
}
  
  .loading-text {
    margin-top: 35px;
    text-align: center; 
    width: 100%;
  }
  
  @keyframes spin {
    0% {
      transform: rotate(0deg);
    }
    75% {
      transform: rotate(50deg);
    }
    100% {
      transform: rotate(220deg);
    }
  }
