@keyframes pisca{
    0% {opacity: 0.2;}
    50% {opacity: 1;}
    100% {opacity: 0.2;}
}

body{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-family: Arial, Helvetica, sans-serif;
}
.urna{
    background-color: #dbd5c9;
    padding: 30px;
    display: flex;
    border: 1px solid #000;
}
.tela{
    width: 500px;
    height: 320px;
    background: linear-gradient(to right, #E8E8E8, #C1C1C1);
    border: 2px solid #555;
    display: flex;
    flex-direction: column;
}
.teclado{
    background-color: #353434;
    margin-left: 30px;
}
.teclado--linha{
    display: flex;
    justify-content: center;
    align-items: flex-end;
}
.teclado--botao{
    width: 80px;
    border-radius: 5px;
    height: 40px;
    background-color: #000;
    color: #FFF;
    font-size: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 10px;
    cursor: pointer;
    box-shadow: 3px 3px 0px #555;
}
.btn-branco{
    background-color: #FFF;
    color: #000;
    font-size: 15px;
}
.btn-corrige{
    background-color: #f12121;
    color: #000;
    font-size: 15px;
}
.btn-confirma {
    background-color: #29b714;
    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{
    display: inherit;
    height: 50px;
}
.numero{
    display: inline-flex;
    width: 30px;
    height: 40px;
    border: 1px solid #000;
    justify-content: center;
    align-items: center;
    font-size: 25px;
    margin-left: 3px;
}
.pisca{
    animation: pisca 1s infinite;
}
.d-1-4{
    flex: 1;
    line-height: 30px;
}
.d-1-right{
    width: 90px;
}
.d-1-image{
    border: 1px solid #000;
    background-color: #FFf;
    text-align: center;
    font-size: 14px;
}
.d-1-image.small{
    width: 80%;
    font-size: 12px;
    margin-left: 15px;
}
.d-1-image img{
    width: 100%;
    height: 100%;
}
.d-2{
    height: 50px;
    font-size: 14px;
    border-top: 2px solid #000;
    padding-left: 10px;
}
.aviso{
    font-size: 20px;
}
.aviso--grande{
    font-size: 35px;
    font-weight: bold;
    width: 100%;
    height: 40%;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}
.aviso--gigante{
    font-size: 70px;
    font-weight: bold;
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}
.aside{
    display: grid;
    grid-template-columns: repeat(2,1fr);
    grid-column-gap: 20px;
}
.aside thead{
    background-color: #dddddd;
}
.aside td, th {
    border: 1px solid #dddddd;
    text-align: left;
    padding: 8px;
}
.credits{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-top: 30px;
}
.credits img{
    width: 50px;
    height: 50px;
}
.reload{
    padding: 10px;
    cursor: pointer;
}
.reload:hover{
    color: red;
}
.footer{
    padding: 10px;
    width: 70px;
    height: 50px;
}
.footer a, .footer a:visited{
    text-decoration: none;
    color: red;
}