* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    color: #333;
    line-height: 1.6;
}
header {
background-color: #1f4e79;
color: white;
padding: 15px 8%;
display: flex;
justify-content: space-between;
align-items: center;
}
.logo h1 {
font-size: 24px;
}
nav a {
color: white;
text-decoration: none;
margin-left: 20px;
font-weight: bold;
}
nav a:hover {
text-decoration: underline;
}
 .portada {
    min-height: 420px;
    background-image:
        linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.45)),
        url("../multimedia/portada.png");
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
}
.contenido-portada {
    padding: 20px;
}
.contenido-portada h2 {
    font-size: 42px;
    margin-bottom: 10px;
}
.contenido-portada p {
    font-size: 20px;
    margin-bottom: 25px;
}
.boton {
    display: inline-block;
    background-color: white;
    color: #1f4e79;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}
.boton:hover {
background-color: #e6e6e6;
}
.bienvenida {
max-width: 900px;
margin: 0 auto;
padding: 50px 20px;
text-align: center;
}
.bienvenida h2 {
font-size: 32px;
margin-bottom: 20px;
color: #1f4e79;
}
.bienvenida p {
margin-bottom: 15px;
}
.nosotros {
    max-width: 1100px;
    margin: 0 auto;
    padding: 50px 20px;
    display: flex;
    gap: 40px;
    align-items: center;
}
.imagen-nosotros,
.texto-nosotros {
    flex: 1;
}
.imagen-nosotros img {
width: 100%;
border-radius: 8px;
}
.texto-nosotros h2 {
color: #1f4e79;
font-size: 32px;
margin-bottom: 15px;
}
.texto-nosotros h3 {
color: #1f4e79;
margin-top: 20px;
margin-bottom: 5px;
}
footer {
    background-color: #1f4e79;
    color: white;
    text-align: center;
    padding: 20px;
}@media (max-width: 700px) {
    header {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    nav a {
        margin: 0 8px;
    }
    .contenido-portada h2 {
        font-size: 30px;
    }
    .contenido-portada p {
        font-size: 17px;
    }
    .nosotros {
        flex-direction: column;
    }
}
