body {
    margin: 0;
    font-family: 'Times New Roman', Times, serif, sans-serif;
    background-image: url("imagenes/fondo.jpg"); /* ← nombre de tu imagen */
    background-size: cover;             /* cubre todo el fondo */
    background-position: center;        /* centrada */
    background-repeat:no-repeat;       /* que no se repita */
 background-attachment: fixed;       /* opcional: efecto scroll fijo */
}
.bloque-con-imagen {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 200px;               /* espacio entre imagen y texto */
    padding: 60px;
    max-width: 1000px;
    margin: 0 auto;
}

.imagen-lateral {
    width: 300px;
    height: auto;
    border-radius: 0px;
}

.texto-lateral {
    max-width: 600px;
}

.texto-lateral h2 {
    margin-top: 0;
    font-size: 24px;
}

.texto-lateral p {
    font-size: 16px;
    line-height: 1.5;
}

header {
    background-color: rgba(255, 255,255,0.3);
     backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0px 30px 0px 0;
    border-radius: 10px;
    
}
.logo-container {
    display: flex;
    align-items: center;
    margin-left: 0;
}

.logo {
    height: 110px;
    margin-left: 0;
    padding-left: 0;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 100px;
}

nav ul li a {
    text-decoration: none;
    color: #fff9f9;
    font-weight: bold;
    font-size: 20px;
    letter-spacing: 1.5px;
}

nav ul li a:hover {
    color: #000000;
    text-decoration: underline;
}

.medio-banner {
    margin: 40px auto;
    width: 80%;
    max-width: 1000px;
    text-align: center;
}

.medio-banner img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}
.caja-blanca {
    background-color: white;
    padding: 30px;
    margin: 40px auto;
    max-width: 800px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); /* sombra suave */
    color: #333;
}
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 95%;
    z-index: 1000;
}