@charset "utf-8";

:root {
    font-size: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    color: #434343;
    font-family: "Arial", sans-serif;
    font-size: 1rem;
    line-height: 1.5;
    font-weight: 400;
    background: url(../images/bg.png) no-repeat right top 15%;
}

img {
    max-width: 100%;
    height: auto;
}

#wrapper {
    position: relative;
    max-width: 1100px;
    margin: 1rem auto;
    overflow: hidden;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

a.blau {
    color: #1155cc;
    text-decoration: underline;
}

p {
    margin: 0 0 20px;
}

span {
    white-space: nowrap;
}

strong span {
    color: rgb(75, 40, 109);
}

.margin {
    margin: 0
}

.distance {
    margin: 20px 0 40px
}

.dunkel_grau {
    color: #404040;
    font-weight: 500;
}

.grau {
    color: #565656;
}

.semibold {
    font-weight: 500;
}

h1 {
    width: 70%;
    color: #343935;
    font-size: 36px;
    font-weight: normal;
    margin-bottom: 30px;
}

h2 {
    color: #4C296E;
    font-size: 20px;
    font-weight: 500;
}

h3 {
    font-size: 16px;
    color: #4b286d;
    margin: 0 0 20px;
}

h4 {
    font-size: 15px;
    color: #565656;
    margin: 0 0 10px;
    font-weight: normal;
}

ul {
    list-style: none;
    margin: 0 0 50px;
    padding: 0;
    line-height: 1.4
}

ul li {
    padding-left: 40px
}

ul li:before {
    content: "\2022";
    float: left;
    margin-left: -18px;
    font-size: 1.375em;
    line-height: 1;
    color: rgb(102, 204, 0);
}

.flex,
.info {
    display: flex;
    align-items: flex-start;
    margin: 0 0 30px;
    gap: 50px;
}

.info {
    justify-content: space-between;
    width: 90%;
}

header {
    margin: 0 0 50px;
}

.social {
    width: 30%;
}

.icon {
    display: flex;
    gap: 10px;
}

.fa-envelope {
    color: #fff;
    background: #4C296E;
    padding: 4px;
    font-size: 19px;
}

.fa-envelope:hover {
    background: #258700;
}

a.btn {
    text-align: center;
    color: #fff;
    background: #258700;
    padding: 10px 50px;
    margin: 0 0 24px;
    font-size: 14px;
    font-weight: normal;
    display: inline-block;
    border-radius: 8px;
}

a.btn:hover {
    opacity: 0.8;
    text-decoration: none;
}

article {
    width: 68%
}

footer {
    padding: 50px 0 0;
}

@media only screen and (max-width: 1099px) {
    #wrapper {
        border: none;
        margin: 0 auto;
        padding: 1rem;
    }

    body {
        background: none;
    }

    p,
    ul {
        -moz-hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
    }

    .none {
        display: none;
    }

    article {
        width: 100%
    }
}

@media only screen and (max-width: 850px) {
    .flex {
        flex-direction: column;
        gap: 16px
    }

    h1,
    .social {
        width: auto
    }

    .info {
        width: 100%;
        justify-content: flex-start;
        margin: 0
    }
}

@media only screen and (max-width: 599px) {
    header {
        display: flex;
        justify-content: center;
    }

    h1 {
        font-size: 33px;
        text-align: center;
        line-height: 1.3
    }

    .info {
        flex-direction: column;
        gap: 0;
    }

    ul li {
        padding-left: 20px
    }

    .flex {
        align-items: center;
    }

    .social {
        text-align: center;
    }
}

@media only screen and (max-width: 375px) {

    header {
        margin: 20px 0 15px
    }

    ul {
        margin: 0 0 20px
    }

    .distance {
        margin: 20px 0;
    }

    footer {
        padding: 0;
        text-align: center
    }
}