/* === Estilos base === */
body {
    font-family: 'Segoe UI', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f5eae1;
    color: #1f1f1f;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #400101;
    color: white;
    padding: 1rem 2rem;
    flex-wrap: wrap;
}

nav {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 0.5rem;
}

nav a {
    color: white;
    text-decoration: none;
    margin-left: 1rem;
}

nav a:hover {
    text-decoration: underline;
}

main {
    padding: 2rem;
}

/* === Sección About Me === */
#about-me {
    max-width: 900px;
    margin: 0 auto;
}

.about-content {
    align-items: center;
    gap: 1rem; /* Menos espacio entre imagen y texto */
    margin-bottom: 2rem;
    display: flex;
    justify-content: flex-start;
    text-align: left;
}


#about-me img {
    border-radius: 10px;
    width: 300px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

#about-me ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    text-align: left;
}

#about-me li::before {
    content: "✔ ";
    color: #8b0000;
    font-weight: bold;
    margin-right: 6px;
}

/* === Footer === */
footer {
    text-align: center;
    padding: 1rem;
    background-color: #400101;
    color: white;
}

footer a {
    color: #f0e68c;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* === Media Queries === */

/* Tablets y móviles: mantener imagen a la izquierda */
@media (max-width: 992px) {
    header {
        flex-direction: column;
        align-items: flex-start;
    }

    nav {
        justify-content: flex-start;
        margin-top: 1rem;
    }

    main {
        padding: 1.5rem;
    }

    .about-content {
        flex-direction: row;
        justify-content: flex-start;
        text-align: left;
    }

    #about-me img {
        width: 150px;
        max-width: 40%;
    }

    #about-me ul {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    header {
        padding: 1rem;
    }

    nav {
        flex-direction: column;
        align-items: flex-start;
    }

    nav a {
        margin-left: 0;
        padding: 0.5rem 0;
    }

    main {
        padding: 1rem;
    }

    #about-me img {
        width: 120px;
        max-width: 35%;
    }

    footer {
        font-size: 0.9rem;
    }
}
