:root {
    --color-header: #e9e9e9;
    --color-text: rgb(85, 85, 85);
  }
  
  .modal {
      display: none;
      position: fixed;
      z-index: 2000;
      padding-top: 130px;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      overflow: auto;
      background-color: rgba(0, 0, 0, 0.918);
    }
  
  
    /* Modal Content Container */
    .modal-content-container {
      position: relative;
    }
  
  
    /* Modal Content */
    .modal-content {
      margin: auto;
      display: block;
      max-width: 60%;
      max-height: 50%;
      border-radius: 8px;
    }
  
    /* Close Button */
    .close {
      position: absolute;
      top: 10px;
      right: 35px;
      font-size: 30px;
      font-weight: bold;
      color: white;
      cursor: pointer;
    }
  
    .close:hover {
      color: #999;
    }
  
    /* Navigation Buttons */
    .prev,
    .next {
      position: absolute;
      top: 45%;
      width: 30px;
      
      /* padding: 16px; */
      margin-top: -22px;
      font-size: 45px;
      font-weight: 900;
      /* color: white;
      background: rgba(0, 0, 0, 0.384); */
       border: none;
      cursor: pointer;
      background-color: transparent;
        border-radius: 100px;
        color: white;
    }
  
    /* .prev:hover,
    .next:hover{
      background-color: black;
      color: white;
    } */
  
    .prev {
      left: 70px;
      
    }
  
    .next {
      right: 70px;
    }
  
  
  
    .gallery-container {
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      /* margin: 10px -5px;  Margen negativo para compensar el margen interno de los elementos */
      padding: 20px 10px; /* Añadido para tener 10px de margen en los lados */
      background-color: #f4f4f4;
      margin: 30px 0px;
      /*border: solid 0.2px #d1d1d1;*/
      border-bottom: solid 0.5px #d1d1d1;
      border-top: solid 0.5px #d1d1d1;
      /* border-radius: 14px; */
    
     
    }

    .gallery-container2 {
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      /* margin: 10px -5px;  Margen negativo para compensar el margen interno de los elementos */
      padding: 20px 10px; /* Añadido para tener 10px de margen en los lados */
      background-color: #f4f4f4;
      margin: 30px 0px;
      /*border: solid 0.2px #d1d1d1;*/
      border-bottom: solid 0.5px #d1d1d1;
      border-top: solid 0.5px #d1d1d1;
      /* border-radius: 14px; */
    }


    .gallery-container2 .gallery-item {
      width: calc(
        25.00% - 5px
      ); /* 33.33% width for three items in a row with a 10px margin */
      margin: 10px 0;
      position: relative;
      overflow: hidden;
      
    }


    .gallery-container2 .gallery-item img {

      width: 70%;
      margin: auto;
      border: solid 0.2px #d1d1d1;
      border-radius: 14px;
      transition: none;
      box-shadow: 1px 1px 9px #00000029;
    }

    .gallery-container2 .gallery-item:hover img{
      transform: none;
      cursor: default;
      
    }

    
    .gallery-title {
      width: 100%;
      text-align: center;
      margin: 20px 0; /* Ajusta el margen superior e inferior según sea necesario */
      font-size: 1.5em; /* Ajusta el tamaño del título según sea necesario */
      color: var(--color-text);
      letter-spacing: 0.1em;
    }
    
    .gallery-item {
      width: calc(
        33.33% - 10px
      ); /* 33.33% width for three items in a row with a 10px margin */
      margin: 10px 0;
      position: relative;
      overflow: hidden;
      border-radius: 8px;
      /* box-shadow: 7px 7px 20px #00000029; */
    }
    
    .gallery-item img {
      width: 100%;
      height: auto;
      display: block;
      cursor: pointer;
      /* cursor: pointer; */
      transition: transform .8s cubic-bezier(.215,.61,.355,1),opacity .8s cubic-bezier(.215,.61,.355,1);
      border-radius: 8px;
      border: solid 0.2px #d1d1d1;
      /* box-shadow: 1000px 100px 900px #00000029; */
    }
    
    .gallery-item:hover img {
      transform: scale(1.1);
      
    }



    /* .ver-mas-btn {
      display: block;
      margin-top: 10px;
      padding: 8px 16px;
      font-size: 16px;
      background-color: #007bff;
      color: #fff;
      border: none;
      border-radius: 4px;
      cursor: pointer;
    } */

    .dias{
      font-weight: 500;
    }
  
    @media only screen and (max-width: 600px) {
      .modal-content {
        max-width: 60%;
        max-height: 100%;
      }
  
      .prev,
      .next {
        width: 30px;
        height: auto;
        /* font-size: 12px; */
        
      }
    }
  
    @media screen and (max-width: 768px) {
      .modal {
          padding-top: 230px;
        }
  
        .close {
          position: absolute;
          top: 130px;
          right: 35px;
          font-size: 40px;
          font-weight: bold;
          color: white;
          cursor: pointer;
        }
  
        .prev {
          left: 30px;
          
        }
      
        .next {
          right: 30px;
        }
  }