@import url("https://fonts.googleapis.com/css2?family=Titillium+Web:ital,wght@0,200;0,300;0,400;0,600;0,700;0,900;1,200;1,300;1,400;1,600;1,700&display=swap");

body {
  margin: 0;
  font-family: "Titillium Web", sans-serif;
}

#panorama {
  width: 100%;
  height: 100vh;
}

#overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(5px);
  z-index: 999;
}

#mi-popup {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 45vw;
  padding: 20px;
  background: rgba(255, 255, 255, 0.411);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 15px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  animation: fadeIn 0.3s ease-out;
  height: 85%;
  overflow: auto;
  font-family: "Titillium Web", sans-serif;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.9);
  }

  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

#mi-popup {
  h3 {
    font-size: 40px;
    color: white;
    background-color: rgba(41, 37, 141, 1);
    border-top-left-radius: 30px;
    border-bottom-right-radius: 30px;
    text-align: center;
    padding: 10px;
    margin-bottom: 15px;
    max-width: 600px;
    margin: 0 auto;
  }

  .popup-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;

    .title {
      font-weight: bold;
    }
  }

  p {
    font-size: 20px;
    color: rgba(41, 37, 141, 1);
    text-align: justify;
    margin-bottom: 0.5rem;
  }
}

.slider-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.nav-btn {
  background: rgba(41, 37, 141, 1);
  color: white;
  border: none;
  border-radius: 50%;
  width: 30px;
  height: 40px;
  cursor: pointer;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.nav-btn:disabled {
  background: #ccc;
  cursor: not-allowed;
}

.popup-circle {
  background-color: #70b325;
  border-radius: 50%;
  width: min(350px, 100%);
  height: auto;
  aspect-ratio: 1/1;
  margin: 10px auto;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 4px solid #6cc24a;
  overflow: hidden;
}

.popup-circle img {
  width: 100%;
  object-fit: contain;
}

.popup-content {
  text-align: center;
}

.popup-btn {
  display: inline-block;
  background: #6cc24a;
  color: #fff;
  padding: 10px 20px;
  border-radius: 20px;
  text-decoration: none;
  margin-top: 15px;
  font-weight: bold;
}

.popup-close {
  margin-top: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  background: #ff3e3e;
  color: white;
  border: none;
  padding: 8px 15px;
  border-radius: 5px;
  cursor: pointer;
}

.counter {
  font-weight: bold;
  color: rgba(41, 37, 141, 1);
  margin-top: 5px;
  display: block;
}

.mi-hotspot {
  background: rgba(152, 221, 62, 1);
  color: rgba(41, 37, 141, 1);
  padding: 4px 8px;
  border-radius: 20px;
  font-family: "Titillium Web", sans-serif;
  font-size: 10px;
  font-weight: bold;
  cursor: pointer;
  white-space: nowrap;
  border: 1px solid rgba(152, 221, 62, 1);
  transition: background 0.2s;

  &:hover {
    background: rgba(152, 221, 62, 0.8);
  }

  .pnlm-hotspot-base {
    display: none;
  }
}

.content-dispensador {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 1rem;
  justify-content: center;
  justify-items: center;
  text-align: center;
}

@media screen and (min-width: 1000px) {
  .content-dispensador {
    flex-direction: row;
  }
}

.dispensador {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.dispensador h3 {
  width: 100%;
  box-sizing: border-box;
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media screen and (max-width: 767px) {
  #mi-popup {
    width: 90%;
    height: 90%;
    box-sizing: border-box;
  }

  .slider-container {
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
  }
}