:root {
    --primary: #1e2b82;
    --light: #f9efed;
    --gray: rgb(145, 145, 145);
    --dark: #333333;
    --black: #1c1c1c;
}

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
   ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */

html {
    line-height: 1.15; /* 1 */
    -webkit-text-size-adjust: 100%; /* 2 */
}

/* Sections
   ========================================================================== */

/**
 * Remove the margin in all browsers.
 */

body {
    margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */

main {
    display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */

h1 {
    font-size: 2em;
    margin: 0.67em 0;
}

a {
    background-color: transparent;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */

b,
strong {
    font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

code,
kbd,
samp {
    font-family: monospace, monospace; /* 1 */
    font-size: 1em; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */

small {
    font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */

sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sub {
    bottom: -0.25em;
}

sup {
    top: -0.5em;
}

/* Embedded content
   ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */

img {
    border-style: none;
}

/* Forms
   ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */

button,
input,
optgroup,
select,
textarea {
    font-family: inherit; /* 1 */
    font-size: 100%; /* 1 */
    line-height: 1.15; /* 1 */
    margin: 0; /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */

button,
input { /* 1 */
    overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */

button,
select { /* 1 */
    text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */

button,
[type="button"],
[type="reset"],
[type="submit"] {
    -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
    border-style: none;
    padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
    outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */

fieldset {
    padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */

legend {
    box-sizing: border-box; /* 1 */
    color: inherit; /* 2 */
    display: table; /* 1 */
    max-width: 100%; /* 1 */
    padding: 0; /* 3 */
    white-space: normal; /* 1 */
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */

progress {
    vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */

textarea {
    overflow: auto;
}

/* Interactive
   ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */

details {
    display: block;
}


/* Misc
   ========================================================================== */

*, *:before, *:after {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
    line-height: 1;
    font-weight: normal;
}
h1 {
   font-size: 3em;
}
h2 {
    font-size: 2.5em;
}
h3 {
    font-size: 1.8em;
}
h4 {
    font-size: 1.2em;
}

body {
    background: var(--light);
}
body, p {
    color: var(--dark);
    font-family: 'Roboto', sans-serif;
}
p {
    line-height: 1.25;
    text-align: justify;
}

.gray-text {
    color: var(--gray);
}

header {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}
.header-image  {
    height: 400px;
    background: url('../img/FOTO-Maliebaanstation_bew.jpg') no-repeat center 30%;
    background-size: cover;
    display: flex;
}
.header-content {
    align-self: center;
    margin-left: auto;
    margin-right: auto;
    padding-left: .5rem;
    padding-right: .5rem;
}
.header-content .logo-box {
    width: 64px;
    margin-left: auto;
    margin-right: auto;
}
.header-content .brand-logo {
    width: 64px;
    object-fit: contain;
}
.download-pdf__box {
    margin-left: auto;
    margin-right: auto;
    width: 400px;
    background: white;
    padding: 2rem 3rem;
    display: flex;
    grid-template-areas:
            'pdf buttons';
    align-items: center;
}
.header-download {
    margin-top: -4rem;
    margin-left: auto;
    width: 400px;
    background-color: white;
}
.header-download .download-pdf__box {
    padding: 2rem 6rem 2rem 1rem;
}
.header-download .download-pdf__box .download-pdf__buttons{
    display: flex;
    flex-direction: column;
}
.download-pdf__image {
    align-self: start;
    width: 40px;
    margin-right: 1rem;
}
.download-pdf__button {
    grid-area: button;
    margin-bottom: 1rem;
}
.download-btn {
    background: white;
    color: var(--primary);
    border: 1px solid var(--primary);
    font-size: 0.875rem;
    text-decoration: none;
    padding: .5rem 1rem;
    -webkit-transition: color .5s ease, background-color .5s ease;
    -moz-transition: color .5s ease, background-color .5s ease;
    -o-transition: color .5s ease, background-color .5s ease;
    transition: color .5s ease, background-color .5s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.download-btn:hover {
    background: var(--primary);
    color: white;
}
.download-btn .download-btn__ill {
    flex-shrink: 0;
    margin-left: 0.5rem;
}

.logo-box {
    margin-left: auto;
    margin-right: auto;
}
.brand-logo {
    object-fit: contain;
}

.site-title {
    text-align: center;
    color: white;
    font-family: 'Slabo 27px', sans-serif;
    font-weight: normal;
    text-shadow: 3px 3px var(--dark);
}

main {
    margin: 2rem auto 2rem auto;
    padding: 1rem;
    width: 800px;
}
.heading, .section-title {
    font-family: 'Slabo 27px', sans-serif;
}
.heading {
    color: var(--gray);
    margin-top: 2em;
}
.section-title {
    color: var(--primary);
    margin-top: 1.5em;
    margin-bottom: 0;
}
.download-section {
    margin: 4rem auto;
}

footer {
    width: 100%;
    bottom: 0;
    background: var(--dark);
}
footer .site-title {
    margin-top: 10px;
}
.footer-top {
    padding: 3rem 1rem 1rem 1rem;
    width: 800px;
    display: flex;
    flex-direction: row;
    margin-left: auto;
    margin-right: auto;
}
.footer-title {
    font-weight: bold;
    padding-bottom: 0rem;
}
.footer-col .logo-box {
    width: 40px;
}
.footer-col .brand-logo {
    width: 40px;
}
.footer-col {
    flex-grow: 1;
    padding: 1rem;
}
.footer-col p {
    color: white;
    text-align: start;
}
.footer-col a {
    color: white;
}
.footer-bottom {
    background: var(--black);
    color: white;
    margin-left: auto;
    margin-right: auto;
}
.footer-bottom-content {
    justify-content: center;
    display: flex;
    flex-direction: row;
}
.footer-bottom-content p {
    padding: .5rem 0 .5rem 0;
    color: white;
    letter-spacing: 1px;
}
.footer-bottom-content p.first {
    padding-right: 1rem;
    margin-right: 1rem;
    border-right: 1px solid white;
}


@media only screen and (max-width: 450px) {
    h1 {
        font-size: 2.5em;
    }
    h2 {
        font-size: 1.5em;
    }
    h3 {
        font-size: 1.17em;
    }
    .header-download, .download-pdf__box {
        width: 100%;
    }
    .header-download .download-pdf__box {
        padding: 2rem .5rem;
    }

}
@media only screen and (max-width: 815px) {
    p {
        text-align: start;
    }
    main {
        width: 100%;
    }
    .footer-top {
        width: 100%;
        flex-direction: column;
        padding: 0 .5rem 1rem .5rem;
    }
    .footer-col.first {
        border-bottom: 1px solid var(--gray);
    }
    .footer-bottom-content {
        flex-direction: column;
        padding-left: 1.5rem;
    }
    .footer-bottom-content p {
        margin-top: 0;
        margin-bottom: 0;
    }
    .footer-bottom-content p.first {
        padding-right: 0;
        margin-right: 0;
        border-right: none;
    }
}
