/* Estilos específicos de la página de inicio */
body
{
    font-family: Normal;
    background-color: #00091A;
}

/* Contenedor de enlaces e imágenes */
.contenedorEnlaces
{
    display: flex;
    justify-content: center;
    flex-flow: row wrap;
    text-align: center;
    width: 100%;
}

.imagesEnlaces {
    width: 100%;
    display: flexbox;
    flex-wrap: wrap;
    justify-content: center;
}

.imagesEnlaces img
{
    background-color: #C60428;
    width: 45%;
    margin: 5px;
    border-radius: 5px;
    transition: transform 0.3s ease;
}

.imagesEnlaces img:hover
{
    transform: scale(1.05);
}

/* Sección de información */
.informacion
{
    background-color: #121F38;
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 20px;
}

.informacion h4
{
    margin: 25px 0 2px 0;
    font-size: 17px;
}

.informacion p
{
    text-align: justify;
}

.informacion ul
{
    padding: 0 0 0 20px;
}

/* Recuadros de enlaces */
.recuadrosEnlaces
{
    display: flex;
    justify-content: center;
    flex-flow: row wrap;
    margin: 15px 0;
}

.recuadrosEnlaces img
{
    height: 100px;
    border-radius: 5px;
    margin: 5px;
    transition: transform 0.3s ease;
}

.recuadrosEnlaces img:hover
{
    transform: scale(1.1);
}

/* Botones de noticias */
.botonesNoticias
{
    display: flex;
    flex-wrap: wrap;
    margin: 15px 0;
}

.botonesNoticias a
{
    color: white;
    text-decoration: none;
    margin: 0 5px 5px 0;
    padding: 8px 12px;
    background-color: #121F38;
    border-radius: 4px; 
    transition: 0.3s ease;
}

.botonesNoticias a:hover
{
    background-color: #C60428;  
}

/* Sección de palmarés */
.palmares {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    text-align: center;
}

.bloque {
    width: calc(25% - 10px);
    padding: 15px;
    margin: 5px;
    background-color: #121F38;
    border-radius: 5px;
    display: flex;
    align-items: center;
    flex-flow: column wrap;
}

.bloque img {
    width: 5vw;
    max-width: 60px;
    min-width: 40px;
    height: auto;
    margin: 0 0 15px 0;
}

.palmaresN {
    font-weight: 1000;
    font-size: 30px;
    color: #DC052D;
}

/* Boletín de noticias */
.boletinNoticias {
    margin: 30px 5px;
    background-color: #121F38;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.boletinNoticias:hover {
    transform: translateY(-5px);
}

.negritas {
    font-size: 24px;
    font-weight: 800;
    margin: 0 0 20px 0;
    position: relative;
    display: inline-block;
}

.negritas::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 60%;
    height: 3px;
    background-color: #DC052D;
    border-radius: 2px;
}
.boletinNoticias input[type=email] {
    width: 100%;
    max-width: 500px;
    height: 45px;
    padding: 5px 15px;
    color: white;
    font-family: normal;
    font-weight: 400;
    border: 1px solid transparent;
    border-radius: 8px;
    background-color: #3d475a;
    transition: all 0.3s ease;
}

.boletinNoticias input[type=email]:hover,
.boletinNoticias input[type=email]:focus {
    background-color: #4a566b;
    border-color: #DC052D;
    outline: none;
    box-shadow: 0 0 0 2px rgba(220, 5, 45, 0.2);
}

.boletinNoticias input[type=submit] {
    color: white;
    font-family: normal;
    font-weight: 700;
    width: 120px;
    height: 45px;
    border: none;
    border-radius: 8px;
    background-color: #C60428;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-left: 10px;
}

.boletinNoticias input[type=submit]:hover {
    background-color: #e7193f;
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(220, 5, 45, 0.4);
}

.boletinNoticias p {
    text-align: justify;
    margin-top: 20px;
    font-size: 14px;
    line-height: 1.6;
    color: #d0d0d0;
}

/* Media queries para responsive */
@media only screen and (max-width: 1200px) {
    .bloque {
        width: calc(33.33% - 10px);
    }
}

@media only screen and (max-width: 992px) {
    .palmares .bloque {
        width: calc(50% - 10px);
    }
    
    .imagesEnlaces img {
        width: 45%;
    }
}

@media only screen and (max-width: 768px) {
    .imagesEnlaces img {
        width: 90%;
    }
    
    .recuadrosEnlaces img {
        height: 80px;
    }
    
    .boletinNoticias input[type=email],
    .boletinNoticias input[type=submit] {
        width: 100%;
        margin-right: 0;
    }
    
    .bloque {
        width: calc(50% - 10px);
    }
}

@media only screen and (max-width: 576px) {
    .palmares .bloque {
        width: 100%;
    }
    
    .bloque img {
        width: 10vw;
    }
    
    .palmaresN {
        font-size: 24px;
    }
    
    .negritas {
        font-size: 20px;
    }
    
    .informacion {
        padding: 15px;
    }
}
