h2 {
    font-family: "Crimson Text";
    font-size: 2.5em;
    margin-bottom: 1em;
}

#background {
    background-image: url("./background.jpg");
    background-size: cover;
    background-position: bottom;

    position: fixed;
    width: 100%;
    height: 100%;
}

#root {
    display: flex;
    flex-direction: column;
    text-shadow: 0 2px 4px black;
    flex-spacing: space-bewteen;
}

header {
    text-align: right;
    padding: 25px;

}
article {
    height: 100%;

    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 100px;
}
article > h2 {
    max-width: 60%;
}

footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 25px;
}
footer a {
    margin-left: .5em;
    border: 3px solid transparent;
    border-radius: 5px;
    line-height: 0;

    transition: border-color .5s;
}
footer a:hover {
    border-color: white;
    border-radius: 5px;
}
footer img {
    background: black;
    max-height: 3em;

    padding: 10px;
    border-radius: inherit;
}

.email-link {
    font-size: 1.5em;
    margin-top: 10px;
    line-height: 1.5;
}
.email-link:hover > span {
    border-bottom: 1px solid;
}

@media (max-width: 767px), handheld {
    #root {
        font-size: .75em;
    }

    article {
        min-height: 100%;
        padding: 0 25px;
        justify-content: start;
    }

    article h2 {
        max-width: 100%;
    }

    footer {
        padding-top: 0;
    }
}

@media (min-width: 767px) and (max-width: 1024px) {
    #root {
        font-size: .75em;
    }

    article {
        padding: 50px
    }
}