/* 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;
    width: 100%;
    height: 600px;
    max-height: 600px;
    margin-bottom: 50px;
}

.rankedContainer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 95%;
    height: 90%;
    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;
    width: 95%;
    height: 90%;
    max-height: 90%;
    overflow-y: auto;
    overflow-x: auto;
}

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

.text {
    width: 100px;
    text-align: center;
    font-weight: bold;
}

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

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

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

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

.itemCabecalho {
    margin-bottom: 30px;
}

#rankedList li {
    font-size: medium;
}