body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: black;
    color: #333;
    padding-bottom: 80px; /* Padding inferior agregado */
}

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    background-color: black;
}

.container {
    display: inline-flex; /* Centra el grupo horizontalmente */
    align-items: center;
    width: 100%;
    justify-content: center;
    gap: 20px; /* Espacio entre las imágenes y el título */
}

.logo {
    max-height: 100px; /* Tamaño de la imagen aumentado */
}

.title-img {
    max-width: 300px;
    margin: 0; /* Elimina el margen automático para pegar las imágenes */
}

.social-icons {
    display: flex;
    flex-direction: row; /* Enlaces en horizontal */
    gap: 10px;
    position: absolute;
    top: 20px;
    right: 20px;
}

.social-icons a {
    color: green;
    font-size: 1em; /* Tamaño de los iconos más pequeño */
}

.main-menu {
    background-color: rgb(103, 226, 140);
    text-align: center;
    padding: 10px 0;
}

.main-menu ul {
    list-style: none;
    display: flex;
    justify-content: center;
    padding: 0;
}

.main-menu li {
    margin: 0 20px;
}

.main-menu a {
    text-decoration: none;
    color: green;
    font-size: 1.2em;
}

.regulations {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
}

.regulation-item {
    background-color: rgb(103, 226, 140);
    border-radius: 8px;
    padding: 20px;
    margin: 10px;
    width: 300px;
    text-align: center;
    font-size: 1.5em;
}

footer {  /* Estilos para el pie de página */
    background-color: #333;
    color: white;
    text-align: center;
    padding: 0px 0;
    position: fixed;
    bottom: 0;
    width: 100%;
    font-size: 10px; /* Nuevo tamaño de fuente más pequeño */
}

@media only screen and (max-width: 768px) {
    body {
        font-size: 0.4em; /* Reducimos el tamaño general de la fuente */
    }

    header {
        padding: 20px; /* Reducimos el padding */
    }

    .logo {
        max-height: 50px; /* Disminuimos el tamaño del logo */
    }

    .title-img {
        max-width: 150px; /* Disminuimos el tamaño del título */
    }

    .social-icons a {
        font-size: 1.5em; /* Ajusta este valor */
        padding-top: 50px;
    }

    .main-menu {
        background-color: rgb(103, 226, 140);
        text-align: center;
        padding: 0.1px 0;
        font-size: 2em; /* Reducir el tamaño de fuente */
    }

    .main-menu ul {
        list-style: none;
        display: flex;
        justify-content: center;
        padding: 0;
    }

    .main-menu li {
        margin: 0 5px; /* Reducir el margen horizontal */
    }

    .main-menu a {
        text-decoration: none;
        color: green;
        font-size: 1em; /* Reducir el tamaño de fuente */
    }

    .news-item {
        width: 135px;  /* O incluso menor si lo prefieres */
    }


}
