*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Roboto;
}

body{
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background-color: #120036;
    position: relative;
    flex-direction: column;
}

.container{
    background-color: #fff;
    height: 260px;
    width: 400px;
    border-radius: 10px;
    padding: 20px;
    transition: 0.2s;
}

.container.active{
    height: 520px;
}

#qr-header{
    text-align: center;
}

#qr-header h1{
    font-size: 1.8rem;
    margin-bottom: 10px;
}

#qr-header p {
    color: #444;
    font-size: 0.9rem;
}

#qr-form{
    margin: 20px 15px;
}

#qr-form input,
#qr-form button{
    width: 100%;
    height: 55px;
    border: none;
    border-radius: 5px;
    font-size: 0.9rem;
}

#qr-form input{
    border: 1px solid #777;
    padding: 10px 15px;
}

#qr-form button{
    background-color: #9c3cff;
    color: #fff;
    font-size: 1.2rem;
    margin-top: 20px;
    cursor: pointer;
    opacity: 0.9;
    transition: 0.4s;
}

#qr-form button:hover{
opacity: 1;
}

#qr-code{
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    border: 1px solid #ccc;
    padding: 30px 0;
    margin: 20px 15px;
    display: flex;
    justify-content: center;
    border-radius: 5px;
    transition: 0.5s;
}

.container.active #qr-code{
    opacity: 1;
}

#download-btn{
    margin-top: 10px;
    border: none;
    cursor: pointer;
    background-color: transparent;
    transition: 0.3s;
}

#download-btn:hover span{
    text-decoration: underline;
}

.icon-download {
    width: 18px;
    height: 18px;
    vertical-align: middle;
}

.credits {
    position: fixed;
    bottom: 20px;
    right: 10px;
    width: auto;
    max-width: none;
    text-align: right;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.7rem;
    padding: 10px 15px;
    font-family: 'Roboto';
}

.credits a {
    color: #b57aff;
    text-decoration: none;
    transition: 0.3s;
}

.credits a:hover {
    text-decoration: underline;
    color: #9c3cff;
}