/* Map page */
.map {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
}

.map_page {
  width: 100%;
  height: 100dvh;
  overflow: hidden;
}


.map_page img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.map_page_glow p {
  position: absolute;
  top: 41%;
  left: 53%;
  padding: 5px 7px;
  color: rgb(210, 173, 117);
  font-weight: 500;
  letter-spacing: .5px;
  font-size: 0.9rem;
  font-family: "Roboto", sans-serif;
  background-color: rgba(29, 26, 27, 0.8);
  transform: translate(-50%, -50%);
  border-radius: 10px;
  cursor: pointer;
}

.diamond {
  position: absolute;
  top: 33%;
  left: 52%;
  width: 35px;
  height: 35px;
  clip-path: polygon(25% 0%, 72% 0%, 100% 25%, 50% 100%, 0% 25%);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  background: rgba(75, 76, 77, 0.8);
  animation: diamondMarker 1.5s linear infinite;
  cursor: pointer;
  transform: translate(0, 0);
}


@keyframes diamondMarker {
  0% {
    background: #D2AD75;
    transform: translate(0, 0);
  }

  50% {
    background: #ffbb56;
    transform: translate(0, 5px);
  }

  100% {
    background: #D2AD75;
    transform: translate(0, 0);
  }
}

.map_page_glow .card {
  display: none;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 45%;
  transform: translate(-50%, -50%);
  background-color: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  padding: 20px;
}

.card_img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.card_img img {
  width: 270px;
  height: 300px;
}

.card .card-body h6 {
  font-size: 1.2rem;
  font-weight: 500;
  color: rgb(210, 173, 117);
  padding: 0 10px 0 0;
}

.card .card-body span {
  font-size: 11px;
  text-align: justify;
  font-family: "Roboto", sans-serif;
  color: #000;
  align-items: justify;
}

.card_button button {
  padding: 5px 15px;
  background-color: #000;
  border: none;
  color: #fff;
  width: 100%;
  cursor: pointer;
  margin-top: 1rem;
}

.card_button button:hover {
  background-color: #D2AD75;
  color: #000;
}

/* Media Queries */

@media only screen and (max-width:600px) {
  .map_page_glow .card {
    width: 90%;
  }

  .card_img img {
    width: 245px;
    height: 271px;
  }

  .close_preview {
    top: 2%;
    right: 4%;
  }
}

@media only screen and (min-width:600px) and (max-width:1250px) {
  .map_page_glow .card {
    width: 65%;
  }
}