@import url('https://fonts.googleapis.com/css2?family=Damion&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@200;500&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root{
    --colorTextos: #fff;
    --colorBotones :#000;
    --colorFondo: #fff;
    --paddingSecciones: 60px 0;
    --marginElementos: 40px;
    --tamañoTitulos: 85px;
    --background:  linear-gradient(to right, rgba(67, 67, 67, 0.508) 0%, rgba(0, 0, 0, 0.502) 100%);
}

html{
    scroll-behavior: smooth;
    
}

body{
    font-family: 'Damion', cursive;
    
}

.contenedor{
    width: 100%;
    max-width: 1200px;
    margin: auto;
    overflow: hidden;
    padding: var(--paddingSecciones);
    
}

.container{
    height: 0;
    
}

.contenedor-nav{
    width: 90%;
    /* min-width: 1200px; */
    margin: auto;
    overflow: hidden;
}

/* menu */


nav{
    width: 100%;
    height: 80px;
    background: #fff;
    border-bottom: 1px solid transparent;
    box-shadow: 1px 1px 10px 0 rgba(0, 0, 0, .2);
    position: fixed;
    top: 0;
    z-index: 100;
    transition: ease-in-out 0.5s;
}

.nav{
    display: flex;
    justify-content: space-around;
    height: 80px;
    width: 100%;
    align-items: center;
    padding: 0 40px;
}

.texto-logo{
    display: block;
    height: 100%;
    font-size: 2.5rem;
    text-decoration: none; 
    padding: 10px 0;
    
}

.name-logo{
    position: relative;
    color: #000;
    text-decoration: none;
    transition: all ease-in-out .3s;
}

.name-logo a{
    display: block;
    height: 100%;
}

.name-logo:hover{
    color: #000;
}

.name-logo::before {
    content: "";
    position: absolute;
    display: block;
    width: 100%;
    height: 3px;
    bottom: 0;
    left: 0;
    background-color: #000;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.name-logo:hover::before {
    transform: scaleX(1);
}

.enlaces{
    list-style: none;
}

.nav__items{
    color: #000;
    text-decoration: none;
    margin-left: 40px;
    transition: ease-in-out 0.5s;
    position: relative;
    color: #000;
    font-size: 1.5rem;
}

.nav__items:hover{
    color: #000;
}

.nav__items::before{
    content: "";
    position: absolute;
    display: block;
    width: 100%;
    height: 1px;
    bottom: 0;
    left: 0;
    background-color: #000;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.nav__items:hover::before{
    transform: scaleX(1);
}

.nav__items--cta{
    border: 1px solid #000;
    padding: 15px 10px;
    /* color: #fff; */
    width: 150px;
    border-radius: 5px;
    text-align: center;
    color: #000;
    text-decoration: none;
    margin-left: 40px;
    transition: ease-in-out 0.5s;
    position: relative;
    color: #000;
}

.nav__haburguer{
    opacity: 0;
    
}



/* hero */

.hero{
    height: 100vh;
    background-image: url("../img/img1.jpg");
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
    
}

.contenedor-textos{
    padding: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #000;
    text-align: center;
}

.hero h1{
    font-size: 90px;
    font-weight: 200;
    line-height: 100%;
}

.hero p{
    font-weight: 300;
    font-size: 30px;
    margin: 15px 0;
    line-height: 200%;
}

.cta-principal{
    width: 150px;
    display: block;
    margin: 0 auto;
    padding: 15px 15px;
    background: var(--colorBotones);
    color: #fff;
    text-decoration: none;
    border-radius: 10px;
    font-size: 20px;
}

.cta{
    width: 150px;
    display: block;
    margin: 0 auto;
    padding: 15px 15px;
    background: var(--colorBotones);
    color: #fff;
    text-decoration: none;
    border-radius: 10px;
    font-size: 20px;
}

/* main */

.seccion{
    background-color: #000;
    
}



.titulo-seccion{
    text-align: center;
    font-size: var(--tamañoTitulos); 
    color: var(--colorFondo);
    font-weight: 200;
    padding: 10px;
}

.copy{
    text-align: center;
    color: var(--colorTextos);
    margin: 20px 10px;
    padding: 0 15px;
    font-size: 20px;
    font-weight: 400;
    font-family: 'Open Sans', sans-serif;
}

.seccion-bienvenida{
    padding: var(--marginElementos);
    display: flex;
    justify-content: center;
    
}

/* seccion sobre mi */

.about{
    min-height: 400px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    row-gap: 80px;
    justify-content: center;
    align-items: center;
}

.subtitle{
    color: var(--colorTextos);
    font-size: var(--tamañoTitulos);
    margin-bottom: 35px;
    text-align: center; 
    font-weight: 200;
    padding: 10px;
}

.about__paragraph{
    font-size: 20px;
    margin-bottom: 20px;
    line-height: 1.5;
    color: var(--colorTextos);
    font-family: 'Open Sans', sans-serif;
    padding: 20px;
}

.about__img{
    text-align: center;
}



.about__img--left{
    text-align: center;
}

.about__picture{
    max-width: 80%;
}

/* seccion servicios */

.servicios{
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    padding: 25px;
}

.servicio{
    width: 250px;
}

.spn{
    font-size: 35px;
    line-height: 4rem;
    color: var(--colorTextos);
}

.t-servicio{
    line-height: 2rem;
    font-family: 'Oswald', sans-serif;
    font-size: 30px;
    font-weight: 700;
    color: var(--colorTextos);
}

.descripcion{
    margin: 25px 0 25px 0;
}

li{
    font-family: 'Open Sans', sans-serif;
    color: var(--colorTextos);
}

.btn-cta{
    padding: 20px 0;
    display: flex;
    position: initial;
}

.cta-servicios{
    font-family: 'Open Sans', sans-serif;
    font-weight: 400; 
    width: 150px;
    display: block;
    margin: 0 auto;
    padding: 10px 10px;
    background: var(--colorFondo);
    color: #000;
    text-decoration: none;
    border-radius: 5px;
    font-size: 20px; 
    text-align: center;
}

/* mis servicios */

.servicio-img__grid{
    display: grid;
    height: 650px;
    grid-template-areas: 
    "img img2 img3 "
    "img img4 img5 ";
    gap: 10px;
    padding: 50px;
}

.servicios__item{
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.service_img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.servicios__item:nth-of-type(1){
    grid-area: img;
}
.servicios__item:nth-of-type(2){
    grid-area: img2;
}
.servicios__item:nth-of-type(3){
    grid-area: img3;
}
.servicios__item:nth-of-type(4){
    grid-area: img4;
}
.servicios__item:nth-of-type(5){
    grid-area: img5;
}

.service__hover{
    position: absolute;
    background: #dc143c8c;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    color: #fff;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transform: translate(100%, 100%);
    transition: transform .5s ease-in-out; 
    border-radius: 10px;
}

.servicios__item:hover .service__hover{
    transform: translate(0);
}

.service__icon{
    margin-top: 10px;
    font-size: 40px;
}

.parrafo{
    padding: 15px 5px;
    font-size: 19px;
}

/* contacto */

.personalizado{
    height: 50vh;
    background-image: var(--background), url(../img/tres.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
}

.hero__texts{
    width: 80%;
    margin-bottom: 50px;
}

.textos-personalizado{
    display: flex;
    height: 50vh;
    align-items: center;
    justify-content: center;
    color: var(--colorTextos);
}

.cta-cot{
    width: 210px;
    display: block;
    margin: auto;
    background: var(--colorFondo);
    color: #000;
    font-size: 25px;
    text-align: center;
}


.cta-cot:hover{
    animation: boton .7s infinite alternate;
}

@keyframes boton{
    0%{
        transform: translateY(1%);
    }
    100%{
        transform: translateY(-10%);
    }
}

/* contacto */

.contactos{
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background-color: #000;
}

.contenedor-contacto{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.contacto{
    transition: .3s;
    width: 70%;
    height: 400px;
    background: #f2f2f2;
    border-radius: 10px;
}

.contacto:hover{
    box-shadow: 0px 10px 20px 5px rgba(255,255,255,0.26);
    animation: caja .9s infinite alternate;
}



@keyframes caja{
    0%{
        transform: translateY(1%);
    }
    100%{
        transform: translateY(3%);
    }
}

.contacto>h3{
    font-size: 30px;
    margin: 20px;
    text-align: center;
    font-weight: 200;
    padding: 10px;
}

.contacto>.contacto-frase{
    padding: 30px 0;
}

.num-contacto{
    font-size: 30px;
}

.icon-contacto{
    display: inline-block;
    color: #000;
    text-decoration: none;
    margin: 0 10px;
}

.icon-cta{
    font-size: 30px;
    
}

.cta{
    color: var(--colorTextos);
    text-decoration: none;
    width: 200px;
    text-align: center;
}

footer{
    background: #f2f2f2;
    padding: 60px 0;
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    margin: auto;
    background-image: var(--background), url(../img/cuatro.jpg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    
}

.partFooter{
    text-align: center;
    font-size: 25px;
}

.imagen-logo{
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.imagen-logos{
    height: inherit;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.imagen-logos>svg{
    position: absolute;
    
}

.imagen-logos>svg:hover{
    fill: #fff;
    
}

.name-logo--footer{
    color: var(--colorTextos);
    font-size: 50px;
    margin-bottom: 35px;
    text-align: center; 
    font-weight: 200;
    padding: 10px;
    z-index: 99;
}  

.partFooter h4{
    color: var(--colorTextos);
    font-size: 35px;
    font-weight: 400;
    text-decoration: underline #fff;
}

.partFooter a{
    display: inline-block;
    text-decoration: none;
    color: var(--colorTextos);
    font-weight: 300;
    transition: color .3s ease-in-out;
    margin-bottom: 10px;
    transition: all ease-in-out .3s;
}

.nav__items--footer{
    color: #000;
    text-decoration: none;
    margin-left: 40px;
    transition: ease-in-out 0.5s;
    position: relative;
    color: #000;
    font-size: 1.5rem;
}

.nav__items--footer:hover{
    color: #000;
}

.nav__items--footer::before{
    content: "";
    position: absolute;
    display: block;
    width: 100%;
    height: 1px;
    bottom: 0;
    left: 0;
    background-color: #000;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.nav__items--footer:hover::before{
    transform: scaleX(1);
}


.partFooter img{
    width: 70%;
}

.social-media i{
    font-size: 40px;
    display: inline-block;
    color: var(--colorTextos);
    border: 2px solid #fff;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    line-height: 55px;
    cursor: pointer;
    text-align: center;
    transition: all ease-in-out .3s;
    margin-right: 5px;
}

.social-media i:hover{
    color: #000;
    background-color: #fff;
    border-color: #fff;
    transform: translateY(-10%);
}

.Copyright{
    width: 90%;
    max-width: 1200px;
    margin: auto;
    height: 1px;
    background: #fff;
}

.Copyright-text{
    max-width: 1200px;
    padding: 20px;
    text-align: center;
    color: #fff;
}

@media screen and (max-width: 1250px) {
    .texto-logo{
        padding: 0;
    }

    .name-logo{
        font-size: 2rem;
        line-height: 5rem;
    }

    .enlace-tipo{
        font-size: 15px;
    }

    .nav__items{
        font-size: 1rem;
    }

    .cta{
        width: 120px;
        font-size: 15px;
    }

    /* hero */
    
    .hero h1{
        font-size: 75px;
    }

    .hero p{
        font-size: 25px;
    }

    .servicios{
        align-items: center;
    }

    .servicio{
        width: 340px;
    }

    .titulo-seccion{
        font-size: 75px;
    }

    .title{
        font-size: 55px;
    }

    .cta-cot{
        width: 205px;
        padding: 20px 25px;
    font-size: 25px;
    }

    .icon-cta{
        font-size: 25px;
    }

    .contacto{
        height: 400px;
    }

    .name-logo--footer{
        font-size: 35px;
    }
}

@media screen and (max-width: 1000px){
    .nav{
        height: 0;
    }

    .nav__haburguer{
        z-index: 1;
        opacity: 1;
        overflow: hidden;
        position: fixed;
        top: 60px;
        right: 50px;
        background-image: linear-gradient(to top, #e6e9f0 0%, #eef1f5 100%);
        width: 40px;
        height: 40px;
        cursor: pointer;
        border-radius: 10px;
        box-shadow: 0 0 6px rgba(0, 0, 0, .5);
        cursor: pointer;
    }

    .nav__items--cta{
        padding: 10px;
    }

    

    .name-logo{
        font-size: 2rem;
    }

    .enlaces{
        position: fixed;
    top: 0;
    width: 40vw;
    height: 100%;
    background-image: linear-gradient(to right, #434343 0%, black 100%);
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    right: 0;
    transform: translateX(110%);
    transition:transform 0.3s ease-in-out;
    box-shadow: 0 0 6px rgba(0, 0, 0, .5);
    }
    .spread{
        transform: translateX(0);
    }

    .nav .enlaces a{
        font-size: 30px;
        margin: 0;
        margin: auto;
        padding: 20px ;
        color: #fff;
    }

    .nav__items--cta{
        border: 1px solid #fff;
    }

    nav{
        height: 65px;
    }

    .name-logo{
        font-size: 1.5rem;
    }

    .enlaces li{
        padding: 0 10px;
    }

    .enlace-tipo{
        font-size: 15px;
    }

    .cta{
        font-size: 15px;
    }

    .hero h1{
        font-size: 55px;
    }

    .hero p{
        font-size: 25px;
    }

    .servicios{
        align-items: center;
    }

    .servicio{
        width: 340px;
    }

    .titulo-seccion{
        font-size: 55px;
    }

    .copy{
        font-size: 15px;
    }

    .cta-cot{
        padding: 15px 20px;
        font-size: 20px;
    }

    .contacto>h3{
        font-size: 25px;
    }

    .partFooter{
        font-size: 20px;
    }
    
    .subtitle{
        font-size: 55px;
    }

    .about__paragraph{
        font-size: 15px;
        padding: 10px;
    }

    .social-media i{
        font-size: 30px;
        width: 50px;
        height: 50px;
        line-height: 45px;
    }

    footer{
        flex-direction: column;
    }

}

@media screen and (max-width: 800px){
    .texto-logo{
        height: 0;
    }

    
    
    /* hero */

    .hero h1{
        font-size: 45px;
    }

    .hero p{
        font-size: 20px;
    }

    /* bienvenida */

    .seccion-bienvenida{
        flex-wrap: wrap;
        padding: 0;
    }

    .about{
        grid-template-columns: 1fr;
        row-gap: 5px;
    }

    .copy{
        margin: 10px 5px;
        padding: 0;
    }

    .subtitle{
        font-size: 30px;
    }

    .about__img{
        text-align: center;
        width: 0px;
        height: 0px;
    }

    .about__picture{
        visibility: hidden;;
    }

    .servicios{
        justify-content: center;
    }

    .servicio-img__grid{
        height: 900px;
        grid-template-areas: 
        "img"
        "img2"
        "img3"
        "img4"
        "img5";
        gap: 10px;
        padding: 10px;
    }

    .spn{
        font-size: 30px;
        line-height: 3rem;
    }

    .t-servicio{
        line-height: 1.5rem;
        font-size: 20px;
    }

    .parrafo{
        padding: 15px 5px;
        font-size: 13px;
    }

    .service__icon{
        margin-top: 0;
        font-size: 30px;
    }

    .personalizado{
        height: 40vh;
    }

    .textos-personalizado{
        height: 40vh;
    }

    .hero__texts{
        width: 90%;
    }

    .titulo-seccion{
        font-size: 30px;
    }

    .contactos{
        display: flex;
        flex-direction: column;
        gap: 0px;
    }

    footer{
        flex-direction: column;
    }
}

@media screen and (max-width: 600px){
    .nav{
        width: 60vw;
    }

    .enlaces{
        width: 80vw;
    }

    .texto-logo{
        height: 10%;
    }

    .nav__items{
        margin: 0;
        padding: 0;
    }

    .nav__items--cta{
        padding: 10px;
    }

    .name-logo{
        font-size: 1.5rem;
    }

    .hero h1{
        font-size: 30px;
    }

    .hero p{
        font-size: 15px;
    }

    .textos-personalizado{
        flex-direction: column;
    }

    .cta-principal{
        width: 120px;
        padding: 10px;
        font-size: 15px;
    }

    .seccion{
        padding: 25px;
    }

    .titulo-seccion{
        font-size: 25px;
    }

    .contacto{
        width: 80%;
    }

    .contacto>h3{
        margin: 30px;
        font-size: 15px;
    }

    .Copyright-text{
        padding: 0;
    }
}