@import url('https://fonts.googleapis.com/css2?family=Cute+Font&family=Fira+Code:wght@300;400;500;600;700&family=Sixtyfour&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Fira Code', monospace;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: #fafafa;
}

.container {
    width: 400px;
    padding: 25px 30px;
    border-radius: 15px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15);
    transition: 0.5s;
    border-radius: 50px;
}

.container:hover {
    transform: scale(1.02);
}

.container.active{
    height: 500px;
}

#qr-header {
    text-align: center;
}

#qr-header h1 {
    color: #fff;
    font-size: 30px;
    font-weight: 500;
    margin-bottom: 10px;
}

#qr-header p {
    color: #fff;
    font-size: 15px;
    font-weight: 300;
    line-height: 1.6em;
}

#qr-form {
    margin-top: 20px 15px;
    border-radius: 50px;
}

#qr-form input,
#qr-form button {
    width: 100%;
    height: 55px;
    border: none;
    border-radius: 5px;
    outline: none;
    font-size: 17px;
}

#qr-form input {
    padding: 10px 15px;
    background: #fff;
    margin-bottom: 15px;
    border: 1px solid #1f1b1b;
}

#qr-form button {
    background: #f20404;
    color: #fff;
    font-weight: 500;
    cursor: pointer;
    transition: 0.3s;
}

#qr-form button:hover {
    background: #00790d;
}

#qr-code {
    display: flex;
    opacity: 0;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
    transition: 0.5s;
    border-radius: 5px;
}

#qr-code p{
    color: #fff;
    font-size: 15px;
    font-weight: 300;
    line-height: 1.6em;
    padding: 10px;
    text-align: center;
}

.container.active #qr-code {
    opacity: 1;
}

.css-selector {
    background: linear-gradient(75deg, #131414, #121212);
    background-size: 400% 400%;

    -webkit-animation: background-animate 0s ease infinite;
    -moz-animation: background-animate 0s ease infinite;
    animation: background-animate 0s ease infinite;
}

@-webkit-keyframes background-animate {
    0%{background-position:41% 0%}
    50%{background-position:60% 100%}
    100%{background-position:41% 0%}
}
@-moz-keyframes background-animate {
    0%{background-position:41% 0%}
    50%{background-position:60% 100%}
    100%{background-position:41% 0%}
}
@keyframes background-animate {
    0%{background-position:41% 0%}
    50%{background-position:60% 100%}
    100%{background-position:41% 0%}
}

@media (max-width: 450px) {
    .container {
        width: 100%;
        height: auto;
    }
}

@media (max-width: 400px) {
    #qr-header h1 {
        font-size: 25px;
    }

    #qr-header p {
        font-size: 14px;
    }

    #qr-form button {
        font-size: 16px;
    }
}