@import url(https://fonts.googleapis.com/css2?family=Poppins);

/*styles da página*/

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body{
    display: flex;
    height: 100vh;
    justify-content: center;
    align-items: center;
    padding: 10px;
    background: linear-gradient(120deg, #2980b9, #8e44ad);
}

.container{
    max-width: 700px;
    width: 100%;
    background: #fff;
    padding-top: 25px;
    padding-bottom: 5px;
    padding-left: 20px;
    padding-right: 20px;
    border-radius: 5px;
    height: 700px;
    overflow: auto;
}

.item-box{
    border: 2px solid black;
    text-align: center;
    font-size: 22px;
    padding-top: 8px;
    padding-bottom: 8px;
    margin-bottom: 20px;
    cursor: pointer;
}

.item-box-2{
    border: 2px solid black;
    text-align: center;
    font-size: 22px;
    padding-top: 8px;
    padding-bottom: 8px;
    margin-bottom: 20px;
}

.item-box:hover{
    background: #03a9f4;
    color: #FFF;
}

#pix-title{
    text-align: center;
}

#img-qrcode{
    width: 210px;
    height: 210px;
    margin: 0 auto;
}

#img-qrcode img{
    width: 100%;
    height: 100%;
}

.pix-qrcode{
    margin-top: 20px;
}

#copia-cola{
    float: left;
    margin-top: 5px;
    width: 90%;
}

#btn-copia{
    float: left;
}

#modalbottom{
    margin-bottom: 15px;
}

#btn-copiar img{
    margin-top: 4px;
    width: 26px;
    height: 26px;
}

#btn-copiar img:hover{
    cursor: pointer;
}

.pix-pago{
    width: 150px;
    height: 150px;
    margin: 0 auto;
}

.pix-pago img{
    width: 100%;
    height: 100%;
}

.pix-pago-text{
	font-size: 31px;
	text-align: center;
	margin-bottom: 26px;
}

/*modal-box*/

#modalfundo{
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    display: flex;
    align-items: center;
    opacity: 1;
    background: rgba(77,77,77,0.7);
    transition: all 0.4s;
    z-index: 10001;
    display: none;
}

#modalcontent{
    position: fixed;
    background: #fff;
    top: -200%;
    left: 50%; 
    opacity: 0;
    width: 500px;
    max-width: 90%;
    padding: 1em 2em;
    border-radius: 4px;
    z-index: 10002;
    transform: translate(-50%, -50%) scale(0.5);
    transition: opacity 300ms ease-in-out,
        top 1000ms ease-in-out,
        transform 1000ms ease-in-out;
}

#modalcontent.active{
    opacity: 1;
    top: 250px;
    transform: translate(-50%, -50%) scale(1);
    transition: transform 300ms cubic-bezier(0.18,0.89,0.43,1.19);
}

#modalhead h3{
    font-size: 22px;
}

#modalclose{
    position: absolute;
    top: 0;
    right: 15px;
    color: #585858;
    text-decoration: none;
    font-size: 36px;
}

#modalbody{
    position: relative;
    top: 20px;
    padding-bottom: 20px;
}

/*modal-pix-form*/

#modalpixcontent{
    position: fixed;
    background: #fff;
    top: -200%;
    left: 50%; 
    opacity: 0;
    width: 400px;
    max-width: 90%;
    padding: 1em 2em;
    border-radius: 4px;
    z-index: 10002;
    transform: translate(-50%, -50%) scale(0.5);
    transition: opacity 300ms ease-in-out,
        top 1000ms ease-in-out,
        transform 1000ms ease-in-out;
}

#modalpixcontent.active{
    opacity: 1;
    top: 250px;
    transform: translate(-50%, -50%) scale(1);
    transition: transform 300ms cubic-bezier(0.18,0.89,0.43,1.19);
}

#modalpixhead h3{
    font-size: 22px;
}

#modalpixclose{
    position: absolute;
    top: 0;
    right: 15px;
    color: #585858;
    text-decoration: none;
    font-size: 36px;
}

#modalpixbody{
    position: relative;
    top: 20px;
    padding-bottom: 20px;
}

#modalpixcontent #modalpixbody form .input-box{
    margin-bottom: 15px;
    width: 100%;
}

#modalpixcontent #modalpixbody form .input-box input{
    height: 38px;
    width: 72%;
    outline: none;
    border-radius: 5px;
    border: 1px solid #ccc;
    padding-left: 15px;
    font-size: 16px;
    border-bottom-width: 2px;
    transition: all 0.3s ease;
}

#modalpixcontent #modalpixbody form .input-box select{
    height: 38px;
    width: 26%;
    outline: none;
    border-radius: 5px;
    border: 1px solid #ccc;
    border-color: #59b69a;
    padding-left: 15px;
    font-size: 14px;
    border-bottom-width: 2px;
}

#modalpixcontent #modalpixbody form .box-button{
    margin-top: 40px;
    height: 36px;
}

#modalpixcontent #modalpixbody form .box-button button{
    height: 100%;
    float: right;
    margin-left: 20px;
    font-size: 17px;
    cursor: pointer;
}

#modalpixcontent #modalpixbody form .box-button #btn-gera-pix{
    width: 35%;
    background: #28a745;
    color: #fff;
    border: none;
}

/*spinner*/

.spinner{
    position: fixed;
    top: calc(50% - 30px);
    left: calc(50% - 30px);
    border: 8px solid rgba(0, 0, 0, .1);
    border-left-color: #22a6b3;
    height: 60px;
    width: 60px;
    border-radius: 50%;
    display: none;
}

@keyframes spin{
    to { transform: rotate(360deg); }
}

.active-spinner{
    animation: spin 1s linear infinite;
    display: block;
    z-index: 10002;
}
