/* Estilo global */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(45deg, #000000, #8a8a8a, #db5353, #7e0474);
    background-size: 400% 400%;
    animation: backgroundChange 15s ease infinite;
    min-height: 100vh;  /* Cambiado de height a min-height para permitir el scroll */
    display: flex;
    flex-direction: column; /* Permitir que el contenido se extienda verticalmente */
}

/* Animación del fondo */
@keyframes backgroundChange {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Contenedor principal */
.container {
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    padding: 20px;
    max-width: 90%;
    margin: 20px auto; /* Centrar el contenedor horizontalmente */
    text-align: left;
    overflow: auto; /* Asegura que el contenido del contenedor pueda desplazarse si es necesario */
}

/* Estilo del título */
.container h1 {
    font-size: 2.5em;
    font-weight: bold;
    text-align: center;
    margin-bottom: 15px;
}

/* Texto dentro del contenedor */
.container p {
    font-size: 1.4em;
    margin-bottom: 20px;
}

/* Estilo de la lista de puestos */
.puestos li {
    font-size: 1.3em;
    margin-bottom: 10px;
}

/* Imagen dentro del contenedor */
.imagen-contenedor {
    display: block;
    width: 100%;
    border-radius: 10px;
    margin-top: 20px;
}

/* Responsive */
@media (min-width: 768px) {
    .container {
        max-width: 60%;
    }

    .container h1 {
        font-size: 3em;
    }

    .puestos li {
        font-size: 1.5em;
    }
}

/* Boton para ir atras */

#backButton {
    position: fixed;
    top: 20px;
    left: 20px;
    font-size: 1.5em;
    background-color: lightgray;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
    z-index: 999;
}

/* Fin de boton para ir atras */

