/*---------------typography--------------------*/
.roboto-condensed {
  font-family: "Roboto Condensed", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
}
body{
    font-family: "Roboto Condensed", sans-serif;
    font-weight: 400;
}
h1,h2,h3,h4{
    font-family: "Roboto Condensed", sans-serif;
    font-weight: 400;
}
/*---------------color--------------------*/
.text-blue{
    color:#0300a0 ;
}
.background-blue
{
    background-color:#0300a0 ;
}

/*---------------images--------------------*/

.repetitive-image{
  background-image: url(./img/immagine_effeduecostruzioni.jpg);
  background-size: cover; 
  background-repeat: no-repeat;
  background-position: start; 
  width: 100% ; 
  height: 350px;
}

.logo-dimensions{
    width: 150px; 
    height: auto;
}

  /*---------------------------------------------------galleria-------------------------*/
  .gallery {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .gallery .images {
    gap: 15px;
    max-width: 85%;
    margin: 40px 0;
    columns: 5 310px;
    list-style: none;
  }
  .gallery .images .img {
    display: flex;
    cursor: pointer;
    overflow: hidden;
    position: relative;
    margin-bottom: 14px;
    border-radius: 4px;
  }
  .gallery .images img {
    width: 100%;
    transition: transform 0.2s ease;
  }
  .gallery .images .img:hover img {
    transform: scale(1.1);
  }

  /* Responsive con la media query il codice per la galleria */
  @media screen and (max-width: 688px) {
    .lightbox .popup-img {
      padding: 12px;
      max-width: calc(100% - 26px);
    }
    
    .gallery .images {
      max-width: 100%;
      padding: 0 13px;
     
    }
  }
  
  /* Finally, add the following Jav */
  .gallery {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .gallery .images {
    gap: 15px;
    max-width: 85%;
    margin: 40px 0;
    columns: 5 310px;
    list-style: none;
  }
  .gallery .images .img {
    display: flex;
    cursor: pointer;
    overflow: hidden;
    position: relative;
    margin-bottom: 14px;
    border-radius: 4px;
  }
  .gallery .images img {
    width: 100%;
    transition: transform 0.2s ease;
  }
  .gallery .images .img:hover img {
    transform: scale(1.1);
  }
  /* Image lightbox styling */
  .lightbox {
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
    position: fixed;
    visibility: hidden;
    background: rgba(0,0,0,0.65);
  }
  .lightbox.show {
    visibility: visible;
  }
  .lightbox .popup-img {
    position: fixed;
    left: 50%;
    top: 50%;
    width: 100%;
    padding: 20px;
    max-width: 850px;
    background: #fff;
    border-radius: 6px;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -50%) scale(0.9);
    transition: transform 0.1s ease;
  }
  .lightbox.show .popup-img {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, -50%) scale(1);
  }
  .popup-img :where(header, .details) {
    display: flex;
    align-items: center;
  }
  .popup-img header {
    justify-content: space-between;
  }
  header .details i {
    font-size: 1.7rem;
  }
  header .details span {
    font-size: 1.2rem;
    margin-left: 10px;
  }
  header .buttons i {
    height: 40px;
    width: 40px;
    cursor: pointer;
    display: inline-block;
    color: #fff;
    margin-left: 10px;
    background: #6C757D;
    font-size: 1.25rem;
    line-height: 40px;
    text-align: center;
    border-radius: 4px;
    transition: 0.2s ease;
  }
  header .buttons i:hover {
    background: #5f666d;
  }
  .popup-img .preview-img {
    display: flex;
    justify-content: center;
  }
  .preview-img .img {
    max-height: 65vh;
  }
  .preview-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
  .close-icon, .prev-icon , .next-icon{
    background-color: black;
    color: #fff;
    padding: 5px 0px;
    font-size: 22px;
    font-weight: 600;
  }
  .prev-icon, .next-icon {
    margin-top: 10px;
  }

  /* Responsive media query code */
  @media screen and (max-width: 688px) {
    .lightbox .popup-img {
      padding: 12px;
      max-width: calc(100% - 26px);
    }
    .gallery .images {
      max-width: 100%;
      padding: 0 13px;
    }
  }

