* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
}

body h1,
body h2,
body h3,
body h4 {
    line-height: 1;
}

::selection {
    color:unset;
    background: unset;
  }

.container {
    width: 1080px;
    height: 1920px;
    margin: 0 auto;
    background: url(../img/bg-principal.jpg) center top no-repeat;
    overflow: hidden;
    padding: 40px;
    text-align: center;
    position: relative;
}

#produtos {
    margin-bottom: 50px;
    position: absolute;
    left: 630px;
    top: 280px;
    width: 420px;
    overflow-y: auto;
    height: 950px;
    padding-right: 20px;
}

.produto {
    background: #f8fbfd;
    border-radius: 20px;
    padding: 20px;
    text-align: center;
    margin-bottom: 20px;
    filter: drop-shadow(10px 10px 10px rgba(0, 0, 0, 0.2));
}

.produto .titlongo{
    display: none;
}

.produto img {
    width: 65px;
    border-radius: 5px;
    margin-right: 12px;
}

.produto h3{
    color: #001434;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    text-align: left;
    width: 90px;
    margin-right: 20px;
}

.produto .preco{
    color: #f74f12;
    font-weight: 700;
    font-size: 1.5rem;
}

#valores {
    background: rgba(255,255,255,0.7);
    border-radius: 20px;
    padding: 20px;
    top: 1250px;
    left: 50px;
    width: 990px;
    height: 260px;
    text-align: center;
    position: absolute;
    filter: drop-shadow(10px 10px 10px rgba(0, 0, 0, 0.2));
}

#valores p, #valores div{
    width: 33.3%;
    color: #f74f12;
    text-transform: uppercase;
    font-size: 1.5rem;
}


#valores div p{
    width: auto;
    font-weight: 700;
}

#valores p span{
    display: block;
    font-weight: 700;
    font-size: 1.8rem;
    color: #055eb2;
}

#valores .negativo span{
    color: red;
}

#valores #valortotal span{
    display: block;
    font-weight: 700;
    font-size: 2rem;
    color: #f74f12;
}

#bt-finalizar{
    color: #fff;
    display: block;
    background: #055eb2;
    border-radius: 10px;
    text-transform: uppercase;
    line-height: 3rem;
    transition: all 0.3s;
    font-weight: 700;
    font-size: 2rem;
    cursor: pointer;
    margin-top: 15px;
}

#bt-finalizar:hover{
    background: #f74f12;
}

#quadrado-leitor{
    position: absolute;
    width: 533px;
    height: 535px;
    top:280px;
    left: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#telainicio, #telafim{
    position: absolute;
    top: 0;
    left: 0;
}

@keyframes piscando {
    0% {
        background: none;
    }

    100%{
        background: url(../img/laranja-leitor.png) center top no-repeat;
    }

}

.piscando{
    animation-duration: 0.8s;
    animation-name: piscando;
    animation-iteration-count: infinite;
    animation-timing-function: linear;

} 

#baseproduto{
    width: 493px;
    height: 493px;
    background: #ced3db;
    border-radius: 20px;
    filter: drop-shadow(10px 10px 10px rgba(0, 0, 0, 0.2));
    overflow: hidden;
}

#baseproduto p{
    font-weight: bold;
    text-transform: uppercase;
    font-size: 2rem;
    color: #001434;
}

#baseproduto img{
    max-width: 100%;
}

#infoproduto{
    width: 493px;
    position: absolute;
    left: 50px;
    top:840px;
    text-align: left;
}

#infoproduto h2{
    color: #f74f12;
    font-weight: 400;
    font-size: 1.5rem;
    text-transform: uppercase;
}

#infoproduto h3{
    color: #001434;
    font-weight: 700;
    font-size: 1.6rem;
    text-transform: uppercase;
    margin-bottom: 30px;
}

#infoproduto #valor-destaque{
    color: #055eb2;
    font-weight: 700;
    font-size: 3rem;
    text-transform: uppercase;
    margin-bottom: 30px;

}


#bt-adicionar{
    color: #fff;
    display: block;
    width: 493px;
    position: absolute;
    left: 50px;
    top:1150px;
    background: #f74f12;
    border-radius: 20px;
    text-transform: uppercase;
    line-height: 3rem;
    transition: all 0.3s;
    font-weight: 700;
    font-size: 2rem;
    cursor: pointer;
}

.btQuantidade{
    width: 16px;
    margin-right: 20px;
}

.btQuantidade p{
    color: #f74f12;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0;
}

.mais, .menos{
    cursor: pointer;
    width: 16px;
    height: 10px;
    color: #fff;
    text-decoration: none;
    display: inline-block;
}

.mais{
    background: url(../img/seta-cima.jpg);
}

.menos{
    background: url(../img/seta-baixo.jpg);
}

#bt-adicionar:hover{
    background: #001434;
}

.flex{
    display: flex;
    justify-content: center;
    align-items: center;
}

#form{
    position: absolute;
    top:330px;
    left: 70px;
}

#valorfinal{
    color: #fff;
    position: absolute;
    top: 1030px;
    width: 100%;
    text-align: center;
    font-size: 6rem;
    font-weight: 700;
}



.apaga{
    display: none;
}

#loadProdutos{
    display: none;
}

#impressao{
    display: none;
}






@media print {

    #impressao{
        display: block;
    }

    #form, #quadrado-leitor, #infoproduto, #bt-adicionar, #produtos, #valores, #telainicio, #telafim{
        display: none;
    }

    #form, #quadrado-leitor, #infoproduto, #bt-adicionar, #produtos, #valores, #telainicio, #telafim{
        display: none;
    }
    
    .container{
        background: none;
        height: auto;
    }
    
    #impressao .produto .titlongo{
        display: block;
    }
    
    #impressao .produto h3{
        display: none;
    }
    
    #impressao .flex{
        justify-content: flex-start;
    }
    
    #impressao .mais, #impressao .menos{
        display: none;
    }
    
    #impressao .produto h3{
        width: 680px;
    }
    
    #impressao .btQuantidade p {
        color: #000;
        font-size: 1.2rem;
    }

    #impressao h1{
        font-size: 2rem;
        margin-bottom: 50px;
        text-align: center;
    }
}



