html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: "Open Sans", sans-serif;
}
a {
    text-decoration: none;
}
.menu {
    height: 10vh;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content:space-between;
    background: rgba(20, 20, 20, 1);
    padding: 0 20px;
}
.menu .logo {
    height: 100%;
}
.menu nav {
    display: flex;
    gap: 20px;
}
.menu nav a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    padding: 10px;
    transition: color 0.3s;
}
.menu nav a:hover {
    color: #f74444;
}
.banner {
    min-height: 60px;
    height: 20vh;
    background-image: url("../images/ranking_bg.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    position: relative; /* Adicionado para que o ::after seja posicionado em relação ao banner */
}

.banner::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1;
    pointer-events: none;
}
.banner > * {
    position: relative;
    z-index: 2;
}
.center {
    display: flex;
    justify-content: center;
    align-items: center;
}
.center .inside {
    width: 1024px;
    min-height: 60px;
    height: 20vh;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.opcoes {
    min-height: auto;
    padding: 10px 5px;
    background: rgba(20, 20, 20, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.botao {
    padding: 0.5rem 1rem;
    background-color: #434343;
    color: white;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font-size: 10pt;
}
.botao:hover, .active {
    background-color: #dc2828;
}
.tabela-container {
    flex: 1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: start;
}
.tabela {
    width: 100%;
    background-color: white;
    border-collapse: collapse;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    table-layout: fixed;
}
.tabela th, .tabela td {
    padding: 1rem;
    text-align: center;
    border-bottom: 1px solid #ddd;
}
.tabela th {
    background-color: #cd1c1c;
    color: white;
    position: sticky;
    top: 0;
    z-index: 2;
}
.tabela td img {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    height: auto;
}
#ranking-scroll {
    max-height: calc(70vh - 60px);
    flex: 1;
    overflow: auto;
}
#ranking-scroll table {
    width: 100%;
}
#ranking-scroll tbody tr {
    display: table;
    width: 100%;
    table-layout: fixed;
}
.gray {
    color:#b8b8b8!important;
}
.pt30 {
    font-size: 24pt;
}
.pt18 {
    font-size: 18pt;
}
.pt14 {
    font-size: 14pt;
}
.pt12 {
    font-size: 12pt;
}
.w400 {
    font-weight: 400;
}
.w600 {
    font-weight: 600;
}
.w800 {
    font-weight: 800;
}
@media (max-height: 600px) {
    .menu {
        height: 60px;
    }
    .banner {
        min-height: 10vh;
    }
    #ranking-scroll {
        max-height: calc(100vh - 200px);
    }
    .pt30 {
        font-size: 16pt;
    }
    .pt18 {
        font-size: 12pt;
    }
    .pt14 {
        font-size: 10pt;
    }
    .pt12 {
        font-size: 8pt;
    }
}