*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'poppins', sans-serif;
}
body{
    width: 100vw;
    height: 100vh;
    background-color: #9eaffc;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}
.container{
    width: 400px;
    padding: 20px;
    background: #fff;
    border-radius: 7px;
}
.container p{
    font-weight: 500;
    font-size: 20px;
}
.container input{
    width: 100%;
    height: 40px;
    padding: 8px;
    outline: none;
    border: 1px solid #8184eb;
    margin: 15px 0;
    border-radius: 5px;
}
.container button{
    width: 100%;
    height: 35px;
    outline: none;
    border: none;
    border-radius: 5px;
    color: #fff;
    background-color: #8184eb;
    font-size: 16px;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
    font-weight: 400;
    margin: 10px 0;
    cursor: pointer;
}
#qrBox{
    width: 200px;
    border-radius: 5px;
    overflow: hidden;
    max-height: 0;
    transition: max-height 1s;
}

#qrBox img{
    width: 100%;
    padding: 10px;
}
#qrBox.showImg{
    max-height: 300px;
    margin: 10px auto;
    border: 1px solid #d1d1d1;
}
.error{
    animation: shake 0.1s linear 20;
}
@keyframes shake {
    0%{
        transform: translateX(0);
    }
    25%{
        transform: translateX(-2px);
    }
    50%{
        transform: translateX(0);
    }
    75%{
        transform: translateX(2px);
    }
    100%{
        transform: translateX(0);
    }
}