body {
    display: flex;
    flex-direction: column;
    min-height: 100dvh;
}

/* BACKGROUND */
.full-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    z-index: -999;
}

.full-background img {
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    transform: translateY(-50%) translateX(-50%);
}

/* MAIN */
main {
    flex: 1 1 auto;
    width: 100vw;
    margin: 1rem 0;
    z-index: 1;
}

main > div {
    width: calc(100vw - 2rem);
    max-width: 25rem;
    background-color: var(--base0);
    border-radius: .5rem;
    box-shadow: .5rem .5rem 2rem var(--base140);
}

h1 {
    font-size: 1.5rem;
    font-weight: 300;
}

p {
    font-size: .8rem;
    line-height: 1.25rem;
    width: 100%;
}

a, a:visited {
    color: var(--theme);
    transition: all .5s;
}

a:hover {
    color: var(--base60);
}

/* FORMS */
form {
    width: 100%;
}

button {
    width: 100%;
    background-color: var(--base);
    color: var(--base0);
    font-size: 1rem;
    text-shadow: var(--shadow);
    border-radius: .25rem;
    height: 2.5rem;
    border: none;
    transition: all .5s;
}

button:hover {
    background-color: var(--theme);
}

.form-error {
    margin-top: .25rem;
    color: var(--error);
    text-align: center;
}

/* FOOTER */
body > footer {
    flex: 0 0 auto;
    width: 100%;
    padding: .75rem 2rem;
    background-color: var(--base);
    text-align: center;
    font-size: 1rem;
    color: var(--base0);
    text-shadow: var(--shadow);
    border-top: 2px solid var(--theme);
}

body > footer span {
    display: block;
    color: transparent;
    text-shadow: none;
    height: .25rem ;
    padding: 0;
}

@media only screen and (min-width: 64rem) {

    h1 {
        font-size: 1.75rem;
    }

    body > footer span {
        display: inline-block;
        color: #e4e5e7;
        text-shadow: var(--shadow);
        padding: 0 .5rem;
    }
}
