#primaryContainer {
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    padding: 0;
}
#Header {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;
}
#headerImage {
    margin: 20px 0 0 20px;
    width: 100%;
}
#logoContainer img {
    width: 100%;
}
#Navigation {
    display: grid;
    place-content: center;
}
ul.menu_hauptnavigation {
    float: unset;
    line-height: 1em;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}
#wrapper {
    width: 100%;
    margin: 5px 0;
    display: flex;
    flex-direction: row;
}
#mainbox {
    margin-right: 5px;
    padding: 10px;
}
#mainbox.part {
    width: 66%;
}
.full {
    width: 100%!;
}
#MiscContentRight {
    width: 33%;
}
.item a.thumbnail, .item a.thumbnail img {
    width: 100%;
    height: auto;
} 
.items-row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 5px;
}
.cols-1 > div {
    width: 100%;
}
.cols-2  > div {
    width: 49%;
}
.cols-3  > div {
    width: 33%;
}
#mobil_nav {
    display: none;
}
#mobiltoggle {
    display: none;
}
@media (max-width: 600px) {
    p {
        font-size: 1.1rem;
    }
    h2, h2.contentheading {
        font-size: 1.2rem;
    }
    h3 {
        font-size: 1.2rem;
    }
    div.srfrContainer {
        font-size: 1.2rem;
    }
    ul.menu_hauptnavigation {
        gap: 10px;
    }
    #wrapper {
        flex-direction: column;
    }
    #mainbox.part {
        width: 100%;
    }
    #MiscContentRight {
        width: 100%;
      margin-left: 0;
    }
    .items-row {
        flex-direction: column;
    }
    .items-row > div {
        width: 100%;
    }
    #desktop_nav {
        display: none;
    }
    #mobil_nav {
        display: grid;
        place-items: center;
        /* margin: 25px */
    }
    #mobil_nav ul {
        flex-direction: column;
        justify-items: center;
        text-align: center;
        margin-bottom: 50px;
        gap: 25px;
        transform: scaleY(0);
        transition: scaleY 250ms;
    }
  #mobil_nav .nav-child {
    transform: unset;
    margin: 0.1rem 0;
    box-shadow: none;
    list-style: none;
    position: relative;
    top: 0;
    left:0;
  }
    #Navigation {
        overflow: hidden;
        padding: 10px;
    }
    
    #mobiltoggle {
        display: none;
    }
    #mobilbutton {
        position: absolute;
        height: 30px;
        width: 40px;
        top: 8px;
        left: 10px;
        color: white;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        z-index: 10;
        padding: 3px;
    }
    #mobilbutton label {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        z-index: 10;
        height: 100%;
    }
    #mobilbutton .balken {
        height: 20%;
        width: 100%;
        background-color: #ffffff;
    }
    #mobiltoggle:checked ~ #Navigation #mobil_nav ul {
        transform: scaleY(1);
        transition: scaleY 250ms;
    }
    #mobil_nav ul {
        margin: 1em 0;
    }
    #mobil_nav ul ul {
        margin: 0.5em 0 0 0;
    }
    #mobiltoggle:checked ~ #Navigation {
        height: min-content;
        overflow: visible;
    }
}
