/* ONLY XS */
@media (min-width: 0px) and (max-width: 575.98px) {
  .hero-banner::before {
      content: "";
      position: absolute;
      inset: 0; /* copre tutto */
      background-color: rgba(255, 255, 255, 0.6); /* bianco semitrasparente */
      z-index: 1;
  }

  /* Assicura che il contenuto (testi, bottoni, ecc.) stia sopra all’overlay */
  .hero-banner > * {
      position: relative;
      z-index: 2;
  }

  
    .title-banner, .title-page {
        font-size: 55px;
    }
    .title-style {
        font-size: 55px;
        line-height: 1;
    }
    #footer .col-policy {
        padding-left: 0%;
    }
    .titolo-footer {
        margin-top: 20px;
    }
    .sede:before, .orari:before {
        left: 0px;
    }
    .sede, .orari {
        padding-left: 37px;
    }
    .title-form-sedi {
        margin-top: 20px;
    }
    .breadcrumbs li {
        font-size: 13px;
    }
}

/* ONLY SM */
@media (min-width: 576px) and (max-width:767.98px) {
  .hero-banner::before {
  content: "";
  position: absolute;
  inset: 0; /* copre tutto */
  background-color: rgba(255, 255, 255, 0.6); /* bianco semitrasparente */
  z-index: 1;
}

/* Assicura che il contenuto (testi, bottoni, ecc.) stia sopra all’overlay */
.hero-banner > * {
  position: relative;
  z-index: 2;
}
    .title-banner {
        font-size: 62px;
    }
    .title-style {
        font-size: 62px;
        line-height: 1;
    }
}

/* ONLY MD */
@media (min-width: 768px) and (max-width: 991.98px) { ... }

/* ONLY LG */
@media (min-width: 992px) and (max-width: 1199.98px) { ... }

/* ONLY XL */
@media (min-width: 1200px) and (max-width: 1399.98px) { ... }

/*// X-Small devices (portrait phones, less than 576px)*/
@media (max-width: 575.98px) { ... }

/*// Small devices (landscape phones, less than 768px)*/
@media (max-width: 767.98px) {

    html {
        font-size: 15px; /* Base del rem */
    }

    h1 {
        font-size: 4.3rem;
        letter-spacing: -0.20rem;
    }

    .text-xl{
        font-size: 2.5rem;
    }

    .navbar .navbar-container {
        border-bottom: transparent;
    }

    .nav-link {
        /*color: var(--primary-color);*/
        font-size: 22px;
        line-height: 30px;
    }
    #logo-small {
        opacity: 1;
    }
    /*.navbar-nav .nav-link.active, .navbar-nav .nav-link.show, .nav-link:hover, .nav-item.current-menu-item .nav-link {
        color: var(--primary-color);
    }*/

}

/*// Medium devices (tablets, less than 992px)*/
@media (max-width: 991.98px) {

    section{
        padding-top:60px;
        padding-bottom:60px;
    }

}

/*// Large devices (desktops, less than 1200px)*/
@media (max-width: 1199.98px) {

 html {
    font-size: 15px; /* Definisci la base del rem */
}


}

/*// X-Large devices (large desktops, less than 1400px)*/
@media (max-width: 1399.98px) { ... }

/*// Small devices (landscape phones, 576px and up)*/
@media (min-width: 576px) { ... }

/*// Medium devices (tablets, 768px and up)*/
@media (min-width: 768px) { ... }

/*// Large devices (desktops, 992px and up)*/
@media (min-width: 992px) {

    .w-lg-50{
        width: 50%;
    }

    .w-lg-75{
        width: 75%;
    }
}

/*// X-Large devices (large desktops, 1200px and up)*/
@media (min-width: 1200px) { ... }

/*// XX-Large devices (larger desktops, 1400px and up)*/
@media (min-width: 1400px) { ... }
