/* Ключевые кадры для анимации парения */
@keyframes float {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-8px);
  }
}

/* GEM ANIMATION */
.p-hero-gem {
  animation: float 3s ease-in-out infinite;
  will-change: transform;
}

.p-hero-gem.is-1 {
  animation-delay: 0s;
}

.p-hero-gem.is-2 {
  animation-delay: 0.3s;
}

.p-hero-gem.is-3 {
  animation-delay: 0.6s;
}

.p-hero-gem.is-4 {
  animation-delay: 0.9s;
}

.p-hero-gem.is-5 {
  animation-delay: 1.2s;
}

.p-hero-gem.is-6 {
  animation-delay: 1.5s;
}

.p-hero-gem.is-7 {
  animation-delay: 1.8s;
}

.p-hero-gem.is-8 {
  animation-delay: 2.1s;
}

.p-hero-gem.is-9 {
  animation-delay: 2.4s;
}


/* GEM CARD ANIMATION */
.gem-card.is-floating {
  animation: float 3s ease-in-out infinite;
  will-change: transform;
}

.gem-card.is-floating:nth-child(1) {
  animation-delay: 0s;
}

.gem-card.is-floating:nth-child(2) {
  animation-delay: 0.1s;
}

.gem-card.is-floating:nth-child(3) {
  animation-delay: 0.2s;
}


.map-swiper-buttons {
  opacity: 1;
  transform: translateY(0);
}

.map-swiper-buttons.is-closed {
  opacity: 0;
  transform: translateY(-300px);
}

.map-tabs {
  opacity: 1;
  transform: translateY(0);
}

.map-tabs.is-closed {
  opacity: 0;
  transform: translateY(-300px);
}

/* TAKE MESSAGE FLOATING ANIMATION */
@media screen and (min-width: 479px) {
  @keyframes takeMessageFloat {

    0%,
    100% {
      transform: translateY(0px);
    }

    50% {
      transform: translateY(-8px);
    }
  }

  .take-measage {
    animation: takeMessageFloat 4s ease-in-out infinite;
    will-change: transform;
  }

  .take-measage.is-1 {
    animation-delay: 0s;
  }

  .take-measage.is-2 {
    animation-delay: 0.4s;
  }

  .take-measage.is-3 {
    animation-delay: 0.8s;
  }

  .take-measage.is-4 {
    animation-delay: 1.2s;
  }
}

/* TAKE BUTTON */
@media screen and (min-width: 479px) {
  .take-button {
    background-color: transparent;
    transition: all 0.3s ease;
    cursor: pointer;
  }

  .take-button:hover {
    background-color: #fff;
    color: #000;
  }

  /* P-HERO TRANS BUTTON */
  .button.button_p-hero-trans {
    background-color: transparent;
    transition: all 0.3s ease;
    cursor: pointer;
  }

  .button.button_p-hero-trans:hover {
    background-color: #fff;
    color: #000;
  }

  /* P-HERO RED BUTTON */
  .button.button_p-hero-red {
    background-color: #ed4329;
    transition: all 0.3s ease;
    cursor: pointer;
  }

  .button.button_p-hero-red:hover {
    background-color: #fff;
    color: #000;
  }

  /* MAP BUTTON */
  .map-button {
    background-color: #ed4329;
    transition: all 0.3s ease;
    cursor: pointer;
  }

  .map-button:hover {
    background-color: #fff;
    color: #000;
  }

  .map-button-yandex {
    background-color: transparent;
    transition: all 0.3s ease;
    cursor: pointer;
  }

  .map-button-yandex:hover {
    background-color: #fff;
    color: #000;
  }

  .arrow-circle-map {
    background-color: #F79164;
    transition: all 0.3s ease;
    cursor: pointer;
  }

  .arrow-circle-map:hover {
    background-color: #ED4329;
  }
}