body {
    background-color: #eee;
    color: #000;
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
    margin: 0;
}

a, a:hover, a:focus, a:visited {
    text-decoration: none;
    color: #000;
}

h1, h2 {
    text-transform: uppercase;
}

h1 {
    font-size: 3rem;
    font-weight: 900;
}

h2 {
    font-size: 1.5rem;
}

p {
    padding: 0;
    margin: 0;
}

header {
    display: flex;
    flex-direction: column;
    align-items: center;
}

header > h1 {
    margin-bottom: 0;
}

header > h2 {
    font-weight: normal;
}

main {
    width: 80vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    row-gap: 3rem;
    margin-bottom: 2rem;
}

main > div#vermietung {
    display: flex;
    flex-direction: column;
    align-items: center;
}

div#vermietung > div.inner {
    display: flex;
    justify-content: space-evenly;
}

div#vermietung > div.inner > div.box {
    width: 30%;
    text-align: center;
    display: flex;
    flex-direction: column;
    row-gap: 1rem;
}

div#vermietung > div.inner > div.box > div.icon img {
    width: 100%;
    height: auto
}

main > div#standorte {
    display: flex;
    flex-direction: column;
    align-items: center;
    row-gap: 1rem;
    column-gap: 0.2rem;
}

div#standorte h2 {
    text-align: center;
}

div#standorte > div.inner {
    width: 100%;
    display: flex;
    column-gap: 1rem;
}

div#standorte > div.inner > div.standort {
    width: 25%;
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
}

div#standorte > div.inner > div.standort > div.map img {
    width: 100%;
    height: auto;
}

div#standorte > div.inner > div.standort > div.location {
    padding: 10px;
    display: flex;
    flex-direction: column;
    row-gap: 0.5rem;
}

div.standort > div.location > p.street {
    font-weight: bold;
}

div.standort > div.location > p.place {
    font-style: italic;
}

main > div#gallery {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

div#gallery > div#gallery-nav {
    margin-bottom: 1rem;
    display: flex;
    column-gap: 1rem;
}

div#gallery button {
    color: #000;
    background-color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
}

div#gallery button:hover {
    color: #FFF;
    background-color: #000;
}

div#gallery button.active {
    color: #000;
    background-color: yellow;
}

div#gallery > div#slick-inner {
    width: 100%;
    height: 364px;
    overflow: hidden;
}

div#slick-inner .content {
    display: none;
    opacity: 0;
    transition: opacity .4s ease;

}
div#slick-inner .content.active {
    display: block;
    opacity: 1;
    transition: opacity .4s ease;
}

div#gallery > div#slick-inner > div#living-gallery div.image,
div#gallery > div#slick-inner > div#parking-gallery div.image {
    padding: 0 10px;
}

div#gallery > div#slick-inner > div#living-gallery img,
div#gallery > div#slick-inner > div#parking-gallery img {
    width: 100%;
}

main > div#c2a {
    width: 70%;
    background-color: yellow;
    border-radius: 20px;
    padding: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    row-gap: 1rem;

}

div#c2a > h2 {
    text-align: center;
    margin-bottom: 0.1rem;
}

div#c2a > div.inner {
    display: flex;
    column-gap: 1rem;
}

div#c2a > div.inner > a.action {
    width: 48%;
    background-color: #fff;
    padding: 15px 10px;
}

div#c2a > div.inner > a.action:hover {
    background-color: #000;
    color: #fff;
}

main > div#impressum {
    width: 90%;
    background-color: #fff;
    border-radius: 20px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    row-gap: 1rem;
}

div#impressum > h2 {
    text-align: center;
}

div#impressum > div.inner {
    display: flex;
    column-gap: 1rem;
}

div#impressum > div.inner > div#anschrift {
    width: 80%;
    display: flex;
    flex-direction: column;
    row-gap: 0.2rem;
}

div#impressum > div.inner > div#copyright {
    font-size: 0.8rem;
    display: flex;
    flex-direction: column;
    row-gap: 0.5rem;
}

div#impressum > div#disclaimer,
div#impressum > div#cookies {
    font-size: 0.8rem;
}

footer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    row-gap: 1rem;
}

footer p {
    text-align: center;
}

footer > div#mitc > a > img {
    width: 8vw;
    height: auto;
}

/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
    main {
        width: 95vw;
    }
    div#standorte > div.inner {
        flex-wrap: wrap;
        row-gap: 1rem;
    }
    div#standorte > div.inner > div.standort {
        width: 47%;
    }
    main > div#c2a {
        width: 90%;
    }
    div#c2a > div.inner {
        flex-direction: column;
        row-gap: 1rem;
    }
    div#c2a > div.inner > a.action {
        width: inherit;
    }
    div#impressum > div#disclaimer, div#impressum > div#cookies {
        text-align: justify;
    }
    footer > div#mitc > p {
        margin-bottom: 0.5rem;
    }
    footer > div#mitc > a > img {
        width: 30vw;
        height: auto;
    }
}