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 {
    color: #eb4d4b;
    text-decoration: none;
}
ul {
    list-style: none;
    padding-inline-start: 0px;
}
.container {
    margin: auto;
    width: 100%;
}

hr {
    width: 60%;
    height: 2px;
    border-radius: 10px;
    background: linear-gradient(to left, #3742fa, #ff4757,#eccc68);
    margin: 10px auto;
    border: none;
}

/* Navigation*/
nav {
/*     position: fixed; */
    width: 100%;
    height: 150px;
/*     line-height: 100px; */
    z-index: 99;
/*     background-color: #535c68; */
}
.nav-main input{
    display: none;
}
/* Logo */
.nav-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-left: 50px;
/*     flex-direction: column; */
    text-align: center;
/*     background-color: #535c68; */
    cursor: pointer
}
.tex-logo {
    margin-top: 50px;
    font-size: 15px;
    color: #535c68;
}
.nav-brand{
    width: 120px;
/*     margin-top: 5px; */
}

/* Navigation Center*/
nav .nav-main {
    position: relative;
    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;
}
nav .nav-main .nav-menu > li > a{
    text-decoration: none;
    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{
/*     border-bottom: 1px solid transparent; */
    background: #eb4d4b;
    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: 150px;
    line-height: 45px;
    position: absolute;
    z-index: 2;
    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: 120px;
    opacity: 1;
    visibility: visible;
    transition: all 0.3s ease;
}
.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{
    padding: 0 20px;
/*     display: flex;
    justify-content: center; */
}

.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;
}

/* CORREGIR LOS MENUS CENTRALES, RECUERDA BORRASTE LA LUPA */
.nav-main .btn,
.mobile-link{
    display: none;
}
.nav-main .btn.menu-btn{
    color: #eb4d4b;
    font-size: 2rem;
    position: absolute;
    right: 30px;
}
.nav-main .btn.cancel-btn{
    color: #fbfbfb;
    position: absolute;
    font-size: 1.5rem;
    right: 30px;
    top: 10px;
}

/*SLIDER*/
.container__slider {
    width: 100%;
    margin: 50px auto;
    height: 80%;
    display: block;
    overflow: hidden;
    position: relative;
    border-radius: 5px;
/*     z-index: 1; */
}
.slider {
    display: flex;
    width: 400%;
    height: 90vh;
    margin-left: -100%;
}
.slider::before {
    content: "";
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.6);
    height: 100%;
}
.slider__section {
    width: 100%;
    position: relative;
}
.slider__img {
    display: block;
    width: 100%;
    height: 100%
}
.slider__btn {
    position:absolute;
    width: 40px;
    height: 40px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 50px;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    opacity: 0.2;
    z-index: 1;
}
.slider__btn:hover {
    color: white;
    opacity: 1;
}
.slider__btn--left {
    left: 30px;
}
.slider__btn--right {
    right: 30px;
}
.slider__content {
    position: absolute;
    top: 50%;
    left: 50%;
    color: white;
    text-align: center;
    transform: translate(-50%, -50%);
    z-index: 1;
}
.slider_title {
    font-size: 3em;
}
.slider__txt {
    font-size: 20px;
    margin: 40px auto;
    line-height: 30px;
}
.slider__link {
    display: block;
    border-radius: 10px;
    background: #3742fa;
    color:white;
    padding: 10px;
    text-decoration: none;
    width: 200px;
    margin: 0 auto;
    transition: all 0.3s ease;
}
.slider__link:hover {
    background: white;
    color: #3742fa;
}

/* RESUMEN SERVICIOS */

.section-title {
    width: 100%;
    text-align: center;
    justify-content: center;
    margin: auto;
    font-size: 30px;
    color: #3742fa;
}

.res-servicios {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: 80%;
    margin: 0 auto 50px;
    gap: 20px;
    height: 80vh;
    justify-content: center;
    align-items: center;
}

.res-servicios-categ {
    position: relative;
    height:100%;
    width: 100%;
    overflow: hidden;
    border-radius: 5px;
}

.res-servicios-descrip {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 6px;
    cursor: pointer;
}

.res-servicios-categ h3 {
    position: absolute;
    color: white;
    height: 70%;
    width: 100%;
    top:0;
    font-size: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.res-servicios-descrip img {
    width: 100%;
    height: 100%;
    transition: all 500ms ease-out;
    object-fit: cover;
}

.res-servicios-descrip::before {
    content: "";
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    height: 100%;
}

.res-servicios-descrip .capa{
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    background: hsla(231, 90%, 31%, 0.8);
    opacity: 0;
    visibility: hidden;
    object-fit: cover;
}

.res-servicios-descrip:hover > .capa {
    opacity: 1;
    visibility: visible;
}

.res-servicios-descrip:hover > img {
    transform: scale(1.2);
}

/* SLIDER CLIENTES */

.clientes {
    width: 80%;
    height: 30vh;
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}
.slider-clientes {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
    margin: auto;
    scroll-behavior: smooth;
}

.slider-clientes::before, 
.slider-clientes::after {
    content: "";
}

.slider-clientes::before{
    top: 0;
    left: 0;
}

.slider-track-clientes {
    width: 100%;
    height: 100%;
    align-items: center;
    display: flex;
    width: calc(250px*15);
    animation: scroll 30s infinite linear;
}

.slider-track-clientes::before, 
.slider-track-clientes::after {
    content: "";
    position: absolute;
    width: 80%;
    height: 150px;
    z-index: 2;
}

.slider-track-clientes::before {
    top: 0;
    left: 0;
}

.slider-track-clientes::after{
    top: 0;
    right: 0;
    transform: rotateZ(180deg);
}

.slider-clientes .slider-track-clientes:hover {
    animation-play-state: paused;
}

.slider-clientes .carrousel-clientes {
    width: 250px;
    height: 150px;
    margin: 1px solid orange;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
}

.slider-clientes .carrousel-clientes img{
    width: 50%;
    height: 50%;
    margin: auto auto;
}

@keyframes scroll {
    0% {
        transform: translateX(0%);
    }
    
    100% {
        transform: translateX(calc(-250px * 9.5));
    }
}

/* 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;
}
.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;
}
@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;
    }
    /* SLIDER */
    .slider {
        height: 80vh;
    }
    .slider__txt {
        font-size: 18px;
        font-weight: 500;
    }
    /* SERVICIOS */
    .res-servicios {
        grid-template-columns: repeat(2, 1fr);
        width: 100%;
    }
    /* CLIENTES */
    .clientes {
        width: 100%;
    }
    /* 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;
    }
    /* SLIDER */
    .slider {
        height: 60vh;
    }
    .slider_title{
        font-size: 40px;
    }
    .slider__txt {
        font-size: 16px;
        font-weight: 400;
    }
    .slider__btn {
        font-size: 30px;
    }
    .slider__link {
        width: 100px;
    }
    /* RESUMEN SERVICIOS */
    .section-title {
        font-size: 20px;
    }
    /* SERVICIOS */
    .res-servicios {
        grid-template-columns: 1fr;
        height: 100%;
    }
    .res-servicios .res-servicios-categ{
        height: 30vh;
        width: 90%;
        margin: auto;
    }
    /* 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;
    }
}