body {
    width: auto;
    height: auto;
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
    font-size: 2.2vh;
    background-color: rgb(233, 233, 233);
    color: #202020;
}

html {
    scroll-behavior: smooth;
}

@media only screen and (max-width: 600px) {
    p {
        font-size: 14px;
    }
    h1 {
        font-size: 28px;
    }
    h2 {
        font-size: 20px;
    }

    h3 {
        font-size: 16px;
    }

    h4 {
        font-size: 14px;
    }
}


/*           Navigation Sektor / Style           */

div.stickynav {
    width: 100%;
    height: auto;
    position: fixed;
    top: 0;
    background-color: #f1f1f1f9;
    padding: 15px;
    margin: 0px;
    box-shadow: 0 10px 10px -1px #00000041;
    z-index: 1000000;
}

div.stickynav a {
    text-decoration: none;
    margin: 17px;
    padding: 0px;
    text-align: center;
    vertical-align: bottom;
    color: #6b6b6b;
    transition: all 500ms ease-out;
}

/* Change the link color to #111 (black) on hover */

div.stickynav a:hover {
    color: #e0cd1a;
}



/*          Main            */

/*          Section HOME            */

.homecontainer {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    position: relative;
    width: auto;
    height: auto;
    background-color: rgb(205,133,63,0);
}

#videohome {
    object-fit: cover;
    width: 100%;
    height: calc(100% - 100px);
    height: -moz-calc(100% - 100px);
    height: -webkit-calc(100% - 100px);
    overflow: hidden;
}

.homeitem:nth-of-type(2) {
    font-size: 4vh;
    color: #ffffff;
    position: absolute;
    top: 13vh;
}

.homeitem:nth-of-type(2) h1 {
    text-align: center;
    margin: 2vh;
    padding: 0;
    text-shadow: 3px 3px 1px #505050;
}

.homeitem:nth-of-type(2) h2 {
    text-align: center;
    font-size: 3.5vh;
    font-weight: normal;
    margin: 1.5vh;
    padding: 0;
    text-shadow: 3px 3px 3px #505050;
}

@media only screen and (max-width: 1460px) {
    #videohome {
        max-width: 100%;
        height: 100vh;
        width: auto;
    }
    .homecontainer {
        height: auto;
        width: auto;
    }
}

@media only screen and (max-width: 600px) {
    #videohome {
        height: 100vh;
        width: auto;
    }
    .homecontainer {
        height: auto;
        width: auto;
    }
}

/*          Section ÜBER MICH           */

/*      Generelle Flexbox Styles        */

.übermichcontainer {
    display: flex;
    flex-direction: row;
    background-color: #f1f1f1;
    height: 110%;
    width: auto;
    flex-wrap: nowrap;
    align-items: center;
    align-content: center;
    line-height: 1.5;
    margin-top: 45px;
    padding-top: 40px;
    padding-bottom: 40px;
    box-shadow: 0 0 20px 4px #00000040;
}

.übermichitem {
    background-color: #f1f1f1;
    margin: 0px;
}

/*      Flexbox Item 1 (Bild/Portrait)      */

.übermichitem:nth-of-type(1) {
    max-width: 50%;
    height: 100%;
    margin: 0;
    padding: 0;
    background-color: #f1f1f1;
}

#merviportrait {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

/*      Flexbox Item 2 (Text)           */

.übermichitem:nth-of-type(2) {
    max-width: 66%;
    height: auto;
}

.übermichitem:nth-of-type(2) h2 {
    text-align: center;
}

.übermichitem:nth-of-type(2) hr {
    padding: 0;
    margin: 0 auto;
    width: 40%;
}

.übermichitem:nth-of-type(2) h3 {
    text-align: center;
    margin-bottom: 5px;
}

.übermichitem:nth-of-type(2) h4 {
    font-size: 16px;
    margin-top: 5px;
    text-align: center;
}

.übermichitem:nth-of-type(2) p {
    border-top-left-radius: 20px;
    border-top-right-radius: 2px;
    border-bottom-left-radius: 2px;
    border-bottom-right-radius: 20px;
    box-shadow: 0 0 20px 4px #00000040;
    padding: 20px;
    margin: 20px;
    text-align: justify;
    hyphens: auto;
}

.übermichitem:nth-of-type(2) a {
    color: #202020;
}

.übermichitem:nth-of-type(2) a:hover {
    color: #7e7e7e;
}

.more-spacing {
    line-height: 3;
}

@media only screen and (max-width: 1200px) {
    .übermichcontainer {
        flex-direction: column;
    }
    .übermichitem:nth-of-type(2) {
        max-width: 100%;
        height: auto;
        padding: 3%;
        margin: 0;
    }
    .übermichitem:nth-of-type(2) p{
        padding: 2%;
        margin: 0;
    }
    .übermichitem:nth-of-type(1) {
        padding-top: 5%;
    }
}

@media only screen and (max-width: 600px) {
    .übermichitem:nth-of-type(2) {
        height: auto;
        max-width: 100%;
    }
    .übermichitem:nth-of-type(2) p{
        padding: 5%;
        margin: 0;
    }
    .übermichitem:nth-of-type(1) {
        max-width: 70%;
        padding-top: 7%;
    }
}

/* Section Leistungen */

.leistungencontainerouter {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: flex-start;
    justify-content: center;

    width: 100%;
    height: auto;
    margin: 0;
    margin-top: 50px;
    padding: 0px;
    
    box-shadow: 0 0 20px 4px #00000040;
    background-color: #f1f1f1;
}

.leistungencontainerinner1 {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: flex-start;
    justify-content: center;
    width: auto;
    height: auto;
    margin: 20px;
}

.leistungencontainerinner2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 30%;
}

.imgleistungen {
    border-top-left-radius: 20px;
    border-top-right-radius: 2px;
    width: 240px;
    height: auto;
    margin: 0;
    padding: 0;
}

.leistungenitem {
    margin: 10px;

    border-top-left-radius: 20px;
    border-top-right-radius: 2px;
    border-bottom-left-radius: 2px;
    border-bottom-right-radius: 20px;
    box-shadow: 0 0 20px 4px #00000040;
}

.leistungenitem h2 {
    text-align: center;
    font-size: 25px;
    margin: 0;
    padding: 10px;
    padding-top: 5px;
}

.leistungenitem p {
    padding: 20px;
    padding-top: 0px;
    padding-bottom: 0px;
    text-align: justify;
    hyphens: auto;
}



@media only screen and (max-width: 600px) {
    .leistungencontainerouter {
        flex-direction: column;
        align-items: center;
    }
    .leistungencontainerinner1:nth-of-type(1) {
        padding-bottom: 0;
        margin: 0;
    }
    .leistungencontainerinner1:nth-of-type(2) {
        padding-top: 0;
        margin: 0;
    }
    .leistungencontainerinner1 {
        flex-direction: column;
        align-items: center;
    }
    .imgleistungen {
        width: 80vw;
    }
    .leistungenitem p {
        width: 80vw;
    }
    .leistungencontainerinner2 {
        padding-top: 25px;
        padding-bottom: 25px;
    }
    #FirstLeistungen {
        padding-top: 40px;
    }
    #LastLeistungen {
        padding-bottom: 40px;
    }
}

/* Section Kontakt*/

.kontaktcontainerouter {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;

    width: 100%;
    height: auto;
    margin: 0;
    margin-top: 50px;
    margin-bottom: 0px;
    padding: 0px;
    
    box-shadow: 0 0 20px 4px #00000040;
    background-color: #f1f1f1;
}

.kontaktcontainerinner {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    width: auto;
    height: auto;
}

.kontaktitem h2 {
    font-size: 25px;
    padding: 15px;
    margin: 0;
}

.kontaktitem {
    text-align: center;
    margin: 20px;
    margin-top: 60px;
    margin-bottom: 60px;
    padding: 10px;
    width: 20vw;
    font-size: 1vw;

    border-top-left-radius: 20px;
    border-top-right-radius: 2px;
    border-bottom-left-radius: 2px;
    border-bottom-right-radius: 20px;
    box-shadow: 0 0 20px 4px #00000040;
}

.kontaktitem hr {
    padding: 0;
    margin: 0 auto;
    width: 87%;
}

.kartekontakt {
    z-index: 0;
    margin: 20px;
    margin-top: 0;
}

@media only screen and (max-width: 600px) {
    .kartekontakt {
        width: 100vw;
        height: auto;
    }
    .kontaktcontainerinner {
        flex-direction: column;
    }
    .kontaktitem {
        width: 60vw;
        height: auto;
        margin-top:50px;
        margin-bottom: 10px;
    }
    .kontaktitem:nth-of-type(3) {
        margin-bottom: 40px;
    }
}

/* Section Footer */

.footer {
    width: 100%;
    height: auto;
    bottom: 0;
    background-color: #f1f1f1;
    box-shadow: 0 0 20px 4px #00000040;
    display: block;
}

.footer a {
    text-decoration: underline;
    color: #6b6b6b;
    margin-left: 50px;
    margin: 0;
    padding: 0;
}

.footer a:hover {
    color: #1b1b1b;
}

/* Impressum */

.impressumcontainer {
    display: flex;
    align-items: flex-start;
    background-color: #f1f1f1;
    box-shadow: 0 0 20px 4px #00000040;
    margin-top: 120px;
    margin-bottom: 70px;
    padding: 40px;
}

.impressumitem {
    width: 70%;
}
.impressumitem h1 {
    font-size: 3vw;
}

.impressumitem h2 {
    font-size: 2vw;
}

.impressumitem p {
    font-size: 1.0vw;
    padding-left: 40px;
}

