#auth {
    height: 100vh;
    display: grid;
    place-items: center;
    background: var(--light);
} .auth {
    position: relative;
    padding: 2em 1.5em;
    width: 300px;
    border-radius: 3px; border: 1px solid #CCC;
    box-shadow: 0 0 3px 1px #CCC;
    background: #FFF;
} .auth > img {
    z-index: 0;
    position: absolute;
    margin: auto;
    width: 90%; height: 250px;
    top: 0; bottom: 0;
    left: 0; right: 0;
    opacity: 0.01;
} .auth > h1 {
    z-index: 1;
    position: relative;
    margin-bottom: 1em;
    font-size: 1.7rem; font-weight: 700;
    text-align: left;
    color: var(--primary);
} .auth > form {
    z-index: 1;
    position: relative;
    display: flex; flex-direction: column;
    align-items: flex-start;
} .auth > form > span {
    width: 100%;
    display: flex; flex-direction: row-reverse;
    align-items: center;
    justify-content: space-between;
} .auth > form > span:first-child {
    margin-bottom: 1em;
} .auth > form > span > label {
    padding: 0.3em 0.5em;
    font-size: 1.1rem;
    color: var(--default);
    transition: linear 0.2s;
} .auth > form > span > input {
    padding: 0.3em 0.5em;
    width: 87%;
    font-size: 1rem;
    border: none; border-radius: 0; border-bottom: 1px solid #CCC;
    background: transparent;
    transition: linear 0.2s;
} .auth > form > span > input:focus {
    border-bottom: 1px solid var(--primary-alt);
} .auth > form > span > input:focus ~ label {
    color: var(--primary-alt);
} .auth > form > button {
    margin-top: 1.5em;
    padding: 0.3em 0;
    width: 87%;
    align-self: flex-end;
    font-size: 1rem; font-weight: 600;
    border-radius: 3px; border: 2px solid var(--primary);
    color: var(--primary); background: transparent;
    transition: linear 0.2s;
} .auth > form > button:hover, .auth > form > button:focus {
    color: #FFF; background: var(--primary);
}

@media screen and (max-width: 500px) {
    .auth > form > button {
        color: #FFF; background: var(--primary);
    }
}
