* {
    font-family: sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #FEFBF4;
}

#CountDown {
	font-size: 18px;
	font-weight: bold;
	text-align: center;
	width: 90%;
}

#slider {
	overflow: hidden;
}
#slider figure {
	position: relative;
	width: 500%;
	margin: 0;
	left: 0;
	animation: 20s slider infinite;
}
#slider figure img {
	width: 20%;
	float: left;
}

@keyframes slider {
	0% {		left: 0;	}
	20% {		left: 0;	}
	25% {		left: -100%;	}
	45% {		left: -100%;	}
	50% {		left: -200%;	}
	70% {		left: -200%;	}
	75% {		left: -300%;	}
	95% {		left: -300%;	}
	100% {		left: -400%;	}
}

.header {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #59877a;
    padding: 0.25px;
    transition: 0.3s;
	height: 50px;
}

.logo {
    margin: 10px;
    height: 25px;
}

.top-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  background-color: #59877a;
  /* background: linear-gradient(to left, #005711, #008011); */
  /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
  color: white; /* Schriftfarbe */
  height: 50px;
  padding: 1em;
}


.menu {
  display: flex;
  flex-direction: row;
  list-style-type: none;
  margin: 0;
  padding: 0;
  width:90%;
}

/* folgender Eintrag sorgt dafür, dass das Menu verschwindet, wenn Toggle-menu unchecked */
.menu > li {
  margin: 0 1rem;
  overflow: hidden;
}

.menu li {
    list-style-type: none;
}
.menu li a {
    color: white;
    text-decoration: none;
    display: block;
    padding: 2px 2px; /* Abstand der Menupunkte */
    font-size: 14px; /* Textgröße der Menupunkte */
	font-weight: bold;
    line-height: 1;
    transition: 0.3s;
}

.menu li a:hover {
	color: black;
	text-decoration: underline;
}

.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: #fff;
  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);
}


@media (max-width: 992px) {
  .menu-button-container {
    display: flex;
  }
  
  /* #checkbox:checked ~ ul {display:block;} */
  
  .menu {
    position: absolute;
    top: 0;
    margin-top: 18em;
    right: 0;
    flex-direction: column;
    width: 50%;
    justify-content: center;
    align-items: center;
	background: #59877a;
  }
  
  #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 #333; /* Rahmen um die Menupunkte */
    height: 2em;
    padding: 0.5em;
    transition: height 400ms cubic-bezier(0.23, 1, 0.32, 1);
  }
  
    .menu li {
        width: 100%;
    }
	
    .menu li a {
        padding-top: 0px;
		padding-left: 0px;
        font-size: 16px; /* Textgröße des Hamburger Menus */
        box-shadow: :0 1px 0 grey inset;
    }

}

.vorstand {
	width: 100%;
	max-width: 95%;
	margin: 16px auto;
	padding: 5px;
	font-size:1.5vw;
}

.blocks {
	display: flex;
	flex-direction: row;
	flex-flow: row wrap;
	margin: 5px 0;
}

.block {
	flex: 1;
	margin: 5px;
	text-align: center;
	font-size:1.2vw;
	display: inline-block;
}

.block .bild {
	max-width:100%;
	height:auto;
	background-position: center;
	background-size: cover;
	border-radius: 5%;
}

.content {
    background-image: url(images/hintergrundlogo.png);
	width:95%; /* genutzte Fläche für den Content*/
	margin-left: 2%;  /* Abstand vom linken Rand */
	margin-top:10px; /* Abstand zwischen Menu und Content */
    font-size: 18px;
}

.footer {
	position: fixed;
	left: 0;
	bottom: 0;
	width: 100%;
	text-align: center;
	height: 50px;
	background-color: #59877a;
	padding-top: 10px;
}