/* alfabeto.css */
body {
    background-color: #f0f0f0;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-image: url("../img/bg-quiz.png");
    background-size: 100% 100%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    overflow: hidden; /* Evita scroll na tela */
}

.container {
    text-align: center;
    width: 30%;
}

.main-container {
    width: 100%;
    padding: 5px;
    padding-top: 5px; /* Espaço entre checkbox e alfabeto no celular */
}

.language-buttons {
    width: 97%;
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    background-color: #ffffffab;
    padding: 7px 0 3px 7px;
    border-radius: 10px;
}
.language-buttons a{
    padding: 2px 5px;
    text-decoration: none;
    color: blue;
    border: 1px  solid  blue;
    border-radius: 10px;
}

.alphabet-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 20px;
    width: 100%; /* Ajuste para 100% */
    margin: 0 auto; /* Centraliza a grade */
}

.alphabet-button {
    position: relative; /* Permite posicionamento absoluto para o ícone */
    background-color: #ffd700;
    border: 1px solid #000;
    border-radius: 5px;
    font-size: 2.5em;
    padding: 10px;
    width: 70px;
    height: 70px;
    cursor: pointer;
    color: #000;
    display: flex;
    justify-content: center;
    align-items: center; /* Centraliza o texto verticalmente e horizontalmente */
    text-align: center; /* Centraliza o texto nas divs */
    margin: 5px; /* Adiciona espaçamento entre os botões */
}

.alphabet-button:hover {
    background-color: #ffa500;
    color: #000;
}

.flag-icon {
    width: 40px;
    height: auto;
    margin-right: 5px;
    vertical-align: middle;
}

/* Garantir que o ícone dentro do botão também seja centralizado */
.icon {
    display: block;
}

@media (max-width: 600px) {
    body {
        background-image: url("../img/bg-quiz-mob.png");
    }
    .container {
        width: 100%;
        padding-top: 5px; /* Adicionar espaço no topo para celular */
    }

    .alphabet-grid {
        justify-content: center;
        gap: 5px; /* Espaçamento de 5px entre os botões */
    }

    .alphabet-button {
        width: 40px; /* Ajuste para 30px */
        height: 40px; /* Ajuste para 30px */
        font-size: 1.8em; /* Ajuste do tamanho da fonte */
        padding-left: 10px;
    }

    .icon {
        width: 20px; /* Ajuste o tamanho do ícone no celular */
        height: 20px; /* Ajuste o tamanho do ícone no celular */
    }
    .language-buttons a{
        margin-right: 35px;
        background-color: aquamarine;
        border-radius: 10px;
        padding: 5px 10px;
    }
    .language-buttons {
        margin-left: 30px;
        width: 85%;
    }
}
