:root {
    background-color: rgb(230, 209, 179);
    font-size: 1vw;
    /* display: flex;
    justify-content: center; */

}

body {
    /* display: grid;
    grid-template-columns: 100%;
    grid-template-rows: auto;
    grid-template-areas: 
    "header"
    "layout"
    "footer"; */
    margin: 0;
    padding: 0;


}

.showOnSmall {
    display: none;
}

.hideOnSmall {
    display: unset;
}

.banner {

    width: 100%;

    position: fixed;
    top: 0;
    height: 8rem;

    background-color: rgba(112, 73, 0, 0.753);

    display: flex;
    justify-content: center;

}

.logo {
    display: flex;
    justify-content: center;
    align-content: center;
}

.logo img {

    height: 5rem;
    object-fit: contain;


}

.logo2 img {

    height: 4rem;
    object-fit: contain;

    visibility: hidden;

}

.headline {
    min-width: 960px;
    width: 80%;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

.titles {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.pretitle {
    font-size: 1.5rem;
}

.title {
    font-size: 2rem;
    margin: 0rem;
}

.subheader {
    font-size: 1.5rem;
    margin: 0rem;
    font-weight: unset;
}

.hline {
    width: 90%;
    height: 2px;
    background-color: black;
    margin-top: 2px;
    margin-bottom: 2px;
}

.w60 {
    width: 60%;
}

.nav {
    position: fixed;
    left: 0;
    top: 0;

    height: 100%;
    width: 12rem;

    background-color: rgba(112, 73, 0, 0.753);

    display: flex;
    flex-direction: column;
    justify-content: center;
}

.nav-buttom {
    display: none;
}

.nav-item {
    text-decoration: none;
    color: black;

    border-bottom: 2px solid black;

    padding-left: 1.5rem;
    text-align: start;
    padding-top: 1rem;
    padding-bottom: 1rem;

}

.nav-item:last-child {

    border-bottom: none;
}

.visit {
    color: white;
}

.nav-item:hover {
    color: white;
}

#top {
    position: absolute;
    top: 2rem;
}

.goto {
    position: relative;
    top: -25vh;
}

.layout {
    min-width: 960px;
    width: 100%;
    min-height: 90vh;

    margin-top: 10rem;
    /* margin-left: 10em;  */

    display: flex;
    flex-direction: column;
    justify-content: space-between;
    ;
    align-items: center;


}

.maincontent {
    width: 80%;
    max-width: 960px;
    max-width: 72%;

    color: black;

    padding: 2rem;
}

.maincontent h2,
h3,
h4 {
    color: #008080ff;
}

.text {
    font-size: 1rem;
}

/* .urlaub {
    white-space: break-spaces;
} */

.subtitle {
    margin-top: 1rem;
    margin-bottom: 1rem;

}

ul {
    list-style-type: square;
}

li {
    margin: 0.5rem;
}

.fontsizePlus {
    font-size: 1.2rem;
}

.bold {
    font-weight: bold;
}

.totop {
    max-width: 960px;
}

.totop img {
    height: 0.5rem;
}

a {
    text-decoration: none;
    color: black;
}

a:hover {
    color: #008080ff;
}

a.extern {
    text-decoration: underline dotted black 2px;
}

a.extern:hover {
    text-decoration: underline dotted #008080ff 2px;
}

.link {
    text-decoration: none;
    color: black;
}

.link:hover {
    color: white;
}

abbr {
    text-decoration: none;
}

.footer {

    width: 100%;
    bottom: 0;
    margin-top: 2rem;
    min-height: 8rem;

    background-color: rgba(112, 73, 0, 0.753);

    display: flex;
    justify-content: center;

    font-size: 1rem;
}

.footer-content {
    width: 80%;
    max-width: 960px;
    margin-bottom: 2rem;

    display: flex;
    justify-content: space-around;
}

.footer-content h3 {
    color: black;
}

.footer-content p,
a {
    margin: 0;
}


/* ##################################################################################################### */
/* ##################################################################################################### */
/* ##################################################################################################### */
/* ############################ Small size devices ######################################################*/
/* ##################################################################################################### */
/* ##################################################################################################### */
@media (max-width: 1300px) {
    :root {
        font-size: 1.5vw;
    }

    .headline {
        min-width: unset;
        max-width: 70%;
        padding-left: 12rem;

    }

    /* checkbox funktion für menu, nicht im bild*/
    .nav-check {
        position: absolute !important;
        top: -9999px !important;
        left: -9999px !important;
    }

    .nav {
        justify-content: flex-start;
        padding-top: 8rem;
    }


    .maincontent {
        min-width: unset;
        max-width: 60%;
        padding-left: 12rem;

    }

}

/* ##################################################################################################### */
/* ##################################################################################################### */
/* ##################################################################################################### */
/* ############################ Small size devices ######################################################*/
/* ##################################################################################################### */
/* ##################################################################################################### */
@media (max-width: 940px) {
    :root {
        font-size: 4vw;
    }

    body {
        width: 100%;
    }

    .showOnSmall {
        display: unset;
    }

    .hideOnSmall {
        display: none;
    }

    .header {
        position: unset;
        z-index: 40;
        width: 100%;
    }

    .banner {
        position: absolute;
        width: 100%;
        background-color: rgba(141, 107, 44, 1);
    }

    .headline {
        max-width: 100%;
        min-width: unset;
        width: 100%;
        padding: unset;
    }

    .titles {
        white-space: nowrap;
    }

    .pretitle {
        font-size: 0.8rem;
    }

    .title {
        font-size: 1.75rem;
    }

    .subheader {
        font-size: 0.8rem;
    }

    .logo img {
        visibility: hidden;
        height: 3rem;
    }

    .logo2 img {
        visibility: visible;
    }

    .nav {
        /* display: flex; */
        width: 100%;
        position: fixed;
        top: 8rem;
        padding: unset;

        background-color: rgba(141, 107, 44, 1);

        height: unset;
        max-height: calc(100vh - 8rem);
        font-size: 1.5rem;
        overflow: auto;

        transform: scale(1, 0);
        transform-origin: top;
        transition: transform 300ms ease 00ms;
    }

    .nav-item {
        padding-left: 1.5rem;
        text-align: start;
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;

    }

    .nav-item:first-child {
        border-top: 2px solid black;
        ;
    }

    /* Button */
    .nav-button-label {
        position: fixed;
        top: 3rem;
        left: 1rem;
        z-index: 50;
        margin-right: 1rem;

        padding: 3px;

        display: flex;
        align-items: center;
        width: 2.4rem;
        height: 2rem;

        background-color: rgba(141, 107, 44, 1);
        background-position-x: -2rem;

        border-radius: 10%;

        transition: transform 500ms ease;

    }

    .nav-button-label span {
        left: 0.2rem;
    }

    .nav-button-label span,
    .nav-button-label span::before,
    .nav-button-label span::after {
        display: block;
        background: black;
        height: 0.2rem;
        width: 2rem;
        position: relative;

    }

    .nav-button-label span::before,
    .nav-button-label span::after {
        content: '';
        position: absolute;
    }

    .nav-button-label span::before {
        bottom: 0.5rem;
    }

    .nav-button-label span::after {
        top: 0.5rem;
    }

    .nav-check:checked~.nav {
        /* display: flex; */
        transform: scale(1, 1);


    }

    .nav-check:checked~.header {
        position: fixed;
        top: 0;
    }

    .nav-check:checked~.nav-button-label {
        /* animation: ease-in 500ms forwards; */

        transform: rotate(90deg);
    }


    .layout {
        min-width: unset;
        width: unset;
    }

    .maincontent {
        min-width: unset;
        padding: unset;
        max-width: unset;

    }

    .text {
        text-overflow: ellipsis;
    }

    .footer-content {
        flex-direction: column;
        justify-content: start;
    }
}