@font-face {
  font-family: "Overpass";
  font-weight: 400;
  src: url("../tour/fonts/Overpass-Regular.ttf");
}

@font-face {
  font-family: "Overpass";
  font-weight: 600;
  src: url("../tour/fonts/Overpass-SemiBold.ttf");
}

@font-face {
  font-family: "Overpass";
  font-weight: 700;
  src: url("../tour/fonts/Overpass-Bold.ttf");
}

@font-face {
  font-family: "Overpass";
  font-weight: 900;
  src: url("../tour/fonts/Overpass-Black.ttf");
}

body {
  background-color: grey;
  overflow: hidden;
  height: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
  color: #fff;
  font-family: "Overpass";
  font-weight: normal;
  font-size: 16px;
}

.fullscreen {
  height: 100%;
  position: absolute;
  width: 100%;
  background-image: url("../tour/img/landing-bg.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-color: #1e429b;
}

.flex-centered {
  align-items: center;
  display: flex;
  justify-content: center;
}

.button {
  align-items: center;
  background: transparent;
  border: 2px solid #1e429b;
  box-sizing: border-box;
  color: #1e429b;
  cursor: pointer;
  display: flex;
  font-size: 15px;
  justify-content: center;
  line-height: 23px;
  font-weight: 700;
  padding: 18px 18px 14px;
  pointer-events: all;
  text-align: center;
  text-transform: uppercase;
  transition: all 0.35s cubic-bezier(0.86, 0, 0.07, 1);
  width: 100%;
  min-width: 300px;
  text-decoration: none;
}
.button--landing {
  border: 2px solid #fff;
  color: #fff;
}
.button--landing:hover {
  background: #fff;
  color: #1e429b;
}

.landing {
  cursor: default;
  transition: opacity 0.35s cubic-bezier(0.86, 0, 0.07, 1);
  z-index: 7;
}

.landing__buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.landing__buttons:not(:first-of-type)::before {
  content: "";
  background-color: white;
  width: 0.05rem;
  height: 120%;
  position: absolute;
  top: 60%;
  left: calc(7.2rem / 2 * -1);
  transform: translate(-50%, -50%);
}

@media (max-width: 1024px) {
  .landing__buttons:not(:first-of-type)::before {
    display: none;
  }
}

@media (max-width: 1024px) {
  .landing__buttons {
    width: 100%;
  }

  .button {
    min-width: unset;
  }
}
.landing__buttons .button:nth-of-type(1) {
  margin-bottom: 10px;
}
.landing__container {
  z-index: 15;
  background: #1e429b;
  box-sizing: border-box;
  flex-direction: column;
  position: relative;
  transition: all 0.3s ease-out;
}

.landing__background {
  z-index: 10;
  position: absolute;
  width: 0;
  height: 0;
  transition: all 0.3s ease-out;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #1e429b;
}

.landing__background.-hidden {
  width: 100%;
  height: 100%;
}

@media (min-width: 1025px) {
  .landing__container {
    padding: 0px 21px 25px;
    /* width: 350px; */
  }
}
@media (max-width: 1024px) {
  .landing__container {
    margin-top: 60px;
    padding: 0px 18px 18px;
    width: calc(100% - 30px);
  }
}
.landing__container * {
  transition: opacity 0.35s cubic-bezier(0.86, 0, 0.07, 1);
}
.landing__container--animated {
  animation: landing-container 1.2s cubic-bezier(0.86, 0, 0.07, 1) 0s 1 normal
    forwards;
}
.landing__container--animated * {
  opacity: 1;
}
.landing__logo {
  z-index: 15;
  position: absolute;
  transition: opacity 0.3s ease;
}
.landing__logo.-hidden {
  position: absolute;
  opacity: 0;
}
@media (min-width: 1025px) {
  .landing__logo {
    top: -208px;
  }
}
@media (max-width: 1024px) {
  .landing__logo {
    top: -110px;
    width: 200px;
  }
}

.landing__text {
  z-index: 15;
  font-size: 14px;
  font-weight: 400;
  line-height: 22px;
  display: flex;
  grid-gap: 7.2rem;
  position: relative;
  transition: opacity 0.2s ease-out;
}

.landing__text.-hidden {
  opacity: 0;
}

@media (min-width: 1025px) {
  .landing__text {
    margin: 160px 0px 18px;
  }
}
@media (max-width: 1024px) {
  .landing__text {
    margin: 80px 0px 18px;
    flex-direction: column;
    grid-gap: 1.6rem;
  }
}

.landing--animated {
  animation: landing 1.2s cubic-bezier(0.86, 0, 0.07, 1) 0s 1 normal forwards;
}

.logo {
  pointer-events: all;
  position: absolute;
  transition: opacity 0.35s cubic-bezier(0.86, 0, 0.07, 1);
}
@media (min-width: 1025px) {
  .logo {
    left: 25px;
    top: 18px;
  }
}
@media (max-width: 1024px) {
  .logo {
    left: 2px;
    top: 10px;
  }
}
@media (min-width: 1025px) {
  .logo__img {
    width: 260px;
  }
}
@media (max-width: 1024px) {
  .logo__img {
    width: 166px;
  }
}
.logo--hidden {
  opacity: 0;
  pointer-events: none;
}

/* Video */

.landing__video {
  z-index: 20;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s cubic-bezier(0.86, 0, 0.07, 1);

  width: 100%;
  height: 100%;
  max-width: unset;
  max-height: unset;
}

.landing__video.-open {
  opacity: 1;
  pointer-events: all;
}

.landing__video-source {
  z-index: 1;
  width: 100%;
  height: 100%;
}

.landing__video-source:hover .landing__video-button,
.landing__video-source:active .landing__video-button,
.landing__video-source:hover .landing__video-title,
.landing__video-source:active .landing__video-title {
  bottom: 70px;
}

.landing__video-source video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media (max-width: 1024px) {
  .landing__video-source video {
    object-fit: contain;
    background: black;
  }
}

.landing__video-button {
  z-index: 2;
  position: absolute;
  max-width: 20%;
  bottom: 24px;
  right: 24px;
  transition: bottom 0.2s cubic-bezier(0.86, 0, 0.07, 1);
}

.landing__video-title {
  z-index: 2;
  position: absolute;
  font-weight: bold;
  font-size: 24px;
  left: 24px;
  bottom: 24px;
  max-width: 50%;
  transition: bottom 0.2s cubic-bezier(0.86, 0, 0.07, 1);
}

/* Close button */

#close-video-dubai {
  min-width: unset;
}
