* {
    box-sizing: border-box;
}
/* manejo de scrol*/
html{
    scroll-behavior: smooth;
}
h1 {
    font-size: 3.5em;
}

h2 {
    font-size: 1.8;
}

h3 {
    font-size: 3.5;
}

p {
    font-size: 1.25;
}

button {
    font-size: 1.5em;
    font-weight: 2.7em;
    border-radius: 5px;
    border: 2px solid rgb(169, 223, 121);
    box-shadow: 2px 2px 10px rgba(188, 258, 1, 5);
    color: white;
    background-color: blueviolet;
}

button:hover {
    background-color: violet;
}

.container{
    max-width: 1400px;
    margin: auto;
}

header {
    background-color: blueviolet;
}

header .logo {
    margin: 0;
    padding: 25px 30px;
    font-weight: bold;
    color: black;
    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;
}

header a:hover {
    color: violet;
}

#mio {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-direction: column;
    height: 88vh;
    color: white;
    background-image: linear-gradient(0deg,
            rgba(0, 0, 0, 0.6),
            rgba(0, 0, 0, 0.6)), url("img/01.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}

#mio h1 {
    color: white;
}

#quien_soy {
    background-image: linear-gradient(0deg,
    rgba(0, 0, 0, 0.6),
    rgba(0, 0, 0, 0.6)), url("img/yo.jpg");
    background-repeat: no-repeat;
    background-position: center center;
}

#quien_soy .container {
    text-align: center;
    padding: 200px 12px;
}

#Mis_hobbies {
    background-color: rgb(89, 2, 121);
    color: whitesmoke;
}

#Mis_hobbies .container {
    text-align: center;
    padding: 200px 12px;
}

#Mis_hobbies .carton {
    background: cover;
    background-position: center center;
    padding: 70px;
    margin: 20px;
    border-radius: 15px;
}

.carton:first-child {
    background-image: linear-gradient(0deg,
            rgba(0, 0, 0, 0.5),
            rgba(0, 0, 0, 0.5)), url("img/cific.jpg");
}
/*tomamos la segunda carta*/
.carton:nth-child(2) {
    background-image: linear-gradient(0deg,
            rgba(0, 0, 0, 0.5),
            rgba(0, 0, 0, 0.5)), url("img/esmusic.webp");
}

/*tomamos la tercera carta*/
.carton:nth-child(3) {
    background-image: linear-gradient(0deg,
            rgba(0, 0, 0, 0.5),
            rgba(0, 0, 0, 0.5)), url("img/wallpaperflare.com_wallpaper.jpg");
    background-repeat: no-repeat;
}

#Mis_habilidades {
    background-color: rgb(89, 122, 21);
    color: whitesmoke;
}

#Mis_habilidades .container {
    text-align: center;
    padding: 200px 12px;
}

#Mis_habilidades p {
    display: none;
}

/*Trabajamos con las cartas */
#Mis_habilidades .carta {
    background: cover;
    background-position: center center;
    padding: 70px;
    margin: 20px;
    border-radius: 15px;
}

#Mis_habilidades h3{
    color: white;
}
/*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/ccna.jpg");
}
/*tomamos la segunda carta*/
.carta:nth-child(2) {
    background-image: linear-gradient(0deg,
            rgba(0, 0, 0, 0.5),
            rgba(0, 0, 0, 0.5)), url("img/scrum2.webp");
}

/*tomamos la tercera carta*/
.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");
    background-repeat: no-repeat;
}

footer {
    background-color: blueviolet;
}
footer p {
    margin: 0;
    padding: 12px;
    background-color: blueviolet;
}

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: 20px;
    }
}
body {
    margin: 0;

}