.container{
    padding: 20px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.2), #005bb5);
    width: calc(100vw - 40px);
    height: calc(100vh - 40px);
    text-align: center;
    color: white;
}
.bar_top{
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 400px;
    margin: auto;
}
.bar_top input{
    padding: 5px 10px;
}

#hidden_input{
    display: none;
}

#letter_inputs {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
    justify-content: center;
}

.letter_box {
    width: 40px;
    height: 40px;
    text-align: center;
    font-family: 'nunito', 'helvetica';
    font-weight: 700;
    font-size: 20px;
    border: 1px solid #007aff;
    background-color: white;
    color: black;
    border-radius: 40px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-transform: uppercase;
}

.container button{
    background: linear-gradient(145deg, #5ac8fa, #007aff);;
    color: #ffffff;
    font-size: 18px;
    font-weight: 900;
    font-family: 'nunito', 'helvetica';
    padding: 10px 20px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}
.container button:active {
    transform: scale(0.95);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}
button.back {
    background: linear-gradient(145deg, #ff9500, #ffd000);
    height: 35px;
    width: 35px;
    padding: 0px;
    margin-right: 10px;
    border-radius: 40px;
    font-size: 24px;
}
button.skip {
    background: linear-gradient(145deg, #2eb750, #34c759);
    height: 35px;
    width: 35px;
    padding: 0px;
    border-radius: 40px;
    font-size: 24px;
}
button.help {
    background: linear-gradient(145deg, #ff3b30, #ff453a);
    height: 35px;
    width: 35px;
    padding: 0px;
    border-radius: 40px;
    font-size: 24px;
}
button.mudar_dica {
    height: 25px;
    width: 25px;
    padding: 0px;
    margin: 40px auto 0px auto;
    border-radius: 40px;
    font-size: 14px;
    transform: translateY(10px) translateX(-100px);
}
button.mudar_dica:active {
    transform: translateY(10px) translateX(-100px);
}

#dica{
    background-color: rgba(255, 255, 255, 0.2);
    color:white;
    padding: 18px;
    margin: 0px auto 25px auto;
    border-radius: 12px;
    width: 200px;
    text-align: center;
    font-size: 18px;
}

#palavras_antigas{
    width: 100%;
    height: 80px;
    margin-top: 20px;
    position: relative;
    z-index: 1;
}
#palavras_antigas span{
    width: 30px;
    height: 30px;
    text-align: center;
    align-content: center;
    font-family: 'nunito', 'helvetica';
    font-weight: 700;
    font-size: 18px;
    border: 1px solid #007aff;
    border-radius: 40px;
    color: black;
    background-color: rgb(230, 230, 230);
    display: inline-block;
    text-transform: uppercase;
    margin: 2px 1px;
}

#modal_pular, #modal_ajuda, #modal_proximo, #modal_erro, #modal_ajuda_menu, #modal_baixar, #modal_fim{
    width: 300px;
    background-color: #fff;
    border-radius: 12px;
    padding: 20px;
    margin: auto;
    border: solid 1px rgba(0,0,0,0.1);
}

.teclado {
    display: flex;
    flex-wrap: wrap;
    gap: 2px;
    justify-content: center;
    width: 460px;
    position: absolute;
    left: calc(50% - 245px);
    bottom: 40px;
    z-index: 0;
}

.tecla {
    font-size: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 26px;
    height: 35px;
    background-color: #f0f0f0;
    color: rgba(0,0,0,0.8);
    border: 1px solid #ccc;
    border-radius: 6px;
    cursor: pointer;
    user-select: none;
}

.tecla:hover {
    background-color: #d0d0d0;
}

/*mobile*/
@media (max-width: 768px) {
    .bar_top{
        width: auto;
    }
    #modal_pular, #modal_ajuda, #modal_proximo, #modal_erro, #modal_ajuda_menu, #modal_baixar, #modal_fim{
        width: calc(100vw - 90px);
        margin: auto 25px auto 25px;
    }
    .teclado {
        width: calc(100% - 40px);
        position: absolute;
        left: 20px;
        bottom: 40px;
    }
}

.img_game_caixa{
    position: absolute;
    height: 150px;
    left: 0px;
    bottom: 170px;
    width: auto;
    z-index: 0;
}