@keyframes pisca{
    0%{opacity: 0.2;}
    50%{opacity: 1;}
    100%{opacity: 0.2;}
}
body{
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: Arial, Helvetica, sans-serif;
}
.urna{
    background-color: #dbd5c9;
    padding: 30px;
    display: flex;
    
}
.tela{
    width: 500px;
    height: 320px;
    background: linear-gradient(to right, #e8e8e8, #c1c1c1);
    border: 2px solid #555;
    display: flex;
    flex-direction: column;
}
.teclado{
    background-color: #403a3a;
    margin-left: 30px;
}
.teclado--linha{
    display: flex;
    justify-content: center;
    align-items: flex-end;
}
.teclado--botao{
    width: 70px;
    height: 40px;
    background-color: #000;
    color: #FFF;
    font-size: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 10px;
    cursor: pointer;
    box-shadow: 3px 3px 0 #555;
}
.botao--branco{
    background-color: #FFF;
    color: #000;
    font-size: 15px;
}
.botao--corrige{
    background-color: #F09046;
    color: #000;
    font-size: 15px;
}
.botao--confirma{
    background-color: #48C079;
    color: #000;
    font-size: 15px;
    width: 90px;
    height: 50px;
}


.d-1{
    flex: 1;
    display: flex;
}
.d-1-left{
    flex: 1;
    display: flex;
    flex-direction: column;
    padding-left: 20px;
}
.d-1-1{
    height: 50px;
    display: flex;
    align-items: center;
}
.d-1-2{
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.d-1-3{
    height: 50px;
}
.numero{
    display: inline-block;
    width: 30px;
    height: 40px;
    border: 1px solid #000;
    text-align: center;
    line-height: 40px;
    font-size: 25px;
}
.pisca{
    animation-name: pisca;
    animation-duration: 0.8s;
    animation-iteration-count: infinite;
}
.d-1-4{
    flex: 1;
    line-height: 30px;
}
.d-1-right{
    width: 90px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}
.d-1-image{
    border: 1px solid #000;
    background-color: #FFF;
    text-align: center;
    font-size: 14px;
}
.d-1-image img{
    width: 100%;
}
.d-1-image.small{
    width: 80%;
    font-size: 12px;
}


.d-2{
    height: 50px;
    font-size: 14px;
    border: 2px solid #000;
    padding-left: 10px;
}
.aviso--grande{
    font-size: 30px;
    font-weight: bold;
}
.aviso--gigante{
    font-size: 70px;
    font-weight: bold;
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}
@media(max-width: 888px) and (min-width: 680px){
    .tela{
        width: 350px;
    }
}
@media(max-width: 679px) and (min-width: 250px){
    .urna{
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .tela{
        width: 286px;
    }
    .teclado{
        margin-left: 0;
    }
    .aviso--grande{
        font-size: 25px;
        position: absolute;
        z-index: 2;
    }
    .d-1-right{
        position: relative;
        z-index: 1;
    }
}