/* 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) { ... }

/*// Small devices (landscape phones, less than 768px)*/
@media (max-width: 767.98px) { 

    html {
        font-size: 15px; /* Base del rem */
    }
    
    h1 {
        font-size: 45px;
    }
    
    h2, .h2 {
        font-size: 41px;
        line-height: 51px;
    }
    
    .text-lg {
        font-size: 25px;
        line-height: 1.3;
    }

    .vertical-title {
        font-size: 2.7rem;
    }

    .text-xl{font-size: 2.5rem;}
    
    .text-md {font-size: 1.3rem;}
    
    
    .navbar .navbar-container {
        border-bottom: transparent;
    }
    
    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);
    }

    .navbar-brand img{
        max-width: 250px;
    }

}

/*// X-Small devices (portrait phones, less than 576px)*/
@media (max-width: 575.98px) { 
   
    h2, .h2 {
        font-size: 37px;
        line-height: 46px;
    }

    .info-banner {
        padding-top: 15px;
        padding-bottom: 15px;
    }

    .info-banner:not(:last-child)::after {
         top: auto;
        bottom: 0;
        left: 0;
        right: auto;
        width: 100%;
        height: 1px;
        transform: none;
    }

 }

/*// Medium devices (tablets, less than 992px)*/
@media (max-width: 991.98px) {
    
    section{
        padding-top:60px;
        padding-bottom:60px;
    }

      #news-carousel .owl-nav button.owl-prev {
        left: 10px;
    }

    #news-carousel .owl-nav button.owl-next {
        right: 10px;
    }

    #news-carousel .owl-nav button {
        z-index: 10;
    }

    #news-carousel .owl-nav button i {
        font-size: 2rem;
    }    

    .accordion-button{
        line-height: 1.5;
    }
    
}

/*// Large devices (desktops, less than 1200px)*/
@media (max-width: 1199.98px) { 
    
    html {
    font-size: 15px; /* Definisci la base del rem */
    }

    .navbar.scrolled{
        padding-top:10px!important;
        padding-bottom:10px!important;
        transition: all 0.2s ease-in-out;

    }

    .navbar #header-logo{
        max-height:45px!important;
        transition: all 0.2s ease-in-out!important;
    }

    .navbar.scrolled #header-logo{
        max-height:45px!important;
        transition: all 0.2s ease-in-out!important;
    }

}

/*// 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) { 

    
    #header-logo{max-height:60px;}

    
    .w-lg-50{
        width: 50%;
    }
    
    .w-lg-75{
        width: 75%;
    }

    .vertical-title{
        writing-mode: sideways-lr!important;
        text-wrap-mode: nowrap!important;
        position: absolute!important;
    }
}

/*// X-Large devices (large desktops, 1200px and up)*/
@media (min-width: 1200px) { ... }

/*// XX-Large devices (larger desktops, 1400px and up)*/
@media (min-width: 1400px) { ... }

@media (min-width:1800px){
        .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
        max-width: 1520px;
    }
}