/*
PALETA DE COLORES
#592542 rgb(89,37,66) morado oscuro
#732952 rgb(115,41,82) morado 
#56ACBF rgb(86,172,191) azul claro
#D9D9D9 rgb(217,217,217) gris claro
#F2F2F2 rgb(242,242,242) gris muy claro
*/
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

* {
    box-sizing: border-box;
    font-family: "Open Sans", serif;
    margin: 0;
    padding: 0;
}

html,
body {
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

body {
    background-color: #F2F2F2;
    display: flex;
    flex-direction: column;
}

/*CABECERA DE LA PÁGINA*/
header {
    width: 100%;
    display: flex;
    flex-direction: column;
}

#cabecera {
    z-index: 1;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background-color: #592542;
    padding: 15px;
}

#imgCabecera {
    width: 100%;
    display: flex;
}

.imgCabecera {
    width: 100%;
    height: 450px;
    object-fit: cover;
}

h1 {
    color: #F2F2F2;
    text-align: center;
    font-size: 2.8em;
}

.contenido {
    padding-top: 100px;
    width: 100%;
    display: flex;
    flex-direction: column;
}

/*ESTILOS DEL MENU DE NAVEGACIÓN*/
nav {
    width: 80%;
    margin-right: auto;
    margin-left: auto;
    margin-bottom: 30px;
    display: flex;
    justify-content: flex-end;
    box-shadow: 15px 15px 15px rgba(50, 50, 50, 0.5);
    animation: bounce 4s ease-in-out;
    padding: 15px;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-30px);
    }

    60% {
        transform: translateY(-15px);
    }
}

ul {
    display: flex;
    list-style-type: none;
    gap: 25px;
    margin-right: 15px;
}

nav ul li {
    padding: 15px;
    font-size: 1.5em;
    font-weight: bolder;
}

nav a {
    text-decoration: none;
    color: #592542;
}

main {
    background-color: #F2F2F2;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

#sobreMi {
    width: 100%;
    display: flex;
    justify-content: space-around;
}

#presentacion {
    padding: 2% 5% 2% 2%;
    width: 70%;
}

h2 {
    color: #592542;
    font-size: 2.2em;
    text-align: center;
    border-bottom: 2px solid #592542;
}

p {
    text-align: justify;
    font-size: 1.2em;
    color: #333;
}

#imgSobreMi {
    width: 30%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.imgLuzma {
    width: 50%;
    border-radius: 100%;
    margin: 25px;

}

#boton {
    display: flex;
    justify-content: center;
    margin: 15px;
}

/*boton para descargar curriculum*/
.botonCV {
    text-decoration: none;
    background-color: #56ACBF;
    border-radius: 5px;
    color: white;
    padding: 15px;
    font-size: 1.5em;
    font-weight: bolder;
    animation: disminuir 3s infinite alternate;
}

@keyframes disminuir {
    0% {
        transform: scale(1);
        /* Tamaño original */
    }

    100% {
        transform: scale(0.8);
        /* Se reduce al 80% de su tamaño original */
    }
}

/*contenedor de proyectos*/
#cuerpo {
    width: 100%;
    background-color: #D9D9D9;
    display: flex;
    flex-direction: column;
}

#proyectos {
    width: 100%;
    display: flex;
    flex-direction: column;
    background-color: #D9D9D9;
    margin-top: 5%;
}

#tareas {
    width: 100%;
    display: flex;
    flex-direction: column;
    background-color: #F2F2F2;
    margin-top: 5%;
}

/*titulos de proyectos*/
.proyectos {
    width: 100%;
    margin: 20px;
    padding-top: 25px;
    border: none;
    font-size: 2.6em;
}

/*contenedor de tarjetas*/
.tarjetas {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    width: 100%;
    padding-top: 25px;
    padding-bottom: 25px;
    max-width: 100%;
    column-gap: 20px;
    row-gap: 30px;
}

/*tarjetas individuales*/
.tarjetas1 {
    width: 30%;
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    background-color: rgb(89, 37, 66, 0.5);
    border: 2px solid #592542;
    border-radius: 15px;
    box-shadow: 15px 15px 15px #592542;
    max-width: 100%;
}

/*div que contiene la imagen*/
.imagen {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 15px;
}

/*la imagen*/
.imgOpciones {
    width: 100%;
    height: 250px;
    border-radius: 15px;
    background-color: white;

}

/*textos de las tarjetas*/
h3 {
    color: #F2F2F2;
    font-size: 1.7em;
    margin-bottom: 0;
    text-align: center;
}

h5 {
    color: #333;
    font-size: 1em;
    text-align: justify;
    padding: 25px;
}
.pass{
    font-size: 1.2em;
}

/*pie de página*/
#enlaces {
    width: 25%;
    margin-left: auto;
    margin-right: auto;
    background-color: #F2F2F2;
    display: flex;
    justify-content: space-around;
}

.bi-linkedin {
    font-size: 40px;
    color: #0A66C2;
}

.bi-github {
    font-size: 45px;
    color: black;
}

.bi-envelope-fill {
    font-size: 40px;
    color: #0A66C2;
}

footer {
    background-color: #592542;
    padding: 20px;
}

footer p {
    text-align: center;
    color: #F2F2F2;
    font-size: 1.5em;
}

footer p a {
    color: white;
}



/* ESTILOS RESPONSIVE */
@media (max-width: 1400px) {
    h5 {
        font-size: 1em;
    }

    .imgOpciones {
        width: 100%;
        height: 250px;
    }

    .tarjetas1 {
        width: 40%;
    }
}


@media (max-width: 1200px) {
    .imgCabecera {
        height: 350px;
    }

    h1 {
        font-size: 2em;
    }

    h2 {
        font-size: 1.5em;
    }

    p {
        font-size: 1em;
    }

    h3 {
        font-size: 1.3em;
    }

    h5 {
        font-size: 0.9em;
    }

    .imgOpciones {
        width: 100%;
        height: 250px;
    }

    .tarjetas1 {
        width: 45%;
    }

    footer p {
        font-size: 1.2em;
    }

    .imgLuzma {
        width: 80%;
    }

    #enlaces {
        width: 35%;
    }
}


@media (max-width: 992px) {
    .imgCabecera {
        height: 350px;
    }

    h1 {
        font-size: 2em;
    }

    nav {
        width: 100%;
    }

    nav ul li {
        font-size: 1.3em;
    }

    .proyectos {
        font-size: 2.1em;
    }

    h2 {
        font-size: 1.5em;
    }

    p {
        font-size: 1em;
    }

    h3 {
        font-size: 1.3em;
    }

    h5 {
        font-size: 0.9em;
    }

    .imgOpciones {
        width: 100%;
        height: 200px;
    }

    .tarjetas1 {
        width: 45%;
    }

    footer p {
        font-size: 1.2em;
    }

    .imgLuzma {
        width: 80%;
    }

    #enlaces {
        width: 35%;
    }
}


@media (max-width: 768px) {
    .imgCabecera {
        height: 250px;
    }

    h1 {
        font-size: 1.6em;
    }

    nav {
        width: 100%;
        display: none;
    }

    nav ul li {
        font-size: 1.1em;
    }

    h2 {
        font-size: 1.4em;
    }

    p {
        font-size: 0.9em;
    }

    .proyectos {
        font-size: 2em;
    }

    .tarjetas {
        gap: 30px;
    }

    h3 {
        font-size: 1.6em;
    }

    h5 {
        font-size: 1em;
    }

    .imgOpciones {
        width: 100%;
        height: 200px;
    }

    .tarjetas1 {
        width: 80%;
    }

    footer p {
        font-size: 1em;
    }

    .imgLuzma {
        width: 100%;
    }

    #enlaces {
        width: 35%;
    }
}


@media (max-width: 576px) {
    .imgCabecera {
        height: 250px;
    }

    h1 {
        font-size: 1.6em;
    }

    nav {
        width: 100%;
        display: none;
    }

    nav ul li {
        font-size: 1.1em;
    }

    h2 {
        font-size: 1.4em;
    }

    p {
        font-size: 0.9em;
    }

    .proyectos {
        font-size: 1.5em;
    }

    .tarjetas {
        gap: 30px;
    }

    h3 {
        font-size: 1.6em;
    }

    h5 {
        font-size: 0.9em;
    }

    .imgOpciones {
        width: 100%;
        height: 200px;
    }

    .tarjetas1 {
        width: 80%;
    }

    footer p {
        font-size: 1em;
    }

    .imgLuzma {
        width: 80%;
    }

    #enlaces {
        width: 35%;
    }
}