/*Header und Menü*/
header {
    padding: .5rem 3rem .5rem 0rem;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.logo-img {
    width: 200px;
}

#menu {
    z-index: 1000;
    position: relative;
}

.menu-bar ul li {
    display: inline;
    list-style: none;
    padding-left: 1.9rem;
    font-family: 'Open Sans Condensed';
    font-weight: bold;
}

.menu-bar ul li a {
    color: black;
    text-decoration: none;
    font-size: 1.2rem;
    letter-spacing: 0.05em;
}

.menu-bar ul li a:hover {
    color: #cf5157;
}

.instagram-logo {
    width: 15px;
}

/*Footer*/

footer {
    padding: 1rem 3rem;
    display: flex;
    flex-direction: column;
    font-family: 'Open Sans Condensed';
}

.footer-bar {
    display: inline;
    list-style: none;
    padding-left: 4.7rem;
    text-decoration: none;
    font-size: 1.2rem;
    text-align: right;
}

.footer-bar a {
    color: black;
    text-decoration: none;
}

.footer-bar a:hover {
    color: #cf5157;
}

/*Startseite*/

.homepage-gallery {
    display: flex;
    flex-wrap: wrap;
}

.home-img {
    width: 31vw;
    height: 21vw;
    min-width: 150px;
    min-height: 100px;
    max-width: 45vw;
    max-height: 30vw;
    margin: 0.95vw;
}

.home-img:hover {
    opacity: 0.8;
}

.container {
    position: relative;
    text-align: center;
    color: white;
}

.centered {
    position: absolute;
    top: 17px;
    left: 27px;
    font-family: 'Open Sans Condensed';
    font-size: 1.5rem;
    letter-spacing: 0.1em;
    color: white;
    font-weight: bold;
}

/*Allgm. Einstellungen*/

.page {
    padding: 1rem 20rem 2rem 20rem;
    margin-left: auto;
    margin-right: auto;
    max-width: 1800px;
}

h1 {
    font-family: 'Open Sans Condensed', sans-serif;
    text-align: center;
}

h2 {
    font-family: 'Open Sans Condensed', sans-serif;
    text-align: center;
}

h3 {
    font-family: 'Open Sans Condensed', sans-serif;
}

p {
    font-family: 'Open Sans Condensed', sans-serif;
    font-size: calc(13px + 0.7vw);
    text-align: justify;
    hyphens: auto;
}

/*Galerie*/
.pictures {
    max-width: 100%;
    height: auto;
    padding: 0.6rem 0.5rem 0rem 0rem;
}

.gallery {
     padding: 1rem 15rem 2rem 15rem;
     margin-left: auto;
     margin-right: auto;
     max-width: 1800px;
 }

.hochkant {
    display: flex;
    justify-content: space-between;
    max-width: 100%;
    height: auto;
}

.pictures2 {
    width: 49.1%;
    height: 100%;
    padding: .5rem 0rem 0.3rem 0rem;
}

/*About*/

.pic {
    width: 500px;
}

.bildblock {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 4rem 0rem;
}

.instblock {
    text-align: center;
}

.instlogo {
    width: 4vw;
}

.instlogo:hover {
    opacity: 0.8;
}

.row {
    display: inline-block;
}

.style {
    width: 170px;
    margin: 2rem .25rem 0rem .25rem;
}

.style:hover {
    opacity: 0.8;
}

/*Kontakt*/

.nameEmail {
    width: 30vw;
    height: 2vw;
    padding: 5px 0px 5px 5px;
    background-color: #F7F6F5;
    border: 1px solid #000000;
    border-radius: 8px;
}

#nachricht {
    width: 30vw;
    height: 10vw;
    background-color: #F7F6F5;
    border: 1px solid #000000;
    border-radius: 8px;
    vertical-align: top;
}

label{
    width: 40vw;
    font-family: 'Open Sans Condensed', sans-serif;
    font-size: 20px;
}

.kontakt {
    padding: 1rem 20rem 2rem 20rem;
}

#senden {
    border-radius: 8px;
    width: calc(25px + 9vw);
    padding: 5px 0px;
    font-family: 'Open Sans Condensed', sans-serif;
    background-color: #F7F6F5;
    border: 1px solid #000000;
    font-size: 20px;
    margin: -50px 0px 0px 65px;
}

@media only screen and (max-width: 1222px) and (min-width: 771px) {
    /*Allgemeine Einstellungen*/
    .page {
        padding: 1rem 10rem 2rem 10rem;
    }
    /*Homepage*/
    .home-img {
        width: 55vw;
        height: 31vw;
    }
    /*Contact*/
    #nameEmail {
        width: 30vw;
        height: 3vw;
    }

    #nachricht {
        width: 30vw;
        height: 15vw;
    }
    /*About*/
    .pic {
        width: 350px;
    }

    .style {
        width: 110px;
    }

    .instlogo {
        width: 6vw;
    }

    /*Galerie*/
    .gallery {
        padding: 1rem 10rem 2rem 10rem;
    }

}

@media screen and (max-width: 770px) {
    /*Allgemeine Einstellungen*/
    .page {
        padding: 7rem 1rem 2rem 1rem;
    }

    /*Header und Menü*/
    header {
        padding: 0.5rem 0.8rem 0.5rem 0.8rem;
        width: 100%;
        position: fixed;
        background-color: white;
        z-index: 200;
        margin-top: -0.8rem;
    }

    .menu-bar {
        width: 45px;
        height: 40px;
        padding: 25px 20px 0 0;
        cursor: pointer;
        position: fixed;
        z-index: 200;
        right: 10px;
    }

    .menu-bar ul {
        padding-left: unset;
        margin: unset;
    }

    .menu-bar ul li {
        /*display: none;*/
        display: block;
        text-align: center;
        margin-top: 2rem;
        margin-bottom: 2rem;
        padding-left: unset;
    }

    .menu-bar ul li a {
        font-size: 18px;
        text-transform: uppercase;
        letter-spacing: 0.25em;
        line-height: 1.7;
    }

    .active {
        display: flex !important;
    }

    .menu-bar ul {
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 50;
        background-color: white;
        display: none;
        flex-direction: column;
        justify-content: center;
    }


    .bar {
        height: 3px;
        width: 100%;
        background-color: #cf5157;
        display: block;
        border-radius: 4px;
        transition: 0.2s ease;
    }

    .change .bar {
        background-color: grey;
    }

    #bar1 {
        transform: translateY(-8px);
    }

    #bar2 {
        transform: translateY(3px);
    }

    #bar3 {
        transform: translateY(13px);
    }

    .change #bar1{
        transform: translateY(1px) rotateZ(-45deg);
    }

    .change #bar2{
        transform: translateY(-2px) rotateZ(45deg);
    }

    .change #bar3{
        opacity: 0;
    }

    /*Homepage*/
    .homepage-gallery {
        display: flex;
        flex-direction: column;
        padding-top: 6rem;
    }

    .home-img {
        width: 100%;
        height: auto;
        max-height: none;
        max-width: none;
        margin: 6px 0px;
    }
    /*Kontakt*/
    .kontakt {
        padding: 1rem 0rem 2rem 0rem;
    }

    .nameEmail {
        width: 50vw;
        height: 5vw;
    }

    #nachricht {
        width: 50vw;
        height: 30vw;
    }
    /*About*/
    .pic {
        width: 250px;
    }

    .style {
        width: 60px;
    }

    .bildblock {
        padding: 2rem 0rem;
    }

    .instlogo {
        width: 8vw;
    }

    .style {
        width: 80px;
    }
    /*Galerie*/
    .gallery {
        padding: 4rem .1rem 2rem .1rem;
    }
}
