@font-face {
  font-family: "Myriad Pro";
  src: url("./fonts/Myriad Pro/MYRIADPRO-REGULAR.OTF");
}
body {
  margin: 0;
  background: #111;
}

.map {
  position: relative;
  width: 100%;
  margin: 0 auto;
  aspect-ratio: 20/10;
}
@media (max-width: 768px) {
  .map {
    aspect-ratio: 21/31;
  }
}

.map img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.map-point {
  position: absolute;
  width: 44px;
  height: 44px;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 50%;
  z-index: 10;
  transition: transform 0.25s ease;
  display: flex;
  justify-content: center;
  align-items: center;
}
@media (max-width: 768px) {
  .map-point {
    width: 30px;
    height: 30px;
  }
}

.map-point::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  padding: 2px;
  background: linear-gradient(162.96deg, #DAA627 5.07%, #CCB58E 52.75%, #C46710 135.42%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  transition: inset 0.25s ease, padding 0.25s ease, filter 0.25s ease;
}

.map-point:hover::before {
  inset: -2px;
  padding: 4px;
}
@media (max-width: 768px) {
  .map-point:hover::before {
    inset: -1px;
    padding: 2px;
  }
}

.map-point__inner {
  position: absolute;
  inset: 2px;
  border-radius: 50%;
  background: rgba(10, 10, 10, 0.55);
  box-shadow: 0 0 2.3px rgba(0, 0, 0, 0.7);
  transition: background 0.25s ease;
}

.map-point__label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Myriad Pro", sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 110%;
  text-align: right;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 0 5px rgba(0, 0, 0, 0.8), 0 0 15px rgba(0, 0, 0, 0.5);
  pointer-events: none;
  user-select: none;
}
@media (max-width: 768px) {
  .map-point__label {
    font-size: 12px;
  }
}

/* POPUP */
.popup {
  position: absolute;
  display: none;
  max-width: 344px;
  background: rgba(0, 0, 0, 0.85);
  border-radius: 20px;
  padding: 24px;
  color: rgb(246, 211, 156);
  font-family: "Cormorant", serif;
  z-index: 999;
}

.popup.active {
  display: block;
}

.popup::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 2px;
  background: linear-gradient(162.96deg, #DAA627 5.07%, #CCB58E 52.75%, #C46710 135.42%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.popup.left::after {
  left: auto;
  right: -7px;
  border-left: none;
  border-bottom: none;
  border-top: 1px solid #DAA627;
  border-right: 1px solid #DAA627;
}

.popup-close {
  font-family: "Cormorant", sans-serif;
  position: absolute;
  top: 0;
  right: 12px;
  font-size: 30px;
  font-weight: 400;
  cursor: pointer;
  border: none;
  background: none;
  color: rgb(246, 211, 156);
}

#popupTitle {
  margin: 0 20px 10px 0;
  font-size: 22px;
}

#popupText {
  margin: 0;
  font-size: 18px;
  line-height: 1.2;
}

@media (max-width: 768px) {
  .popup {
    max-width: 170px;
    padding: 18px;
  }

  #popupTitle {
    font-size: 16px;
  }

  #popupText {
    font-size: 14px;
  }
}
a {
  color: white;
}

/*# sourceMappingURL=styles.css.map */
