/* Estilos para el fondo fijo */
body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    position: relative;
    background-color: #000;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    z-index: -1;
    opacity: 0.5; /* Ajusta la opacidad según sea necesario */
}

/* Contenido principal */
.container {
    position: relative;
    z-index: 1;
    background: #1A150CBF; /* Fondo semitransparente para mejor legibilidad */
    border-radius: 10px;
    padding: 20px;
    margin-top: 20px;
    margin-bottom: 20px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
}

body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    position: relative;
    display: flex;              /* 👈 habilitamos flexbox */
    flex-direction: column;     /* apilar vertical */
    background-color: #000;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    z-index: -1;
    opacity: 0.5;
}

/* Contenido principal */
.container {
    position: relative;
    z-index: 1;
    background: #1A150CBF;
    border-radius: 10px;
    padding: 20px;
    margin-top: 20px;
    margin-bottom: 20px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
    flex: 1;   /* 👈 este hace que el footer baje */
}

/* Footer */
footer {
    z-index: 1;
    background: #111;
    color: #fff;
    text-align: center;
    padding: 20px;
}