.page-template-intro .hamburger,
.page-template-intro .pager,
.page-template-intro .map,
.page-template-intro .quests {
  display: none !important;
}

.page-template-template-intro .sound_switch {
  z-index: 100;
}

.page-template-template-intro .time_event_clock {
  display: none;
}

.page-template-template-intro #cookie-notice {
  display: none !important;
}

.skip_intro {
  -webkit-transition: 0.1s ease-in-out;
  -moz-transition: 0.1s ease-in-out;
  -o-transition: 0.1s ease-in-out;
  transition: 0.1s ease-in-out;
  position: absolute;
  z-index: 100;
  right: 40px;
  bottom: 40px;
  color: #fe9431;
  font-family: Mali;
  font-weight: 600;
  font-size: 18px;
}

.skip_intro:hover {
  color: #fff;
}

.section.intro {
  height: 100vh;
  overflow: hidden;
  position: relative;
  background: #59383f;
  background-color: #14001b;
  transform: translateY(0vh);
}

.intro_sky {
  position: absolute;
  background-image: url(../assets/images/intro/intro_bg.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  top: 0;
  width: 106vw;
  height: 100vh;
  animation: intro_sky 30s ease-in-out infinite;
  left: -3vw;
}

@keyframes intro_sky {
  0% {
    left: 0vw;
  }

  25% {
    left: -3vw;
  }

  50% {
    left: 0vw;
  }

  75% {
    left: -3vw;
  }

  100% {
    left: 0vw;
  }
}

.birds {
  position: absolute;
  left: 100%;
  top: 15vh;
  width: 15vh;
  animation: birds 60ms linear infinite;
  -moz-animation: birds 60s linear infinite;
  -webkit-animation: birds 60s linear infinite;
  opacity: 1;
  filter: brightness(0);
}

@keyframes birds {
  0% {
    width: 15vh;
    left: 100%;
    top: 15vh;
  }

  80% {
    left: calc(0% - 15vh);
  }

  100% {
    width: 5vh;
    left: calc(0% - 15vh);
    top: -5vh;
  }
}

.intro_road_cont {
  position: relative;
  top: 0;
  width: 100vw;
  height: 100vh;
  display: block;
  pointer-events: none;
  z-index: 100;
}

.intro_road_wrap {
  position: absolute;
  top: 0;
  width: 100vw;
  height: 50vh;
  display: block;
  left: 0%;
  transform: rotate(7deg);
}

.intro_road {
  background-image: url(../assets/images/intro/road_bg.jpg);
  background-repeat: repeat-y;
  background-size: 300vw auto;
  background-position: center 0%;
  height: 200vw;
  width: 400vw;
  position: absolute;
  animation: road 1.5s linear infinite;
  top: 34vh;
  left: -150%;
  transform-style: preserve-3d;
  transform-origin: top;
  transform: perspective(35vh) translateZ(-80vw) translateX(24vw)
    translateY(0vw) rotatex(85deg);
  pointer-events: none;
}

@keyframes road {
  0% {
    background-position: center 0%;
  }

  100% {
    background-position: center 300%;
  }
}

.wheel_shadow {
  position: absolute;
  bottom: 0vh;
  left: 58.5vw;
  height: 10vh;
  pointer-events: none;
  z-index: 9999;
}

.wheel {
  position: absolute;
  bottom: 3.2vh;
  left: 57.9vw;
  height: 32vh;
  pointer-events: none;
  z-index: 9999;
  animation: wheel 3s cubic-bezier(1, 0.07, 0.9, -0.04) 0s infinite;
}

@keyframes wheel {
  0% {
    bottom: 3.2vh;
  }
  10% {
    bottom: 3.2vh;
  }
  11% {
    bottom: 3.5vh;
  }
  12% {
    bottom: 3.2vh;
  }
  13% {
    bottom: 3.5vh;
  }
  15% {
    bottom: 3.2vh;
  }
  45% {
    bottom: 3.2vh;
  }
  46% {
    bottom: 3.8vh;
  }
  47% {
    bottom: 2.8vh;
  }
  48% {
    bottom: 3.5vh;
  }
  50% {
    bottom: 3.2vh;
  }
  100% {
    bottom: 3.2vh;
  }
}

.car_cont {
  position: absolute;
  bottom: 0;
  left: 57vw;
  height: 87vh;
  pointer-events: none;
  z-index: 9999;
  width: auto;
  -webkit-animation: car_swing 2s ease-in-out infinite;
  -moz-animation: car_swing 2s ease-in-out infinite;
  animation: car_swing 2s ease-in-out infinite;
}

.intro_car {
  bottom: 0;
  left: 57vw;
  height: 87vh;
  pointer-events: none;
  z-index: 9999;
  width: auto;
}

@keyframes car_swing {
  0% {
    transform: translatey(0);
  }
  50% {
    transform: translatey(0.5vh);
  }
  100% {
    transform: translatey(0);
  }
}

.tree {
  position: absolute;
  top: 33.5%;
  left: 44.5%;
  height: 10vh;
  pointer-events: none;
  z-index: 9999;
  width: auto;
  -webkit-animation: tree_swing 10s ease-in-out infinite;
  -moz-animation: tree_swing 10s ease-in-out infinite;
  animation: tree_swing 10s ease-in-out infinite;
  transform-origin: 50% 0%;
}

@keyframes tree_swing {
  0% {
    transform: rotate(-30deg) rotate3d(0, 1, 0, 40deg);
  }
  10% {
    transform: rotate(-28deg) rotate3d(0, 1, 0, -35deg);
  }
  20% {
    transform: rotate(-40deg) rotate3d(0, 1, 0, 35deg);
  }
  30% {
    transform: rotate(-26deg) rotate3d(0, 1, 0, -25deg);
  }
  40% {
    transform: rotate(-24deg) rotate3d(0, 1, 0, 30deg);
  }
  50% {
    transform: rotate(-10deg) rotate3d(0, 1, 0, -50deg);
  }
  55% {
    transform: rotate(-2deg) rotate3d(0, 1, 0, 0deg);
  }
  60% {
    transform: rotate(-30deg) rotate3d(0, 1, 0, 40deg);
  }
  65% {
    transform: rotate(-28deg) rotate3d(0, 1, 0, -35deg);
  }
  70% {
    transform: rotate(-40deg) rotate3d(0, 1, 0, 35deg);
  }
  75% {
    transform: rotate(-26deg) rotate3d(0, 1, 0, -25deg);
  }
  80% {
    transform: rotate(-24deg) rotate3d(0, 1, 0, 30deg);
  }
  90% {
    transform: rotate(-10deg) rotate3d(0, 1, 0, -50deg);
  }
  100% {
    transform: rotate(-30deg) rotate3d(0, 1, 0, 40deg);
  }
}

.smoke {
  position: absolute;
  top: 21vh;
  left: -8vh;
  height: auto;
  pointer-events: none;
  z-index: 10000;
  mix-blend-mode: hard-light;
  filter: blur(4px);
  transform: scale(-1, 1) rotate(-20deg);
  transform-origin: 50%;
  width: 100vh;
}

.page-template-intro .top_text,
.page-template-intro .site-header {
  display: none;
}

.sign {
  position: absolute;
  top: 31.5vh;
  left: calc(50% + 15vh);
  height: 6vh;
  transform-origin: 68% 77%;
  z-index: 9999;
  animation: intro_sign 10s cubic-bezier(1, 0.07, 0.9, -0.04) 0s infinite;
  transform: scale(1.5);
}

@keyframes intro_sign {
  0% {
    transform: scale(0);
    left: calc(50% + 15vh);
  }
  1% {
    opacity: 1;
  }
  20% {
    transform: scale(25);
    left: calc(100% + 175vh);
    top: 100%;
  }
  100% {
    transform: scale(25);
    left: calc(100% + 175vh);
    top: 100%;
  }
}

.bush {
  position: absolute;
  top: 30vh;
  right: 53%;
  z-index: 9999;
  height: 3vh;
  animation: intro_bush_l 3s cubic-bezier(1, 0.01, 0.9, -0.04) 0s infinite;
  transform-origin: 100% 100%;
  pointer-events: none;
}

@keyframes intro_bush_l {
  0% {
    transform: translateY(0%) scale(0);
    right: 53%;
  }
  5% {
    opacity: 1;
  }
  53% {
    transform: translateY(-50%) scale(20);
    right: 78%;
    top: 100vh;
  }
  54% {
    opacity: 0;
  }
  100% {
    opacity: 0;
    transform: translateY(0%) scale(0);
    right: 53%;
  }
}

.bush2 {
  position: absolute;
  top: 26vh;
  right: 57%;
  z-index: 9999;
  height: 5vh;
  animation: intro_bush_l2 2s cubic-bezier(1, 0.07, 0.9, -0.04) 1.3s infinite;
  transform-origin: 100% 100%;
  pointer-events: none;
  transform: translateY(0%) scale(0);
}

@keyframes intro_bush_l2 {
  0% {
    transform: translateY(0%) scale(0);
    right: 57%;
  }
  2.5% {
    opacity: 1;
  }
  50% {
    transform: translateY(-50%) scale(25);
    right: 100%;
    top: 100%;
  }
  51% {
    transform: translateY(-50%) scale(25);
    right: 100%;
    top: 100%;
  }
  100% {
    transform: translateY(-50%) scale(25);
    right: 100%;
    top: 100%;
  }
}

.intro_copyright {
  font-size: 12px;
  font-family: Mali;
  font-weight: 500;
  color: #000;
  position: absolute;
  bottom: 2vh;
  left: 50%;
  transform: translateX(-50%);
  z-index: 999;
}

.intro_menu_cont {
  position: absolute;
  left: 12vw;
  top: 0;
  z-index: 99999;
  text-align: center;
  width: 25vw;
  height: 100vh;
  background-image: url(../assets/images/intro/menu_bg.png);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  padding: 5vh 2vh;
  min-width: 280px;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-direction: column;
  flex-direction: column;
  -webkit-flex-wrap: nowrap;
  flex-wrap: nowrap;
  -webkit-justify-content: space-between;
  justify-content: space-between;
  -webkit-align-content: stretch;
  align-content: stretch;
  -webkit-align-items: center;
  align-items: center;
}

.hmg_logo {
  width: 8vw;
  min-width: 150px;
}

.intro_menu {
  padding: 0;
  margin: 2vh 0;
  list-style: none;
}

.intro_menu li a {
  font-size: 14px;
  font-family: JetBrains Mono;
  font-weight: 600;
  color: #fff !important;
  text-decoration: none !important;
  padding: 0 0 2px;
  display: inline-block;
  margin: 0 0 10px;
  line-height: 20px;
  -webkit-transition: 0.1s ease-in-out;
  -moz-transition: 0.1s ease-in-out;
  -o-transition: 0.1s ease-in-out;
  transition: 0.1s ease-in-out;
  vertical-align: text-top;
  width: 100%;
}

.intro_menu li:hover a,
.intro_menu li:focus a {
  color: #000 !important;
}

.menu_sep {
  margin: 1vh auto 2vh;
  display: block;
  background: #fff;
  height: 1px;
  width: 6vh;
}

.find_us {
  font-size: 10px;
  font-family: JetBrains Mono;
  font-weight: 400;
  color: #fff !important;
  text-decoration: none !important;
  padding: 0 0 2px;
  display: block;
  margin: 0 0 10px;
  line-height: 14px;
  letter-spacing: 4px;
  width: 100%;
}

.cos_icons {
  display: -webkit-flex;
  display: flex;
  -webkit-flex-direction: row;
  flex-direction: row;
  -webkit-flex-wrap: nowrap;
  flex-wrap: nowrap;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-align-content: stretch;
  align-content: stretch;
  -webkit-align-items: center;
  align-items: center;
}

.soc_icon {
  height: 2.6vh;
  margin: 0 0.5vh;
  -webkit-transition: 0.2s ease-in-out;
  -moz-transition: 0.2s ease-in-out;
  -o-transition: 0.2s ease-in-out;
  transition: 0.2s ease-in-out;
}

.cos_icons:hover .soc_icon {
  opacity: 0.5;
}

.cos_icons:hover .soc_icon:hover,
.cos_icons:hover .soc_icon:focus {
  transform: scale(1.2);
  opacity: 1 !important;
}

/* .intro_logo {
  height: 40vh;
  width: auto;
  pointer-events: none;
  max-width: 50vw;
  margin: 0 0 10vh;
} */

.intro_greet {
  font-size: 16px;
  font-family: Mali;
  color: #ffa000;
  text-decoration: none !important;
  margin: 0 0 2vh;
  font-weight: 600;
}

@media screen and (max-width: 1199px) {
  .intro_palma,
  .intro_palma2,
  .intro_palma3,
  .intro_palma4 {
    display: none;
  }
}

@media screen and (max-width: 600px) {
  .page-template-template-intro .site-content {
    padding-top: 0px;
    min-width: 0px !important;
  }

  .skip_intro {
    position: fixed;
    top: auto;
    bottom: 40px;
    right: 20px;
  }

  .intro_button {
    bottom: 25vh;
  }

  .page-template-template-intro .sound_switch {
    bottom: 30px;
  }

  .intro_copyright {
    position: fixed;
    text-align: center;
  }
}

.road_block {
  position: absolute;
  top: 0;
  left: 50%;
  height: 100vh;
  transform: translate(-50%);
  z-index: 10000;
  pointer-events: none;
}
