* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background-color: #F7374F;
}

h1 {
    font-size: 3.5em;
}

h2 {
    font-size: 2.8em;
}

h3 {
    font-size: 2.5em;
}

p {
    font-size: 1.25em;
}

button {
    width: 250px;
    height: 50px;
    font-size: 1.5em;
    border-radius: 5px;
    border: 2px solid white;
    box-shadow: 2px 2px 10px rgba(255, 255, 255, 0.5);
    color: white;
    background-color: black;
}

button:hover {
    background-color: rgb(212, 201, 190);
}

header {
    background: #88304E;
}

header .logo {
    margin: 0;
    padding: 25px 30px;
    font-weight: bold;
    color: white;
    font-size: 1.6em;
}

header .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

header nav {
    display: flex;
    flex-direction: column;
    align-items: center;
}

header a {
    padding: 5px 12px;
    text-decoration: none;
    font-weight: bold;
    color: white;
}

header a:hover {
    color: black;
}

#mio {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-direction: column;
    height: 90vh;
    color: white;
    background-image: linear-gradient(0deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.8)), url("img/Al.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}

#Quien-Soy .container {
    background-color: #88304E;
    text-align: center;
    padding: 200px 12px;
}

#Mis-Hobbies {
    background-color: #dde04c;
    text-align: center;
    padding: 200px 12px;
}

#Mis-Habilidades .container {
    background-color: #5b69b8;
    text-align: center;
    padding: 200px 12px;
    color: aliceblue;
}

.ccna-button,
.its-button,
.python-button {
    background-color: #5b69b8;
    color: white;
}

#Mis-Habilidades .carta {
    background: cover;
    background-position: center center;
    padding: 50px;
    margin: 20px;
    border-radius: 15px;
}

/* Cartas con imágenes */
.carta:first-child {
    background-image: linear-gradient(0deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("img/ccna1.jpg");
    background-repeat: no-repeat;
    background-size: cover;
}

.carta:nth-child(2) {
    background-image: linear-gradient(0deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("img/itess.jpg");
    background-repeat: no-repeat;
    background-size: cover;
}

.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;
    background-size: cover;
}

/* Oculta el texto por defecto */
#Mis-Habilidades .carta p {
    display: none;
    margin-top: 10px;
}

/* Contacto */
#Contactame {
    background-color: #2C2C2C;
    text-align: center;
    padding: 200px 12px;
}

/* Footer */
footer {
    color: white;
    font-weight: bold;
    display: flex;
    align-items: center;
    background-color: #88304E;
}

footer p {
    margin: 0;
    padding: 15px;
}

footer .container {
    height: 55px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

/* Responsive */
@media (min-width: 720px) {
    header {
        position: fixed;
        width: 100%;
    }

    header .container {
        flex-direction: row;
        justify-content: space-between;
    }

    header nav {
        flex-direction: row;
        padding-right: 15px;
    }
}
