/* ==========================================
   TW3NTY Promotions v2
========================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{

    background:#111;
    color:#fff;
    font-family:'Montserrat',sans-serif;

    min-height:100vh;

    display:flex;
    flex-direction:column;

}

/* ==========================================
   HEADER
========================================== */

header{

    background:#000;

    padding:45px 20px;

    text-align:center;

    border-bottom:4px solid #C7A64A;

}

.logo{

    width:260px;
    max-width:80%;
    height:auto;

}

header h1{

    margin-top:25px;

    color:#fff;

    font-size:28px;

    font-weight:300;

    letter-spacing:6px;

}

/* ==========================================
   MAIN
========================================== */

main{

    flex:1;

    display:flex;

    justify-content:center;

    align-items:center;

    padding:50px 20px;

}

/* ==========================================
   CARD
========================================== */

.card{

    width:100%;
    max-width:700px;

    background:#1b1b1b;

    border:2px solid #C7A64A;

    border-radius:20px;

    padding:50px;

    text-align:center;

    box-shadow:0 20px 60px rgba(0,0,0,.45);

}

/* ==========================================
   LOADING
========================================== */

.spinner{

    width:70px;
    height:70px;

    margin:0 auto 30px;

    border:6px solid #333;
    border-top:6px solid #C7A64A;

    border-radius:50%;

    animation:spin 1s linear infinite;

}

@keyframes spin{

    from{
        transform:rotate(0deg);
    }

    to{
        transform:rotate(360deg);
    }

}

/* ==========================================
   TYPOGRAPHY
========================================== */

h1{

    font-size:48px;

    font-weight:800;

    margin:20px 0;

}

h2{

    font-size:30px;

    margin-bottom:20px;

}

h3{

    color:#C7A64A;

    text-transform:uppercase;

    letter-spacing:3px;

    margin-bottom:15px;

}

p{

    font-size:18px;

    color:#DDD;

    line-height:1.6;

}

/* ==========================================
   VOUCHER
========================================== */

.voucher-label{

    margin-top:30px;

    color:#C7A64A;

    text-transform:uppercase;

    letter-spacing:3px;

}

#voucherCode,
#voucherNumber{

    font-size:36px;

    font-weight:800;

    letter-spacing:4px;

    margin:25px 0;

}

/* ==========================================
   QR CODE
========================================== */

#voucherQRCode,
#voucherQR{

    margin:35px auto;

    display:flex;

    justify-content:center;

    align-items:center;

    min-height:0;

}

/* Only style the generated QR */

#voucherQRCode img,
#voucherQRCode canvas,
#voucherQR img,
#voucherQR canvas{

    background:#fff;

    padding:18px;

    border-radius:15px;

    box-shadow:0 8px 25px rgba(0,0,0,.25);

}

/* ==========================================
   BUTTONS
========================================== */

button{

    background:#C7A64A;

    color:#000;

    border:none;

    border-radius:10px;

    padding:18px 34px;

    margin:10px;

    cursor:pointer;

    font-size:17px;

    font-weight:700;

    letter-spacing:2px;

    text-transform:uppercase;

    transition:.25s;

}

button:hover{

    background:#D8B95D;

    transform:translateY(-2px);

}

.button-group{

    margin-top:35px;

}

/* ==========================================
   FOOTER
========================================== */

footer{

    background:#000;

    border-top:3px solid #C7A64A;

    padding:35px;

    text-align:center;

}

footer p{

    color:#888;

    margin-bottom:12px;

}

.footer-links{

    margin-top:20px;

}

.footer-links a{

    color:#C7A64A;

    text-decoration:none;

    margin:0 15px;

    font-weight:600;

}

.footer-links a:hover{

    color:#fff;

}

/* ==========================================
   HELPERS
========================================== */

.hidden{

    display:none !important;

}

/* ==========================================
   MOBILE
========================================== */

@media(max-width:768px){

    .card{

        padding:35px 20px;

    }

    header h1{

        font-size:20px;

        letter-spacing:3px;

    }

    h1{

        font-size:34px;

    }

    h2{

        font-size:24px;

    }

    #voucherCode,
    #voucherNumber{

        font-size:24px;

        word-break:break-word;

    }

    button{

        width:100%;

        margin:8px 0;

    }

    .button-group{

        display:flex;

        flex-direction:column;

    }

}
.staffInput{

    width:100%;

    padding:18px;

    margin-bottom:20px;

    border-radius:10px;

    border:2px solid #444;

    background:#222;

    color:white;

    font-size:18px;

}

.staffInput:focus{

    outline:none;

    border-color:#C7A64A;

}