@media only screen and (max-width: 650px) {
    :root {
        --header-width: 90%;
        --header-max-width: 90%;
        --logo-width: 80%;
        --text-section-width: 80%;
        --line-width: 90%;
        --button-width: 50%;
        --footer-width: 90%;
        --footer-max-width: 90%;
        --menu-item-height: 1.5em;
        --menu-item-padding: 1em;
        --impression-image-width: 100%;
        word-wrap: break-word !important;
    }

    .title {
        font-size: 3vw;
    }

    .image_list {
        display: none !important;
    }

    .header-wrapper {
        display: none;
    }

    .text-section h1 {
        font-size: 6vw;
        text-align: left;
    }

    .text-section h2 {
        text-align: left;
    }

    .text-section h3 {
        text-align: left;
    }

    .text-section h4 {
        text-align: left;
    }

    .text-section-impressum h1 {
        font-size: 6vw;
        text-align: left;
    }

    .text-section-impressum h2 {
        text-align: left;
    }

    .text-section-impressum h3 {
        text-align: left;
    }

    .text-section-impressum h4 {
        text-align: left;
    }

    p {
        font-size: 5vw !important;
    }

    ul {
        font-size: 5vw !important;
    }

    .footer p {
        font-size: 3.5vw !important;
    }

    .header-item-current h3 {
        font-size: 5vw !important;
    }
    .header-item h3 {
        font-size: 5vw !important;
    }

    .body-wrapper {
        max-width: 100% !important;
    }

    .text-section-impressum {
        max-width: 80% !important;
        overflow-wrap: break-word !important;
        text-align: left !important;
    }

    .text-section {
        overflow-wrap: break-word !important;
        text-align: left !important;
    }
}

@media only screen and (min-width: 651px) {
    :root {
        --header-width: 50%;
        --header-max-width: 50%;
        --logo-width: 30%;
        --text-section-width: 60%;
        --line-width: 80%;
        --button-width: 20%;
        --footer-width: 50%;
        --footer-max-width: 50%;
        --menu-item-padding: 0.5em;
        --impression-image-width: 60%;
    }

    .images_mobile {
        display: none !important;
    }

    .header-wrapper {
        display: none;
    }

    .header-wrapper-mobile {
        display: none;
    }

    /* .top-nav {
        display: none !important;
    } */

    .text-section h1 {
        font-size: 6vw;
        text-align: left;
    }

    .text-section h2 {
        text-align: left;
    }

    .text-section h3 {
        text-align: left;
    }

    .text-section h4 {
        text-align: left;
    }

    .text-section-impressum h1 {
        text-align: left;
    }

    .text-section-impressum h2 {
        text-align: left;
    }

    .text-section-impressum h3 {
        text-align: left;
    }

    .text-section-impressum h4 {
        text-align: left;
    }

    p {
        text-align: justify;
    }
}


body {
    font-family: Arial, Helvetica, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    margin: 0;
}

.body-wrapper {
    display: grid;
}

.header-wrapper {
    background-color: white;
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 999;
    height: 60px;
}

/* .header-wrapper-mobile {
    background-color: rgba(227,227,227,255);
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 999;
} */

.header {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    width: var(--header-width);
    max-width: var(--header-max-width);
    margin: auto;
}

/* .header-mobile {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: var(--header-width);
    max-width: var(--header-max-width);
    margin: auto;
} */

h3 {
    margin: auto;
    font-size: x-large;
}

.header-item {
    text-align: center;
    padding: 1em;
    color: rgb(71, 71, 71);
}

.header-item-current {
    text-align: center;
    padding: 1em;
}

.logo-wrapper {
    margin: auto;
    width: var(--logo-width);
}

.top-content-wrapper {
    margin: 0;
    position: relative;
    top: 50%;
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

.logo {
    width: 100%;
}

.title {
    text-align: center;
    color: white;
}

.top-wrapper {
    background-color: #060627;
    height: calc(100vh - 60px);
}

.text-section {
    text-align: justify;
    width: var(--text-section-width);
    margin: auto;
}

.text-section-impressum {
    text-align: justify;
    width: var(--text-section-width);
    margin: auto;
}

.text-section-impressum h2 {
    text-align: left;
    font-size: larger;
}

.text-section-impressum h3 {
    text-align: left;
    font-size: large;
}

.text-section-impressum p {
    text-align: left;
    font-size: medium;
}

p {
    font-size: x-large;
    color: rgb(71, 71, 71);
}

ul {
    font-size: x-large;
    
}

h2 {
    text-align: center;
    font-size: x-large;
    color: #141270;
}

h3 {
    color: #141270;
}

.text-section-impressum h1 {
    color: #141270;
}

.line {
    width: var(--line-width);
    height: 0.1em;
    background-color: rgb(75, 75, 75);
    margin: auto;
}

.vorstand-picture {
    width: 10%;
    border: solid 0.2em rgb(75, 75, 75);
    border-radius: 50%;
    margin-bottom: 1em;
}

.vorstand-picture-wrapper {
    margin: auto;
    text-align: center;
}

.download-button {
    display: inline-block;
    padding: 10px 20px;
    font-size: 16px;
    text-align: center;
    text-decoration: none;
    background-color: #4c66af;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    width: var(--button-width);
    font-size: xx-large;
    margin: auto;
}

.download-button-satzung {
    display: inline-block;
    padding: 10px 20px;
    font-size: 16px !important;
    text-align: center;
    text-decoration: none;
    background-color: #4c66af;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: xx-large;
    margin: auto;
    margin-bottom: 2em;
}

a, a:hover, a:visited, a:active {
    color: inherit;
    text-decoration: none;
}

.contact {
    width: 30%;
    margin: auto;
    display: grid;
    background-color: aliceblue;
    border: 0.2em solid rgb(98, 98, 255);
    border-radius: 10px;
    padding: 1em;
}

.first-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-bottom: 1em;
}

input {
    font-size: larger;
    border-radius: 5px;
    border-style: solid;
    border: 1px, black;
}

.text-field {
    width: 100%;
    resize: none;
    border-radius: 5px;
    font-size: larger;
    border-style: solid;
    border: 1px, black;
}

.send-button {
    width: 30%;
    background-color: #4c4faf;
    padding: 0.2em;
    text-align: center;
    font-size: larger;
    color: white;
    border-radius: 5px;
    border: 0.1em solid ;
    margin-top: 1em;
}

.contact p {
    margin-bottom: 0.1em;
    margin-top: 0.2em;
}

.footer {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    width: var(--footer-width);
    max-width: var(--footer-max-width);
    margin: auto;
    text-align: center;
}

.footer p {
    font-size: medium;
    color: white;
    text-align: center;
}

.footer-wrapper {
    background-color: #060627;
    width: 100%;
    bottom: 0;
    height: 3em;
    margin-top: auto;
}

.mail {
    font-style: italic;
}

.dsgvo {
    font-size: small;
}


.top-nav {
    display: flex;
    position: sticky;
    z-index: 999;
    top: 0;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    background-color: white;
    /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
    padding: 1em;
}

.menu {
display: flex;
flex-direction: row;
list-style-type: none;
margin: 0;
padding: 0;
}

.menu > li {
overflow: hidden;
}

.menu-button-container {
display: none;
height: 100%;
width: 30px;
cursor: pointer;
flex-direction: column;
justify-content: center;
align-items: center;
}

#menu-toggle {
display: none;
}

.menu-button,
.menu-button::before,
.menu-button::after {
display: block;
background-color: #060627;
position: absolute;
height: 4px;
width: 30px;
transition: transform 400ms cubic-bezier(0.23, 1, 0.32, 1);
border-radius: 2px;
}

.menu-button::before {
content: '';
margin-top: -8px;
}

.menu-button::after {
content: '';
margin-top: 8px;
}

#menu-toggle:checked + .menu-button-container .menu-button::before {
margin-top: 0px;
transform: rotate(405deg);
}

#menu-toggle:checked + .menu-button-container .menu-button {
background: rgba(255, 255, 255, 0);
}

#menu-toggle:checked + .menu-button-container .menu-button::after {
margin-top: 0px;
transform: rotate(-405deg);
}
  
.menu-button-container {
    display: flex;
}

.menu {
    position: absolute;
    top: 0;
    margin-top: 60px;
    left: 0;
    flex-direction: column;
    width: 100%;
    justify-content: center;
    align-items: center;
}
#menu-toggle ~ .menu li {
    height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    transition: height 400ms cubic-bezier(0.23, 1, 0.32, 1);
}
#menu-toggle:checked ~ .menu li {
    /* border: 1px solid #181897; */
    height: var(--menu-item-height);
    padding: var(--menu-item-padding);
    padding-right: 6em;
    transition: height 400ms cubic-bezier(0.23, 1, 0.32, 1);
}

.menu > li {
    display: flex;
    justify-content: right;
    margin: 0;
    width: 100%;
    background-color: white;
}

.menu li {
    font-size: 5vw !important;
}

.menu > li:not(:last-child) {
    border-bottom: 1px solid 060627;
}

.menu h3 {
    margin: 0;
    color: #141270;
}

.top-nav img {
    height: 50px;
    margin-top: -10px;
    margin-bottom: -15px;
    margin-left: -5px;
}

.impressionen_image {
    width: var(--impression-image-width);
}

.image_list {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
}
  
.image_list_item {
    height: 40vh;
    flex-grow: 1;
    margin: 0.2em;
}
  
.image_list_img {
    max-height: 100%;
    min-width: 100%;
    object-fit: cover;
    vertical-align: bottom;
    max-width: 100%;
}

.image_list_img:hover {
    transform: scale(1.02);
    transition-duration: 100ms;
}

.image_list_item:last-child {
    flex-grow: 10;
}

.images_mobile {
    display: grid;
    grid-row-gap: 1em;
    margin-bottom: 2em;
}