@media (min-width: 1800px) {
    .navegator,.cont-nav{height: 80px;}
    .carousel-controls{line-height: 74vh;}
    html {font-size: 1.2rem;}
}

@media (min-width: 2000px) {
    .navegator,.cont-nav{height: 90px;}
    .carousel-controls{line-height: 73vh;}
    html {font-size: 1.3rem;}
}

@media (min-width: 2300px) {
    .navegator,.cont-nav{height: 100px;}
    .carousel-controls{line-height: 70vh;}
    html {font-size: 1.5rem;}
}

@media (min-width: 2600px) {
    .navegator,.cont-nav{height: 100px;}
    .carousel-controls{line-height: 58vh;}
    html {font-size: 1.5rem;}
}



@media (max-width: 1280px) {
    .cont-services{
        width: 100%;
    }
    .max-margen{
        width: inherit !important;
    }
    .bloq-services {
        padding: 0 2rem;
        width: 100%;
        display: flex;
        overflow-y: scroll;
        overflow-x: scroll;
        flex-wrap: unset !important;
        gap: 1rem;
        justify-content: left !important;
        margin: 3rem 0;
    }


    .bloq-services::-webkit-scrollbar {
        width: 8px;     /* Tamaño del scroll en vertical */
        height: 8px;    /* Tamaño del scroll en horizontal */
        display: none;  /* Ocultar scroll */
    }
    .bloq-services::-webkit-scrollbar-thumb {
        background: #ccc;
        border-radius: 4px;
    }

    /* Cambiamos el fondo y agregamos una sombra cuando esté en hover */
    .bloq-services::-webkit-scrollbar-thumb:hover {
        background: #b3b3b3;
        box-shadow: 0 0 2px 1px rgba(0, 0, 0, 0.2);
    }

    /* Cambiamos el fondo cuando esté en active */
    .bloq-services::-webkit-scrollbar-thumb:active {
        background-color: #999999;
    }

    .bloq-services::-webkit-scrollbar-track {
        background: #e1e1e1;
        border-radius: 4px;
    }

    /* Cambiamos el fondo cuando esté en active o hover */
    .bloq-services::-webkit-scrollbar-track:hover,
    .bloq-services::-webkit-scrollbar-track:active {
        background: #d4d4d4;
    }





    .service {
        min-width: 16rem;
    }
    .mail{
        flex-direction: column;
        margin: 0 2rem;
    }
    .mail-detail, .mail-detail p{
        width: 100% !important;
        text-align: center !important;
    }
    .cont-mail .form{
        width: 100% !important;
    }

    .navegator, .cont-nav{
        height: auto !important;
    }

    .max-margen-nav{
        width: 100% !important;
    }

    .navegator{
        display: grid !important;
        grid-template-columns: 1fr 3fr 14fr 6fr !important;
        grid-template-rows: 70px 1fr;
    }
    .log{
        grid-column: 4 / span 4;
        padding-right: 1.5rem;
        text-align: center;
    }

    .nav-opcions{
        grid-column: 1 / span 4;
        grid-row: 2;
        display: none !important;
    }

    .list-sub-service{
        width: 100% !important;
        position: relative !important;
    }
    .list-sub-service a{
        background: #f8f8f8 !important;
    }
    .nav-opcions a{
        border-top: 1px solid #e7e6e6;
        padding: 1rem !important;
        width: 100%;
        float: left !important;
    }

    .icon-home-line{
        cursor: pointer;
        justify-content: center;
        display: flex !important;
        align-items: center;
        font-size: 1.2rem;
        font-weight: bold;
    }

    .logo img{
        width: 75% !important;
    }
    .nav-opcions{
        display: block;
    }
    .bloq{
        display: block !important;
    }
    .dis-bloq{
        display: none !important;
    }
    .information{
        align-items: center;
        width: auto !important;
        max-width: 60rem !important;
        margin: 2rem;
    }
    .cont-welcome{
        width: auto !important;
    }

    .mail form{
        display: flex !important;
        flex-direction: column;
        gap: 1rem;
    }
    .cont-ft{
        flex-wrap: wrap;
        gap: 2rem !important;
        padding: 2rem !important;
    }


    /* NOSOTROS */


    .cont-margen {
        margin: 2rem;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    .cont-description {
        height: auto !important;
    }
    .des-detail, .des-image {
        width: auto !important;
    }

    .des-detail .header {
        flex-direction: column;
        align-items: center;
    }

    .des-detail .header .title h1, .title strong {
        text-align: center;
    }

    .list-info {
        margin-left: 0 !important;
        display: flex;
        flex-wrap: wrap;
        gap: 0 1rem;
        justify-content: space-around;
    }

    .mail {
        gap: 3rem !important;
    }
    .mail-detail {
        margin-top: 0 !important;
    }


    .des-image{
        justify-content: center !important;
    }
    .cont-service {
        flex-direction: column !important;
        padding: 0 1rem;

    }
    .describe-service {
        width: 100% !important;
    }
    .item-service {
        width: 100% !important;
    }
}

@media (max-width: 780px) {
    :root{
        --dim-poligono: 9rem !important;
    }
    .des-detail .header .title h1, .title strong {
        font-size: 1.2rem !important;
    }

    .cont-ft{
        flex-direction: column;
    }
    .mision, .vision{
        width: 19rem !important;
    }
    .define {
        display: block !important;
    }
    .image-left {
        top: calc(var(--dim-poligono) - 1.8rem) !important;
        left: .4rem !important;
    }

    .image-right {
        top: calc(var(--dim-poligono) - 1.8rem) !important;
        left: calc(var(--dim-poligono) - .4rem) !important;
    }
    .cont-date{
        margin: 3rem !important;
    }
}
@media (max-width: 540px) {
html{
font-size: .9rem;
}
.information .redirect{
align-items: center;
flex-direction: column;
}
ul.slides{
height: 90vh !important;
}
}


@media (max-width: 880px) {
.item-project{
display: block !important;
height: auto !important;
}

.cont-project{
overflow: auto !important;
height: auto !important;
}

.slide-option{
height: 100% !important;
}
.slide-option span{
width: 2.3rem !important;
height: 3rem !important;
line-height: 2.5rem !important;
font-size: 3rem;
}
.next span{
border-radius: 1rem 0 0 1rem !important;
}
.prev span{
border-radius: 0 1rem 1rem 0 !important;
}
.part-proj{
width: 100% !important;
}
.date-proj .image{
height: 50vh;
}
}


@media (max-width: 280px) {
    html{
    font-size: .8rem;
    }
}


