:root {
    --color-oscuro: #036280;
    --color-medio: #378BA4;
    --color-claro: #81BECE;
    
}

* {
    color: white;

}

a{
    text-decoration: none;
}

#Video_fondo {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

header {
   width: 100vw;    /*para que se quede igual de ancho que la imagen*/
   display: flex;
   justify-content: center;
   align-items: center;
}

header div{
    width: 400px;
    height: 30px;

    border-radius: 20px;
    

    /* Margen y padding */
    padding: 10px;

    margin-top: 50px;
    
    display: flex;
    justify-content: space-around;
    align-items: center;
    background-color: var(--color-oscuro);
}
.header > a {
    font-size: 20px;
    
    transition-property: all;
    transition-duration: 1s;
}

.Foto-perfil{
    display: flex;
    justify-content: center;
    align-items: start; 
    margin-top: 50px;
}

#Foto1 {
    width: 400px;
    height: 400px; /* Forzamos que sea un cuadrado */
    object-fit: cover; /* Recorta sin deformar */
    border-radius: 100%;
    position: relative;

    margin-top: 50px;
}

h1 {
    font-size: 4rem;

    margin-top: 50px;

    display: flex;
    justify-content: center;
}

#CV {
    display: flex;
    justify-content: center;
    align-items: center;

    margin: 0 auto; 
    margin-top: 10px; 
    width: 150px;
    height: 50px;
    font-size: 1rem;


    border-radius: 25px;
    background-color: var(--color-oscuro);

    transition: all;
    transition-duration: 1s;
}

.Habilidades {
    display: flex;
    justify-content: space-evenly;
    
    margin-top: 200px;
    padding-bottom: 100px;
}

h2 {
    font-size: 3rem;
}

#art_habilidades{
    width: 50%;
    
}

#art_habilidades h2{
    display: flex;
    justify-content: center;
}

#art_habilidades img {
    width: 100px; 
    height: auto;
    object-fit: contain; 
    display: inline-block;
    margin: 10px;  

    transition-property: all;
    transition-duration: 400ms;
}

#Lenguajes {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-wrap: wrap;
}

#soft_skills h2{
    display: flex;
    justify-content: center;
}

#soft_skills ul > li {
    font-size: 1.2rem;
    margin-top: 20px;
}

#Proyecto_tit {       
    display: flex;
    justify-content: center;
    margin-top: 50px;
}

.Proyectos {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px; /* espacio entre artículos */
    padding: 20px;
    padding-top: 30px;
    padding-bottom: 30px;

    background-color: var(--color-oscuro);
    margin-left: 10%;
    margin-right: 10%;
    border-radius: 25px;
}
 
.Proyectos > article {
    background-color: var(--color-medio);
    padding: 20px;
    border-radius: 15px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    transition-property: all;
    transition-duration: 1s;
}

.destacado{
    border: 2px solid yellow;
    box-shadow: 5px 0px 5px #FFD700,
                -5px 0px 5px #FFD700;
}

.Proyectos > article > p{
    margin-top: 10px;
    width: 250px;
    text-align: justify;
}

.Proyectos > article > img {
    width: 250px;
    border-radius: 10px;
    filter: brightness(0.9);
}

.ver_mas{
    width: 100%; 
    
    margin-top: 10px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.ver_mas a img{
    width: 30px;
}

.ver_mas a{
    padding: 10px;
    width: 100px;
    border-radius: 20px;

    display: flex;
    justify-content: center;
    align-items: center;
}
.ver_mas .contenido{
    background-color: var(--color-claro);
}
.ver_mas a:hover{
    background-color: var(--color-oscuro);
}

#Sobre_mi_tit {
    display: flex;
    justify-content: center;
    margin-top: 200px;
}

.Sobre_mi {
    background-color: var(--color-oscuro);
    border-radius: 25px;

    display: flex;
    justify-content: space-around;
    align-items: center;
    
    padding: 50px;
    margin-left: 10%;
    margin-right: 10%;

}

#Foto2 {
    width: 300px;
    height: 300px; /* Forzamos que sea un cuadrado */
    object-fit: cover; /* Recorta sin deformar */
    border-radius: 100%;
    position: relative;

}

.Sobre_mi > p {
    width: 700px;
    margin-left: 20px;
}

footer {
    display: flex;
    justify-content: space-around;
    align-items: center;

    margin-top: 200px;
    background-color: #012E4A;
    opacity: 0.8;

    height: 150px;
    width: 100%;

    
}

footer > a {
    transition-property: all;
    transition-duration: 1s;
}


/* --------------------- INTERACCIONES --------------------- */   
/* UTILIZAR EL SCALE HACE AUMENTAR VISUALMENTE PERO OCUPA
EL MISMO TAMAÑO */
.header a:hover {
    scale: 1.2;
    transition-duration: 400ms;
}

#CV:hover {
    scale: 1.2;
    background-color: var(--color-claro);   
}

#Lenguajes > img:hover {
    scale: 1.2;
}

.Proyectos > article:hover {
    scale: 1.1;

}

footer > a:hover {
    scale: 1.2;
}

@media screen and (max-width: 800px) {
    .Sobre_mi {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .Sobre_mi p{
        width: 90%;
    }
}

@media screen and (max-width: 550px) {
    #Foto1{
        width: 200px;
        height: 200px;
    }
    h1{
        font-size: 2rem;

    }
    .Habilidades{
        height: auto;
        display: flex;
        flex-direction: column;
        justify-content: center;
        margin-bottom: 100px;
        margin-top: 200px;
        
    }
    #art_habilidades{
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    #art_habilidades img{
        width: 80px;
    }
    #Lenguajes{
        display: flex;
        justify-content: center;
    }
    #soft_skills ul > li {
        font-size: 1rem;
    }
    #soft_skills > h2{
        display: flex;
        justify-content: center;
    }

    #Proyecto_tit{
        margin-left: 0;
        display: flex;
        justify-content: center;
    }
    .Proyectos {
        gap: 20px;
    }

    .Proyectos > article > img {
        width: 170px;
    }
    .Proyectos > article > p{
        width: 170px;
    }

    .Proyectos .ver_mas{
        width: 170px;
    }

    #Sobre_mi_tit {
        margin-left: 0;
        margin-top: 200px;
        display: flex;
        justify-content: center;
    }

    .Sobre_mi {
        padding: 10px;
    }

    #Foto2{
        width: 200px;
        height: 200px;

        margin-top: 10px;
    }

    footer{
        margin-top: 100px;
    }

    footer img{
        width: 70px;
    }
}
