header {
    /*background-color: #354452;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
    height: 150px;
    border-bottom: 6px solid transparent;
    border-image: linear-gradient(to right, #F7C831, #92D050) 1;*/

    background-color: #2B3342;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
    height: 150px;

    border-bottom: 1px solid transparent; /* grosor */
    border-image-source: linear-gradient(to right, #F7C831, #92D050);
    border-image-slice: 1;
    border-image-width: 0 0 3px 0;         /* solo abajo */
    border-image-outset: 0;
}

#container-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

#container-logo img {
    height: 120px;
    width: 120px;          /* cuadrado */
    border-radius: 25%;
    object-fit: contain;
    /*display: block;         elimina espacios extra */
    background-color: #fff;
}

#container-temporada {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

#container-temporada img {
    height: 100px;
}

#titulo h1 {
    margin: 0;
    text-align: center;
    color: white;
    font-size: 2.0rem;
}

#titulo h2 {
    margin: 0;
    text-align: center;
    color: white;
    font-size: 1.0rem;
}

#titulo h3 {
    margin: 0;
    text-align: center;
    color: #92D050;
    font-size: 1.0rem;
}

.subtitulo {
    text-align: right;
    color: #FFFFFF;
    font-size: 0.9rem;
}

#principal h1 {
    margin: 0;
    text-align: center;
    color: #002244;
    font-size: 1.8rem;
    margin-top: 20px;
}

#principal h2 {
    margin: 0;
    text-align: center;
    color: #002244;
    font-size: 1.8rem;
    margin-top: 20px;
}

.green {
    color: #A6FA00;
}

.yellow {
    color: #F7C831;
}

nav {
    background-color: #2B;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 0;
}

nav a {
    color: #f2f2f2;
    text-decoration: none;
    margin: 0 20px;
    font-weight: 300;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #F7C831;
}

.linea-degradada1 {
    position: absolute;
    top: 150px;
    height: 3px;
    width: 100%;
    margin: 0 auto;
    background: linear-gradient(to right, #F7C831, #92D050);
    border-radius: 2px;
    z-index: 1000;
}

.linea-degradada2 {
    position: fixed;
    bottom: 85px;
    height: 3px;
    width: 100%;
    background: linear-gradient(to left, #F7C831, #92D050);
    border-radius: 2px;
    z-index :1000;
}

html, body {
  height: 100%;              /* ocupa toda la altura de la ventana */
  margin: 0;                 /* elimina márgenes por defecto */
  display: flex;
  flex-direction: column;    /* organiza en columna: header, main, footer */
}

main {
    flex: 0;
}

footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: #2B3342;
    color: #f2f2f2;
    padding: 20px;
}

footer section {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 10px;
}

footer a {
    color: #f2f2f2;
    text-decoration: none;
}

footer p {
    text-align: center;
    margin: 0;
    font-size: 0.9rem;
}

/* Botón flotante del menú */
.menu-btn {
    background-color: #4D5874;
    color: white;
    padding: 10px 15px;
    border: none;
    cursor: pointer;
    position: fixed;
    top: 165px;
    right: 20px;
    z-index: 1001;
    border-radius: 6px;
    font-size: 1rem;
}

/* Menú desplegable flotante */
.floating-menu {
    position: fixed;
    top: 210px;
    right: 20px;
    background-color: #4D5874;
    border-radius: 6px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    display: none;
    flex-direction: column;
    z-index: 1000;
}

.floating-menu a {
    color: #f6f6f7;
    padding: 10px 15px;
    text-decoration: none;
    border-bottom: 1px solid #92D050;
    font-weight: 300;
}

.floating-menu a:hover {
    background-color: #92D050;
}

/* Depuración adicional */
.subtitulo form,
.subtitulo p {
    margin: 5px 0;
}

.modal-content h3 {
    margin-bottom: 10px;
}


/* Modal login */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 20px;
    border-radius: 10px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.modal-content h3 {
    margin-top: 0;
    color: #4D5874;
    text-align: center;
}

.modal-content input {
    width: 100%;
    padding: 8px;
    margin: 10px 0;
    font-size: 0.9rem;
}

.modal-content button {
    width: 50%;
    padding: 10px;
    background-color: #92D050;
    border: none;
    color: #002244;
    /* ← color de letra */
    font-size: 1.1rem;
    /* ← letra más grande */
    font-weight: normal;
    cursor: pointer;
    border-radius: 6px;
    display: block;
    /* ← permite usar margin auto */
    margin: 20px auto 0 auto;
    /* ← centra horizontalmente */
    text-align: center;
}

.modal-content button:hover {
    background-color: #92D050;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

/* Contenedor de la imagen */
.image-container {
    width: 75%;
    height: 75%;
    border-radius: 2rem;
    /* Bordes redondeados */
    overflow: hidden;
    /* Recorta la imagen dentro del borde */
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    margin: 0 auto;
}

/* Imagen dentro del contenedor */
.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Ajusta la imagen sin deformarla */
    display: block;
}

/* Efecto al pasar el cursor */
.image-container:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    /* Sombra flotante */
    transform: translateY(-5px);
    /* Se eleva ligeramente */
}