@import url('https://rsms.me/inter/inter.css');

html {
    font-family: 'Inter', sans-serif;
}

@supports (font-variation-settings: normal) {
    html {
        font-family: 'Inter var', sans-serif;
    }
}

html, body {
    margin: 0;
    height: 100%;
}

body {
    display: flex;
    align-items: center;
    justify-content: center;
}

form {
    display: flex;
    justify-content: center;
    width: 30em;
    flex-wrap: wrap;
}

form > * {
    width: 100%;
}

img {
    width: 60%;
}

h1 {
    text-align: center;
    font-size: large;
    font-weight: 400;
    color: #4D4F53;

}

label {
    display: inline-block;
    margin: 0;
    width: 0;
    height: 0;
    visibility: hidden;
}

input {
    display: block;
    padding: 1em;
    border: 1px solid #d1d5db;
}

input#id_username {
    border-radius: .5em;
    margin-bottom: 1em;
}

input#id_password {
    margin-top: -1px;
    border-radius: .5em;
}

input:hover {
    border: 1px solid #4D4F53;
}

input:focus {
    z-index: 1;
}

div {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

button[type="submit"] {
    margin-top: 1rem;
    border-radius: .5em;
    background: #dd4814;
    color: #ffffff;
    font-weight: bold;
    font-size: large;
    border: unset;
    display: inline-flex;
    align-items: center;
    padding: 0.5em 1em;
}

button:hover {
    background-color: #4D4F53;
}

button svg {
    margin-right: 0.5em;
}

a {
    color: #4D4F53;
    text-decoration: none;
    font-weight: normal;
    font-size: 0.85em;
}

a:hover {
    color: #dd4814;
}
