.footer-slider-legend {
  width: 80%;
  overflow-x: auto;
  overflow-y: hidden;
  display: flex;
  gap: 1rem;
  height: 7.625rem;
  position: relative;
  align-items: center;
}

.footer-slider-legend-marker {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  display: flex;
  gap: 1rem;
  height: 7.625rem;
  position: relative;
  align-items: center;
  padding: 0rem 1rem;
}

.footer-slider-legend .footer-slider-legend-marker::-webkit-scrollbar {
  display: none;
}

.footer-slider-legend .footer-slider-legend-marker::-moz-scrollbar {
  display: none;
}

.slider-legend-item {
  border-radius: var(--border-radius-btn);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0.2rem 0 0.2rem 0.2rem;
  height: 4.625rem;
  box-shadow: 0px 0px 17px 0px rgba(0, 0, 0, 0.35);
}

.slider-legend-item img {
  height: 100%;
  width: auto;
  object-fit: cover;
  border-radius: var(--border-radius-btn);
}

.slider-legend-item p {
  padding: 0;
  margin: 0rem 1rem;
  color: #fff;
  font-weight: 500;
  font-size: 1rem;
  white-space: nowrap;
}

.footer-controls {
  display: flex;
  gap: 1rem;
}

.box-thanks {
  position: fixed;
  right: -25rem;
  top: 0;
  width: 25rem;
  height: 100vh;
  background-color: #fff;
  color: #fff;
  z-index: 99;
  transition: right 0.3s ease;
  color: #424242;
}

body.with-box-thanks-active .box-thanks {
  right: 0;
}

.box-thanks-content {
  padding: 2rem 1.25rem;
}

.box-thanks-content h1 {
  text-align: center;
  padding-bottom: 1rem;
}

.box-thanks-content--img {
  width: 100%;
  padding: 0 0 1rem 0;
  gap: 1.5rem;
  align-items: center;
  display: flex;
  justify-content: start;
  font-size: 1.1rem;
  font-style: italic;
}

.box-thanks-content--img img {
  width: 25%;
  height: auto;
}

.box-thanks-title {
  position: absolute;
  left: -2.5rem;
  top: 45%;
  background-color: #fff;
  width: 2.5rem;
  height: 9.375rem;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: var(--border-radius-btn) 0 0 var(--border-radius-btn);
  cursor: pointer;
  color: #424242;
  writing-mode: vertical-rl;
  text-orientation: mixed;
}

.box-thanks-content--divider {
  margin: 2rem 0;
}

.box-thanks-content--content {
  text-align: center;
}

.box-thanks-content--ingame {
  margin-top: 2rem;
}

.box-thanks-content--ingame .qrcode {
  border-radius: var(--border-radius-btn);
  width: 40%;
  margin: 0 auto;
  height: auto;
  display: block;
}

.box-thanks-content--subtitle {
  font-size: 1.3rem;
  font-weight: 600;
  padding-bottom: 1rem;
}

.box-thanks-content--thanks img {
  width: 100%;
}

@keyframes bounceBottom {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-0.9375rem);
  }
}
@keyframes bounceTop {
  0%,
  100% {
    transform: translateY(-0.9375rem);
  }
  50% {
    transform: translateY(0px);
  }
}
@keyframes bounceRight {
  0%,
  100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(-0.9375rem);
  }
}
@keyframes bounceLeft {
  0%,
  100% {
    transform: translateX(-0.9375rem);
  }
  50% {
    transform: translateX(0);
  }
}

.marker-container {
  --height: 5rem;
  --width: 5rem;
  --arrow-dim: 1.5625rem;

  height: var(--height);
  width: var(--width);
  border-radius: 0.9375rem;
  padding: 0.625rem;
  position: absolute;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 200ms ease;
}

.marker-bottom {
  left: calc(var(--width) / -2);
  bottom: var(--arrow-dim);
}

.marker-top {
  left: calc(var(--width) / -2);
  top: var(--arrow-dim);
}

.marker-left {
  left: var(--arrow-dim);
  top: calc(var(--height) / -2);
}

.marker-right {
  right: var(--arrow-dim);
  top: calc(var(--height) / -2);
}

.marker-arrow {
  clip-path: polygon(0% 0%, 100% 100%, 0% 100%);
  border-radius: 0 0 0 0.5rem;
  position: absolute;
  height: 1.5625rem;
  width: 1.5625rem;
}

.marker-title {
  opacity: 0;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 0 0.8rem;
  pointer-events: none;
  line-height: normal;
}

.marker-clicked {
  transition: all 250ms ease;
  animation-timing-function: ease;
  padding: 0.8rem 0 0.8rem 0.8rem !important;
}

.marker-title-clicked {
  transition: opacity 250ms linear 250ms;
  opacity: 1 !important;
}

.marker-img {
  width: auto;
  height: 100%;
  transition: all 200ms ease;
}

.marker-img-clicked {
  background-color: #fff;
  border-radius: 7px;
  width: auto !important;
  height: 100% !important;
  transition: all 200ms ease;
}

.leaflet-div-icon {
  background: transparent !important;
  border: none !important;
}
