*{
    box-sizing: border-box;
}   
    h1{font-size: 5.0em;}
    h2{font-size: 4.0em;}
    h3{font-size: 2.5;}

    p{font-size: 1.25;}

    /*manejos de scrol*/
html{
    scroll-behavior: smooth;
}





/* Formato de los Botones */

button{
    font-size: 1.5em; /*tamaño de letra*/
    font-weight: 2.7em;
    border-radius: 5px;
    border: 2px solid rgb(3, 63, 73);
    box-shadow: 2px 2px 10px rgba(119, 207, 178, 0.575);
    color: white;
    background-color: rgb(22, 141, 121);

}
/* Enfoque del boton*/
button:hover{
    background-color: brown;
}

header{
    background: rgb(118, 144, 161);
}

/* Modificando la clase: logo*/
header .logo{
    margin: 0;
    padding: 25px 30px;
    font-weight: bold;
    color: rgb(34, 66, 78);
    font-size: 1.6em;  
}

header .container{
    display: flex;
    flex-direction: column;
    align-items: center;
}

header nav{
    display: flex;
    flex-direction: column;
    text-align: center;
    padding-bottom: 25px;
}

header a{
    padding: 5px 12px;
    text-decoration: none;
    font-weight: bold;
    color: black;
    font-size: 1.25em;
}
 /* Enfoque a las opciones de navegación*/
header a:hover{
    color: blue;
}



/* Trabajamos en la sección Mio*/
#mio{
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-direction: column;
    height: 90vh; /* el rago 80% hasta 90%*/
    color: white;
    background-image: linear-gradient(
        0deg,
        rgba(0,0,0,0.8),
        rgba(0,0,0,0.8)
    ),url("img/logop.webp");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}

#mio h1{
    color: white;
}

#quien-soy .container{
    text-align: center;
    padding: 200px 12px;
}

#quien-soy .container{
    background-color: rgb(51, 58, 70);
    color: white;
}

#Mis-Hobbies .container{
    background-color: rgb(59, 73, 94);
    color: white;
}

#Mis-Hobbies .container{
    text-align: center;
    padding: 200px 12px;
}


#Mis-Habilidades .container{
    text-align: center;
    padding: 200px 12px;
}

#Mis-Habilidades .container{
    background-color: rgb(97, 120, 155);
    color: white;
}
/* ----- MIS HOBBIES ------ */
#Mis-Hobbies .secc p {
    display: none;
}

.grid-hobbies {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    padding: 50px 0;
}

#Mis-Hobbies .secc {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 20px;
    text-align: center;
    box-shadow: 0px 0px 10px rgba(255,255,255,0.1);
    transition: transform 0.3s ease;
}

#Mis-Hobbies .secc:hover {
    transform: translateY(-5px);
}

#Mis-Hobbies .secc img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 15px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}


/* ----- MIS HABILIDADES ------ */
#Mis-Habilidades p{
    display: none;
}
/*Trabajar con las Cartas*/
#Mis-Habilidades .carta{
    background: cover;
    background-position: center center;
    padding: 50px;
    margin: 20px;
    border-radius: 20PX;
}

/*tomamos la primera carta*/

.carta:first-child {
    background-image: linear-gradient(
        0deg, 
        rgba(0,0,0,0.5),
        rgba(0,0,0,0.5)
    )
    ,url("img/HABILIDADES/ccna.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}
/*tomamos ahora la segunda carta*/
.carta:nth-child(2){
    background-image: linear-gradient(
        0deg,
        rgba(0,0,0,0.4),
        rgba(0,0,0,0.4)
    )
    ,url("img/HABILIDADES/itess.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}  
/*tomamos ahora la tercera carta*/
.carta:nth-child(3){
    background-image: linear-gradient(
        0deg,
        rgba(0,0,0,0.4),
        rgba(0,0,0,0.4)
    )
    ,url("img/HABILIDADES/python.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}

footer{
    background-color: rgb(118, 156, 165);
}

footer p{ 
    padding: 15px;
    background-color: rgb(118, 156, 165);
    margin: 0;

}

footer .container{
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

/*para pantallas mayores a 720 px*/

@media(min-width: 720px){
   header{
    position: fixed;
    width: 100%;
   } 
   header .container{
    flex-direction: row;
    justify-content: space-between;

   }
   header nav{
    flex-direction: row;
    padding-bottom: 0;
    padding-right: 15px;
   }
   .grid-hobbies {
    grid-template-columns: repeat(2, 1fr);
   }
}

/* Quitar los margenes del boddy*/
body{
    margin: 0;
    
}