* {
  box-sizing: border-box;
}

#map {
  height: 100vh;
  width: 97.5%;
}
.map-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-block: 5%;
  position: relative;
}

/* FILTER  */
#filter-locations {
  border: none;
  padding: 1rem;
  width: 100%;
  margin-inline: auto;
  font-family: Poppins;
}

#locations-count {
  font-size: 1.2vw;
  color: rgb(255, 255, 255);
  font-family: Poppins;
  font-style: normal;
  font-weight: 400;
  width: calc(100% - 2.5vw);
  margin-inline: auto;
}

#locations-results {
  font-size: 1vw;
  color: rgb(255, 255, 255);
  font-family: Poppins;
  font-style: normal;
  font-weight: 400;
  width: calc(100% - 2.5vw);
  margin-inline: auto;
}

/*Internal Hero*/
.hero-home {
  align-items: flex-start;
  height: 50vh;
}
.container-hero {
  height: 100%;
  margin-top: 1%;
}
.contenido-dinamico-hero {
  width: 100%;
  justify-content: center;
}
.contenido-dinamico-hero h1 {
  color: #fdead3;
  text-align: center;
  font-family: Bardy;
  font-size: clamp(55px, 8vw, 8.33vw);
  font-style: normal;
  font-weight: 400;
  line-height: 100%; /* 160px */
  text-transform: uppercase;
  margin-top: 8%;
  text-align: center;
}
.places-container {
  width: 22vw;
  max-height: 92.5vh;
  background-color: #fd5200;
  position: absolute;
  z-index: 1;
  left: 2%;
  border-radius: 30px;
  padding: 2vw 0.5vw 1vw 0.5vw;
  display: flex;
  flex-direction: column;
  gap: 1vw;
  top: 2%;
  overflow: hidden;
}
.places-container::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 2%;
  width: 92%;
  height: 10%;
  background: linear-gradient(0deg, rgba(253, 82, 0, 1) 20%, rgba(0, 212, 255, 0) 100%);
  z-index: 1;
}
.places {
  width: 100%;
  height: 100%;
  padding-inline: 1vw;
  overflow-y: scroll;
  overflow-x: hidden;
}
.places::-webkit-scrollbar {
  width: 5px;
  height: 80%;
  display: flex;
  margin-left: 50px;
  justify-content: center;
  border-radius: 100px;
  background: rgba(89, 27, 11, 0.5);
}
.places::-webkit-scrollbar-thumb {
  border-radius: 100px;
  background: #fff;
}

.place-container {
  border: none;
  padding: 1.5vw;
  width: 100%;
  border-radius: 30px;
  background-color: white;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  margin-bottom: 5%;
}
.place-container:last-child {
  margin-bottom: 20vh;
}
.place-container .place {
  color: #591b0b;
  font-family: Poppins;
  font-size: 17px;
  font-style: normal;
  font-weight: 700;
  line-height: 150%; /* 25.5px */
  margin-bottom: 0vw;
  text-align: left;
}
.place-container .subplace {
  overflow: hidden;
  color: rgba(89, 27, 11, 0.6);
  text-overflow: ellipsis;
  font-family: Poppins;
  text-align: left;
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  max-width: 100%;
  line-height: normal;
  margin-bottom: 0.4vw;
}
.place-container .schedule-dark {
  overflow: hidden;
  color: #591b0b;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: Poppins;
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}
.place-container .schedule {
  color: rgba(89, 27, 11, 0.6);
  font-family: Poppins;
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  text-align: left;
}

.searcher-container {
  position: absolute;
  right: 2%;
  top: 2%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.searcher-container input {
  border-radius: 10px;
  border: 2px solid #fd5200;
  background: #fff;
  padding: 10px 20px 10px calc(5% + 150px);
  width: 25vw;
  outline: none;

  overflow: hidden;
  color: rgba(89, 27, 11, 0.5);
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: Poppins;
  font-size: 17px;
  font-style: italic;
  font-weight: 400;
  line-height: normal;
}
.searcher-container label {
  overflow: hidden;
  color: #591b0b;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: Poppins;
  font-size: 19px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  position: absolute;
  left: 5%;
}
.searcher-container #clear {
  right: 12%;
  cursor: pointer;
  color: rgba(89, 27, 11, 0.5);
  top: 50%;
  transform: translateY(-50%);
  margin: auto;
  width: fit-content;
  height: fit-content;
  display: none;
}
.searcher-container #clear svg {
  width: 100%;
  height: 8px;
}
#back-btn {
  align-self: flex-start;
  background-color: transparent;
  border: none;
  outline: none;
  cursor: pointer;

  color: white;
  font-family: Poppins;
  font-size: 17px;
  text-decoration: underline;
  margin-left: 5%;
  display: none;
}
.searcher-container button {
  background-color: transparent;
  outline: none;
  border: none;
  position: absolute;
  right: 2%;
  cursor: pointer;
}
.nice-select li,
.nice-select .list,
.nice-select span {
  font-family: Poppins;
}
.nice-select {
  border: 2px solid #fd5200 !important;
  min-width: 15vw;
}
.places p {
  color: #591b0b;
  font-family: Poppins;
  font-size: 17px;
  font-style: normal;
  font-weight: 700;
  line-height: 150%; /* 25.5px */
  text-align: left;
}

.nice-select .list::-webkit-scrollbar {
  display: block !important;
  width: 5px !important;
}
.nice-select .list::-webkit-scrollbar-thumb {
  background: #fd5200 !important;
  border-radius: 10px !important;
}
.nice-select .nice-select-dropdown {
  max-width: 100%;
  width: 100%;
}

.filter-locations-wrapper {
  background-color: red;
  width: calc(100% - 2.5vw);
  margin-inline: auto;
  position: relative;
}

.filter-locations-wrapper .clear-button {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  transform: translateY(0%);
  width: 1.2rem;
  height: 1.2rem;
  cursor: pointer;
  border: none;
  background-color: transparent;
  display: none;
}

.filter-locations-wrapper .clear-button svg {
  width: 100%;
  height: 100%;
}


@media (width <= 1024px) {
  .hero-home {
    align-items: center;
    height: 50vh;
    top: 1rem;
    padding-bottom: 3rem;
  }
  .contenido-dinamico-hero h1 {
    margin-top: 15vh;
  }
  .map-container {
    flex-direction: column-reverse;
    padding: 3%;
  }
  #map {
    width: 100%;
    height: 50vh;
  }
  .places-container {
    position: relative;
    width: 100%;
    left: 0;
    max-height: 50vh;
    margin-top: 20px;
    border-radius: 15px;
    padding: 8px;
  }
  .places-container::after {
    width: 96%;
    height: 12%;
    border-radius: 0;
  }
  .places {
    padding: 10px;
  }
  .place-container {
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 15px;
  }

  .searcher-container {
    top: 3%;
    width: 90%;
    right: 0;
    left: 0;
    margin: auto;
    z-index: 10;
  }
  .nice-select {
    min-width: 100%;
  }

  /* FILTER  */
  #filter-locations {
    border: none;
    padding: 1rem;
    width: calc(100% - 8vw);
    /* margin-inline: auto; */
    margin-right: auto;
    font-family: Poppins;
  }

  #locations-count {
    font-size: 4vw;
    color: rgb(255, 255, 255);
    font-family: Poppins;
    font-style: normal;
    font-weight: 400;
    width: calc(100% - 8vw);
    margin-inline: auto;
  }

  #locations-results {
    font-size: 3vw;
    color: rgb(255, 255, 255);
    font-family: Poppins;
    font-style: normal;
    font-weight: 400;
    width: calc(100% - 8vw);
    margin-inline: auto;
  }
}
