@import url('https://fonts.googleapis.com/css?family=Barlow|Vollkorn:400,400i');

:root {
    --color-shade-1: #dbd8e3;
    --color-shade-2: #979faa;
    --color-shade-3: #59616c;
    --color-shade-4: #34383f;
    --color-shade-5: #2a2e33;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    font-size: 14px;
    font-family: 'Vollkorn', serif;
}
body {
    color: var(--color-shade-2);
    background-color: var(--color-shade-5);
    background: url("assets/background-grain.jpg");
}
a {
    color: inherit;
    transition: color 100ms ease-in-out;
}
a:visited {
    color: inherit;
}
a:hover {
    color: var(--color-shade-1)
}
h1 {
    font-weight: normal;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}
h2 {
    font-size: 1.2rem;
    font-weight: normal;
    color: var(--color-shade-3);
}
.subtitle {
    font-size: 1.5rem;
}
h1, .subtitle {
    text-align: center;
}
.year {
    font-size: 0.9rem;
    color: var(--color-shade-3);
}



.container {
    width: 100%;
    height: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}
.content {
    margin-top: 2rem;
}
.content > div {
    display: flex;
    flex-direction: column;
    margin-top: 1.5rem;
}
.content ul {
    list-style-type: none;
}
.content li:not(:last-child) {
    margin-bottom: .3rem;
}
.footer {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    margin-top: 3rem;
    color: var(--color-shade-3);
}
.footer > div {
    margin-left: 0.75rem;
    margin-right: 0.75rem;
    margin-bottom: 0.5rem;
}
.footer a {
    color: inherit;
}
.footer svg {
    vertical-align: middle;
    margin-right: 0.5rem;
    fill: var(--color-shade-3);
    transition: fill 100ms ease-in-out;
}
.footer a:hover {
    color: var(--color-shade-2);
}
.footer a:hover svg {
    fill: var(--color-shade-2);
}


@media all and (min-width: 600px) {
    html {
        font-size: 18px;
    }
    .content {
        max-width: 37rem;
    }
    h2 {
        font-size: 1rem;
    }
    .footer, .content > div {
        flex-direction: row;
    }
    .content > div h2 {
        flex: 0 0 6.5rem;
        padding-right: 1rem;
        text-align: right;
    }
}
