html,
body {
  height: 100%;
  overflow: hidden;
}

html {
  background: #333333;
  height: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
}

body {
  background: #262B30;
  color: #D0CD94;
  max-height: 100%;
  max-width: 100%;
  aspect-ratio: 9/16;
  margin: auto;
  padding: 0;
  position: relative;
  perspective: 3500px;
  font-family: "Rubik", sans-serif;
  font-weight: 600;
}
body.is-preview {
  background: #555555;
}

.refresh-button {
  width: 2.5vw;
  height: 2.5vw;
  position: fixed;
  top: 0;
  left: 0;
  background: transparent;
}

footer {
  height: 7%;
  width: 100%;
  position: absolute;
  margin: 0;
  padding: 0 2vh;
  text-align: center;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}
footer .logo {
  height: 4.5vh;
  visibility: hidden;
  opacity: 0;
  transition: visibility 0.3s, opacity 0.3s;
}
footer .logo.shown {
  visibility: visible;
  opacity: 1;
}
footer .banner {
  display: flex;
  flex-direction: row;
  align-items: center;
}
footer .banner .qr {
  height: 4.5vh;
}
footer .banner > span {
  color: white;
  font-size: 1.65vh;
  margin-right: 1vh;
  font-weight: 400;
}
footer .banner {
  visibility: hidden;
  opacity: 0;
  transition: visibility 0.3s, opacity 0.3s;
}
footer .banner.shown {
  visibility: visible;
  opacity: 1;
}

.popup-footer {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 7%;
  padding: 0 2vh;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}
.popup-footer button.close {
  display: inline-block;
  font-size: 3vh;
  padding: 0 0.6em 0;
  color: #17191b;
  background: #D0CD94;
  cursor: pointer;
  z-index: 15;
  border: none;
  border-radius: 1.75vh;
  font-family: inherit;
  font-weight: inherit;
  text-transform: uppercase;
  margin-left: 0.5vh;
  height: 4vh;
  line-height: 4vh;
  vertical-align: middle;
  visibility: hidden;
  opacity: 0;
  transition: visibility 0.3s, opacity 0.3s;
}
.popup-footer button.close.shown {
  visibility: visible;
  opacity: 1;
}
.popup-footer button.close > svg {
  width: 2.5vh;
  display: inline-block;
  vertical-align: middle;
  margin-top: -0.5vh;
}
.popup-footer .advert-qr {
  display: block;
  height: 4.5vh;
}
.popup-footer .advert-qr-container {
  padding: 0.75vh;
  border-radius: 0.5vh;
  background-color: #00A5CC;
  transform: scale(1.15) translate(-1%, -10%) rotate(4deg);
  z-index: 10;
  visibility: hidden;
  opacity: 0;
  transition: visibility 0.3s, opacity 0.3s;
}
.popup-footer .advert-qr-container.shown {
  visibility: visible;
  opacity: 1;
}

main {
  width: 100%;
  height: 93%;
}
main:not(.shown) {
  pointer-events: none;
}

.shelf {
  height: 33.3%;
  width: 100%;
  background: linear-gradient(to bottom, #262B30 50%, #17191b 100%);
  clip-path: inset(0);
}
body.is-preview .shelf {
  background: linear-gradient(to bottom, transparent 50%, rgba(23, 25, 27, 0.5) 100%);
}
.shelf > .shelf-content {
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-end;
}
.shelf:nth-child(1) > .shelf-content {
  animation: float 7.92s ease-in-out infinite;
}
.shelf:nth-child(2) > .shelf-content {
  animation: float-inv 6.6s ease-in-out infinite;
}
.shelf:nth-child(3) > .shelf-content {
  animation: float 5.94s ease-in-out infinite;
}

body.is-preview .shelf-content {
  animation: none !important;
}

.tile {
  width: 29.25%;
  margin: 0 0.85vh;
  border-radius: 0.5vh 0.5vh 0 0;
  overflow: hidden;
  position: relative;
  transition: visibility 0.3s, opacity 0.3s, transform 0.3s;
  transition-delay: 0.3s;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.05);
  aspect-ratio: 9/16;
  box-shadow: rgba(0, 0, 0, 0.15) 0px 1vh 2vh 0px;
}
main:not(.shown) .tile {
  transition-delay: 0s;
}
main:not(.shown) .tile:not(.flip) {
  visibility: hidden;
  opacity: 0;
}
.tile.lite > .advert:not(.active) {
  display: none;
}
.tile > .advert {
  width: 100%;
  height: 100%;
}
.tile > .advert > video,
.tile > .advert > img {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.tile > .advert > .detail-content {
  display: none;
}
.tile.transitioning {
  transition-delay: 0s;
}
.tile.flip {
  opacity: 0;
  transform: rotateY(-90deg);
}

body.is-preview .tile {
  transition: none !important;
}

@keyframes float {
  0% {
    transform: translatex(0px);
  }
  50% {
    transform: translatex(-0.65vh);
  }
  100% {
    transform: translatex(0px);
  }
}
@keyframes float-inv {
  0% {
    transform: translatex(-0.65vh);
  }
  50% {
    transform: translatex(0px);
  }
  100% {
    transform: translatex(-0.65vh);
  }
}
.popup {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: rotateY(90deg);
  transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
  transition-delay: 0s;
  background: white;
  position: absolute;
  width: calc(100% - 5vh);
  height: 91%;
  left: 2.5vh;
  top: 2vh;
  border-radius: 1vh;
  z-index: 10;
}
body.is-preview .popup {
  display: none !important;
}
.popup.shown {
  opacity: 1;
  visibility: visible;
  transform: rotateY(0deg);
  pointer-events: initial;
  transition-delay: 0.6s;
}
.popup.shown ~ main .tile {
  visibility: hidden;
  opacity: 0;
  transition-delay: 0s;
}
.popup.shown ~ main .tile.flip {
  opacity: 0;
  transform: rotateY(-90deg);
}
.popup button.close {
  display: block;
  position: absolute;
  left: -2vh;
  top: -1.5vh;
}
.popup video,
.popup img {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: inherit;
}
.popup iframe {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: inherit;
}

.adverts-container {
  display: none;
}

body.display-web {
  aspect-ratio: 16/9;
  width: 100%;
  height: auto;
}

body.display-web main {
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #17191b;
}

body.display-web .advert-container {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

body.display-web .advert-media {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}

body.display-web footer {
  display: none !important;
}/*# sourceMappingURL=display-touch.css.map */