* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

h1 {
    font-size: 3.5em;
}

h2 {
    font-size: 2.8;
}

h3 {
    font-size: 2.5;
}

p {
    font-size: 1.25;
}

/*Formato de los botones*/
button {
    font-size: 1.5em;
    font-weight: 2.7em;
    border-radius: 5px;
    border: 2px solid rgb(145, 210, 152);
    box-shadow: 2px 2px 10px rgb(222, 19, 229);
    color: rgb(244, 244, 242);
    background-color: rgb(198, 211, 17);
    font-style: bold;
}

button:hover {
    background-color: rgb(47, 34, 190);
}

header {
    background: rgb(47, 34, 190);
}

header .logo {
    margin: 0;
    padding: 25px 30px;
    font-weight: bold;
    color: rgb(244, 244, 242);
    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: rgb(244, 244, 242);

}

header a:hover {
    color: rgb(47, 34, 190);
}

#mio {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-direction: column;
    height: 90vh;
    background-image: linear-gradient(0deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url("img/fondo1.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}

#mio h1 {
    color: rgb(244, 244, 242);
}

#quien-soy .container {
    text-align: center;
    padding: 200px 12px;
}

#foto {
    width: 20%;
    height: 20%;
}

#mis-hobbies .container {
    text-align: center;
    padding: 200px 12px;
}


#mis-habilidades .container {
    text-align: center;
    padding: 200px 12px;
}

#mis-habilidades .p {
    display: none;
}

#mis-habilidades .carta {
    background: cover;
    background-position: center center;
    padding: 65px;
    margin: 20px;
    border-radius: 15px;
}

.carta:first-child {
    background-image: linear-gradient(0deg,
            rgba(0, 0, 0, 0.6),
            rgba(0, 0, 0, 0.6)),
        url("img/ccna.jpg");
    background-repeat: no repeat;
    color: rgb(244, 244, 242);
}

.carta:nth-child(2) {
    background-image: linear-gradient(0deg,
            rgba(0, 0, 0, 0.6),
            rgba(0, 0, 0, 0.6)),
        url("img/itess.jpg");
    background-repeat: no repeat;
    color: rgb(244, 244, 242);
}

.carta:nth-child(3) {
    background-image: linear-gradient(0deg,
            rgba(0, 0, 0, 0.6),
            rgba(0, 0, 0, 0.6)),
        url("img/python.png");
    background-repeat: no repeat;
    color: rgb(244, 244, 242);
}


footer {
    background: rgb(47, 34, 190);
}

footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

footer p {
    margin: 0;
    padding: 20px 35px;
    font-weight: bold;
    color: rgb(244, 244, 242);
}

@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;
}