:root {
    --blue: #1547a3;
    --dark: #222;
    --darker: #111;
    --lessdark: #444;
    --light: #eee;
    --grey: #ccc;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: HKGroteskRegular, sans-serif;
    color: var(--dark);
}

html,
body {
    width: 100%;
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 90vh;
}

h1 {
    margin-bottom: 0.5em;
    font-size: 2.5em;
}

table {
    border-spacing: 0;
}

table,
p {
    font-size: 1.25em;
}

table td {
    padding: 8px 0;
}

header {
    display: flex;

    width: 100%;
    min-height: 350px;

    position: relative;
}

header .image {
    position: absolute;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-image: url('/img/header.png');
    background-position: center 25%;
}

header .gradient {
    position: absolute;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(#ffffff00, #ffffff00, #ffffff00, #ffffff);
}

main {
    padding: 64px;
}

footer {
    display: flex;
    width: 100%;
    padding: 2.5%;
    margin-top: auto;

    background-color: var(--dark);
    color: var(--light);
    border-top: solid 2px var(--darker);
}

footer h1 {
    color: var(--light);
}

footer .social {
    display: flex;
    flex: 50%;
    padding: 2.5%;

    flex-direction: column;
    align-items: center;
}

footer .social i {
    font-size: 2em;
    margin: 0 0.25em;
    color: var(--blue);
}

footer .info {
    display: flex;
    flex: 50%;
    padding: 2.5%;
    padding-left: 17.5%;

    align-items: flex-start;
    flex-direction: column;
    border-right: solid 2px var(--lessdark);
}

footer .info * {
    color: var(--light);
}

footer .info a {
    color: var(--blue);
}

footer .info table td {
    padding: 8px 0;
}

footer .info table tr td:first-child {
    width: 15%;
    font-weight: bold;
}

#copyright {
    display: flex;
    width: 100%;
    padding: 2%;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-color: var(--darker);
}

#copyright span {
    color: var(--grey);
}

#copyright a {
    color: var(--light);
}

#uren {
    display: flex;
    flex-direction: column;
}

#uren table {
    width: 50%;
    margin-bottom: 1em;
}

#uren table td:first-child {
    font-weight: bold;
    width: 20%;
}

#uren table td:nth-child(2) {
    width: 20%;
}

@font-face {
    font-family: HKGroteskLight;
    src: url('/webfonts/HKGrotesk-Light.ttf');
}

@font-face {
    font-family: HKGroteskRegular;
    src: url('/webfonts/HKGrotesk-Regular.ttf');
}

@media only screen and (max-width: 1280px) {

    table,
    p {
        font-size: 1em;
    }

    h1 {
        font-size: 1.5em;
    }

    main {
        flex: 1;
        padding: 16px;
    }

    header {
        min-height: 256px;
        background-size: 250%;
        background-position: 50% 50%;
        background-repeat: no-repeat;
    }

    footer {
        flex-direction: column;
        padding: 16px;
    }

    footer .social,
    footer .info {
        width: 100%;
        padding: 0;
    }

    footer .social {
        margin-bottom: 16px;
    }

    footer .info {
        margin-bottom: 32px;
        border: none;
    }

    footer .social h1 {
        display: none;
    }

    #uren table {
        width: 100%;
    }

    #uren table td:first-child {
        width: 20%;
    }

    #uren table td:nth-child(2) {
        width: 40%;
    }

    #copyright {
        padding: 16px;
        font-size: 1em;
    }
}