@charset "utf-8";

:root {
    font-size: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    color: #000;
    font-family: "Arial", sans-serif;
    font-size: 1rem;
    line-height: 1.5;
    background: #fff;
}

img {
    max-width: 100%;
    height: auto;
}

#wrapper {
	position: relative;
	max-width: 50rem;
	margin: 1rem auto;
	overflow: hidden;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

h1 {
    font-size: 2rem;
    color: #0066B3;
}

h2 {
    font-size: 1.25rem;
    color: #0066B3;
    margin: 1rem 0;
}

h3 {
    font-size: 1.2rem;
    color: #e67e22;
    margin: 1rem 0;
}

h4 {
    font-size: 1rem;
    color: #e67e22;
    margin: 1rem 0;
}

.center {
    text-align: center;
}

p {
    margin-bottom: 1rem;
}

ul {
    margin: 0 0 0 1.35rem;
}

header {
    padding: 1rem;
    border-bottom: 1px solid #ededed;
    margin-bottom: 2rem;
}

.flex {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

article {
    padding: 1rem;
}

.socials {
    display: flex;
    gap: 1rem;
}

.socials i {
    color: #fff;
    font-size: 1.25rem;
    width: 2.7rem;
    height: 2.7rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.socials a .fa-facebook-f {
    background-color: #3A5A96;
}
.socials a .fa-facebook-f:hover {
    background-color: #4070C0;
}
.socials a .fa-x-twitter {
    background-color: #000;
}
.socials a .fa-x-twitter:hover {
    background-color: #3b3b3b;
}
.socials a .fa-linkedin-in {
    background-color: #0077B4;
}
.socials a .fa-linkedin-in:hover {
    background-color: #1489BF;
}
.socials a .fa-xing {
    background-color: #196164;
}
.socials a .fa-xing:hover {
    background-color: #27898B;
}
.socials a .fa-envelope {
    background-color: #999999;
}
.socials a .fa-envelope:hover {
    background-color: #a8a8a8;
}

.kontakt {
    background-color: #002D67;
    color: #fff;
    padding: 1rem;
    border-radius: 1rem;
    width: fit-content;
    margin: 2rem 0;
}

.flex2 {
    display: flex;
    align-items: center;
    gap: 2rem;
}

footer {
    padding: 1rem;
    background-color: #002D67;
    color: #fff;
    text-align: center;
}
footer p {
    margin: 0;
}

@media only screen and (max-width: 49.938rem) {
    #wrapper {
        border: none;
        margin: 0 auto;
    }

    p,
    ul {
        -moz-hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
    }
}

@media only screen and (max-width: 48rem) {
    .flex {
        flex-direction: column;
        gap: 0;
    }

    h1 {
        text-align: center;
        font-size: 1.5rem;
    }
}

@media only screen and (max-width: 40rem) {
    .socials {
        justify-content: center;
    }

    .kontakt {
        width: 20rem;
        margin: 2rem auto;
    }
}

