:root {
    /* Allgemein */
    --primary_accent_color: #a4a4a4;
    --text_color: #2f0d0d;
    --background_color: #a4a4a4;

    --footer_color: #E0E0E0;
    --footer_background_color: #8e7c77;

    /* Navigation */
    --nav_background_color: #333333;
    --nav_hover_color: #555555;
    --nav_text_color: #ffffff;

    /* Groessen */
    --navigation_height: 82px;
}

* {
    margin: 0;
    padding: 0;
}

html,
body {
    height: 100vh;
    background-color: var(--background_color);

    display: flex;
    flex-direction: column;
}

/* #region: Navigation */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;

    color: var(--nav_text_color);

    height: var(--navigation_height);
    flex-shrink: 0;

    background-color: var(--nav_background_color);

    transition: 0.5s;
    overflow: hidden;
    z-index: 1;
}

#brand-title {
    font-size: 1.5rem;
    margin: .5rem;
}

nav ul {
    display: flex;
    flex-direction: row;
}

nav li {
    list-style: none;
}

nav li a {
    display: block;
    text-decoration: none;
    color: white;
    padding: 2rem;
}

nav li:hover,
nav #active {
    background-color: var(--nav_hover_color);
}

#burger {
    display: none;
    position: absolute;
    top: 5px;
    right: 15px;

    cursor: pointer;

}

#burger div {
    width: 25px;
    height: 4px;

    margin: 4px 0;
    border-radius: 25%;

    transition: 0.5s;

    background-color: var(--nav_text_color);

    z-index: 1;
}

/* Rotate first bar */
.change #bar1 {
    transform: rotate(-45deg) translate(-6px, 5px);
}

/* Fade out the second bar */
.change #bar2 {
    opacity: 0;
}

/* Rotate last bar */
.change #bar3 {
    transform: rotate(45deg) translate(-6px, -6px);
}

/* #endregion: Navigation */

main {
    align-self: center;

    font-size: 30px;
    color: var(--text_color);

    padding: 30px;
    margin: 5vh 0 5vh;
    width: 75vw;

    box-sizing: border-box;
    box-shadow: 10px;
    box-shadow: 0 15px 50px rgba(0, 0, .2);

    background-color: var(--primary_accent_color);
}

/* #region: Index */
#index article {
    align-self: center;

    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;

    margin: 5vh 0 30vh;
}

#index article img {
    width: 40vw;
    border-radius: 50%;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;

    margin-left: 120px;
    /* Text ausgleichen */

    z-index: 1;
}

#index article p {
    position: relative;
    left: -20vw;
    font-size: 40px;

    width: 120px;

    transition: all 1s;
}

#index article:hover p {
    left: 5vw;
    transition: all 1s;
}

/* #endregion: Index */

/* #region: Ueber Uns & Unser Honig */
#ueberUns header,
#unserHonig header {
    align-self: center;

    display: flex;
    justify-content: center;

    margin-top: 5vh;
}

#ueberUns header img,
#unserHonig header img {
    max-width: 30vw;
}

#unserHonig main h2 {
    font-size: 40px;
    text-decoration: underline;

    margin-bottom: 20px;
}

#unserHonig main p {
    font-style: italic;
    line-height: 75px;
}

/* #endregion: Ueber Uns & Unser Honig */

/* #region: Impressum */
#impressum main {
    align-items: center;
    text-align: center;
    font-size: 20px;
}

/* #endregion: Impressum */

/* #region: Footer*/
footer {
    box-sizing: border-box;
    background: var(--footer_color);

    align-items: center;
    left: 0px;


    box-sizing: border-box;
    box-shadow: 10px;
    box-shadow: 0 15px 50px rgba(0, 0, .2);
    background-color: var(--background_color);

    padding: 15px 0;

    background-color: var(--footer_background_color);
}

footer h2 {
    text-align: center;
    font-size: 40px;

    padding-bottom: 10px;
    color: var(--text_color);
}

footer p {
    text-align: center;
    font-style: italic;
    font-size: 20px;
    line-height: 40px;
    color: var(--footer_text_color);
}

/* #endregion: Footer*/


@media screen and (max-width: 900px) {
    :root {
        --navigation_height: 44px;
    }

    body {
        overflow-x: hidden;
    }

    /* #region: Naviagtion */
    nav {
        flex-direction: column;
        align-items: flex-start;
        height: var(--navigation_height);
    }

    nav ul {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
    }

    nav ul li {
        text-align: center;
        height: 38px;
        width: 100vw;
    }

    nav ul li a {
        margin: 0;
        padding: 10px 0;
    }

    #burger {
        display: inline-block;
    }

    /* #endregion: Naviagtion */

    main {
        width: 90vw;
    }

    main p {
        font-size: 25px;
    }

    /* #region: Index */
    #index article {
        flex-direction: column;

        width: 90vw;
    }

    #index article img {
        width: 70vw;
        margin: 0;
    }

    #index article p {
        position: initial;
        text-align: center;

        margin-top: 10px;
        width: 80vw;
    }

    /* #endregion: Index */

    /* #region: Ueber Uns & Unser Honig */
    

    /* #endregion: Ueber Uns & Unser Honig */

    footer h2 {
        font-size: 30px;
    }
}