body {
    background: #000000;
    color: #000000;
    background-color: #fbfbfb;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4' viewBox='0 0 4 4'%3E%3Cpath fill='%23dfdedf' fill-opacity='0.2' d='M1 3h1v1H1V3zm2-2h1v1H3V1z'%3E%3C/path%3E%3C/svg%3E");
    font-size: 16px;
    font-family: 'Oswald', sans-serif;
}
a {
    text-decoration: none;
}
ul {
    list-style: none;
    padding-inline-start: 0px;
}
:root{
    --padding-container:50px 0;
    --color-title: #001a49;
    --color-text: #585d63c4;
    --colorPrimario: #eb4d4b;
}
hr {
    width: 100px;
    height: 5px;
    background: linear-gradient(to left, #3742fa, #ff4757,#eccc68);
    border: none;
}
/* HEADER */
nav {
    --padding-container:0;
    }
    header .container{
        width: 100%;
        margin: 0 auto;
        overflow: hidden;
        padding: var(--padding-container);
    }
    .hero{
        width: 100%;
        height: 100vh;
        min-height: 600px;
        max-height: 1000px;
        position: relative;
        display: grid;
        grid-template-rows: 180px 1fr;
    }
    .hero::before{
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: linear-gradient(180deg, #0000008c 0%, #0000008c 100%), url(../Nosotros/img/nosotros.png);
        background-size: cover;
        clip-path: polygon(0 0, 100% 0, 100% 90%, 50% 95%, 0 90%);
        z-index: -1;
    }

/* Navigation*/
.nav-main input{
    display: none;
    }
    /* Logo */
    .nav-logo {
        display: flex;
        margin-top: 20px;
        margin-left: 30px;
        filter: brightness(0) invert(1);
    }
    .nav-logo .nav-brand{
        width: 140px;
    }
    .tex-logo {
        margin-top: 50px;
        font-size: 15px;
        color: var(--color-title);
        color: #fbfbfb;
    }

/* Navigation Center*/
nav .nav-main {
    position: absolute;
    width: 100%;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    }
    nav .nav-main .nav-menu{
        margin-top: 80px;
        display: inline-flex;
    }
    nav .nav-main .nav-menu li{
        list-style: none;
        width: 100%;
    }
    nav .nav-main .nav-menu > li > a{
        text-decoration: none;
        color: #fbfbfb;
        padding: 20px 20px;
        font-size: 18px;
        font-weight: 500;
        text-transform: uppercase;
        transition: all 0.3s ease;
    }
    nav .nav-main .nav-menu > li > a:hover{
    background: #eb4e4bc9;
    color: #ffff;
    border-radius: 3px;
    font-size: 20px;
    }
    .nav-menu .mobile-item {
        display: none;
    }

/* Drop Menu */
.nav-menu .drop-menu{
    background: #f5f3f3;
    width: 180px;
    top: 180px;
    line-height: 45px;
    position: absolute;
    margin-left: -30px;
    opacity: 0;
    visibility: hidden;
    box-shadow: 0 6px 10px rgba(0,0,0,0.15);
}

.nav-menu li:hover .drop-menu,
.nav-menu li:hover .mega-servicios{
    top: 130px;
    opacity: 1;
    visibility: visible;
    transition: all 0.3s ease;
}
.nav-menu .drop-menu::before{
    content: "";
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid #f5f3f3;
    position: absolute;
    top: -10px;
    left: calc(50% - 10px);
}
.nav-menu .drop-menu li a {
    width: 100%;
    color:rgba(0, 0, 0, 0.4);
    display: block;
    padding: 0 0 0 15px;
    font-size: 15px;
    font-weight: 400;
    border-radius: 0px;
    transition: all 0.3s ease;
}
.nav-menu .drop-menu li a:hover{
    color: #eb4d4b;
    font-size: 18px;
}

/* Mega menu - Servicios */
.mega-servicios{
    position: absolute;
/*     padding: 0 30px; */
    top: 150px;
    background:#f5f3f3;
    width: 100%;
    left: 0;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
}
.content-serv{
    background:#f5f3f3;
    padding-top: 25px;
    padding-bottom: 25px;
    display: flex;
    width: 100%;
    justify-content: space-between;
}
/* .nav-menu>li:hover .mega-servicios{
    opacity: 1;
    visibility: visible;
    top: 120px;
    transition: all 0.3s ease;
    z-index: 99;
} */
.content-serv .row-serv{
    width: calc(20%);
    line-height: 45px;
}
.content-serv .row-serv header{
    color: #57595d;
    font-size: 15px;
    text-transform: uppercase;
    text-align: center;
    font-weight: 400;
}

.content-serv .row-serv:nth-child(2),
.content-serv .row-serv:nth-child(3),
.content-serv .row-serv:nth-child(3),
.content-serv .row-serv:nth-child(4),
.content-serv .row-serv:nth-child(5){
    border-left: 1px solid rgb(235, 77, 75, 0.2);
}
.row-serv .mega-links li a{
    padding: 0 20px;
    color:rgba(0, 0, 0, 0.4);
    font-size: 15px;
    display: block;
    text-align: center;
    transition: all 0.3s ease;
}

.row-serv .mega-links li a:hover{
    color: #eb4d4b;
    font-size: 18px;
}

.nav-main .btn,
.mobile-link{
    display: none;
}
.nav-main .btn.menu-btn{
    color: #eb4d4b;
    font-size: 2rem;
    position: absolute;
    right: 30px;
    cursor: pointer;
}
.nav-main .btn.cancel-btn{
    color: #fbfbfb;
    position: absolute;
    font-size: 1.5rem;
    right: 30px;
    top: 10px;
    cursor: pointer;
}

/* SECCION ABOUT */
.hero .hero-container{
    max-width: 800px;
    --padding-container:0;
    display: grid;
    grid-auto-rows: max-content;
    align-content: center;
    padding-left: 100px;
    text-align: left;
    }
    .hero-container .hero-title{
        font-size: 4rem;
        color: #fbfbfb;
        text-transform: uppercase;
        line-height: 5px;
    }
    .hero-container p{
        font-size: 2rem;
        color: #fbfbfb8c;
        text-transform: uppercase;
        line-height: 5px;
    }

main .container-aboutOne{
    width: 70%;
    margin: 50px auto;
    padding-bottom: 50px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    }
    .container-aboutOne img{
        width: 100%;
        max-height: 550px;
        height: 100%;
        margin: auto;
        border-radius: 5px;
        overflow: hidden;
    }
    .container-aboutOne .about-descrip{
        position: relative;
        display: flex;
        padding-top: 20px;
        padding-bottom: 40px;
        flex-direction: column;
        align-content: center;
        justify-content: space-between;
        width: 80%;
    }
    .container-aboutOne .about-descrip h1{
        text-transform: uppercase;
    }
    .container-aboutOne .about-descrip p{
        line-height: 28px;
        font-size: 18px;
        font-weight: 400;
        text-align: justify;
        color: var(--color-text);
    }

    .container-aboutOne .about-descrip::before{
        content: "";
        position: absolute;
        width: 100px;
        height: 10px;
        background: linear-gradient(to right, #3742fa, #ff4757,#eccc68);
        top: -10px;
        border-radius: 4px;
    }
    .container-aboutOne .about-row{
        display: grid;
        grid-template-columns: 60px 1fr;
        gap: 20px;
    }
    .container-aboutOne .about-row i{
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 50px;
        color: var(--colorPrimario);
    }
main .container-aboutTwo{
    width: 80%;
    margin: 50px auto;
    padding-top: 50px;
    padding-bottom: 50px;
}
.container-aboutTwo h1,
.container-aboutThree h1{
    text-align: center;
    text-transform: uppercase;
}
.container-aboutTwo p{
    width: 80%;
    margin: 20px auto 40px auto;
    font-size: 20px;
    text-align: center;
    line-height: 30px;
    color: var(--color-text);
}
.container-aboutTwo .container-aboutRow{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.container-aboutRow .about-row{
    width: 100%;
    height: 500px;
    margin: auto;
    background-color: #eeebebb4;
    display: flex;
    flex-direction: column;
    align-content: center;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    transition: all 0.3s ease;
    border-radius: 5px;
}
.container-aboutRow .about-row:hover{
/*     background-color: #1e90ff; */
    background-color: var(--colorPrimario);
    transform: scale(1.1);
}
.container-aboutRow .about-row i{
    height: 100px;
    color: var(--colorPrimario);
    font-size: 60px;
}
.container-aboutRow .about-row:hover i{
    color: #fbfbfb;
}
.container-aboutRow .about-row h2{
    text-align: center;
}
.container-aboutRow .about-row:hover h2{
    color: #fbfbfb;
}
.container-aboutRow .about-row p{
    text-align: justify;
    padding: 0 20px;
    line-height: 28px;
    font-size: 18px;
    font-weight: 400;
    color: var(--color-text);
}
.container-aboutRow .about-row:hover p{
    color: #fbfbfb;
}

/* MISIÓN, VISIÓN Y VALORES */
main .container-aboutThree{
    padding: var(--padding-container);
    width: 100%;
}

.container-aboutThree .aboutValores{
    display: grid;
    height: 600px;
    min-height: 300px;
    max-height: 600px;
    grid-template-columns: repeat(2, 1fr);
}
/* PRUEBA */
    .aboutValores .aboutMision,
    .aboutValores .aboutVision{
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        color: #dfdede;
        transition: 0.3s ease all;
        position: relative;
        overflow: hidden;
        background-color: #2f4365;
        padding: 0 20px 0 20px;
    }
/*     .aboutValores .aboutVision p,
    .aboutValores .aboutVision h2, */
    .aboutValores .aboutMision p,
    .aboutValores .aboutMision h2{
/*         position: relative; */
        z-index: 2;
        transition: 0.3s ease all;
        /* prueba */
        position: absolute;
        left: 40%;
    }
    .aboutValores .aboutMision::after{
        content: "";
        width: 300%;
        height: 100%;
        background-color: #0476f2;
        position: absolute;
        z-index: 1;
        left: -300%;
        transition: all 0.8s ease-in-out;
        border-radius: 0px 300px 300px 0px;
    }
    .aboutValores .aboutMision:hover::after{
        left: 0;
    }
    .aboutValores .aboutVision::after{
        content: "";
        width: 300%;
        height: 100%;
        background-color: #e8175d;
        position: absolute;
        z-index: 1;
        right: -300%;
        transition: all 0.8s ease-in-out;
        border-radius: 300px 0px 0px 300px;
    }
    .aboutValores .aboutVision:hover::after{
        right: 0;
    }

    .aboutValores .aboutMision:hover h2,
    .aboutValores .aboutMision:hover p{
        left: 20px;
    }

    /* PRUEBA TEXTO VALORES */
    .aboutValores .aboutMision .textValores{
        width: 70%;
        height: 100%;
        display: inline-flex;
        justify-content: center;
        align-items: center;
        position: absolute;
        opacity: 0;
        padding-left: 50px;
    }
    .aboutValores .aboutMision:hover .textValores{
        opacity: 1;
        left: 80px;
    }



    .aboutValores .aboutVision span{
/*         position: relative; */
        z-index: 2;
        transition: 0.3s ease all;
        /* prueba */
        position: absolute;
        right: 60%;
    }
    .aboutValores .aboutVision:hover span{
        right: 100px;
    }

    .aboutVision .textVision{
        transition: all 0.3s ease;
    }
    .aboutVision .textVision ul{
        min-width: 300px;
        max-width: 600px;
        width: 100%;
        height: 100%;
        position: absolute;
        z-index: 2;
        top: -15px;
        right: 10%;
        display: inline-flex;
        flex-direction: column;
        justify-content: center;
        line-height: 28px;
        opacity: 0;
        transition: all 0.3s ease;
    }
    .aboutVision .textVision ul li{
        list-style: disc;
    }
    .aboutVision:hover .textVision ul{
        opacity: 1;
        right: 30%;
    }

/*     .aboutValores .aboutMision .textVision ul{
        width: 70%;
        height: 100%;
        display: flex;
        flex-direction:row;
        justify-content: center;
        align-items: center;
        position: absolute;
        opacity: 0;
        padding-left: 50px;
    } */




    main .container-aboutTwo .prueba{
        height: 400px;
        padding: var(--padding-container);
        width: 400px;
        margin: auto;
    }
    .container-aboutTwo .prueba li{
        list-style: disc;
    }
/* FOOTER */

.footer {
    width: 100%;
    height: 100%;
    background-color: #2f3640;
    color: #fbfbfb;
    font-size: 15px;
    padding-top: 35px;
}
.footer .footer-container {
    max-width: 100%;
    height: 100%;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 10px;
}
.footer .footer-box{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}
.footer-container .footer-columna-one {
    text-align: center;
}
.footer-container .footer-columna-one img {
    filter: brightness(0) invert(1);
    width: 180px;
}
.footer-columna-one .social-links{
    margin-top: 50px;
}
.footer-columna-one .social-links > a i{
    color: #ffff;
    font-size: 40px;
    padding: 20px;
    transition: all 0.3s ease;
}
.footer-columna-one .social-links > a:hover i{
    transform: scale(1.5);
}
.footer-box .footer-columna-two ul{
    line-height: 2.2;
}
.footer-box .footer-columna-two li a{
    transition: all 0.3s ease;
    color: var(--colorPrimario);
}
.footer-box .footer-columna-two li:hover > a{
    color: #fbfbfb;
    font-size: 18px;
}

.footer-box .footer-columna-three{
    line-height: 1.2;
}
.footer-box .footer-columna-three h4{
    margin-bottom: 20px;
}
.footer-box .footer-columna-three p{
    margin-top: 5px;
    margin-bottom: 5px;
}

.footer .copyright {
    margin-top: 30px;
    background-color: #182838;
    padding: 15px 10px;
    text-align: center;
    color: #ffff;
}

.footer .copyright small{
    font-size: 15px;
}
     /* custom scroll bar */
::-webkit-scrollbar{
    width: 15px;
}
::-webkit-scrollbar-track{
    background: #fbfbfb;
}
::-webkit-scrollbar-thumb{
    background: #dfdede;
}
#menu-btn:checked ~ .nav-menu{
    left: 0%;
}
#menu-btn:checked ~ .btn.menu-btn{
    display: none;
}
#close-btn:checked ~ .btn.menu-btn{
    display: block;
}

@keyframes scroll {
    0% {
        transform: translateX(0%);
    }
    
    100% {
        transform: translateX(calc(-250px * 9.5));
    }
}


@media screen and (max-width: 970px) {
    nav{
        height: 80px;
    }
    nav .nav-main .nav-menu{
        display: block;
    }
    .nav-main .btn{
        display: block;
    }
    .nav-main .nav-menu{
        position: fixed;
        height: 100vh;
        width: 100%;
        max-width: 350px;
        background: #242526;
        top: -80px;
        left: -100%;
        overflow-y: auto;
        line-height: 50px;
        box-shadow:  0 15px 15px rgba(0, 0, 0, 0.15);
        transition: all 0.3s ease;
        z-index: 99;
    }
    .nav-main ul.nav-menu{
        padding-top: 60px;
    }

    /* MENUS */
   .nav-main .nav-menu li{
        margin: 15px 10px;
        cursor: pointer;
        transition: all 0.3s ease;
    }
    .nav-main .nav-menu li a{
        padding: 0 20px;
    }
    nav .nav-main .nav-menu > li > a:hover{
        background: none;
        font-size: 22px;
    }
    .nav-menu .drop-menu{
        position: static;
        opacity: 1;
        visibility: visible;
        background: #242526;
        top: 65px;
        padding-left: 20px;
        width: 100%;
        max-height: 0px;
        overflow: hidden;
        box-shadow: none;
        transition: all 0.3s ease;
    }
    #showDrop:checked ~ .drop-menu,
    #showMega:checked ~ .mega-servicios{
        max-height: 100%;
    }
    .nav-menu .desktop-item{
        display: none;
    }
    .nav-menu .mobile-item{
        display: block;
        color: #eb4d4b;
        font-size: 18px;
        padding-left: 20px;
        cursor: pointer;
        border-radius: 5px;
        text-transform: uppercase;
        transition: all 0.3s ease;
    }
    .nav-menu .mobile-item:hover{
        color: #fbfbfb;
        font-size: 20px;
    }
    .nav-menu .drop-menu li{
        margin: 0;
    }

    .nav-menu .drop-menu li a{
        font-size: 18px;
        color: #fbfbfb;
    }
    .nav-menu .drop-menu li a:hover{
        background: #fbfbfb;
        font-size: 20px;
    }
    /* MEGASERVICIOS */
    .mega-servicios{
        position: static;
        top: 65px;
        width: 100%;
        opacity: 1;
        visibility: visible;
/*         padding: 0 20px; */
        max-height: 0px;
        overflow: hidden;
        transition: all 0.3s ease;
    }
    .mega-servicios .content-serv{
        background:#242526;
        flex-direction: column;
        padding: 20px 20px 0 20px;
    }
    .content-serv .row-serv{
        width: 100%;
        margin-bottom: 15px;
    }

    .content-serv .row-serv:nth-child(2),
    .content-serv .row-serv:nth-child(3),
    .content-serv .row-serv:nth-child(4),
    .content-serv .row-serv:nth-child(5){
/*         border-left: 1px solid rgb(235, 77, 75, 0.2); */
    border-left: none;
    }
    .content-serv .row-serv .mega-links{
        border-left: 1px solid rgb(235, 77, 75, 0.2);
    }
    .row-serv .mega-links li{
        margin: 0;
    }
    .row-serv .mega-links li a{
        color: #fbfbfb;
        text-align: left;
        margin-left: -20px;
    }
    .content-serv .row-serv header{
        color: #fbfbfb;
        font-size: 16px;
        text-align: left;
    }
    /* SUBMENU DE MEGAMENU */
   .content-serv .row-serv .mobile-link{
    display: block;
    color: #fbfbfb;
    font-size: 16px;
    padding-left: 20px;
    cursor: pointer;
    text-transform: uppercase;
    transition: all 0.3s ease;
    }
    .content-serv .row-serv .mobile-link:hover{
    color: #eb4d4b;
    }
    .content-serv .row-serv .mega-links{
    max-height: 0px;
    overflow: hidden;
    }
    #showLinks1:checked ~ .mega-links,
    #showLinks2:checked ~ .mega-links,
    #showLinks3:checked ~ .mega-links,
    #showLinks4:checked ~ .mega-links,
    #showLinks5:checked ~ .mega-links{
        max-height: 100%;
    }
    .mega-servicios .row-serv header{
    display: none;
    }

    /* FOOTER */
    .footer .footer-container {
        max-width: 100%;
    }
    .footer .footer-container {
        grid-template-columns: 1fr, 2fr;
   }

}

@media screen and (max-width: 450px){
    .tex-logo {
        display: none;
    }

    /* FOOTER */
    .footer .footer-container {
        max-width: 100%;
    }
    .footer .footer-container {
        grid-template-columns: 1fr;
   }
   .footer .footer-box {
        padding-top: 20px;
        grid-template-columns: 1fr;
        margin: auto;
        text-align: center;
    }
}