/* Elementer */
html {
    height: 100%;
}

body {
    font-family: 'Helvetica Neue', helvetica, arial, sans-serif;
    font-size: 16px;
    color: #444444;
    margin: 0px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
}

header {
    width: 100%;
    background-image: url(../images/background_pattern_header.jpg);
    background-size: cover;
    border-bottom: 1px solid #f3f3f3;
    margin-bottom: 40px;
}

.logoBlock, section, .adresBlock {
    width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.logoBlock {
    padding: 10px 0;
}

.textBlock p {
    margin: 40px 0;
}

/* Typografie */
a {
    color: #ffffff;
}

a:hover {
    text-decoration: underline;
}

h1 {
    color: #010401;
    font-size: 40px;
    margin: 0;
    font-family: 'Montserrat', helvetica, arial, sans-serif;
}

h1:after {
    content: "";
    height: 2px;
    display: block;
    bottom: -0.25em;
    position: relative;
    background-image: -webkit-gradient(linear, 0% 50%, 100% 50%, color-stop(0%, rgba(255, 255, 255, 0)), color-stop(50%, #c5c5c5), color-stop(100%, rgba(255, 255, 255, 0)));
    background-image: -webkit-linear-gradient(left, rgba(255, 255, 255, 0), #c5c5c5, rgba(255, 255, 255, 0));
    background-image: -moz-linear-gradient(left, rgba(255, 255, 255, 0), #c5c5c5, rgba(255, 255, 255, 0));
    background-image: -o-linear-gradient(left, rgba(255, 255, 255, 0), #c5c5c5, rgba(255, 255, 255, 0));
    background-image: linear-gradient(left, rgba(255, 255, 255, 0), #c5c5c5, rgba(255, 255, 255, 0));
}

p {
    margin: 0 0 40px 0;
    line-height: 1.5;
}

/* Footer */
footer {
    background-image: url(../images/background_pattern.jpg);

    .socials {
        display: flex;
        gap: 10px;
        margin-bottom: 10px;

        a {
            width: 30px;
            height: 30px;
            display: flex;
            align-items: center;
            justify-content: center;
            text-decoration: none;
        }
    }

    .adresBlock {
        color: white;
        padding: 10px;
        margin-top: 40px;
        margin-bottom: 15px;
        display: flex;
        flex-direction: column;
        align-items: center;

        p {
            margin-bottom: 10px;
        }
    }
}

/* Media Query's */
@media screen and (max-width:600px) {
    body {
        margin: 0;
    }

    .logoBlock, section, .adresBlock {
        width: 90%;
        margin-left: 5%;
        margin-right: 5%;
    }

    .logoBlock {
        margin-bottom: 15px;
    }

    h1 {
        font-size: 18px;
    }

    h1:after {
        margin-bottom: 7px;
    }

    .adresBlock {
        padding: 0px;
        margin-top: 25px;
    }

    .adresBlock p {
        padding: 10px;
    }
}

@media all and (min-width:600px) and (max-width:850px) {
    body {
        margin: 0;
    }

    .logoBlock, section, .adresBlock {
        width: 90%;
        margin-left: 5%;
        margin-right: 5%;
    }

    .logoBlock {
        margin-bottom: 15px;
    }

    .adresBlock {
        margin-top: 40px;
    }
}

@media all and (min-width:1438px) {
    header {
        background-size: contain;
    }
}