
*{
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
}

/* FUENTE */

body{
    font-family: 'Libre Caslon Text', sans-serif;
    color: black;
}


/* CONTENEDOR-PORTADA */

.contenedor-portada{
    height: 100vh;
    background: linear-gradient(180deg, rgba(255, 254, 254, 0) 90%, #FFFFFF 100%), url("./Imagenes/Portada.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position-y: 65%;
    mix-blend-mode: multiply;
}


header{
    font-family: inherit;
    font-size: 25px;
    line-height: 44px;
    text-align: center;
    padding-top: 7px;
}

header a{
    color: black;
    text-decoration: none;
    margin-left: 50px;
    margin-right: 50px;
}

header a:hover{
    border-bottom: 3px solid #6492c4;
}


.contenedor-cv{
    margin: 77px;
} 


#cv-nombre{
    font-family: inherit;
    font-size: 100px;
    line-height: 123px;
    text-align: center;

}
#cv-profesion{
    font-family: inherit;
    font-size: 50px;
    line-height: 62px;
    text-align: center;


}


.contenedor-titulo{
    font-family: inherit;
    font-size: 50px;
    line-height: 62px;
    text-align: center;
    text-decoration-line: underline;
    color: #000000;

}


/* CONTENEDOR-SOBRE MI */
.contenedor-sobreMi{
    min-height: 100vh;

    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 1.68%, #D9D9D9 100%);
    mix-blend-mode: multiply;
}

.sobreMi{
    display:flex;
    flex-direction:row;
    align-items:center;
    justify-content:center;

    margin-top: 90px;
}


#sobreMi-foto{
    padding:20px;
    margin:20px;
    border-radius: 50%;
    width: 370px;
}

#sobreMi-nombre{
    font-family: inherit;
    font-size: 45px;
    line-height: 55px;
    text-align: center;
    margin-top: 30px;
}


#sobreMi-informacion{
    font-family: inherit;
    font-size: 25px;
    line-height: 37px;
    text-align: center;
    padding: 20px;
}


/* CONTENEDOR-HABILIDADES */

.contenedor-habilidades{
    min-height: 100vh;
    background: linear-gradient(180deg, #D9D9D9 0%, rgba(255, 255, 255, 0) 18.75%), url("./Imagenes/Fondo-gris.jpg");
    mix-blend-mode: multiply;
    background-repeat: no-repeat;
    background-size: cover;

    display:flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}


.habilidades-imagenes {
    display:flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    flex: 1 1;
    align-content: center;
}

.habilidades-imagenes img{
    height: 400px;
    width: auto;
    padding: 40px;
}


/* CONTENEDOR-CONTÁCTAME */
hr{
    border: 1px solid black;
    background-color: black;
}


.contenedor-contactame{
    min-height: 100vh;
    display:flex;
    flex-direction:column;
    align-items: center;
}


.contactame{
    flex: 1;
    display: flex;
    margin: 10px 0;
    flex-direction: row;
}

.contactame-datos-personales{
    display: flex;
    flex-direction: column;
    align-items: center;

    /*Texto */
    font-family: inherit;
    font-size: 33px;
    line-height: 49px;
    text-align: center;
    color: black;

    margin: 50px;
}

.contactame-datos-personales img{
    width: 67px;
    height: auto;
    margin-right: 10px;
}



#contactame-residencia{
    display: flex;
    flex: 1 1;
    align-items: center;
}


#contactame-telefono{
    display: flex;
    flex: 1 1;
    align-items: center;
    flex-wrap: wrap;
    align-content: flex-start;
}



form{
    display:flex;
    flex-direction:column;
    align-items: center;
    justify-content: center;

    margin-top:15px;
}

label{
    font-family: inherit;
    font-size: 25px;
    line-height: 49px;
    text-align: center;
}


.error{
    color: red;
    font-size:18px;
    display:flex;
    margin-left:9px;
    line-height: 30px;
}


input , textarea{
    font-family:inherit;
    background: #f5f5f5;
    font-size: 20px;

    width: 620px;
    height: 40px;

    display: flex;
    flex-wrap: wrap;

    padding-left: 15px;
    padding-top:9px;
    padding-bottom:8px;

    border-radius: 5px;
    border: 1px solid grey;
}

#mensaje{
    height: 285px;
    resize: none;
}

button{
    font-size:25px;
    background-color: #7cabde;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;

    margin-top:5px;

}

button:hover{
    background-color: #6492c4;
}

footer{
    background-color:#D9D9D9;
    height:100px;
    margin: 0px;
    padding: 0px;
    display:flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.contenedor-media{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    flex: 1 1;    
}

.contenedor-media a img{
    width: 90px;
    padding-left:10px;
    padding-right:10px;
    transition: .3s ease;
}

.contenedor-media a img:hover{
    transform: scale(1.1);
}


/* RESPONSIVE */
@media only screen and (max-width: 1000px) {

    .contenedor-portada{
        background-position:center;
    }

    .contenedor-cv{
        margin:20px;
    }

    .sobreMi {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;

        margin-top:0px;
    }

    #sobreMi-nombre{
        margin-top:0px;
    }

    .habilidades-imagenes img {
        height: 300px;
        width: auto;
        padding: 40px;
    }

    .contactame{
        display:block;

    }

    form{
        display:flex;
        text-align: center;
    }

    input, textarea{
        width:100%;
    }

}



@media only screen and (max-width: 500px) {
    #cv-nombre{
        font-size:50px;
        line-height: 70px;
    }

    #cv-profesion{
        font-size:25px;
        line-height: 70px;

    }

    .contenedor-titulo{
        font-size:40px;
    }

    #sobreMi-informacion{
        font-size:20px;
    }

    .habilidades-imagenes img {
        height: 255px;
        width: auto;
        padding: 10px;
    }

    #contactame-residencia {
        display: flex;
        flex: 1 1;
        align-items: center;
        flex-direction: column;
    }

    #contactame-telefono {
        display: flex;
        flex: 1 1;
        align-items: center;
        flex-direction: column;
    }

}