@font-face {
  font-family: 'Museo Slab 500';
  src: url('/assets/fonts/Museo_Slab_500.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

.loader {
  width: 40svw;
  height: 7svh;
  border-radius: 15px;
  outline: solid white 0.7svh;
  background:
  linear-gradient(var(--red) 0 0) 0/0% no-repeat white;
  animation: l1 3s infinite linear;
}

@keyframes l1 {
  100% {background-size:100%}
}

body {
  margin: 0px;
  background-color: #a8a8a8;
}

.hide-overflow {
  overflow: hidden;
  width: 100%;
  height: 100vh;
}

.loading-screen {
  width: 100vw;
  height: 100vh;
  background-color: whitesmoke;
  display: flex;
  flex-direction: column;
  row-gap: 50px;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 999;
}

.loading-logo {
  position: absolute;
  width: 10svh;
  height: 10svh;
  top: 20px;
  left: 20px;
}

.loading-text {
  color: var(--red);
  font-size: 20px;
  text-transform: uppercase;
  font-family: Tahoma, Verdana, Segoe, sans-serif;
}

.portrait-screen {
  display: none;
}

@media screen and (orientation:portrait)
{
  .intro-screen {
    display: none;
  }

  .cubicle-screen {
    display: none;
  }

  .portrait-screen {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100vh;
      display: flex;
      background-color: #a8a8a8;
      background-image: url('/assets/images/legal_wise_rotate.webp');
      background-position: center;
      background-repeat: no-repeat;
      background-size: cover;
      z-index: 99;
  }

  .rotate-block {
      position: absolute;
      display: flex;
      flex-direction: column;
      row-gap: 4vh;
      justify-content: center;
      align-items: center;
      padding: 20px;
      padding-top: 20vh;
      padding-left: 10px;
      width: 100%;
  }

  .rotate-text {
      color: var(--white);
      padding-left: 10px;
      border-left: solid var(--white) 2px;
      font-size: 5vw;
      font-family: Tahoma, Verdana, Segoe, sans-serif;
      font-weight: bold;
      max-width: 22ch;
  }

  .rotate-logo {
      position: absolute;
      width: 60px;
      height: auto;
      top: 20px;
      left: 20px;
  }

  .rotate-img {
      width: 18vw;
      max-width: 100px;
      height: auto;
      animation: rotateIcon 4s infinite;
      -moz-animation: rotateIcon 4s infinite;
      -webkit-animation: rotateIcon 4s infinite;
      -o-animation: rotateIcon 4s infinite;
  }

  @keyframes rotateIcon {
      0% {transform: rotateZ(100deg);}
      100% {transform: rotateZ(459deg);}
  }

  @-moz-keyframes rotateIcon {
      0% {transform: rotateZ(100deg);}
      100% {transform: rotateZ(459deg);}
  }

  @-webkit-keyframes rotateIcon {
      0% {transform: rotateZ(100deg);}
      100% {transform: rotateZ(459deg);}
  }

  @-o-keyframes rotateIcon {
      0% {transform: rotateZ(100deg);}
      100% {transform: rotateZ(459deg);}
  }

  .skip-block {
      position: absolute;
      bottom: 0%;
      right: 0%;
      display: flex;
      flex-direction: column;
      row-gap: 5px;
      justify-content: flex-end;
      align-items: center;
      padding: 20px;
      padding-bottom: 40px;
      width: 25%;
      text-decoration: none;
  }

  .skip-button {
      width: 25%;
      height: auto;
      transform: rotateZ(90deg);
      transform-origin: 25%;
      margin: auto;
  }

  .skip-text {
      color: var(--white);
      font-size: 15px;
      font-family: "Museo Slab 500", sans-serif;
      font-weight: bold;
      text-decoration: none;
  }
}