/* BASIC */
body, html {
    margin: 0;
    padding: 0;
    box-sizing: borderbox;
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    color: #555;
}
h1, h2 {
    text-align: center;
    line-height: 1.4em;
    padding-top: 20px;
    color: #333;
}
h1 {
    font-weight: bold;
    color: #801d16;
}

/* CONTAINER */
.container {
    width: 70vw;
    margin-top: 2em;
}
/* NAV */
.main-nav {
    background-color: #801d16;
    width: 100vw;
    z-index:20;
    position: fixed;
    top: 0;
}
.main-nav a {
    color: #fff;
    line-height: 3em;
    transition: all 0.5s;
}
.main-nav a:hover {
    background-color: #fff;
    color: #801d16;
    transition: all 0.5s;
}
.footer-nav a {
    color: #777;
    font-size: 0.8em;
    line-height: 2em;
}
.footer-nav a:hover {
    color: #000;
}

.index .main-nav {
    position: fixed;
}
.open-menu {
    position: fixed;
    top: 0;
    width: 100%;
    height: 60px;
    display: none;
    align-items: center;
    padding-left: 20px;
    background-color: #801d16;
    color: #fff;
    z-index: 20;
}
.open-menu i {
    margin-right: 10px;
}
.close-menu {
    position: fixed;
    top: 10px;
    right: 10px;
    width: 60px;
    height: 60px;
    display: none;
    align-items: center;
    justify-content: center;
}
.close-menu i {
    font-size: 3rem;
    color: #fff;
}

/* HEADER */
.banner {
    width: 100vw;
    height: 70vh;
}
.ferienhaus-banner {
    background: url("../images/ferienhaus.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.nature-banner {
    background: url("../images/header6.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* HEADING WITH FLAGS */
.heading-container {
    display: flex;
    justify-content: space-between;
    padding-bottom: 30px;
}
.flag {
    padding: 20px;
    width: 200px;
    height: auto;
}


/* CAROUSEL */
.carousel-item {
    height: 100vh;
    min-height: 300px;
    background: no-repeat center center scroll;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
}
.carousel-control-next-icon, .carousel-control-prev-icon {
    width: 50px;
    height: 50px;
}

/* FERIENHAUS */
.ferienhaus {
    margin-top: -35px;
    padding-bottom: 50px;
    background: #eee;
}
.ferienhaus-info h2.quote {
    background: #eee;
    margin-top: -25px;
    padding-bottom: 20px;
}
.ferienhaus-fotos .button-wrapper {
    margin-top: 30px;
}
.ferienhaus-info-card {
    display: flex;
}
.ferienhaus-info-card .left,
.ferienhaus-info-card .right {
    width: 50vw;
    min-height: 450px;
    padding: 50px;
}
.ferienhaus-info-card h2 {
    text-align: left;
    padding: 0;
    line-height: 3rem;
}
.foto {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}
.allgemein-foto {
    background-image: url("../images/allgemeines.jpg");
}
.wohnraum-foto {
    background-image: url("../images/wohnraum.jpg");
}
.kueche-foto {
    background-image: url("../images/kueche.jpg");
}
.schlafraum-foto {
    background-image: url("../images/schlafnische.jpg");
}
.diele-foto {
    background-image: url("../images/flur.jpg");
}
.bad-foto {
    background-image: url("../images/badezimmer.jpg");
}
.terasse-foto {
    background-image: url("../images/DSC_0422.png");
}
.gaeste-foto {
    background-image: url("../images/schlafhuette.jpg");
}
.wandern-foto {
    background-image: url("../images/gallery/23.jpg");
}
.angeln-foto {
    background-image: url("../images/gallery/21.jpg");
}
/* GALLERY */
.gallerie {
    -webkit-column-count: 3;
    column-count: 3;
    margin: 100px 20px 0 20px;
}
.gallerie img {
    width: 100%;
    /* height: 100%; */
    margin-bottom: 15px;
}
.row img {
    margin-bottom: 1em;
}

/* AKTIVITÄTEN */
.activities {
    width: 100%;
    background-color: #eee;
    padding-bottom: 100px;
}
.activities .button-wrapper {
    margin-top: 30px;
}
.activities .row {
    text-align: center;
}
.activities .row div {
    margin-bottom: 2em;
}
.activities .row strong {
    line-height: 2em;
    font-size: 1.2em;
}

/* CONTACT  */
.button-wrapper {
    width: 100%;
    text-align: center;
}
.button {
    background-color: #801d16;
    color: #fff;
    padding: 20px;
    transition: all 0.5s;
}
.button:hover {
    background-color: #eee;
    color: #333;
    text-decoration: none;
    transition: all 0.5s;
}

.impressum {
    padding-top: 10px;
}
.impressum h2 {
    text-align: left;
}

/* MEDIA QUERIES */
@media only screen and (max-width: 1050px) {
    h1, h2 {
        font-size: 30px;
    }
}
@media only screen and (max-width: 800px) {
    .container {
        width: 80vw;
    }
    h1, h2 {
        font-size: 28px;
        line-height: 1.7em;
    }
    h1 {
        text-align: left;
    }
    .carousel, .carousel-inner, .carousel-item {
        height: 80vh;
    }
    .ferienhaus-info-card {
        flex-direction: column;
    }
    .ferienhaus-info-card:nth-child(even) {
        flex-direction: column-reverse;
    }
    .ferienhaus-info-card .left,
    .ferienhaus-info-card .right {
        width: 100vw;
        min-height: auto;
    }
    .ferienhaus-info-card .left.foto,
    .ferienhaus-info-card .right.foto {
        min-height: 400px;
    }
}
@media only screen and (max-width: 600px) {
    .container {
        width: 90vw;
    }
    h1, h2 {
        font-size: 24px;
        line-height: 1.5em;
    }
    .carousel, .carousel-inner, .carousel-item {
        height: 50vh;
    }
    .gallerie {
        -webkit-column-count: 2;
        column-count: 2;
        margin-top: 80px;
    }
    .main-nav {
        display: none;
        flex-direction: column;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
    }
    li.nav-item {
        border-top: 1px solid #fff;
    }
    li.nav-item:last-child {
        border-bottom: 1px solid #fff;
    }
    .main-nav.active {
        display: flex;
    }
    .open-menu, .close-menu {
        display: flex;
    }
}
@media only screen and (max-width: 400px) {
    .gallerie {
        -webkit-column-count: 1;
        column-count: 1;
    }
    .flag {
        display: none;
    }
}
