/*// Small devices (landscape phones, 576px and up)*/
@media (min-width: 576px) { ... }

/*// Medium devices (tablets, 768px and up)*/
@media (min-width: 768px) { 

    .team-portrait{
        object-position: center;
        border-radius: 10px;
        object-fit: cover;
        width:100%;
        aspect-ratio: 2 / 3;
    }
}

/*// 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) { 

    .navbar{
        background: url('../img/header-bg-small.svg'), #fff;
        background-position: right;
        background-size: 30%;
        background-repeat: no-repeat;
    }
    
        .nav-item:hover, .nav-item.current-menu-item{
        background-color: var(--gray);
        border-radius: 50px;
   
    }

    .nav-item:hover .nav-link, .nav-item.current-menu-item .nav-link{
       background: linear-gradient(90deg, #211B53, #3A8BED);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        font-weight: 500;
    }
    
    .border-lg-end{
        border-right: 1px solid #dee2e6 !important;
    }
}

/*// XX-Large devices (larger desktops, 1400px and up)*/
@media (min-width: 1400px) { ... }


/*// 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: 18px; /* Base del rem */
    }
    
    body {
        background-color: var(--background-color); 
        color: #333;
        font-size: 18px;
        font-family: var(--main-font);
        line-height: 1.6;
        font-weight: 400;
        font-style: normal;
    }
    
    h1, .h1 {
        line-height: 1;
        font-size: 30px;
        font-weight:700;
    }

    h2, .h2 {
        font-size: 30px;
        font-weight:700;
    }

    h3, .h3 {
        font-size: 20px;
        line-height:1.2;
        font-weight:700;
    }

    h4, .h4 {
        font-size: 22px;
        line-height: 1.2;
        font-weight:700;
    }

    h5, .h5 {
        font-size: 22px;
        line-height: 1.2;
        font-weight:500;
    }
    
    .big-text{
        font-size:24px;
        line-height:1.2;
    }

    .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.7);
        padding-bottom: calc(var(--section-padding)*0.7);
    }
    
    .pseudo-container, .container{
        padding-left: calc(var(--pseudo-container-padding)*0.3);
        padding-right: calc(var(--pseudo-container-padding)*0.3);
    }

    .pseudo-container-all{
        padding: calc(var(--pseudo-container-padding)*0.5);}
    

    .title-gradient {
        background: linear-gradient(90deg, #211B53, #3A8BED);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        font-size: 60px;
        font-weight: 700;
    }

    .title-gradient-element{
        object-position: center;
        height:40px;
        aspect-ratio:1/1;
        object-fit: contain;
        left: -50px;
        top: -20px;
    }

    .bg-gradient-arrow-dx {
        background: linear-gradient(90deg, var(--lightblue), var(--aquamarine));
    }

}

/*// Medium devices (tablets, less than 992px)*/
@media (max-width: 991.98px) {
    
    .team-modal-bg{
       background-size: 0%;
    }
    
    section{
        padding-top:60px;
        padding-bottom:60px;
    }
    
    #logo-statico{
        max-height: 40px!important;
    }
    
    .team-portrait{
        object-position: center;
        border-radius: 10px;
        object-fit: cover;
        width:100%;
        aspect-ratio: 4 / 5;
    }
    
    .team-modal-section{
        padding: 30px;
    }
    
    .home-hero-text{
        font-size: 3em;
        line-height: 1;
    }
    
    #home-hero{
        min-height:50vh;
    }
    
    .bg-gradient-arrow{
        background: linear-gradient(90deg, var(--lightblue), var(--aquamarine));
    }
    #navbar .container-fluid{
        padding:0px;
    }
    
     .container-fluid{
        padding-left: calc(var(--pseudo-container-padding)*0.5);
        padding-right: calc(var(--pseudo-container-padding)*0.5);
    }
    
}

/*// Large devices (desktops, less than 1200px)*/
@media (max-width: 1199.98px) { 
    
    html {
    font-size: 15px; /* Definisci la base del rem */
    }
    
    .navbar {
    background-color: rgb(255 255 255 / 88%) !important;
    }
    
    .nav-link {
    padding-right: 0px !important;
    }
    
    .nav-item {
        padding: 5px 0px;
        margin: 0 3px;
        display: flex;
        justify-content: end;
    }
    
    .figure{
        max-height: 50vh;
    }
    
    .figure-box{
        height: 50vh;
    }
    
    .current_page_item .nav-link {
        color: var(--pop-color);
    }

/*
    .container, .pseudo-container{
        padding-left: 30px;
        padding-right:30px;
    }
*/
}

/*// X-Large devices (large desktops, less than 1400px)*/
@media (max-width: 1399.98px) { 
     .bg-gradient-arrow-dx {
        background: linear-gradient(90deg, var(--lightblue), var(--aquamarine));
    }
}
