@import url('https://fonts.googleapis.com/css?family=PT+Sans');

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

body {
    position: relative;
    font-family: 'PT Sans', sans-serif;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1 {
    font-size: 48px;
    line-height: 50px;
    margin-bottom: 17px;
}

h2 {
    font-size: 28px;
    line-height: 31px;
    color: #339f2c;
}

h3 {
    font-weight: normal;
    font-size: 23px;
    margin-bottom: 25px;
    margin-top: 0;
    text-transform: uppercase;
}

p {
    font-size: 18px;
    line-height: 28px;
    margin-top: 0;
}

img {
    width: 100%;
    height: auto;
}

.logo {
    position: absolute;
    top: 0;
    width: 100%;
    text-align: left;
}

.logo img {
    transform: translateY(-13px);
    max-width: 195px;
    max-height: 178px;
    margin-left: 5%;
}

.container {
    margin: 0 auto;
}

.centerparagraph {
    text-align: center;
}

.header .container {
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    padding-top: 50px;
}

.header {
    text-align: center;
    background: url(media/greenway-background.png) no-repeat center bottom;
    background-size: cover;
    margin-top: 13px;
    height: 370px;
    display: flex;
    padding-left: 15px;
    padding-right: 15px;
}

.body {
    max-width: 850px;
    padding-left: 15px;
    padding-right: 15px;
}

.centeralign {
    text-align: center;
    margin-top: 60px;
}

.centerimage {
    height: auto;
    max-width: 600px;
    max-height: 400px;
}

.links {
    margin: 60px auto 100px auto;
    max-width: 500px;
    width: 70%;
}

.linkboxes {
    display: flex;
    width: 100%;
    margin: 0 auto;
}

.linkboxes > div {
    flex: 1;
    margin-left: 3px;
    margin-right: 3px;
    display: flex;
    flex-direction: column;
    align-items:  center;
}

.linkboxes > div a {
    font-size: 23px;
    text-align: center;
    color: #0093d8;
}

.linkboxes img {
    margin-bottom: 24px;
    max-width: 150px;
    max-height: 150px;
}

.imgwrapper {
    display: flex;
    align-items: center;
    flex-direction: row;
    flex: 1;
}

.assortment {
    margin-bottom: 150px;
}

footer {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 150px;
    background: #339f2c;
    color: white;
    height: 100px;
    padding: 1rem;
}

footer p {
    margin: 0;
}

footer a {
    color: white;
}

@media (max-width: 576px) {
    h1 {
        font-size: 21px;
        line-height: 21px;
    }
    h2 {
        font-size: 21px;
        line-height: 21px;
        margin-bottom: 10px;
    }
    h3 {
        font-size: 18px;
    }
    p {
        font-size: 15px;
        line-height: 23px;
    }
    .block {
        flex-wrap: wrap;
    }
    .links {
        margin: 50px auto 40px auto;
        width: auto;
    }
    .linkboxes{
        width: 100%;
    }
    .linkboxes img {
        max-width: 100px;
        max-height: 100px;
    }
    .linkboxes > div a {
        font-size: 15px;
    }
    .logo {
    }
    .logo img{
        max-width: 100px;
        max-height: 100px;
        left: 0;
        transform: translateY(-66px);
        margin-left: 0;
    }
    .header {
        height: 222px;
        margin-top: 66px;
    }
    .header .container {
        margin-bottom: 20px;
    }
    .headertext {
        margin-left: 15px;
        margin-right: 15px;
    }
    .centeralign {
        margin-top: 40px;
    }
    .rightmargin {
        margin-right: 0;
    }
    .assortment {
        margin-bottom: 50px;
    }
}
