body, html {
    padding: 0;
    margin: 0;
}

html {
    width: 100vw;
    height: 100vh;
}

body {
    width: 100%;
    height: 100%;
    overflow-y: scroll;

    color: #fff;
    background-color: #000;
    font-family: sans-serif;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

body > div {
    width: 100%;
    max-width: 80vw;
    box-sizing: border-box;
    
    height: 100%;
    overflow-y: scroll;

    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

h1, h2 {
    font-weight: 100;
    text-align: center;
}

img.logo {
    height: 128px;
    width: 128px;

    border-radius: 20px;
    margin: 0 auto;
    display: block;
}

a.back,
p {
    width: 100%;
    display: block;
    text-align: center;
}

a.back {
    margin-top: 4rem;
}

p.description {
    color: #747474;
}

p.error {
    color: #ff7474;
}

p.completion_message {
    color: #74ff74;
}

ul {
    margin-top: 1rem;
}

ul li {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

a, a:visited {
    color: #fff;
    text-decoration: none;
}

a:hover {
    color: #ddf;
}

h1.title {
    margin: 0;
    margin-top: 1rem;

    font-weight: 200;
    font-size: 3rem;
    margin-bottom: -1rem;
    margin-top: -2rem;

    transition: top 0.2s;
}

h1.title a {
    text-decoration: none;

    display: flex;
    justify-content: center;
    align-items: flex-end;
    flex-direction: row;
    user-select: none;
    cursor: pointer;
}

h1.title a img {
    height: 164px;
    width: auto;

    transition: height 0.2s;
}

h1.title a span {
    line-height: 132px;
    vertical-align: bottom;
    margin-left: -1rem;
    white-space: nowrap;

    transition: font-size 0.2s, line-height 0.2s, margin 0.2s;
}

h1.title a:visited {
    color: white;
}

@media screen and (max-width: 600px) {
    h1.title {
        margin-top: 2rem;
    }
    
    h1.title a img {
        height: 92px;
    }
    
    h1.title a span {
        font-size: 1.5rem;
        line-height: 72px;
        margin-left: -0.5rem;
    }
}

a.bottom_link,
a.bottom_link:visited {
    font-size: 0.8rem;

    margin: 0;
    margin-bottom: 1rem;
    margin-top: 1rem;

    transition: font-size 0.2s ease-in-out;
}

a.bottom_link:hover,
a.bottom_link:active {
    font-size: 0.85rem;
}
