/* ------------------------Reset e Base------------------------ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

body {
    background-color: #f4f4f4;
    color: #222;
    line-height: 1.6;
}

/* ------------------------Cores Temáticas------------------------ */
:root {
    --vermelho: #c40000;
    --vermelho-escuro: #8b0000;
    --cinza-escuro: #2e2e2e;
    --cinza-claro: #e0e0e0;
    --preto: #000;
    --branco: #fff;
}

/* ------------------------Menu Principal------------------------ */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--preto);
    padding: 0 5%;
    height: 80px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-logo img {
    height: 48px;
    transition: transform 0.3s ease;
}

.nav-logo img:hover {
    transform: scale(1.1);
}

.nav-links {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-links a {
    color: var(--branco);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    color: var(--vermelho);
    transform: scale(1.1);
}

#atual{
    color: #f26767;
}

/* ------------------------Ícone Hambúrguer------------------------ */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 25px;
    height: 18px;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background: var(--branco);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* ------------------------Sessão de Apoios------------------------ */
.patrocinios {
    margin-top: 3%;
    text-align: center;
}

.patrocinios h2 {
    font-weight: 600;
    color: var(--cinza-escuro);
}

.apoio {
    display: flex;
    align-items: center;
    width: 90%;
    margin: 20px auto;
    height: 160px;
    overflow: hidden;
    background: var(--branco);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.track {
    display: flex;
    gap: 15px;
    animation: rolar 15s linear infinite;
}

.slide img {
    height: 120px;
    width: auto;
    transition: all 0.4s ease;
}

.slide img:hover {
    transform: scale(1.1);
    filter: grayscale(100%);
    opacity: 1;
}

@keyframes rolar {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* ------------------------Histórico------------------------ */
.campeoes h1{
    width: 90%;
    margin: 40px auto;
    padding: 15px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--vermelho), var(--vermelho-escuro));
    text-align: center;
    color: var(--branco);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.campeoes_ouro{
    width: 90%;
    margin: 40px auto;
    padding: 15px;
    border-radius: 10px;
    background-color: #af9200;
    text-align: center;
    color: var(--branco);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.campeoes_prata {
    width: 90%;
    margin: 40px auto;
    margin: 40px auto;
    padding: 15px;
    border-radius: 10px;
    background-color: #9b9b9b;
    color: white;
    text-align: center;
}

.campeoes_veterano {
    width: 90%;
    margin: 40px auto;
    margin: 40px auto;
    padding: 15px;
    border-radius: 10px;
    background-color: #730707;
    color: white;
    text-align: center;
}

.campeoes_feminino {
    width: 90%;
    margin: 40px auto;
    margin: 40px auto;
    padding: 15px;
    border-radius: 10px;
    background-color: #d640a9;
    color: white;
    text-align: center;
}

.informacao{
    width: 90%;
    margin-left: 5%;
    font-size: 12px;
    padding-bottom: 40px;
}

table {
    width: 90%;
    margin: 10px auto 15px auto;
    border-collapse: collapse;
    border-radius: 10px;
    overflow: hidden;
    background: var(--branco);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

th,
td {
    padding: 12px;
    text-align: center;
    border-bottom: 1px solid #ddd;
}

.titulo {
    font-weight: 700;
}

th {
    background: var(--cinza-claro);
    color: var(--cinza-escuro);
    font-weight: 400;
}

th img{
    width: 50px;
    padding-right: 12px;
}

.time{
    display: flex;
    align-items: center;
}

tr:nth-child(even) {
    background: #fafafa;
}

tr:hover {
    background-color: #ffe5e5;
    transition: 0.3s ease;
}

/* ------------------------Footer------------------------ */
footer {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80px;
    background: var(--cinza-escuro);
    color: var(--branco);
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
}


@media (max-width: 420px) {

    /* ------------------------Menu------------------------ */
    .menu-toggle {
        display: flex;
        z-index: 1100;
    }

    .nav-links {
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--preto);
        flex-direction: column;
        align-items: center;
        gap: 20px;
        padding: 20px 0;
        transform: translateY(-120%);
        opacity: 0;
        transition: all 0.4s ease;
    }

    /* Quando o menu estiver ativo */
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
    }

    /* Animação do ícone hambúrguer */
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translateY(8px);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translateY(-8px);
    }

    /* Links no menu */
    .nav-links a {
        font-size: 1.1rem;
        padding: 10px;
    }

    /* ------------------------Apoios------------------------ */
    .apoio {
        height: 120px;
    }

    .slide img {
        height: 80px;
    }

    .patrocinios h2 {
    font-size: 14px;
    }

    /* ------------------------Footer------------------------ */
    footer {
        font-size: 0.8rem;
        text-align: center;
        padding: 10px;
    }
}