@charset "utf-8";

@font-face {
    font-display: swap;
    font-family: 'Cormorant Garamond';
    font-style: normal;
    font-weight: 500;
    src: url('../fonts/cormorant-garamond-v21-latin-500.eot');
    src: url('../fonts/cormorant-garamond-v21-latin-500.eot?#iefix') format('embedded-opentype'), url('../fonts/cormorant-garamond-v21-latin-500.woff2') format('woff2'), url('../fonts/cormorant-garamond-v21-latin-500.woff') format('woff'), url('../fonts/cormorant-garamond-v21-latin-500.ttf') format('truetype'), url('../fonts/cormorant-garamond-v21-latin-500.svg#CormorantGaramond') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Cormorant Garamond';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/cormorant-garamond-v21-latin-700.eot');
    src: url('../fonts/cormorant-garamond-v21-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/cormorant-garamond-v21-latin-700.woff2') format('woff2'), url('../fonts/cormorant-garamond-v21-latin-700.woff') format('woff'), url('../fonts/cormorant-garamond-v21-latin-700.ttf') format('truetype'), url('../fonts/cormorant-garamond-v21-latin-700.svg#CormorantGaramond') format('svg');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    color: #0e394c;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    line-height: 1.4;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

#wrapper {
    position: relative;
    max-width: 50rem;
    margin: 1rem auto;
    overflow: hidden;
    background: url("../images/landschaft.jpg") 100% 73%/auto no-repeat #f7f4ef;
    border: solid 1px #000;
}

:is(a:link, a:visited, a:active) {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

a:hover {
    text-decoration: underline;
}

p {
    padding-bottom: .5rem;
}

h1 {
    font-size: 5rem;
    line-height: 1;
    margin-bottom: 1.5rem;
}

h1 span {
    display: block;
    font-size: 2rem;
    font-weight: normal;
}

h2 {
    font-size: 2.5rem;
    line-height: 1;
    color: #a07f49;
}

h3 {
    font-size: 1.4rem;
}

ul {
    padding: 0 0 1rem 3rem;
}

.info {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin: 3rem 0 1.5rem;
}

.info div {
    display: flex;
    align-items: center;
}

.info div p {
    padding: .3rem 1rem;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.1rem;
    border: 1px solid #ddcdb6;
    border-left: none;
    border-top-right-radius: 1rem;
    border-bottom-right-radius: 1rem;
    background-color: #f6f1eb;
}

.text {
    width: 28rem;
    text-align: center;
}

.text img {
    margin: .25rem auto;
}

.text p {
    font-weight: 700;
}

header div {
    padding: 0 2rem;
    margin-top: -13.25rem;
    text-align: center;
}

article {
    padding: 0 3rem;
    position: relative;
}

footer {
    margin-top: -4rem;
}

@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: 46rem) {
    #wrapper {
        background: #f7f4ef;
    }

    .text {
        width: auto;
    }

    h1 {
        font-size: 3rem;
        margin-bottom: 3rem;
    }

    h1 span,
    h2 {
        font-size: 1.7rem;
    }

    header div {
        margin-top: -11rem;
    }

    article {
        padding: 0 1rem;
    }

    footer {
        margin-top: -1rem;
    }
}

@media only screen and (max-width: 40rem) {
    h1 {
        margin-bottom: 1rem;
    }

    header div {
        padding: 1rem;
        margin-top: -7rem;
        background-color: #f7f4ef;
        position: relative;
    }
}

@media only screen and (max-width: 28rem) {
    h1 {
        font-size: 2.7rem;
        line-height: 1.1;
    }

    h1 span,
    h2 {
        font-size: 1.4rem;
    }

    header div {
        margin: -5rem 0 -2rem;
    }
}