/* Archivo: styles.css */
body {
    font-family: "Georgia", serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    background-color: #ffffff;
    color: #333;
}

header {
    background-color: #1E90FF; /* Azul cielo */
    color: #fff;
    text-align: center;
    padding: 1.5rem 0;
}

header h1 {
    margin: 0;
    font-size: 2.5rem;
    font-weight: bold;
}

main {
    padding: 2rem;
    max-width: 1200px;
    margin: auto;
}

section {
    margin-bottom: 2rem;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

section h2 {
    color: #DAA520; /* Dorado */
    font-size: 1.8rem;
    text-align: center; /* Centrado */
    font-weight: bold; /* Negrita */
    margin-bottom: 1rem;
    border-bottom: 2px solid #1E90FF; /* Línea decorativa */
    display: inline-block;
    width: auto;
    padding-bottom: 0.5rem;
}

.content {
    display: flex;
    align-items: flex-start; /* Alinea las imágenes y el texto al inicio */
    gap: 1.5rem;
}

.content img {
    max-width: 300px;
    border-radius: 8px;
    border: 2px solid #ddd;
}

.content div {
    flex: 1; /* Asegura que el texto ocupe el espacio restante */
}

footer {
    background-color: #1E90FF;
    color: #fff;
    text-align: center;
    padding: 1rem 0;
    margin-top: 2rem;
}

footer p {
    margin: 0;
    font-size: 0.9rem;
}

/* Ajustes para dispositivos móviles */
@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }

    main {
        padding: 1rem;
    }

    section {
        padding: 1rem;
    }

    section h2 {
        font-size: 1.5rem;
    }

    .content {
        flex-direction: column;
        text-align: center;
    }

    .content img {
        max-width: 100%;
    }

    .content div {
        text-align: center;
    }

    footer p {
        font-size: 0.8rem;
    }
}

/* Ajustes adicionales para pantallas muy pequeñas */
@media (max-width: 480px) {
    header h1 {
        font-size: 1.8rem;
    }

    section h2 {
        font-size: 1.3rem;
    }

    .content img {
        margin-bottom: 1rem;
    }
}
