body {
  user-select: none;
  --teal: #48ffe4f6;
}

.cover-title {
  animation: cover-title 2s;
}
@keyframes cover-title {
  0% {
    opacity: 0;
    scale: 0.7;
  }
  50% {
    opacity: 0;
    scale: 0.7;
  }
  100% {
    opacity: 1;
    scale: 1;
  }
}

/* PRE-TITLE ANIMATION */
.pre-title {
  -webkit-animation: pre-title 2s cubic-bezier(0.19, 1, 0.22, 1) both;
  animation: pre-title 2s cubic-bezier(0.19, 1, 0.22, 1) both;
  animation-delay: 2s;
}

@-webkit-keyframes pre-title {
  0% {
    letter-spacing: 1em;
    opacity: 0;
  }
  100% {
    letter-spacing: normal;
    opacity: 1;
  }
}
@keyframes pre-title {
  0% {
    letter-spacing: 1em;
    opacity: 0;
  }
  100% {
    letter-spacing: normal;
    opacity: 1;
  }
}

/* TITLE ANIMATION */
.scale-line {
  -webkit-animation: scale-line 2.5s cubic-bezier(0.87, 0, 0.13, 1) both;
  animation: scale-line 2.5s cubic-bezier(0.87, 0, 0.13, 1) both;
}

@-webkit-keyframes scale-line {
  0% {
    -webkit-transform: scaleX(0);
    transform: scaleX(0);
  }
  33% {
    -webkit-transform: scaleX(1);
    transform: scaleX(1);
  }
  66% {
    -webkit-transform: scaleX(1);
    transform: scaleX(1);
  }
  100% {
    -webkit-transform: scaleX(0);
    transform: scaleX(0);
  }
}
@keyframes scale-line {
  0% {
    -webkit-transform: scaleX(0);
    transform: scaleX(0);
  }
  33% {
    -webkit-transform: scaleX(1);
    transform: scaleX(1);
  }
  66% {
    -webkit-transform: scaleX(1);
    transform: scaleX(1);
  }
  100% {
    -webkit-transform: scaleX(0);
    transform: scaleX(0);
  }
}

.move-title {
  -webkit-animation: move-title 3s cubic-bezier(0.19, 1, 0.22, 1) both;
  animation: move-title 3s cubic-bezier(0.19, 1, 0.22, 1) both;
  animation-delay: 0.2s;
}

@-webkit-keyframes move-title {
  0% {
    -webkit-transform: translateY(100%);
    transform: translateY(100%);
  }
  25% {
    -webkit-transform: translateY(100%);
    transform: translateY(100%);
  }
  50% {
    -webkit-transform: translateY(0%);
    transform: translateY(0%);
  }
  100% {
  }
}
@keyframes move-title {
  0% {
    -webkit-transform: translateY(100%);
    transform: translateY(100%);
  }
  25% {
    -webkit-transform: translateY(100%);
    transform: translateY(100%);
  }
  50% {
    -webkit-transform: translateY(0%);
    transform: translateY(0%);
  }
  100% {
  }
}

.move-title-bottom {
  -webkit-animation: move-title-bottom 3s cubic-bezier(0.19, 1, 0.22, 1) both;
  animation: move-title-bottom 3s cubic-bezier(0.19, 1, 0.22, 1) both;
  animation-delay: 0.4s;
}

@-webkit-keyframes move-title-bottom {
  0% {
    -webkit-transform: translateY(-100%);
    transform: translateY(-100%);
  }
  25% {
    -webkit-transform: translateY(-100%);
    transform: translateY(-100%);
  }
  50% {
    -webkit-transform: translateY(0%);
    transform: translateY(0%);
  }
  100% {
  }
}
@keyframes move-title-bottom {
  0% {
    -webkit-transform: translateY(-100%);
    transform: translateY(-100%);
  }
  25% {
    -webkit-transform: translateY(-100%);
    transform: translateY(-100%);
  }
  50% {
    -webkit-transform: translateY(0%);
    transform: translateY(0%);
  }
  100% {
  }
}

.cover-button {
  /* filter: drop-shadow(0px 0px 0.5vw #47ff7589); */
}
.cover-button:after {
  background: none repeat scroll 0 0 transparent;
  bottom: 0.5vw;
  content: "";
  display: block;
  height: 2vw;
  left: 0;
  position: absolute;
  background-image: linear-gradient(
    to bottom,
    hsla(130.11764705882354, 100%, 50%, 0),
    hsla(130.11764705882354, 100%, 50%, 0) 95%,
    hsla(130.84337349397592, 100%, 65.56%, 1) 96%
  );
  /* background: #7ccf8b; */
  transition: width 0.3s ease 0s, left 0.3s ease 0s;
  width: 0;
  color: #19d1ff;
}
.cover-button:hover:after {
  width: 100%;
  left: 0.2vw;
}

.cover-button.blue {
  /* filter: drop-shadow(0px 0px 0.5vw #47f3ff89); */
}
.cover-button.blue:after {
  background: none repeat scroll 0 0 transparent;
  bottom: 0.5vw;
  content: "";
  display: block;
  height: 2vw;
  left: 0;
  position: absolute;
  background-image: linear-gradient(
    to bottom,
    hsla(130.11764705882354, 100%, 50%, 0),
    hsla(186, 100%, 50%, 0.15) 95%,
    rgb(79, 234, 255) 96%
  );
  transition: width 0.3s ease 0s, left 0.3s ease 0s;
  width: 0;
  color: #7ccfcf;
}
.cover-button.blue:hover:after {
  width: 100%;
  left: 0.2vw;
}

.transitionless-cover-button{}

.transitionless-cover-button:after {
  background: none repeat scroll 0 0 transparent;
  bottom: 0.5vw;
  content: "";
  display: block;
  height: 2vw;
  left: 0;
  position: absolute;
  background-image: linear-gradient(
    to bottom,
    hsla(130.11764705882354, 100%, 50%, 0),
    hsla(186, 100%, 50%, 0.15) 95%,
    rgb(79, 234, 255) 96%
  );
  transition: width 0.3s ease 0s, left 0.3s ease 0s;
  width: 0;
  color: #7ccfcf;
}
.transitionless-cover-button:hover:after {
  width: 100%;
  left: 0.2vw;
}

.scale-in-center {
  -webkit-animation: scale-in-center 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94)
    0.5s both;
  animation: scale-in-center 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.5s both;
  animation-delay: 0.5s;
}

@-webkit-keyframes scale-in-center {
  0% {
    -webkit-transform: scale(0.5);
    transform: scale(0.5);
    opacity: 0;
  }
  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
    opacity: 1;
  }
}
@keyframes scale-in-center {
  0% {
    -webkit-transform: scale(0.5);
    transform: scale(0.5);
    opacity: 0;
  }
  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
    opacity: 1;
  }
}

.scale-in-center-2-5 {
  -webkit-animation: scale-in-center-2-5 0.5s
    cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
  animation: scale-in-center-2-5 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
  animation-delay: 0.5s;
}

@-webkit-keyframes scale-in-center-2-5 {
  0% {
    -webkit-transform: scale(0.5);
    transform: scale(0.5);
    opacity: 0;
  }
  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
    opacity: 1;
  }
}
@keyframes scale-in-center-2-5 {
  0% {
    -webkit-transform: scale(0.5);
    transform: scale(0.5);
    opacity: 0;
  }
  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
    opacity: 1;
  }
}

.scale-in-center-3-5 {
  -webkit-animation: scale-in-center-3-5 1s cubic-bezier(0.25, 0.46, 0.45, 0.94)
    both;
  animation: scale-in-center-3-5 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
  animation-delay: 3.5s;
}

@-webkit-keyframes scale-in-center-3-5 {
  0% {
    -webkit-transform: scale(0.5);
    transform: scale(0.5);
    opacity: 0;
  }
  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
    opacity: 1;
  }
}
@keyframes scale-in-center-3-5 {
  0% {
    -webkit-transform: scale(0.5);
    transform: scale(0.5);
    opacity: 0;
  }
  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
    opacity: 1;
  }
}

.scale-in-bottom {
  -webkit-animation: scale-in-bottom 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94)
    0.7s both;
  animation: scale-in-bottom 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.7s both;
  animation-delay: 0.7s;
}

@-webkit-keyframes scale-in-bottom {
  0% {
    -webkit-transform: scale(0.7);
    transform: scale(0.7);
    -webkit-transform-origin: 50% 50%;
    transform-origin: 50% 50%;
    opacity: 0;
  }
  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
    -webkit-transform-origin: 50% 50%;
    transform-origin: 50% 50%;
    opacity: 1;
  }
}
@keyframes scale-in-bottom {
  0% {
    -webkit-transform: scale(0.7);
    transform: scale(0.7);
    -webkit-transform-origin: 50% 50%;
    transform-origin: 50% 50%;
    opacity: 0;
  }
  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
    -webkit-transform-origin: 50% 50%;
    transform-origin: 50% 50%;
    opacity: 1;
  }
}

.scale-in-right {
  -webkit-animation: scale-in-right 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94)
    0.7s both;
  animation: scale-in-right 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.7s both;
  animation-delay: 1.3s;
}

@-webkit-keyframes scale-in-right {
  0% {
    -webkit-transform: scale(0.7);
    transform: scale(0.7);
    -webkit-transform-origin: 100% 50%;
    transform-origin: 100% 50%;
    opacity: 0;
  }
  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
    -webkit-transform-origin: 100% 50%;
    transform-origin: 100% 50%;
    opacity: 1;
  }
}
@keyframes scale-in-right {
  0% {
    -webkit-transform: scale(0.7);
    transform: scale(0.7);
    -webkit-transform-origin: 100% 50%;
    transform-origin: 100% 50%;
    opacity: 0;
  }
  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
    -webkit-transform-origin: 100% 50%;
    transform-origin: 100% 50%;
    opacity: 1;
  }
}

.scale-in-bg {
  -webkit-animation: scale-in-bg 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
  animation: scale-in-bg 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

@-webkit-keyframes scale-in-bg {
  0% {
    -webkit-transform: scale(1);
    transform: scale(1);
    opacity: 1;
  }
  100% {
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
    opacity: 1;
  }
}
@keyframes scale-in-bg {
  0% {
    -webkit-transform: scale(1);
    transform: scale(1);
    opacity: 1;
  }
  100% {
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
    opacity: 1;
  }
}

/* BARBA */
.barba-container {
  transform: translateZ(0);
}

/* FADES */
.fade-in {
  -webkit-animation: fade-in 1.5s both;
  animation: fade-in 1.5s both;
}
@-webkit-keyframes fade-in {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@keyframes fade-in {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.fade-in-1 {
  animation: fadeIn1 1s;
}
@keyframes fadeIn1 {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.fade-in-2 {
  animation: fadeIn2 2s;
}
@keyframes fadeIn2 {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.fade-in-3 {
  animation: fadeIn3 3s;
}
@keyframes fadeIn3 {
  0% {
    opacity: 0;
  }
  66% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.fade-in-4 {
  animation: fadeIn4 4s;
}
@keyframes fadeIn4 {
  0% {
    opacity: 0;
  }
  75% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.fade-in-5 {
  animation: fadeIn5 5s;
}
@keyframes fadeIn5 {
  0% {
    opacity: 0;
  }
  80% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
.fade-in-6-full {
  animation: fade-in-6-full 6s;
}
@keyframes fade-in-6-full {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.fade-out-5 {
  -webkit-animation: fade-out-5 1s cubic-bezier(0.39, 0.575, 0.565, 1) 4s both;
  animation: fade-out-5 1s cubic-bezier(0.39, 0.575, 0.565, 1) 4s both;
}
@-webkit-keyframes fade-out-5 {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
@keyframes fade-out-5 {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

.map-pin-dropdown {
  animation: map-pin-dropdown 2s;
}
@keyframes map-pin-dropdown {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

/* MAP SCALE ANIMATIONS */
/* .flag-embed svg {
  overflow: visible;
  will-change: transform;
} */

.map-pin {
  will-change: transform;
  animation-fill-mode: both;
  animation-timing-function: ease-in-out;
  animation-name: animateIn;
  animation-duration: 500ms; /*calc(var(--animation-length));*/
  animation-delay: calc(1000ms + (var(--animation-delay) * 1ms));
  /* animation-delay: calc(1500ms + (var(--animation-order) * 100ms)); */
}

@keyframes animateIn {
  0% {
    opacity: 0;
    /* transform: translateY(-0vw) scale(1.1); */
  }
  100% {
    opacity: 1;
  }
}

.map-pin.animationComplete {
  animation-delay: 0s;
  animation: none;
  animation-duration: 0;
}

/* TITLE SLIDE ANIMATION */
.top-text-inner,
.bottom-text {
  padding: 4px 15px;
  white-space: nowrap;
}

.top-text,
.top-text-inner,
.bottom-text {
  --x: 97%;
  animation-duration: 2.5s;
  animation-timing-function: cubic-bezier(0.785, 0.135, 0.15, 0.86);
  animation-fill-mode: forwards;
}

.top-text {
  background-color: #7ccf8b;
  color: #008113;

  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  overflow: hidden;
  animation-name: container-slide;
}

.top-text-inner {
  display: block;
  animation-name: inner-slide;
}

.bottom-text {
  color: #7ccf8b;
  display: inline-block;
  animation-name: bottom-reveal;
}

@keyframes container-slide {
  0% {
    transform: translateX(calc(-1 * var(--x))) scaleY(0);
  }
  15% {
    transform: translateX(calc(-1 * var(--x))) scaleY(1);
  }
  30%,
  70% {
    transform: translateX(0%) scaleY(1);
  }
  85% {
    transform: translateX(var(--x)) scaleY(1);
  }
  100% {
    transform: translateX(var(--x)) scaleY(0);
  }
}

@keyframes inner-slide {
  0%,
  15% {
    transform: translateX(var(--x));
  }
  30%,
  70% {
    transform: translateX(0%);
  }
  85%,
  100% {
    transform: translateX(calc(-1 * var(--x)));
  }
}

@keyframes bottom-reveal {
  0%,
  30% {
    transform: translateX(-100%);
  }
  30.0001%,
  100% {
    transform: translateX(0);
  }
}

.double-slide.uninitialized {
  display: none;
}

.map-pin.pinDisabled {
  animation-name: disablePin;
  transform: scale(0.4) translateY(var(--pin-length-y))
    translateX(var(--pin-length-x));
  animation-duration: 400ms;
}
.map-pin.pinEnabled {
  animation-name: enablePin;
  animation-duration: 400ms;
}

@keyframes disablePin {
  0% {
    transform: scale(1) translateY(0vw) translateX(0vw);
  }
  100% {
    transform: scale(0.4)
      translateY(calc(var(--translation-load) + var(--pin-length-y)))
      translateX(calc(var(--translation-load) + var(--pin-length-x)));
  }
}
@keyframes enablePin {
  0% {
    transform: scale(0.4)
      translateY(calc(var(--translation-load) + var(--pin-length-y)))
      translateX(calc(var(--translation-load) + var(--pin-length-x)));
  }
  100% {
    transform: scale(1) translateY(0vw) translateX(0vw);
  }
}

.map-pin.pinDisabled .map-link-text {
  display: none;
}
.map-pin.pinDisabled .flag-image {
  display: none;
}

.map-pin .map-pin-line {
  filter: opacity(1);
  transition-duration: 250ms;
}

.map-pin.pinDisabled .map-pin-line {
  filter: opacity(0);
}