:root {
    --main-bg-color: #f2f2f2;
    --main-text-color: #666;
    --main-accent-color: #36D120;
}

@font-face {
  font-family: RobotoMedium;
  src: url(assets/interface/Fonts/Roboto/Roboto-Medium.ttf);
  font-weight: bold;
}

@font-face {
  font-family: RobotoRegular;
  src: url(assets/interface/Fonts/Roboto/Roboto-Regular.ttf);
  font-weight: 200;
}

@font-face {
  font-family: RobotoLight;
  src: url(assets/interface/Fonts/Roboto/Roboto-Light.ttf);
  font-weight: 100;
}

* {
  font-family: robotoMedium;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-user-select: none;
  /* Safari */
  -ms-user-select: none;
  /* IE 10 and IE 11 */
  user-select: none;
  /* Standard syntax */
}

body {
  display: flex;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;

  background: rgb(214, 225, 251);
  flex-wrap: wrap;
  justify-content: end;

  overflow: hidden;
}

#turntable {
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    user-select: none;
}

#img {
    width: 100%;
    height: 100%;
    /*border: 10px;*/
    object-fit: cover;
    pointer-events: none;
    user-select: none;
}

#loader {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background-color: var(--main-bg-color);
    z-index: 0;
    font-family: RobotoRegular;
}

.loader{
    background-color: var(--main-bg-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: absolute;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    transition-duration: .4s;
    pointer-events: none;
  }

  .loader svg {
    pointer-events: none;
    scale: 3;
  }

  .loader h3 {
    color: var(--main-text-color);
    font-weight: 400;
  }
  .loader h1 {
    color: var(--main-text-color);
    font-weight: 600;
  }

  .loader-svg {
    width: calc( 24px * 3);
    height: calc( 15px * 3);
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 10px;
  }

  .loading-bar {
    width: 20em;
    height: 10px;
    background-color: #ffffff;
    border-radius: 5px;
  }

  .loading-bar-inner {
    height: 100%; 
    background-color: var(--main-accent-color);
    border-radius: 5px;
    width: 10px;
  }
  

  svg path,
  svg rect{
    fill: var(--main-accent-color);
  }

  #chrono {
    z-index: 3;
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 10px;
    display: flex;
    padding: 70px 10px 10px 10px;
    max-height: calc(100% - 185px);
  
    border-radius: 7px;
  
    background-color: #f1f3f4;
    transition: all 0.5s ease-in-out;
    max-width: 550px;
  
    -webkit-box-shadow: 0px 0px 16px 1px rgba(0, 0, 0, 0.3);
    box-shadow: 0px 0px 16px 1px rgba(0, 0, 0, 0.3);
  }
  
  @media (orientation: landscape) {
    #chrono {
      max-height: calc(100% - 20px);
      max-width: 400px;
    }
  }
  
  @media (orientation: portrait) {
    #chrono {
      max-height: calc(100% - 185px);
      max-width: 550px;
    }
  }
  
  .chronoShrink {
    max-height: 72px !important;
    padding: 5px !important;
  }
  
  #innerChrono {
    flex-grow: 1;
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    overflow-y: auto;
    scrollbar-width: none;
  
  }
  
  .chronoShrink>#innerChrono {
    pointer-events: none !important;
  }
  
  .chronoItem {
    overflow: hidden;
    cursor: pointer;
    position: relative;
    width: 100%;
    display: flex;
    gap: 0px;
    flex-direction: column;
    justify-content: center;
    padding: 5px 10px 5px 30px;
    border-radius: 7px;
    height: auto;
    max-height: 250px;
    min-height: 57px;
    background-color: white;
    box-sizing: border-box;
    transition: all 0.5s linear;
    flex-shrink: 0;
  }
  
  .chronoShrink>#innerChrono>.chronoItem {
    width: calc(100% - 40px) !important;
    max-height: 57px !important;
  }
  
  .chronoItemVisible::after {
    content: "";
    width: 40px;
    height: calc(100% - 5px);
    position: absolute;
    right: 0;
    bottom: 0;
    background-image: url(assets/interface/view_grey.png);
    background-position: top;
    background-size: 50%;
    background-repeat: no-repeat;
    opacity: 25%;
  }
  
  .chronoItemVisible {
    border: 2px dotted #818181;
  }
  
  .chronoItemColorBg {
    position: absolute;
    left: 5px;
    top: 5px;
    bottom: 5px;
    display: none;
    border-radius: 5px;
    width: 20px;
  }
  
  .chronoItemVisible>.chronoItemColorBg {
    display: block !important;
  }
  
  .chronoItem>h2,
  .chronoItem>p {
    z-index: 1;
    color: #818181;
    font-family: RobotoRegular;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-shrink: 0;
  }
  
  .chronoItem>h2 {
    text-align: left;
    font-family: RobotoMedium !important;
  }
  
  .chronoItem>p {
    text-align: left;
    font-size: 13px;
  }
  
  .chronoItem>span {
    transition: all 0.5s linear;
    background-color: #f1f3f4;
    color: #818181;
    font-size: 14px;
    width: 100%;
    max-height: 250px;
    padding: 10px;
    border-radius: 5px;
    margin-top: 5px;
    opacity: 1;
    font-family: RobotoRegular;
  }
  
  .chronoShrink>#innerChrono>.chronoItem>span {
    max-height: 0;
    padding: 0px;
    margin-top: 0px;
    opacity: 0;
  }
  
  .chronoShrink>#innerChrono>.chronoItem {
    padding: 0px 10px 0px 30px;
  }
  
  #toggleChrono {
    cursor: pointer;
    z-index: 2;
    position: absolute;
    top: 5px;
    left: 0;
    padding: 20px;
  
    height: 60px;
    width: 100%;
  
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: flex-start;
  }
  
  #toggleChrono>h2 {
    color: #818181;
    transition: opacity 0.25s ease-in-out;
    opacity: 100%;
  }
  
  .chronoShrink>#toggleChrono>h2 {
    opacity: 0%;
  }
  
  #toggleChrono::after {
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    width: 40px;
    height: 100%;
    background-image: url(assets/interface/right-arrow_grey_top.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 40%;
    transition: transform 0.25s ease-in-out;
  
    transform: rotate(180deg);
  }
  
  .chronoShrink>#toggleChrono::after {
    transform: rotate(0deg) !important;
  }

  @media (max-height: 400px) and (max-width: 800px) {
  
    #chrono {
      max-width: 340px !important;
    }
  }

  body::before {
    z-index: 1;
    content: "";
    position: absolute;
    width: 75px;
    height: 75px;
    pointer-events: none;
    background-image: url(assets/interface/Logo_VolumetricStudio_Transparent.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    opacity: 1;
    left: 15px;
    bottom: 90px;
  }
  
  @media screen and (min-width: 672px) {
    body::before {
      right: 15px;
      left: auto;
      bottom: 15px;
    }
  }