@import url('https://fonts.googleapis.com/css2?family=Bangers&family=Fira+Sans:wght@200&family=Lato:ital,wght@0,100;1,300&family=Montserrat:ital,wght@1,100&family=Patrick+Hand&family=Poppins:wght@100&family=Shadows+Into+Light&family=Source+Code+Pro:wght@300&display=swap');


*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    font-weight: bold;
}

body{
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: #74c7ff;
}

.wrapper{
    height: 260px;
    background: #fff;
    max-width: 410px;
    border-radius: 7px;
    padding: 16px 25px 0;
    transition: height 0.2s ease;
}

.wrapper.active{
    height: 610px;
}

header h1{
    font-size: 30px;
}

header p{
    margin-top: 5px;
    color: #474747;
}

.wrapper .form{
    margin: 20px 0 25px;
}

.form :where(input, button){
    width: 100%;
    height: 45px;
    border: none;
    outline: none;
    border-radius: 5px;
}

.form input{
    font-size: 14px;
    padding: 0 17px;
    border: 1px solid #999;
}

.form button{
    cursor: pointer;
    margin-top: 20px;
    background: #34db60;
}

.form button:hover{
    background-color: #50ca70;
}

.wrapper .qr-code{
    display: flex;
    opacity: 0;
    pointer-events: none;
    padding:  30px 0;
    border-radius: 5px;
    align-items: center;
    justify-content: center;
    border: 1px solid #ccc;
}


.wrapper.active .qr-code{
    opacity: 1;
    pointer-events: auto;
    transition: opacity 0.5s 0.05s ease;
}
