/* ONLY XS */
@media (min-width: 0px) and (max-width: 575.98px) { ... }

/* ONLY SM */
@media (min-width: 576px) and (max-width:767.98px) { ... }

/* 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;
    }
    
    h2, .h2 {font-size: 3rem;}
    
    .text-xl{font-size: 2.5rem;}
    
    .text-md {font-size: 1.2rem;}
    
    .navbar .navbar-brand img {
        height: 30px;
        transition: var(--custom-transition);
    }
    
    .navbar.scrolled .navbar-brand img {
        height: 25px;
        transition: var(--custom-transition);
    }
    
    .navbar .navbar-container {
        border-bottom: transparent;
    }
    
    .navbar-nav{
        margin-top: 2rem !important;
    }
    
    section, .section-padding {
        padding-top: calc(var(--section-padding)*0.3);
        padding-bottom: calc(var(--section-padding)*0.3);
    }
    
    .pseudo-container{
        padding-left: calc(var(--pseudo-container-padding)*0.1);
        padding-right: calc(var(--pseudo-container-padding)*0.1);
    }

    .pseudo-container-all{
        padding: calc(var(--pseudo-container-padding)*0.5);
    }
    
    .accordion-button h2 {
        font-size: 1.8rem;
        line-height: 1.2;
    }
    
    #download{
        padding-top:120px;
        padding-bottom:120px;
    }

}

/*// Medium devices (tablets, less than 992px)*/
@media (max-width: 991.98px) {
    
    section{
        padding-top:60px;
        padding-bottom:60px;
    }
    
     .accordion-button h2 {
        font-size: 2rem;
        line-height: 1.2;
    }
    
}

/*// Large devices (desktops, less than 1200px)*/
@media (max-width: 1199.98px) { 
    
    .parallax {
        background-attachment: inherit !important;
        background-position: center center !important;
    }
    .bg-lavora-con-noi {
        background-attachment: inherit !important;
        background-position: center center !important;
        background-size: contain;
    }
    
    html {
    font-size: 15px; /* Definisci la base del rem */
    }
    
    .navbar {
    background-color: rgb(255 255 255 / 100%) !important;
    }
    
    h2{ font-size: 3rem;}
    
    .download-icon{height:100px;}
    
    .home-page-nav .navbar {
        background: #fff !important;
    }  
    
    .home-page-nav .nav-link{
        color:var(--color-dark);
    }
    
    .navbar-collapse{
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }

    .home-page-nav .navbar .navbar-brand #logo-white{
    opacity: 0;
    display: none;
    height:0px;
    transition:all 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

    .home-page-nav .navbar .navbar-brand #logo-color{
        opacity: 1;
        display: none;
        height:40px;
        transition:all 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    }

    .home-page-nav .navbar.scrolled .navbar-brand #logo-white{
        opacity: 0!important;
        display: none!important;
        height:0px!important;
        transition:all 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55)!important;
    }

    .home-page-nav .navbar.scrolled .navbar-brand #logo-color{
        opacity: 1!important;
        display:block!important;
        height:30px!important;
        transition:all 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55)!important;
    }

}

/*// X-Large devices (large desktops, less than 1400px)*/
@media (max-width: 1399.98px) { 
 
    h2{ font-size: 3rem;}
    
    .download-icon{height:45px; margin-top: 15px;}
    
    .footer-logo{
        height:30px;
        width:auto;
    }
    #footer ol li, #footer ul li {
        text-align: center;
    }

}

/*// 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) { ... }