body, html {
    height: 100%;
    margin: 0;
    font-family: Arial, sans-serif;
    overflow-x: hidden;
}

.parallax {
    position: relative;
    height: 100vh;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
}

/* Aplicar la imagen de fondo de forma responsiva */
.parallax[data-bg] {
    background-image: url('');
}

/* Estilo para resaltar el texto sobre la imagen */
.text-overlay {
    background-color: rgba(234, 190, 63, 0.5);
    padding: 20px;
    border-radius: 10px;
    position: relative;
    z-index: 1;
}

/* Media queries para adaptabilidad */
@media (max-width: 768px) {
    .parallax {
        height: 300px;
    }

    .text-overlay {
        padding: 10px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .parallax {
        height: 200px;
    }

    .text-overlay {
        padding: 5px;
        font-size: 12px;
    }
}