@import url('https://fonts.googleapis.com/css2?family=Krub:wght@300;400;500;600;700&family=Oswald:wght@200;300;400;500;600;700&display=swap');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    
}
html{
    scroll-behavior: smooth;
}
body{
    background-color: #171717;
    color: #fff;
    font-family: 'Krub';
}
/* header */
header{
    max-width: 1100px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 10px;
    font-family: 'Oswald';
}
header h1{
    font-size: 18px;
    display: flex;
    align-items: center;
}
header h1 .cuadro{
    display: block;
    width: 15px;
    height: 15px;
    background-color: #fff;
    margin-right: 10px;
}
header nav ul{
    display: flex;
    list-style: none;
}
header nav ul li{
    padding: 10px 0;
    border-bottom: 3px solid transparent;
    margin: 0 30px;
}
header nav ul li a{
    text-decoration: none;
    font-size: 17px;
    color: #fff;
    text-transform: uppercase;
}
header nav ul li:hover{
    border-bottom: 3px solid #fff;
}
header button{
    border: none;
    padding: 3px 10px;
    text-transform: uppercase;
    cursor: pointer; 
}
/* sección inicio */
#inicio {
    background: #1d1d1d;
    
    height: auto;
}
.contenido{
    max-width: 1100px;
    margin: auto;

}
#inicio .contenido .ui{
    font-family: 'Krub';
    font-size: 100px;
    text-align: center;

}
#inicio .contenido .fila{
    display: flex;
}
#inicio .contenido .fila .col{
    width: 50%;
    position: relative;
}

#inicio .contenido .fila .ui .circulo{
    display: block;
    width: 30px;
    height: 30px;
    background-color: #6e33ad;
    border-radius: 12px;
}
#inicio .contenido .fila .col .info{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 600px;
}

#inicio .contenido .fila .col .info h2{
    width: fit-content;   
    font-size: 25px;
    text-transform: uppercase;
    letter-spacing: 2px;    
}
#inicio .contenido .fila .col .txt{
    font-family: 'Krub';
    font-weight: normal;
    font-size: 45px;
}
.vertical{
    top: 50%;
    left: -10%;
    position: absolute;
    transform: scale(-1) translate(-50%, 50%);
    writing-mode: vertical-lr;
    letter-spacing: 5px;
}
.circulo-principal{
    position: absolute;
    width: 350px;
    height: 350px;
    background-color: #6e33ad;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    z-index: -2;
}
#inicio .contenido .fila .col img .grande{
    aspect-ratio: 473 / 521;
    height: auto;
    display: block;
}
.peque{
    aspect-ratio: 150 / 165;
    display: none;
}
#inicio .contenido .fila .derecha{
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: center;
    padding-left: 30px;
    font-family: 'Krub';
}
#inicio .contenido .fila .derecha h3{
    font-size: 22px;
    text-align: center;
    margin-bottom: 20px;
    
}
#inicio .contenido .fila .derecha p{
    font-size: 15px;
    margin-bottom: 20px;
    text-align: center;
}

.btn-primary{
    display: inline-block;
    width: fit-content;
    text-decoration: none;
    background-color: #6e33ad;
    border: none;
    cursor: pointer;
    color: #fff;
    padding: 7px 15px;
    text-transform: uppercase;
    font-family: 'Oswald';
    transition: .3s;
}
.btn-primary:hover{
    background-color: #009fe1;
}

/* sección sobre mi */
#sobremi{
    padding: 50px 10px;
    height: auto;
}
#sobremi .contenido .fila{
    display: flex;
    align-items: center;
}
#sobremi .contenido .fila .col{
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}
.titulo-seccion{
    text-align: center;
    font-size: 61px;
}
.resaltado{
    color: #8b49d4;
    font-weight: normal;
}
#sobremi p{
    font-size: 15px;
    text-align: center;
    max-width: 800px;
    margin-top: 30px;
    margin-bottom: 10px;
    margin-left: auto;
    margin-right: auto;
}
#sobremi .contenido .fila .col .skills{
    margin: 20px 0;
}
#sobremi .contenido .fila .col .skills p{
    margin-right: 40px;
}
#sobremi .contenido .fila .col .punto {
    width: 10px;
    height: 10px;
    background-color: #6e33ad;
    display: inline-block;
    margin-right: 15px;
}
#sobremi .contenido .fila .col .barra-skill{
    width: 80%;
    height: 15px;
    border: 1px solid #555555;
    border-radius: 20px;
    overflow: hidden;
    margin-left: 30px;
    position: relative;
    margin-bottom: 20px;
}
#sobremi .contenido .fila .col .barra-skill span{
    display: inline-block;
    font-size: 10px;
    position: relative;
    text-align: center;
    bottom: 5px;
    width: 100%;
}
.progreso{
    background-color: #6e33ad;
    width: 0;
}
/* animaciones */
.dw{
    width: 0%;
    animation: dw 1.5s forwards;
}
@keyframes dw{
    0%{
        width: 0%;
    }
    100%{
        width: 95%;
    }
}
/* animación interiores */
.pint{
    width: 0%;
    animation: pint 1.5s forwards;
}
@keyframes pint{
    0%{
        width: 0%;
    }
    100%{
        width: 90%;
    }
}
/* animación exteriores */
.ext{
    width: 0%;
    animation: ext 1.5s forwards;
}
@keyframes ext{
    0%{
        width: 0%;
    }
    100%{
        width: 85%;
    }
}
/* animación empastado */
.emp{
    width: 0%;
    animation: emp 1.5s forwards;
}
@keyframes emp{
    0%{
        width: 0%;
    }
    100%{
        width: 85%;
    }
}
/* animación estructuras */
.est{
    width: 0%;
    animation: est 1.5s forwards;
}
@keyframes est{
    0%{
        width: 0%;
    }
    100%{
        width: 90%;
    }
}
/* animación Tratamiento de salitre */
.sal{
    width: 0%;
    animation: sal 1.5s forwards;
}
@keyframes sal{
    0%{
        width: 0%;
    }
    100%{
        width: 100%;
    }
}
/* animación impermealizado */
.impe{
    width: 0%;
    animation: impe 1.5s forwards;
}
@keyframes impe{
    0%{
        width: 0%;
    }
    100%{
        width: 90%;
    }
}

#sobremi .contenido .fila .col img{
    display: block;
    max-width: 400px;
    margin: auto;
}

/* seccion cmi trabajo */

.container {
	width: 950px;
	margin: 0 auto;
    text-align: center;
}

.title {
	color: #6e33ad;
	font-size: 70px;
	font-family: Krub;
}

section.slider {
    padding: 10px;
    background: #1d1d1d;
    
    /* height: 100vh; */

}

section.slider .title {
    font-size: 42px;
    position: relative;
    top: 24px;
}

.slider-title {
    display: flex;
    justify-content: center;
    align-items: end;
    margin-top: 30px;
	margin-bottom: 30px;
}

.slide_content {
    position: absolute;
    bottom: 20px;
    width: 100%;
    padding: 0 30px 0 30px;
    text-align: center;

}


.slide_content p {
    background-color: #6e33ad ;
    color: #fff;
    font-family: Krub;
    font-size: 20px;
	letter-spacing: 1px;
    border: 3px solid #1d1d1d ;
    border-radius: 10px;
    padding: 10px;
}

/* .slide{
    border: 3px solid #6e33ad;
    transform: scale(1.0);
} */

.slide:hover {
    border: 3px solid #6e33ad;
    transform: scale(1.0);
}

.slider {
    --slider-padding: 1rem;
    --slider-column-gap: 1rem;
    --slide-width: 20%;
    --slide-min-width: 15rem;
    position: relative;
    overflow: hidden;
}

.slider__track {
    display: flex;
    overflow-x: auto;
    -ms-scroll-snap-type: x mandatory;
        scroll-snap-type: x mandatory;
    padding-inline: var(--slider-padding);
    scroll-behavior: smooth;
    list-style-type: none;
    padding: 0;
    margin-right: calc(--var(slider-column-gap) * -1);
    scrollbar-width: none;
    margin-bottom: 30px;
}

.slider__track > * {
    flex: 0 0 var(--slide-width);
    min-width: var(--slide-min-width);
    scroll-snap-align: start;
    scroll-snap-stop: always;
    padding-right: var(--slider-column-gap);
}

.slide {
	display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: auto 230/306;
    position: relative;
    border: 3px solid #6e33ad;
    border-radius: 10px;
    padding: 3px;
    transform: scale(0.95);
    
}

.slideimg {
    aspect-ratio: 230 / 306;
	width: 100%;
    height: auto;
	border-radius: 10px;

}

/* Responsive Media Query */
@media (max-width: 1400px){
	.container {
		width: 90%;
	}
}

@media (min-width: 1200px){
	.menu ul {
		display: flex;
		justify-content: center;
	}
	.mob-icons {
		display: none;
	}
}

@media (max-width: 769px) {
	.main_title {
		font-size: 60px;
		line-height: 60px;
	}
	.title {
		font-size: 60px;
	}
	.peque{
        display: block;
        margin: auto;
        width: 150px;
        height: auto;
        margin-bottom: 30px;
    }
    .grande{
        display: none;
    }
}

@media (max-width: 600px) {
	.title {
		font-size: 40px;
	}
	.main_title {
		font-size: 40px;
		line-height: 50px;
	}
	section.slider .title {
		font-size: 40px;
	}

}

@media (max-width: 426px) {
	.main_title {
        
		font-size: 35px;
		line-height: 35px;
	}
	section.slider .title {
		font-size: 30px;
		top: 10px;
	}
    
}
@media (max-width: 850px) {
    .slider__track {
        display: grid;
        grid-template-columns: 1fr;
        gap: 5px; 
    }

    .slide {
        width:80%;
        margin: 10px auto; 
    }

}

/* Para mostrar las imágenes en filas de tres en dispositivos más grandes */
@media (min-width: 851px) {
    .slider__track {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .slide {
        width: 100%;
    }
}

/* sección NUMEROS */
#numeros{
    /* background-color: #1d1d1d; */
    padding: 50px 10px;
    box-shadow: 0px -5px 10px rgba(0, 0, 0, 0.5);
}
#numeros .fila{
    display: flex;
    justify-content: space-evenly;
}
#numeros .fila .col{
    display: flex;
    align-items: center;
}
#numeros .fila .col .mas{
    font-size: 40px;
    color: #6e33ad;
    display: block;
}
#numeros .fila .col .num{
    width: 40px;
    font-size: 40px;
    font-weight: bold;
    margin: 0 15px 0 0px;
}


/* sección clientes */
#clientes{
    padding: 50px 10px;
    background-color: #1d1d1d;
}
#clientes .contenido .fila{
    display: flex;
    justify-content: space-between;
}
#clientes .contenido .fila .col{
    width: 50%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
#clientes .contenido .fila .col img{
    aspect-ratio: 569 / 425;
    height: auto;
    width: 350px;
}
.subir{
    width: 350px;
    position: relative;
    top: -20px;
}
#clientes .contenido .fila .col-historia .cliente{
    display: flex;
    margin-bottom: 20px;
}
#clientes .contenido .fila .col-historia .cliente img{
    width: 80px;
    height: 80px;
    border-radius: 50%;
    filter: grayscale();
    margin-right: 20px;
}
#clientes .contenido .fila .col-historia .cliente h3{
    font-size: 15px;
}
#clientes .contenido .fila .col-historia .cliente i{
    font-size: 10px;
    color: #fff;
}
.relleno{
    color: #6e33ad !important;
}
#clientes .contenido .fila .col-historia .cliente p{
    font-size: 12px;
    font-style: italic;
}
/* sección contacto */
#contacto{
    background-color: #1d1d1d;
    padding: 50px 10px;
    position: relative;
    height: 100%   ;
    /* background-color: #0e0e16; */
}
#contacto .contenido{
    display: flex;
    justify-content: center;
    text-align: center;
    
}
#contacto form{
    max-width: 1080px;
    width: 70%;
}
#contacto form p{
    margin-bottom: 30px;
} 
#contacto form input,
#contacto form textarea {
    width: 100%;
    display: block;
    background-color: transparent;
    border: 3px solid #6e33ad;
    padding: 10px;
    display: block;
    margin-bottom: 20px;
    color: #fff;
    outline: none;
}

/* footer */
footer{
    background-color: #6e33ad;
    color: #fff;
    padding: 30px 0;
    font-size: 18px;

}
footer .contenido{
    max-width: 1080px;
    padding: 0px 70px;
    display: flex;
    justify-content: space-between;
    align-items: center;

}
footer .contenido .col h3{
    width: auto; 
}

footer .contenido .col2 ul{
    width: auto; 
    text-align: center; 
}

footer .contenido .col3 {
    width: auto;
    text-align: right; 
}


footer .contenido ul{
    list-style: none;
    margin-top: 20px;
}
footer .contenido ul li{
    margin: 5px 0;
}
footer .contenido ul li a{
    text-decoration: none;
    color: #fff;
}
footer .contenido ul li a:hover{
    text-decoration: underline;
}
footer .contenido .titulo-footer{
    text-align: right;
    width: auto;
    border-bottom: none;
}

footer .contenido .redes{
    display: flex;
    justify-content: end;
    align-items: center;
}
footer .contenido .redes a{
    margin: 20px 10px;
    display: block;
    background-color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: #6e33ad;
    text-align: center;
    line-height: 40px;
    transition: .3s;
}
footer .contenido .redes a:hover{
    background-color: #1d1d1d;
    color: #fff;
}

/* Responsive design */
@media screen and (max-width:1080px){
#inicio .contenido .fila .col .txt{
    display: none;
}
}
@media screen and (max-width:920px){
    header nav{
        display: none;
    }
    header nav.responsive{
        display: block;
        position: absolute;
        right: 10px;
        top: 55px;
        background-color:#1d1d1d;
        border: 1px solid #555555;
        z-index: 10;
    }
    header nav.responsive ul{
        display: block;
        
    }
    #inicio .contenido .fila{
        display: block;
    }
    .grande{
        width: 35%;
        height: auto;
        margin-bottom: 30px;
    }
    #inicio .contenido .fila .col{
        width: 100%;
        text-align: center;
    }
    #inicio .contenido .fila .col .txt{
        display: none;
    }
    #inicio .contenido .fila .col .ui{
        justify-content: center;
        font-size: 80px;
    }
    #inicio .contenido .fila .col .info{
        display: block;
        height: auto;
        text-align: center;
    }
    #inicio .contenido .fila .col .info h2{
        width: auto;
        margin: 30px 0;
        font-size: 30px;
    }

    #inicio .contenido .fila .derecha{
        padding-left: 0;
    }
    #inicio .botones{
        margin-bottom: 30px;
    }



    /* sección sobremi */
    #sobremi{
        height: auto;
    }
    #sobremi .contenido .fila{
        display: block;
    }
    #sobremi .contenido .fila .col{
        width: 100%;
    }
    #sobremi .contenido .fila .col img{
        display: none;
    }
    #sobremi .contenido .fila .col .circulo-principal{
        display: none;
    }
    #sobremi .contenido .fila .col .barra-skill{
        width: 90%;
    }
    
    #proyectos .contenido .fila{
        display: block;
    }
    #proyectos .contenido .fila .col{
        width: 90%;
        margin: 5px auto;
    }
    /* #clientes {
        background: #0e0e16;
    } */
    #clientes .contenido .fila .col .circulo-principal{
        display: none;
    }
    #clientes .contenido .fila .col > img{
        display: none;
    }
    #clientes .contenido .fila{
        display: block;
    }
    #clientes .contenido .fila .col{
        width: 100%;
        display: block;
    }
    
    #contacto{
        /* background-color: #1d1d1d; */
        height: auto;
    }
    #contacto form{
        max-width: 100%;
    }

    footer .contenido{
        display: block;
        text-align: center;
    }
    footer .contenido h3{
        width: 100%;
        border-bottom: none;
    }
    footer .contenido .col{
        width: 100%;
        margin-bottom: 25px;
    }
    footer .contenido .col3{
        width: 100%;
        text-align: center;
    }
    footer .contenido .titulo-footer{
        text-align: center;
    }
    footer .contenido .col ul{
        margin-top: 5px;
    }
    footer .contenido .redes{
        justify-content: center;
    }
}

/* MENSAJE EXITOSO*/
.mensaje-enviado{

    background-color: #f3f1fe;
    height: 100vh;
}
.mensaje-exito{
    width: 100%;
    display: flex;
    vertical-align: middle;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.mensaje-exito img{
    width: 300px;
}

.mensaje-exito h1{
    font-size: 35px;
    display: block;
    text-align: center;
    margin-top: 20px;
    margin-bottom: 20px;
    color: #5A5A5A;
}

.mensaje-exito a{
    display: block;
    padding: 10px 30px;
    background-color: #8261ee;
    /* xD */
    text-decoration: none;
    color: #fff;
}

.mensaje-exito a:hover{
    /* XDX2 */
    background-color: #1db7cc;
}

/* certificados carousel */
#certificados {
    /* background-color: #1d1d1d; */
    margin: 0 auto;
    padding: 30px;
    height: auto;
    text-align: center;
    
}
#certificados #carrusel-contenido{
    max-width: 1100px;
    margin: 0 auto; 
}
#certificados p{
    margin-top: 30px;
    margin-bottom: 30px;
}

#carrusel-caja {
    -moz-animation: automatizacion 15s infinite linear;
    -o-animation: automatizacion 15s infinite linear;
    -webkit-animation: automatizacion 15s infinite linear;
    animation: automatizacion 15s infinite linear;
    -webkit-transition: all 0.75s ease;
    -moz-transition: all 0.75s ease;
    -ms-transition: all 0.75s ease;
    -o-transition: all 0.75s ease;
    transition: all 0.75s ease;
    height: auto;
    width: 300%;
}
#carrusel-contenido {
    margin: 30px 30px;
    overflow: hidden;
    text-align: left;
}
.imagenes{
    height: 100%;
    width: 100%;
    border-radius: 15px;
    padding: 3px;
    border: 3px solid #6e33ad;
    object-fit: contain;
}
.carrusel-elemento {
    float: left;
    width: 33.333%;
}
@-moz-keyframes automatizacion {
    0% {
        margin-left: 0;
    }
    30% {
        margin-left: 0;
    }
    35% {
        margin-left: -100%;
    }
    65% {
        margin-left: -100%;
    }
    70% {
        margin-left: -200%;
    }
    95% {
        margin-left: -200%;
    }
    100% {
        margin-left: 0;
    }
}
@-webkit-keyframes automatizacion {
    0% {
        margin-left: 0;
    }
    30% {
        margin-left: 0;
    }
    35% {
        margin-left: -100%;
    }
    65% {
        margin-left: -100%;
    }
    70% {
        margin-left: -200%;
    }
    95% {
        margin-left: -200%;
    }
    100% {
        margin-left: 0;
    }
}
@keyframes automatizacion {
    0% {
        margin-left: 0;
    }
    30% {
        margin-left: 0;
    }
    35% {
        margin-left: -100%;
    }
    65% {
        margin-left: -100%;
    }
    70% {
        margin-left: -200%;
    }
    95% {
        margin-left: -200%;
    }
    100% {
        margin-left: 0;
    }
}