:root {
    --box-size: 100%;
}

@media screen and (min-width: 550px) {
    :root {
        --box-size: 400px;
    }

    .content {
        -webkit-box-shadow: 2px 2px 10px 0px rgba(0, 0, 0, 0.25);
        box-shadow: 2px 2px 10px 0px rgba(0, 0, 0, 0.25);
    }
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: var(--bg-gradient);
}

.content {
    width: calc(var(--box-size) - 6em);
    margin: 1em;
    background-color: white;
    padding: 3em;
}

input[type=text],
input:focus-visible[type=text],
input:focus[type=text],
input[type=password],
input:focus-visible[type=password],
input:focus[type=password] {
    border: none;
    outline: none;
    border-bottom: 1px solid var(--input-underline-color);
    padding: 5px 0px;
    margin-bottom: 1.8em;
    width: 100%;
}

h3 {
    margin-top: 0em;
}

#id_login,
#id_register {
    margin: 0;
}

#to_login,
#to_register {
    color: var(--link-color);
}