
*{
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

html{
    scroll-behavior: smooth;
}

h1{font-size: 3.5em;}
h2{font-size: 2.5em;}
h3{font-size: 1.5em;}
p{font-size: 1.2em;}

/*Letras de navegación*/
a{
    margin: 0;
    padding: 15px 15px;
    font-weight: bold;
    color: rgb(255,255,255);
    
}

/*Botones de toda la página*/
button{
    font-size: 1.2em;
    font-weight: 2.5em;
    padding: 10px 20px;
    border-radius: 5px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0);
    color: rgb(0, 0, 0);
    background-color: rgb(207, 117, 0);
    border-color: rgb(207, 117, 0);
}

button:hover{
    background-color: rgb(252, 182, 53);
}

/*Cabezera*/

header{
    background-color: rgb(29, 29, 29);
}

header .logo{
    margin: 0;
    padding: 25px 25px;
    font-weight: bold;
    color: rgb(243, 163, 14);
    font-size: 2.0em;
    font-family: Arial, Helvetica, sans-serif;
}

header .container{
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
}

header nav{
    display: flex;
    flex-direction: column;
    align-items: center;
}

header nav a{
    padding: 5px 12px;
    text-decoration: none;
    font-weight: bold;
    color: rgb(247, 247, 247);
}

/*Presentación*/

#hero{
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-direction: column;
    height: 100vh;
    color: white;
    background-image: linear-gradient(
        0deg,
        rgba(0,0,0,0.5),
        rgba(59, 29, 0, 0.5)
    ),
    url("img/programacion.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

#hero h1{
    color: white;
}

#hero p{
    display: none;
}

/*Primera Sección*/
#quien-soy{
    text-align: center;
    padding: 300px 12px;
    color: white;
    background-image: linear-gradient(
        0deg,
        rgba(0,0,0,0.8),
        rgba(14, 14, 14, 0.8)
    ),
    url("img/yo-3.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

#quien-soy p{
    display: none;
}



/*Segunda Sección*/
#mis-hobbies{
    text-align: center;
    padding: 300px 12px;
    color: white;
    background-image: linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.8),
        rgba(0, 0, 0, 0.8)
    ),
    url("img/mimishin.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

#mis-hobbies p{
    display: none;
}

.hobbies-galeria {
    display: none;
    flex-direction: row;
    justify-content: space-around;
    align-items: center; 
    gap: 30px;
    margin-top: 40px;
}

.hobby {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    width: 30%;
}

.hobby img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0,0,0,0.4);
}

.hobby p {
    color: white;
    font-size: 1.1em;
    margin-top: 10px;
}




/*Tercera Sección*/
#mis-habilidades{
    text-align: center;
    padding: 100px 12px;
    color: white;
    background-image: linear-gradient(
        0deg,
        rgba(0,0,0,0.8),
        rgba(0,0,0,0.8)
    ),
    url("img/habilidad.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}


#mis-habilidades h2{
    margin-top: 0;
}

#mis-habilidades p{
    display: none;
}

/*Trabajar con las cartas de habilidades*/

#mis-habilidades .carta{
    background: cover;
    background-position: center center;
    padding: 25px;
    margin: 20px;
    border-radius: 0;
}

/*Color personalizado del boton para carta*/
.carta button{
    font-size: 1.2em;
    font-weight: 2.5em;
    padding: 10px 20px;
    border-radius: 5px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0);
    color: rgb(255, 255, 255);
    background-color: rgb(14, 66, 179);
    border-color: rgb(14, 66, 179);
}

.carta button:hover{
    background-color: rgb(32, 102, 255);
}

/*poner imagenes a las cartas*/
.carta:first-child{
    background-image: linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.6),
        rgba(0,0,0,0.6)
    )
    ,url("img/CCNA.jpg");
}

.carta:nth-child(2){
    background-image: linear-gradient(
        0deg,
        rgba(0,0,0,0.5),
        rgba(0,0,0,0.5)
    )
    ,url("img/IT.jpg");
}
.carta:nth-child(3){
    background-image: linear-gradient(
        0deg,
        rgba(0,0,0,0.5),
        rgba(0,0,0,0.5)
    )
    ,url("img/python.png");
}


footer{
    background-color: rgb(207, 117, 0);
}

footer p{
    margin: 0;
    padding: 12px;
    background-color: rgb(207, 117, 0);
}

footer .container{
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

/*SUPERIOR A LOS 720px */
@media (min-width: 720px){
    header{
        position: fixed;
        width: 100%;
    }
    header .container{
        flex-direction: row;
        justify-content: space-around;
    }

    header nav{
        flex-direction: row;
        padding-bottom: 0;
        padding-right: 20px;
    }
}

body{
    margin: 0;
}