* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

header {
    padding: 5px 0;
    text-align: center;
    font-size: 18px;
    background: #57a1e6;
}

.container {
    height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    width: 100%;
    overflow: visible;
}

.wrapper,
.design {
    display: flex;
    width: 45%;
    flex-direction: column;
    align-items: center;
}

.design {
    display: none;
}

.wrapper #textInput {
    width: 100%;
    min-width: 220px;
    padding: 10px 5px;
    border: 2px solid rgb(35, 87, 184);
    height: max-content;
    font-size: 15px;
}

.wrapper #error {
    color: red;
    font-size: 15px;
}

.wrapper #generateBtn {
    width: 100%;
    min-width: 220px;
    padding: 10px 5px;
    margin-top: 5px;
    border: none;
    cursor: pointer;
    background-color: rgb(28, 91, 209);
    color: white;
    font-size: 15px;
}

.wrapper #qr-image-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 220px;
    width: 100%;
    border: 2px solid rgb(35, 87, 184);
    margin-top: 10px;
    padding: 10px;
    align-items: center;
    height: auto;

}

.wrapper #qr-image {
    width: 100%;
    height: 200px;
    /* object-fit: cover; */
}

footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 40px;
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: #9ccbf7;
}

footer a {
    color: #001277;
}

@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }

    header h2 {
        font-size: 22px;
    }

    .wrapper,
    .design {
        width: 80%;
    }
}