* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: sans-serif;
}

body {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background-color: white;
    color: black;
}

.dark-mode {
    background-color: black;
    color: white;
}

.modoescuro {
    bottom: 150px;
    left: 250px;
    position: relative;
    float: right;
}

.modoescuro .btnEscuro {
    background: black;
    color: aliceblue;
    border: none;
    height: 20px;
    width: 100px;
    border-radius: 5px;
    cursor: pointer;
}

.container {
    height: 260px;
    background: gray;
    max-width: 410px;
    border-radius: 7px;
    padding: 16px 25px;
    transition: height 0.5s ease;
}

header h1 {
    text-align: center;
    font-weight: 600;
    font-size: 20px;
    color: orangered;
}

header p {
    color: white;
    font-size: 16px;
    text-align: center;
    margin-top: 5px;
}

.container .form {
    padding: 20px 0 25px;
}

.container :where(input, button) {
    width: 100%;
    height: 55px;
    border: none;
    outline: none;
    border-radius: 7px;
}

.form input {
    padding: 0 17px;
    font-size: 18px;
    border: 1px solid white;
}

.form button {
    color: aliceblue;
    background: orangered;
    margin-top: 20px;
    font-size: 17px;
    cursor: pointer;
    transition: all 0.5s ease;
}

.form button:hover {
    background: white;
    color: orangered;
}

.container .qr-code {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 33px 0;
    pointer-events: none;
    opacity: 0;
}

.qr-code .img {
    width: 220px;
    height: auto;
}

.container.active .qr-code {
    opacity: 1;
    pointer-events: auto;
}