body {
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;

  }

  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px;
    text-align: center;
  }

  /* Titolo della sezione */
  .description {
    font-size: 1.5rem;
    margin-bottom: 20px;
    font-weight: bold;
    color: #333;
  }

  /* Testo descrittivo */
  .description-text {
    font-size: 1rem;
    max-width: 800px;
    margin: 0 auto;
    color: #555;
    margin-bottom: 40px;
  }

 /* Griglia delle immagini */
  .images {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
  
    max-width: 1200px;
    margin: 0 auto; 
    padding: 0 20px;
  }
  

  .single-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s ease;
  }

  .single-image:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  }


  .modal {
    display: none;
    position: fixed;
    z-index: 100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.9);
    justify-content: center;
    align-items: center;
  }
  
  .modal.active {
    display: flex;
  }
  
  .modal-content {
    max-width: 90%;
    max-height: 90%;
  }
  
  .close {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 3rem;
    color: white;
    cursor: pointer;
    z-index: 110;
  }
  
  .modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 3rem;
    border: none;
    cursor: pointer;
    z-index: 110;
    padding: 0.5rem 1rem;
  }
  
  .modal-nav.left {
    left: 20px;
  }
  
  .modal-nav.right {
    right: 20px;
  }
  
.images {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.single-image {
  width: 100%;
  height: auto;
  max-width: 300px;
  object-fit: cover;
  border-radius: 8px;
}


/* Bottone "Mostra di più" */
.toggle-button {
  display: none;
  margin: 20px auto 40px;
  padding: 10px 24px;
  background-color: #000;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
}
