body{
    background-color: rgb(234, 237, 239);
    margin: 0px;
}
/*The whole menu-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------*/
menu{
    background-color:rgb(234, 237, 239) ;
    display: flex;
    justify-content: space-between;
    margin:0px;
    padding:10px;
    z-index: 1000;
}
.titlediv{
    align-items: center;
}
h1{
    margin:0px;
    font-size: 40px;
    font-family: "DM Serif Text", serif;
    font-weight: 400;
    font-style: normal;
    flex-shrink: 5;
    color: rgb(3,145,2);
}
.untertitle{
    font-family: "DM Serif Text", serif;
}

.menubutton{
    font-family: "DM Serif Text", serif;
    font-size: 30px;
    border:none;
    background-color: rgb(234, 237, 239) ;
    margin-top: 5px;
    padding:10px;
    transition: transform 0.15s ease;
    
}
.menubutton:hover{
    cursor: pointer;
    transform: scale(1.08);
}
.englishbutton{
    font-family: "DM Serif Text", serif;
    font-size: 30px;
    border:none;
    background-color: rgb(234, 237, 239) ;
    margin-top: 5px;
    padding:10px;
    color:rgb(3,145,2);
    transition: transform 0.15s ease;
    
}
.englishbutton:hover{
    cursor: pointer;
    text-decoration: underline;
    transform: scale(1.08);
}
.homebutton{
    text-decoration: underline;
    font-family: "DM Serif Text", serif;
    font-size: 30px;
    border:none;
    background-color: rgb(234, 237, 239) ;
    margin-top: 5px;
    padding:10px;
    transition: transform 0.15s ease;
}
.homebutton:hover{
    cursor: pointer;
    
    transform: scale(1.08);
}
.untertitle{
    font-size: 20px;
    margin-top:5px;
    margin-bottom: 0px;
}
.burgermenuicon{
    width: 70px;
}
burgermenu{
    display: none;
}
.menuicon{
    width: 35px;
    margin-top: 15px;
    margin-right: 10px;
    transition: transform 0.15s ease;
}
.menuicon:hover{
    transform: scale(1.08);
}
.menubuttons{
    display: flex;
    align-items: center;
}
.menuiconburger{
    height: 35px;
    width: 35px;
    transition: transform 0.15s ease;
    margin-top: 19px;
}

/*All of twidth: 400px;
    border-radius: 5px;he image stuff------------------------------------------------------------------------------------------------------------------*/
img{
    width: 400px;
    border-radius: 15px;
    cursor: pointer;
    transition:0.15s;
    
}
img:hover{
    opacity: 0.7;
}

.bilderbackground{
    border-radius: 5px;
    margin-top: 30px;
    background-color: rgb(213, 215, 217);
}
.bilder{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.medienimage{
    margin: 20px;
}   

/*Some other stuff----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------*/
hr{
    margin: 0;
    height: 3px; 
    background-color: black;
    border: none;
    
    
}
.vl {
    margin-top:60px;
    margin-right:20px;
    border-left: 5px solid rgb(3,145,2);
    height: auto;
    align-self: stretch;
}
.youtubevideo{
    margin-top: 30px;
    display: flex;
    justify-content: center;
    
}
.spacer{
    border:15px, solid rgb(213, 215, 217);
    border-radius: 5px;
}
@media(max-width:951px){
    .menubuttons{
        display: none;
    }
    burgermenu{
        display: block;
    }
   
}
@media(max-width:430px){
    h1{
        font-size: 30px;
    }
}

/*Der Abspann----------------------------------------------------------------------------------------------------------------------*/
.abspann{
    display: flex;
    justify-content:space-around;
    align-self: flex-end;
    margin-top: auto;
    width: 100%;
}
.abspannbutton{
    font-family: "DM Serif Text", serif;
    font-size: 15px;
    margin-bottom: 30px;
    margin-top: 30px;
    border:none;
    text-decoration: underline;
}
.abspannbutton:hover{
    cursor: pointer;
    text-decoration: underline;
  background-color: inherit;
}
.copyright{
    margin-top: auto;
    margin-bottom: auto;
    text-align: center;
}

/*The image viewer-----------------------------------------------------------------------------------------------*/

#image-viewer {
    display: none;
    position: fixed;
    z-index: 1;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.9);
    transition: none;
}
.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    animation: none;
}
.modal-content { 
    animation-name: zoom;
    animation-duration: 0.6s;
}
@keyframes zoom {
    from {transform:scale(0)} 
    to {transform:scale(1)}
}
#image-viewer .close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: none;
}
#image-viewer .close:hover,
#image-viewer .close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
    transition: none;
}
@media only screen and (max-width: 700px){
    .modal-content {
        width: 100%;
    }
}
.downloaddiv{
    width: 100%;
    display: flex;
    justify-content: center;
}
.download{
    height: 80px;
    width: 80px;
    margin-top: 10px;
}
/*The burger menu----------------------------------------------------------------------------------------------------------*/
#menu__toggle:checked ~ .menu__btn {
    position: fixed;
    top: 30px;
    right: 30px;
}
#menu__toggle {
    opacity: 0;
  }
  
  #menu__toggle:checked ~ .menu__btn > span {
    transform: rotate(45deg);
  }
  #menu__toggle:checked ~ .menu__btn > span::before {
    top: 0;
    transform: rotate(0);
  }
  #menu__toggle:checked ~ .menu__btn > span::after {
    top: 0;
    transform: rotate(90deg);
  }
  #menu__toggle:checked ~ .menu__box {
    visibility: visible;
    right: 0;
    left: auto;
  }
  
  .menu__btn {
    display: flex;
    align-items: center;
    top: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    cursor: pointer;
    z-index: 2;
    position: absolute;
  }
  
  .menu__btn > span,
  .menu__btn > span::before,
  .menu__btn > span::after {
    display: block;
    position: absolute;
  
    width: 100%;
    height: 3px;
  
    background-color: black;
  
    transition-duration: .25s;
  }
  .menu__btn > span::before {
    content: '';
    top: -10px;
  }
  .menu__btn > span::after {
    content: '';
    top: 10px;
  }
  
  .menu__box {
    left: auto; /* Ensure left is not applied */
    right: -100%; /* Position the menu box off the screen to the right */
    
    display: block;
    position: fixed;
    visibility: hidden;
    top: 0;
    
    width: 100%;
    height: 100%;
  
    margin: 0;
    
  
    list-style: none;
  
    background-color: rgb(213, 215, 217);
    box-shadow: 1px 0px 6px rgba(0, 0, 0, .2);
  
    transition-duration: .15s;

    z-index: 1;
  }
  
  .menu__item {
    font-family: "DM Serif Text", serif;
    font-size: 30px;
    border:none;
    background-color: rgb(234, 237, 239) ;
    margin-top: 5px;
    padding:10px;
    background: transparent;
    color:black;
    text-decoration: none;
    text-align: center; 
    width: 100%;
    display: block;
  }
  .menu__item:hover {
    cursor: pointer;
    
  }
  .menu__itemdiv{
    display: flex;
    flex-direction: column;
    justify-content: center; 
    align-items: center; 
    height: 100%;
  }
  .menu__item__home{
    font-family: "DM Serif Text", serif;
    font-size: 30px;
    border:none;
    background-color: rgb(234, 237, 239) ;
    margin-top: 5px;
    padding:10px;
    background: transparent;
    color:black;
    text-decoration: none;
    text-align: center;
    width: 100%;
    text-decoration: underline;
  }
  
.hamburger-menu{
    display: none;
}
.menu__item__englisch{
    font-family: "DM Serif Text", serif;
    font-size: 30px;
    border:none;
    background-color: rgb(234, 237, 239) ;
    margin-top: 5px;
    padding:10px;
    background: transparent;
    color:rgb(3,145,2);
    text-decoration: none;
    text-align: center;
    width: 100%;
    
  }

  .hide {
    display: none !important;
}




@media(max-width:980px){
    .menubuttons {
        display: none;
    }

    burgermenu {
        display: block;
    }

    .mitglidertexthome {
        display: none;
    }

    .burgermenuicon {
        display: block;
    }
    .hamburger-menu{
        display: block;
    }
    .menu__btn{
        position: block;
        top:30px;
        right: 30px;
    }
}