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

    .estaciones__slider h2{
        font-size: 3.6rem;
    }

    .estaciones__road .truck{
        width: 28rem;
        top: 11.8rem;
    }
}


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

    .ypadding-section{padding: 3.5rem 0rem 1.5rem 0rem !important;}

    .title-section{
        font-size: 5.23rem;
    }

    .text-section{
        font-size: 1.4rem;
        width: 90%;
    }

    /* Margen principal */
    .main-margin {
        width: calc(100% - 6rem); /* Margen de xrem (80px) en ambos lados */
        margin: 0 auto;
        max-width: 1200px; /* Ajuste máximo para pantallas medianas/grandes */
        padding: 1.3rem 0;
    }

    .headermenu {
        height: 6rem; /* Establece una altura fija */
        padding: 0rem 4.5rem;
    }

    .headermenu_logo_desktop {
        display: flex;
        /* justify-content: center; Centra horizontalmente el logo */
        align-items: center; /* Centra verticalmente el contenido */
        height: 100%; /* Asegura que el logo ocupe el mismo espacio que las demás columnas */
        /* border: 1px solid red; */
    }

    .headermenu_logo_desktop img{
        /* width: 50%; */
        width: auto; /* Permite que la imagen mantenga su proporción */
        height: 4rem; /* Define una altura adecuada */
        max-height: 100%; /* Asegura que no exceda el espacio de su contenedor */
        display: block; /* Elimina cualquier espacio adicional de inline elements */
        /* margin: 0 auto; Centra horizontalmente si hay espacio sobrante */
    }

    /* Banner images */

    .mainbanner{
        /* height: calc(11dvh - 6rem) !important; */
        height: 30rem;
        margin-top: 6rem !important;
        /* border: 1px solid yellowgreen; */
    }

    .mainbanner__img {
        object-fit: cover;
    }
   
    .pinkline{
        height: 2rem;
    }

    /****************************** Services section ********************************/

    .carrousel-desktop {
        position: relative;
        display: flex;
        justify-content: space-between;
        width: 100%;
        z-index: 1;
        gap: 7rem;
        margin-top: 2rem;
        /* border: 1px solid green; */
        max-width: 1080px;
        height: 17rem;
    }

    .carrousel-card {
        /* background-color: aqua; */
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;
        overflow: visible;
        background-image: url('../img/servicios/carr_fondo.png');
        background-size: cover cover;
        background-position: center;
        border-radius: 2rem;
    }

    .cards__services{
        height: 75dvh;
        border: solid 3px var(--rosa) !important;
        /* height: auto; */
    }

    .cards__services .v-icon{
        font-size: 2.3rem !important;
        color: black !important;
    }

    .services__dlog_cont{
        height: 90%;
        display: flex;
        align-items: center;
    }

    .backgrou{
        background-size: 60% 100%;
    }

    .backgrou img{
        width: 11rem !important;
    }

    .services__dlog_title{
        font-size: 2.6rem;
        margin-bottom: .6rem;
    }

    .services__dlog_text{
        font-size: 1.25rem;
    }



    /* Stations section */

    .estaciones_ctn{
        height:5rem;
        padding: 4rem 1rem !important;
        margin-bottom: 2rem;
    }

    .estaciones__slider h2{
        font-size: 5.3rem;
    }

    .estaciones__road .truck{
        width: 32rem;
        top: 11.3rem;
    }

    /* .top-margin{margin-top: 6rem !important;} */

    .weare__options{
        justify-content: space-between;
    }

    /* Video Section */

    .video-container {
        max-width: 1440px;
    }


    /* Contact Section */

    .contact__title{
        font-size: 4.3rem;
    }

    .contact__phone{
        font-size: 2rem;
    }

    .foot .foot__socials{
        justify-content: end;
        align-items: center;
        flex-direction: row;
        gap: 2rem;
    }

    .foot .foot__locations{
        display: flex;
        justify-content: end;
        margin-top: 3em;
    }

    .foot__locations div{
        margin: 1.2rem;
    }

    .foot__locations a:hover{
        color: var(--rosa) !important;
    }
    
}

/* Grande: Laptops y dispositivos grandes */
@media (min-width: 992px) {
    .main-margin {
        width: calc(100% - 8rem); /* Margen de xrem (80px) en ambos lados */
    }


    .mainbanner{
        /* height: calc(11dvh - 6rem) !important; */
        height: 85dvh;
    }
    

    .estaciones_ctn{
        height:auto;
        padding: 2rem 1rem 0rem 0rem !important;
        margin-bottom: 0rem;
        /* border: 1px solid green; */
    }

    .estaciones__slider{
        height: 19.3rem;
        display: flex;
        justify-content: center;
        align-items: start;
        /* border: 1px solid green; */

        height: auto !important;
        min-height: 19.3rem;
        padding-top: 1rem;
    }

    .estaciones__slider h2{
        font-size: 8rem;
        line-height: 1.1 !important;
        overflow: visible !important;
    }

    .estaciones__road .truck{
        width: 44rem;
        top:10rem;
    }

    .weare__background{
        height: 42rem !important;
        align-items: stretch;
    }

    .weare__text{
        /* padding: 3rem 1rem 0rem 1rem; */
        padding-top: 0rem !important;
    }

    .weare__options{
        padding-top: 0rem !important;
    }

    .weare__image img{
        width: 100%;
    }

}


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

    .main-margin {
        max-width: 1366px; /* Limitar ancho máximo a 1366px */
    }

    .estaciones__slider{
        height: 26rem !important;
        display: flex;
        justify-content: center;
        align-items: start;
    }

    .estaciones__road .truck{
        width: 54rem;
        top: 13.8rem;
    }
}