@keyframes pisca {
    0%{opacity: 0.2;}
    50%{opacity: 1;}
    100%{opacity: 0.2;}
}
body{
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-family: Arial, Helvetica, sans-serif;
    background-color: #555;
}
.urna{
    padding: 30px;
    background-color: #dbd5c9;
    display: flex;
    margin: 5px;
}
.tela{
    width: 500px;
    height: 320px;
    background:linear-gradient(to right ,#e8e8e8, #c1c1c1);
    border: 2px solid #555;
    display: flex;
    flex-direction: column;

}
.teclado{
    margin-left: 30px;
    background-color: #403a3a;
}
.teclado--linha{
    display: flex;
    justify-content: center;
    align-items: flex-end;
    
}

.teclado--botao{
    width: 70px;
    height: 40px;
    background-color: black;
    font-size: 25px;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 10px;
    cursor: pointer;
    box-shadow: 3px 3px 0px #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;
    display: flex;
}
.numero{
    display: inline-block;
    width: 30px;
    height: 40px;
    border: 1px solid #000;
    text-align: center;
    line-height: 40px;
    font-size: 25px;
}
.pisca{
    
    animation: pisca 1s infinite;
  /* animation-name:pisca;
   animation-duration:1s;
   animation-iteration-count: infinite;*/
}

.d-1-4{
    flex:1;
    line-height:30px;
}

.d-1-right{
    width: 100px;
    display: flex;
    align-items: flex-end;
    flex-direction: column;
    justify-content: space-around;
}
.d-1-img{
    border: 1px solid #000;
    background-color: #fff;
    text-align: center;
    font-size: 14px;
}
.d-1-img img{
    width: 100%;
    
}
.d-1-img.small{
    width: 80%;
    font-size: 12px;
}
.d-2{
    height: 50px;
    font-size: 14px;
    border-top: 2px solid #000;
    padding-left: 10px;
}

.aviso--grande{
    text-align: center;
    font-size:40px ;
    font-weight: bold;
}
.aviso--gigante{
    display: flex;
    height: 100%;
    font-size:80px ;
    font-weight: bold;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
iframe {
    width:0;
    height: 0;
}
.area_colinha{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 883px;
    height: 223px;
    background-color: #fcfcfc;
}

.candidatos{
    background-color: #48c079;
    color: #000;
    font-size: 15px;
    width: 95px;
    height: 30px;
    text-align: center;
}

.colinha {
   /* display: block;*/
    display: none;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content:space-evenly;
    align-items: center;
    padding: 15px;
    /*margin: 5px;*/
    height:155px;
    background-image: url(colinha.jpeg) ;
    background-position:center;
    background-size:cover;
    width:350px;  
}
@media (max-width: 900px) and (min-width: 550px) {
    .urna{
        padding: 30px;
        background-color: #dbd5c9;
        display: flex;
        margin: 5px;
    }
    .tela{
        width: 250px;
        height: 160px;
        background:linear-gradient(to right ,#e8e8e8, #c1c1c1);
        border: 2px solid #555;
        display: flex;
        flex-direction: column;
    
    }
    .area_colinha{
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 883px;
        height: 223px;
        background-color: #fcfcfc;
    }
    
    .teclado--botao{
        width: 35px;
        height: 20px;
        background-color: black;
        font-size: 20px;
        color: #fff;
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 10px;
        cursor: pointer;
        box-shadow: 3px 3px 0px #555;
    }
    .botao--branco{
        background-color: #fff;
        color: #000;
        font-size: 9px;
        width: 45px;
        height: 20px;
    }
    .botao--corrige{
        background-color: #f09046;
        color: #000;
        font-size: 9px;
        width: 45px;
        height: 20px;
    }
    .botao--confirma{
        background-color: #48c079;
        color: #000;
        font-size: 9px;
        width: 50px;
        height: 25px;
    }
    .d-1-4{
        padding-top: 20px;
        flex:1;
        line-height:15px;
    }
    
    .d-1-right{
        width: 50px;
        display: flex;
        align-items: flex-end;
        flex-direction: column;
        justify-content: space-around;
    }
    .d-1-img{
        border: 1px solid #000;
        background-color: #fff;
        text-align: center;
        font-size: 7px;
    }
    .d-1-img img{
        width: 80%;
        
    }
    .d-1-img.small{
        width: 60%;
        font-size: 6px;
    }
    .d-2{
        height: 25px;
        font-size: 7px;
        border-top: 2px solid #000;
        padding-left: 5px;
    }
    .d-1-left{
        flex:1;
        display: flex;
        flex-direction: column;
        padding-left: 7px;
    }
    .d-1-1{
        height: 25px;
        display: flex;
        align-items: center;
    }
    
    .d-1-2{
        height: 25px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .d-1-3{
        height: 25px;
        display: flex;
    }
    .aviso--grande{
        text-align: center;
        font-size:20px ;
        font-weight: bold;
    }
    .aviso--gigante{
        display: flex;
        height: 70%;
        font-size:50px ;
        font-weight: bold;
        align-items: center;
        justify-content: center;
        flex-direction: column;
    }
    
   
}


@media (max-width: 549px) {
    .urna{
        padding: 25px;
        background-color: #dbd5c9;
        display: flex;
        margin: 5px;
    }
    .tela{
        width: 170px;
        height: 110px;
        background:linear-gradient(to right ,#e8e8e8, #c1c1c1);
        border: 2px solid #555;
        display: flex;
        flex-direction: column;
    
    }
    
    .teclado--botao{
        width: 25px;
        height: 15px;
        background-color: black;
        font-size: 10px;
        color: #fff;
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 5px;
        cursor: pointer;
        box-shadow: 3px 3px 0px #555;
    }
    .botao--branco{
        background-color: #fff;
        color: #000;
        font-size: 1px;
        width: 30px;
        height: 13px;
    }
    .botao--corrige{
        background-color: #f09046;
        color: #000;
        font-size: 1px;
        width: 33px;
        height: 13px;
    }
    .botao--confirma{
        background-color: #48c079;
        color: #000;
        font-size: 1px;
        width: 40px;
        height: 15px;
    }
    .d-1-4{
        padding-top: 9px;
        flex:1;
        line-height:8px;
        font-size: 10px;
    }
    
    .d-1-right{
        width: 30px;
        display: flex;
        align-items: flex-end;
        flex-direction: column;
        justify-content: space-around;
    }
    .d-1-img{
        border: 1px solid #000;
        background-color: #fff;
        text-align: center;
        font-size: 10px;
    }
    .d-1-img img{
        width: 50%;
        
    }
    .d-1-img.small{
        width: 40%;
        font-size: 5px;
    }
    .d-2{
        height: 29px;
        font-size: 3px;
        border-top: 2px solid #000;
        padding-left: 7px;
    }
    .d-1-left{
        flex:1;
        display: flex;
        flex-direction: column;
        padding-left: 5px;
    }
    .d-1-1{
        height: 18px;
        display: flex;
        align-items: center;
    }
    .d-1-1 span{
        font-size: 10px;
    }
    .d-1-2{
        height: 18px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .d-1-2 span {
        font-size: 12px;
    }
    .d-1-3{
        height: 19px;
        display: flex;
        width: 90px;
        font-size: 7px;
    }
    .numero {
        display: inline-block;
        width: 30px;
        height: 20px;
        border: 1px solid #000;
        text-align: center;
        line-height: 23px;
        font-size: 14px;
    }
    .d-1-img.small {
        width: 80%;
        font-size: 5px;
    }
    .aviso--grande{
        margin: 0;
        text-align: center;
        font-size:13px ;
        font-weight: bold;
    }
    .aviso--gigante{
        display: flex;
        height: 40%;
        font-size:40px ;
        font-weight: bold;
        align-items: center;
        justify-content: center;
        flex-direction: column;
    }
}