/* modal */

/* Estilos para el enlace */
.modal-link {
  cursor: pointer;
  color: rgb(0, 0, 0);
  text-decoration: underline;
  margin-top: 10px;
}

/* Estilos para el modal */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
  z-index: 10;
}

.modal-content {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  background-color: white;
  padding: 10px 30px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  gap: 20px;
  height: 70%;
  overflow-y: scroll;
  
}

.modal-content h2{
    color: var(--secundari-color);
    margin: 5px;
}

.modal-content ul {
  text-align: left;
  margin: 10px 10px 5px 10px;
  list-style: none;
}

.modal-content div > p {
  margin-top: 20px;
}

.Precios span{
  color: var(--secundari-color);
  margin-left: 15px;
  font-size: 1.1rem !important;
  
}

.Precios span a{
  text-decoration: underline;
}

.Precios{
  font-size: 1rem;
  font-weight: 500;
  text-align: left;
  color: black !important;
}

.modal-content ul p{
  font-size: 1rem;
  font-weight: 500;
  color: var(--secundari-color);
}

.modal-content ul li i {
  color: var(--secundari-color);
  margin: 5px;
  
}

.modal-content .modal-img img{
    width: 290px;
    border-radius: 20px;
    margin: 0 auto;
}

.close-button {
  cursor: pointer;
  color: rgb(0, 0, 0);
  font-size: 50px;
  position: absolute;
  top: 10px;
  right: 20px;
}
.modal-content::-webkit-scrollbar{
  width: 20px;
}

.sublista img {
  width: 18px;
  margin-right: 5px;
}

@media (min-height: 700px) {
  .modal-content{
    height: 500px;
    
  }
}

@media (max-width: 900px) {
  .modal-content{
    width: 80%;
  }
}

@media (max-width: 700px) {
  .modal-content{
    width: 90%;
    overflow-x: hidden;
  }
}

@media (max-width: 700px) {
  .modal-content{
    width: 90%;
    overflow-x: hidden;
  }
}

@media (max-width: 400px) {
  .modal-content .modal-img img{
    width: 100%;

  }
  .modal-content{
    width: 95%;
  }
}
