@import url('https://fonts.googleapis.com/css2?family=Acme&family=Bodoni+Moda:wght@400;900&family=Exo+2&family=Inconsolata&family=Lato:wght@400;700&family=Lexend+Deca&family=Noto+Sans&family=Open+Sans&family=Poppins:wght@400;700&family=Quicksand:wght@300&family=Roboto:wght@400;700&family=Sigmar&family=Wix+Madefor+Display&display=swap');

:root{
    --bcg-color : #2c3e50;
    --primary-color : #ecf0f1; 
    --border-radius : 8px;
    --btn-bgColor : #7f8c8d;
    --hover-color : #bdc3c7;
}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    font-family: 'Poppins', sans-serif; 
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--bcg-color)
}

.box{
    background-color: var(--primary-color);
    padding: 30px;
    width: 400px;
    border-radius: var(--border-radius);
}

.qr-header h1{
    text-align: center;
    margin-bottom:24px ;
    text-transform: uppercase;
}

.qr-header input{
    width: 100%;
    margin-block:12px ;
}

.qr-header input , select{
    padding: 8px;
    border-radius: var(--border-radius);
    font-size: 16px;
    border: none;
    outline: none;
    border: 2px solid var(--bcg-color);
}

.qr-header label{
    font-size: 20px;
}

.qr-header div{
    display: flex;
    justify-content: space-between;
}

.qr-footer {
    display: flex;
    justify-content: center;
    
}

.qr-footer a{
    text-decoration: none;
    color: black;
    background-color: var(--btn-bgColor);
    font-size: 18px;
    padding: 14px 36px;
    margin-inline: 2px;
    border-radius: var(--border-radius);
    font-weight: bold;
}

.qr-footer a:hover{
    background-color: var(--hover-color);
}

.qr-body{
    display: grid;
    place-items: center;
    padding: 20px;
}

.qr-body img{
    max-width: 100%;
    max-height: 100%;
    margin-block: 10px;
    padding: 20px;
    border: 0.5px solid var(--bcg-color);
    border-radius: var(--border-radius)
}

/* media query */
@media screen and (max-width:520px){
    .box{
        width: 80%;
    }
    .qr-footer a{
        padding: 12px;
        font-size:16px ;
    }
}