/* Estilos para dispositivos móveis */
@media (max-width: 768px) {
    .text {
        max-width: 30%;
        min-width: 30%;
        width: 30%;
    }
    .rankedContainer {
        display: flex;
        flex-direction: column; /* Adicionado para empilhar os itens em uma coluna */
        align-items: center;
    }
    
}

/* Outras media queries específicas */


body {
    --cor-fundo: #333;
    /* Cor de fundo para tema escuro */
    --cor-fundo2: #424040;
    /* Cor de fundo para tema escuro */
    --cor-texto: #f5f5f5;
    /* Cor do texto para tema escuro */

}

body.light-mode {
    --cor-fundo: #f5f5f5;
    /* Cor de fundo para tema claro */
    --cor-fundo2: #ebe5e5;
    /* Cor de fundo para tema claro */
    --cor-texto: #333;
    /* Cor do texto para tema claro */
}

.ranked {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 100%;
    width: 100%;
    height: 800px;
    max-height: 800px;
    margin-bottom: 50px;
    
}
.alterarVisu span:after {
  content: '\21BB';
}
.rankedContainer {
    margin-top: 15px;
    box-shadow: 2px 2px 10px 2px var(--cor-texto);
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-width: 95%;
    width: 95%;
    height: 90%;
    max-height: 90%;
    margin-left: 2.5%;
    margin-right: 2.5%;
}

#divListRanked {
    
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-right: 10px;
}

#listItem2 {
    text-align: end;
    
}


.line-ranking {
    display: flex;
    flex-direction: column;
    min-width: 100%;
    width: 100%;
    min-height: 100%;
    height: 100%;
    max-height: 100%;
    overflow-y: auto;
    overflow-x: auto;
}

.ranking-item {
    display: flex;
    flex-direction: row;
    padding: 10px;
    border-bottom: 1px solid #ccc;
}

.text {
  flex: 1; /* Cada coluna ocupa o mesmo espaço */
  min-width: 100px; /* Garante que não fique muito estreita */
  text-align: center;
  font-weight: bold;
  padding: 5px 10px;
  box-sizing: border-box;
}

.ranking-item.gold {
    color: gold;
}

.ranking-item.silver {
    color: silver;
}

.ranking-item.bronze {
    color: bronze;
}

.diferentText {
    color: var(--cor-texto);
}

.itemCabecalho {
    margin-bottom: 30px;
}
