:root {
  --white: white;
  --black: black;
  --red: rgba(226,10,22,1);
}

@font-face {
  font-family: 'Museo Slab 300';
  src: url('/assets/fonts/Museo_Slab_300.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

.intro-screen, .cubicle-screen {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100vh;
  min-height: 300px;
  z-index: 10;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: flex-start;
  transition: opacity 0.8s ease;
}

.cubicle-screen {
  display: none;
}

.intro-video-wrapper {
  width: 100%;
  height: 100%;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  overflow: hidden;
  position: fixed;
}

.intro-vid {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@-moz-document url-prefix() {
  .intro-vid {
    object-fit: fill;
  }
}

.intro-vid::-webkit-scrollbar {
  display: none;
}

.intro-vid-end {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.menu {
  width: 100%;
  padding-left: 3rem;
  padding-right: 3rem;
  margin-bottom: 1rem;
  align-self: flex-start;
  background-color: var(--white);
  z-index: 4;

  display: none;
}

.menu-wrapper {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

.menu-logo {
  height: 5rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
  cursor: pointer;
}

.menu-group {
  display: flex;
  flex-direction: row;
  max-width: 50%;
  column-gap: 4rem;
}

.details-button {
  position: relative;
  border: solid var(--red) 2px;
  border-radius: 5px;
  font-family: Tahoma, Verdana, Segoe, sans-serif;
  text-transform: uppercase;
  color: var(--red);
  font-size: 1.1rem;
  padding-left: 2rem;
  padding-right: 2rem;
  text-decoration: none;
  margin-top: 2.1rem;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.details-button:hover {
  color: white;

  .red-button-bg {
      height: 100%;
  }
}

.red-button-bg {
  position: absolute;
  top: auto;
  bottom: 0px;
  width: 100%;
  height: 0px;
  background-color: var(--red);
  transition: all 400ms ease;
  z-index: -1;
}

.hamburger {
  cursor: pointer;
  height: 3rem;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.hamburger#side-menu-button {
  opacity: 0;
}

.pop-up-dialog {
  position: relative;
  z-index: 1;
  background-color: var(--white);
  border-radius: 1rem;
  max-width: 70ch;
  min-width: 30rem;
  padding: 2rem;
  padding-top: 3rem;
  border: none;
}

.pop-up-dialog::backdrop {
  position: fixed;
  height: 100%;
  width: 100%;
  background: rgba(255, 255, 255, 0.13);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(7.4px);
  -webkit-backdrop-filter: blur(7.4px);
  border: none;
  outline: none;
}

.pop-up-heading {
  font-family: Tahoma, Verdana, Segoe, sans-serif;
  font-size: 1.5rem;
  line-height: 1;
  font-weight: 400;
  color: var(--red);
  margin-top: 0px;
  margin-bottom: 0.8rem;
}

.pop-up-text {
  font-family: Tahoma, Verdana, Segoe, sans-serif;
  font-size: 1rem;
  line-height: 1.4;
  font-weight: 400;
  margin-top: 0px;
}

.text-link {
  color: red;
  text-decoration: none;
}

.pop-up-dialog > p:last-child {
  margin-bottom: 0px;
}

.close-button {
  color: var(--black);
  position: absolute;
  top: 1.1rem;
  left: auto;
  right: 2rem;
  width: 2.5rem;
  height: 2.5rem;
  background-color: transparent;
  outline: none;
  border: none;
  cursor: pointer;
}

.close-button:hover {
  opacity: 0.6;
}

.welcome-banner {
  background-color: var(--red);
  color: var(--white);
  padding: 0.7rem;
  font-family: Tahoma, Verdana, Segoe, sans-serif;
  line-height: 1.1;
  font-weight: 400;
  font-size: 1.1rem;
  z-index: 1;
  position: absolute;
  top: auto;
  left: 0;
  right: 0;
  bottom: auto;
  overflow: hidden;
  animation: banner-fade 21s ease 1 forwards;
}

.welcome-text {
  margin: 0;
  animation: banner 20s linear 1 forwards;
}

@keyframes banner {
  0% {transform: translateX(100%);}
  100% {transform: translateX(-50%);}
}

@keyframes banner-fade {
  0% {opacity: 1;}
  95% {opacity: 1;}
  100% {opacity: 0;}
}

.side-menu {
  position: absolute;
  display: flex;
  top: 0;
  left: auto;
  right: 0;
  bottom: 0;
  z-index: 10;
  height: 100%;
  width: 0px;
  overflow: hidden;
  background-color: rgba(0, 0, 0, .7);
  transition: width 0.5s ease-in;
}

.side-menu-wrapper {
  padding-left: 3rem;
  padding-right: 3rem;
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
}

.hamburger-wrapper {
  display: flex;
  flex-direction: row;
  align-content: center;
  justify-content: flex-end;
}

.side-menu-overflow {
  overflow: scroll;
  -ms-overflow-style: none;
  scrollbar-width: none;
  padding-bottom: 50px;
}

.side-menu-button {
  color: #fff;
  border-bottom: 2px solid #fff;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  font-family: Tahoma, Verdana, Segoe, sans-serif;
  font-size: 1.7rem;
  font-weight: 400;
  line-height: 1;
  text-decoration: none;
  text-wrap: nowrap;
  white-space: nowrap;
  display: block;
  cursor: pointer;
  transition: all 0.2s ease;
}

.side-menu-button:hover {
  color: var(--red);
  font-weight: 700;
}

.labels {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  height: 100%;
  width: 100%;

  display: none;
}

.cubicle-label {
  position: absolute;
  color: white;
  font-family: Tahoma, Verdana, Segoe, sans-serif;
  text-transform: uppercase;
  font-size: 1rem;
  line-height: 1;
  overflow: hidden;
  width: auto;
}

.cubicle-label > div {
  padding: 0.6rem;
  transition: all ease-in 0.5s;
  background-color: var(--red);
}

#label-1 {
  top: 45vh;
  left: 0%;
  font-size: 36px;
  z-index: 5;
}

#label-2 {
  top: 45vh;
  left: 18.5%;
  font-size: 30px;
  z-index: 4;
} 

#label-3 {
  top: 45vh;
  left: 31.3%;
  font-size: 24px;
  z-index: 3;
}

#label-4 {
  top: 45vh;
  left: 36.6%;
  font-size: 18px;
  z-index: 2;
}

#label-5 {
  top: 45vh;
  left: 39.5%;
  font-size: 12px;
  z-index: 1;
}

#label-6 {
  top: 45vh;
  right: 0%;
  font-size: 36px;
  z-index: 5;
}

#label-7 {
  top: 45vh;
  right: 21.5%;
  font-size: 30px;
  z-index: 4;
}

#label-8 {
  top: 45vh;
  right: 33%;
  font-size: 24px;
  z-index: 3;
}

#label-9 {
  top: 45vh;
  right: 37.8%;
  font-size: 18px;
  z-index: 2;
}

#label-10 {
  top: 45vh;
  right: 40.5%;
  font-size: 12px;
  z-index: 1;
}

.labels div.cubicle-label:nth-child(n + 5) {
  > div {
      transform: translateX(110%);
      transform-origin: right;
  }
}

.labels div.cubicle-label:nth-child(-n + 5) {
  > div {
      transform: translateX(-110%);
  }
}

.intro-screen:has(> div.navigation > div#icon-1:hover) > div.labels > div#label-1 > div {
  transform: translateX(0%);
} 

.intro-screen:has(> div.navigation > div#icon-2:hover) > div.labels > div#label-2 > div {
  transform: translateX(0%);
}

.intro-screen:has(> div.navigation > div#icon-3:hover) > div.labels > div#label-3 > div {
  transform: translateX(0%);
}

.intro-screen:has(> div.navigation > div#icon-4:hover) > div.labels > div#label-4 > div {
  transform: translateX(0%);
}

.intro-screen:has(> div.navigation > div#icon-5:hover) > div.labels > div#label-5 > div {
  transform: translateX(0%);
}

.intro-screen:has(> div.navigation > div#icon-6:hover) > div.labels > div#label-6 > div {
  transform: translateX(0%);
}

.intro-screen:has(> div.navigation > div#icon-7:hover) > div.labels > div#label-7 > div {
  transform: translateX(0%);
}

.intro-screen:has(> div.navigation > div#icon-8:hover) > div.labels > div#label-8 > div {
  transform: translateX(0%);
}

.intro-screen:has(> div.navigation > div#icon-9:hover) > div.labels > div#label-9 > div {
  transform: translateX(0%);
}

.intro-screen:has(> div.navigation > div#icon-10:hover) > div.labels > div#label-10 > div {
  transform: translateX(0%);
}

.instructions, .info {
  align-self: flex-end;
  z-index: 3;
  overflow: hidden;
  transition: transform 0.7s ease-in, opacity 0.4s ease-out;
  transform: translateX(-110%);

  display: none;
}

.instructions-wrapper, .info-wrapper {
  position: relative;
  background: rgba(255, 255, 255, 0.13);
  border-top-right-radius: 1rem;
  border-bottom-right-radius: 1rem;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(7.4px);
  -webkit-backdrop-filter: blur(7.4px);
  border: 1px solid rgba(255, 255, 255, 0.01);
  transition: opacity 0.5s ease-out, width 0.6s ease-out;
  padding: 1.5rem;
  padding-left: 2.5rem;
  padding-right: 5rem;
}

.info-wrapper {
  padding: 2rem;
}

.info-type {
  z-index: 1;
  color: var(--white);
  margin-top: 0;
  font-family: 'Museo Slab 500';
  font-weight: 300;
  font-size: 1rem;
  line-height: 1;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.instructions-heading, .info-heading {
  z-index: 1;
  color: white;
  margin-top: 0;
  font-family: Tahoma, Verdana, Segoe, sans-serif;
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 1rem;
  max-width: 20ch;
} 

.paragraph {
  color: white;
  font-family: Tahoma, Verdana, Segoe, sans-serif;
  font-size: 1.1rem;
  line-height: 1.4;
  font-weight: 400;
  margin-top: 0px;
  max-width: 50ch;
  border-left: solid var(--red) 2px;
  padding-left: 0.5rem;
}

.instructions-wrapper > p {
  font-size: 1.1rem;
  margin-left: 1.5rem;
  max-width: 40ch;
}
  
.instructions-arrow {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  width: 3rem;
  height: 3rem;
  animation: downup 1.3s ease-out  infinite;
}

.instructions-action {
  color: white;
  font-family: Tahoma, Verdana, Segoe, sans-serif;
  font-size: 0.7rem;
  text-align: center;
  position: absolute;
  width: 3rem;
  bottom: 4rem;
  right: 0.9rem;
}

.instructions-arrow > img {
  transform: rotate(90deg);
}

@keyframes downup {
  0% {transform: translateY(0px);}
  50% {transform: translateY(-5px);}
  100% {transform: translateY(0px);}
}

.navigation, .swiper-pagination {
  align-self: flex-end;
  margin-bottom: 1rem;
  /* display: flex; */
  flex-direction: row;
  align-items: center;
  justify-content: center;
  width: 100%;
  z-index: 2;
  column-gap: 1rem;

  display: none;
}

.nav-icon, .swiper-pagination-bullet {
  cursor: pointer;
  width: 4rem;
  height: 4rem;
  color: var(--red);
  background-color: #fff;
  border-radius: 50rem;
  padding: 0.5rem;
  transition: all .3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-icon:hover, .swiper-pagination-bullet:hover, .swiper-pagination-bullet-active {
  color: #fff;
  background-color: var(--red);
  transform: scale(1.2);
  margin-left: 0.8rem;
  margin-right: 0.8rem;
}

.menu.cubicle {
  background-color: transparent;
  display: block;
}

.details-button.cubicle {
  border-color: var(--white);
  color: var(--white);
}

.details-button.cubicle:hover {
  color: red;
}

.cubicle > .red-button-bg {
  background-color: var(--white);
}

.swiper {
  height: 100%;
  width: 100%;
  position: fixed;
  min-height: 300px;
  top: 0px;
  bottom: 0px;
  left: 0px;
  right: 0px;
  transition: opacity 1.5s ease;
}

.swiper-pagination {
  display: flex;
}

.swiper-slide {
  height: 100% !important;
  width: auto !important;
  max-width: 100% !important;
}

.cubicle-media {
  object-fit: contain;
  padding-bottom: 0;
  height: 100%;
  margin-right: -1px;
}

.cubicle-still {
  object-fit: contain;
  padding-bottom: 0;
  display: none;
}

.button-right {
  position: absolute;
  top: auto;
  bottom:  1rem;
  right: 0%;
  left: auto;
  display: flex;
  align-items: center;
  max-width: 80px;
  z-index: 3;
}

.button-left {
  position: absolute;
  top: auto;
  bottom: 1rem;
  right: auto;
  left: 0%;
  display: flex;
  align-items: center;
  max-width: 80px;
  z-index: 3;
}

.swiper-button-next {
  cursor: pointer;
  width: 100%;
  height: auto;
}

.swiper-button-prev {
  cursor: pointer;
  transform: rotateZ(180deg);
  width: 100%;
  height: auto;
}

.info {
  display: block;
}

.info-wrapper > p {
  max-width: 45ch;
}

.button-wrapper {
  display: flex;
  flex-direction: row;
  column-gap: 1rem;
}

.cubicle-button {
  background-color: var(--red);
  color: white;
  text-decoration: none;
  border-radius: 10px;
  padding: 0.7rem 1rem;
  font-family: Tahoma, Verdana, Segoe, sans-serif;
  text-transform: uppercase;
  font-size: 1rem;
  font-weight: 500;
  transition: filter .3s;
}

.cubicle-button:hover {
  filter: brightness(85%);
}

@media screen and (min-width: 1400px) {
  .instructions-wrapper {
    padding: 1.8rem;
    padding-left: 2.8rem;
    padding-right: 5.3rem;
  }

  .instructions-heading {
    font-size: 2.5rem;
    margin-bottom: 1.2rem;
    max-width: 25ch;
  }

  .instructions-wrapper > p {
    font-size: 1.1rem;
    max-width: 50ch;
  }
}

@media screen and (max-width: 992px) {

  .menu-group {
      max-width: 80%;
  }

  .menu-logo {
      height: 2.5rem;
      margin-top: 0.6rem;
      margin-bottom: 0.6rem;
  }

  .hamburger {
      height: 2.5rem;
      margin-top: 0.6rem;
      margin-bottom: 0.6rem;
  }

  .details-button {
      margin-top: 0.6rem;
      margin-bottom: 0.6rem;
  }

  .side-menu-button {
      padding-top: 1rem;
      padding-bottom: 1rem;
      font-size: 1.2rem;
  }

  .instructions-wrapper {
      padding: 1rem;
      padding-right: 4rem;
  }

  .info-wrapper {
      padding: 1rem;
  }

  .instructions-heading {
      font-size: 1.4rem;
      margin-bottom: 0.5rem;
  }

  .instructions-wrapper > p {
      font-size: 1rem;
      margin-bottom: 0;
  }

  .paragraph {
      font-size: 0.9rem;
  }

  .instructions-arrow {
      right: 0.5rem;
      bottom: 0.5rem;
  }

  .instructions-action {
    bottom: 3.5rem;
    right: 0.4rem;
  }

  .navigation, .swiper-pagination {
      column-gap: 0.5rem;
      margin-bottom: 0.6rem;
  }

  .nav-icon, .swiper-pagination-bullet {
      width: 3rem;
      height: 3rem;
  }

  .button-right {
    position: absolute;
    top: 50%;
    bottom:  auto;
    right: 0%;
    left: auto;
    display: flex;
    max-width: 50px;
  }

  .button-left {
    display: none;
  }

  .info-heading {
      font-size: 1.5rem;
      margin-bottom: 0.4rem;
  }

  .info-wrapper > p {
      font-size: 0.75rem;
  }

  .info-type {
    font-size: 0.7rem;
    margin-bottom: 0.5rem;
  }

  .cubicle-button {
      font-size: 0.8rem;
      padding: 0.5rem 0.8rem;
      border-radius: 5px;
  }
}

@media screen and (max-width: 576px) {
  body {
      min-height: 300px;
  }

  .menu {
    padding-left: 2rem;
    padding-right: 2rem;
  }
  

  .menu-logo {
      height: 2.2rem;
      margin-top: 0.4rem;
      margin-bottom: 0.4rem;
  }

  .hamburger {
      height: 2.2rem;
      margin-top: 0.4rem;
      margin-bottom: 0.4rem;
  }

  .details-button {
      margin-top: 0.4rem;
      margin-bottom: 0.4rem;
      font-size: 0.9rem;
  }

  .pop-up-dialog {
    position: relative;
    z-index: 1;
    background-color: var(--white);
    border-radius: 1rem;
    max-width: 60ch;
    padding: 1.5rem;
    padding-top: 3rem;
  }

  .close-button {
    color: var(--black);
    position: absolute;
    top: 0.8rem;
    right: 1rem;
  }

  .menu-group {
    column-gap: 2rem;
  }

  .side-menu-wrapper {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .instructions-heading {
      font-size: 1.2rem;
      margin-bottom: 0.4rem;
  }

  .instructions-wrapper {
      padding-right: 2rem;
  }

  .instructions-wrapper > p {
      margin-left: 0.7rem;
      font-size: 0.8rem;
  }

  .instructions-arrow {
      width: 2.4rem;
      bottom: 0rem;
  }

  .instructions-action {
    width: 2.4rem;
    bottom: 3rem;
  }

  .navigation, .swiper-pagination {
      column-gap: 0.3rem;
      margin-bottom: 0.1rem;
  }

  .nav-icon, .swiper-pagination-bullet {
      width: 2.2rem;
      height: 2.2rem;
      padding: 0.3rem;
  }

  .info-heading {
      font-size: 1.2rem;
  }

  .info-wrapper {
      padding: 0.6rem;
  }

  .info-wrapper > p {
      font-size: 0.65rem;
  }
}