@import url('https://fonts.googleapis.com/css2?family=Anek+Malayalam:wght@100;400&display=swap');
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    text-decoration: none;
}

body {
    font-family: 'Anek Malayan', sans-serif;
    background-color: #f8f9fa;
    overflow-x: hidden;
}

table {
    width: 100vw;
    text-align: center;
}

a {
    text-decoration: none;
    color: #9db7a9;
}

a:hover {
    border-bottom: 3px solid #ffffff;
    color: #ffffff;
}

.header {
    background-color: #10502f;
    color: #ffffff;
    box-shadow: 0px 2px 4px #888888;
    border-collapse: collapse;
    font-size: 0.75em;
    position: fixed;
}

.logo {
    width: 3%;
    padding-top: 10px;
}

.header-nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-top: 8px;
    flex-wrap: wrap; /* Permite a quebra para a próxima linha */
}

.header-nav td {
    flex: 1;
    text-align: center;
    padding: 10px; /* Adicionar espaço interno */
    max-width: 25%;
}

td {
    height: 50px;
    width: 104px;
    color: #9db7a9;
}

.nav-conteudo-lateral {
    width: 400px;
}

.nav-destacado {
    border-bottom: 3px solid #ffffff;
    color: #ffffff;
}

.nav-destacado:hover {
    background-color: #0e482a;
    cursor: pointer;
}

.tabela-brasileirao{
    position: absolute;
    margin-top: 160px;
    z-index: -1;
    border: 1px solid #e9eaeb;
    border-top:none;
    border-bottom:none;
    width: 40vw;
    margin-left: 30%;
    font-size: 0.75em;
    border-collapse: collapse;
    background-color: #ffffff;
}

.tabela-brasileirao-header {
    padding: 15px;
    padding-left: 20px;
    background-color: #f1f3f4;
    text-align: left;
    color: #70758d;
    width: 100%; /* Usar 100% da largura da tabela */
}

.ano {
    font-weight: 600;
    color: #4285f4;
}

.tabela-brasileirao th {
    border-top: 1px solid #e0e0e0;
    font-weight: 100;
    color: #70758d;
    padding: 4px;
    height: 35px;
}

.tabela-brasileirao td {
    border-top: 1px solid #e0e0e0;
    font-weight: 100;
    color: #000000;
    padding: 4px;
    height: 41px;
    font-size: 1.2em;
}

.tabela-brasileirao img {
    width: 25px;
}

.titulo-clube {
    width: 35%;
    text-align: left;
}

.titulo-ultimas-cinco {
    width: 20%;
}

.titulo-ultimas-cinco img {
    width: 17px;
}

.borda-azul {
    border-left: 3px solid #4285f4;
}

.borda-laranja {
    border-left: 3px solid #fa7b17;
}

.borda-verde {
    border-left: 3px solid #34a853;
}

.borda-vermelho {
    border-left: 3px solid #ea4335;
}

.legenda table {
    width: 40vw;
    margin: 5px;
    margin-top: 20px;
    margin-bottom: 20px;
    border: 1px solid #e9eaeb;
    border-radius: 3px;
    padding: 15px;
    text-align: left;
    background-color: #f8f9fa;
}

.legenda th {
    border-top: none;
    font-size: 1.1em;
    color: #000;
    font-weight: 700;
}

.legenda img {
    width: 10px;
}

.legenda td {
    border-top: none;
    font-size: 1em;
    height: 3px;
    width: 50%;
}

@media (max-width: 768px) {
    .header {
        font-size: 0.7em;
    }

    .header-nav td {
        height: 40px;
        max-width: 50%; /* Ajuste a largura máxima para caber em dispositivos menores */
        margin-right: 15px;
    }

    .nav-conteudo-lateral {
        width: 0;
    }

    .nav-destacado {
        font-size: 0.7em;
    }
    
    .tabela-brasileirao {
        font-size: 0.7em;
        position: absolute;
        margin-top: 120px;
        /* margin-top: 140px; */
        z-index: -1;
        border: 1px solid #e9eaeb;
        border-top: none;
        border-bottom: none;
        width: 100%; /* Usar 100% da largura do contêiner pai */
        border-collapse: collapse;
        background-color: #ffffff;
        display: flex; /* Usar flexbox para alinhar e centralizar */
        flex-direction: column; /* Coluna principal */
        align-items: center; /* Alinhar ao centro horizontalmente */
        margin-left: 0;
    }

    .tabela-brasileirao-header {
        width: 100%;
    }

    .logo {
        width: 9%;
        padding-top: 10px;
    }

    .legenda table {
        width: 96%;
        margin-top: 10px;
        border: 1px solid #e9eaeb;
        border-radius: 3px;
        padding: 15px;
        text-align: left;
        background-color: #f8f9fa;
    }
}