* {
  box-sizing: border-box;
}

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

body {
  background: linear-gradient(20deg, #fff9ff, #aed0fd);
}

.header {
  position: absolute;
  opacity: 0;
  top: -100px;
  right: 0;
  left: 0;
  height: 100px;
  text-indent: -9999em;
}

.trailer {
  position: absolute;
  z-index: 2;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  backdrop-filter: blur(5px);
}
.trailer > div {
  background: rgba(0, 0, 0, 0.5);
  position: absolute;
  top: 10%;
  right: 10%;
  bottom: 10%;
  left: 10%;
}
.trailer > div iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
.trailer > div .btn-close-trailer {
  position: absolute;
  right: 0;
  top: 0;
  background: white;
  width: 50px;
  height: 50px;
  transform: translate(50%, -50%);
  border-radius: 25px;
  line-height: 50px;
  text-align: center;
  font-size: 25px;
  color: black;
}
.trailer > div .btn-close-trailer .fa-times {
  vertical-align: middle;
}

.buttons {
  position: absolute;
  z-index: 3;
  top: 10px;
  right: 10px;
  display: flex;
  opacity: 1;
  transition: opacity 200ms ease-in-out;
}
.buttons > a {
  color: black;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.8);
  padding: 15px 30px;
  border-radius: 999px;
  font-size: 18px;
  font-family: Helvetica, sans-serif;
  margin-left: 5px;
  text-align: center;
}
body.trailer-open .buttons {
  pointer-events: none;
  opacity: 0;
}

.posters {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}
.posters .slider {
  height: 100%;
}
.posters .poster {
  height: 100%;
  margin-left: -1px;
}
.posters .poster a {
  display: block;
}
.posters .poster img {
  display: block;
  height: 100%;
  width: 100%;
}
.posters .poster-premiere a {
  position: relative;
}
.posters .poster-premiere video {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.posters .flickity-page-dots .dot {
  background: white;
}
.posters .flickity-prev-next-button {
  background: rgba(0, 0, 0, 0.3);
}
.posters .flickity-prev-next-button .arrow {
  fill: #fff;
}
@media (max-aspect-ratio: 370/568) {
  .posters {
    top: 50%;
    bottom: auto;
    height: 141.4196123147vw;
    margin-top: -70vw;
  }
  .posters .poster {
    margin-left: 0;
  }
  .posters .flickity-prev-next-button {
    background: transparent;
  }
  .posters .flickity-prev-next-button.next {
    right: 0;
  }
  .posters .flickity-prev-next-button.previous {
    left: 0;
  }
  .posters .poster {
    opacity: 0.5;
    transition: opacity 0.5s ease-in-out;
  }
  .posters .poster.is-selected {
    opacity: 1;
  }
}

.social {
  position: absolute;
  bottom: 10px;
  right: 0;
  left: 0;
  text-align: center;
}
.social .social-instagram, .social .social-youtube {
  display: inline-block;
  text-indent: -9999px;
  outline: none;
  width: 48px;
  height: 48px;
  border-radius: 24px;
  background-size: auto 33.6px;
  background-position: center center;
  background-repeat: no-repeat;
  background-color: rgba(255, 255, 255, 0.5);
  margin: 0 3px;
}
.social .social-youtube {
  background-image: url(../img/social-youtube.svg);
}
.social .social-instagram {
  background-image: url(../img/social-instagram.png);
  background-size: auto 31.92px;
}

.header {
  transition: all 1s ease-in-out;
}
body.loading .header {
  opacity: 1;
  top: 50%;
  height: 300px;
  margin-top: -150px;
}

.social,
.posters {
  opacity: 1;
  transition: opacity 1s ease-in-out;
  transition-delay: 0.5s;
}
body.loading .social,
body.loading .posters {
  opacity: 0;
}

body.premiere {
  overflow: auto;
}
body.premiere .premiere-tickets {
  padding: 4vh;
  width: 56.25vh;
  margin: 0 auto;
  font-size: 14px;
  font-size: 2vh;
  color: #666;
  font-family: Helvetica, sans-serif;
}
body.premiere .premiere-cities {
  display: flex;
  flex-wrap: wrap;
}
body.premiere .premiere-city {
  display: flex;
  width: 100%;
  margin: 0.5vh 0;
  line-height: 6vh;
}
body.premiere .premiere-city * {
  vertical-align: middle;
}
body.premiere .premiere-city .premiere-city-name {
  flex: none;
  display: inline-block;
  width: 17vh;
}
body.premiere .premiere-city .premiere-city-links {
  display: flex;
  flex-wrap: wrap;
}
body.premiere .premiere-city a {
  display: inline-block;
  height: 6vh;
  background: rgba(0, 0, 0, 0.1);
  font-size: 0;
  border-radius: 3vh;
  padding: 0 1.5vh;
  margin: 0.5vh;
}
body.premiere .premiere-city a, body.premiere .premiere-city a:link, body.premiere .premiere-city a:visited, body.premiere .premiere-city a:active {
  outline: 0;
  text-decoration: none;
  color: white;
}
body.premiere .premiere-city img {
  display: inline-block;
  height: 60%;
  max-width: 25vh;
  vertical-align: middle;
}
body.premiere .premiere-city b {
  font-size: 2vh;
}
body.premiere .premiere-city img + b {
  margin-left: 1vh;
}
@media (min-aspect-ratio: 1100/847) {
  body.premiere .premiere-tickets {
    width: auto;
  }
  body.premiere .premiere-city {
    width: 50%;
  }
}
