body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #1a1a2e;
    color: white;
    overflow-x: hidden;
}
.portada {
    background: url('img/portada.jpg') no-repeat center center/cover;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.portada h1 {
    font-size: 3rem;
    background: rgba(0, 0, 0, 0.6);
    padding: 10px 20px;
    border-radius: 10px;
    animation: fadeIn 2s ease-in-out;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}
.seccion {
    height: 100vh;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 40px;
    box-sizing: border-box;
    position: relative;
}
hr {
    width: 80%;
    border: 1px solid #fff;
}
.seccion img {
    max-width: 40%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}
.seccion:nth-child(odd) {
    flex-direction: row-reverse;
}
.texto {
    max-width: 50%;
    text-align: left;
    padding: 20px;
}
.texto h2, .texto p {
    animation: slideUp 1.5s ease-in-out;
}
@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
footer {
    padding: 20px;
    background: #0f3460;
    text-align: center;
}
.redes img {
    width: 40px;
    margin: 0 10px;
    cursor: pointer;
    transition: transform 0.3s;
}
.redes img:hover {
    transform: scale(1.2);
}
