body {
	display: grid;
	font-family: Verdana, Geneva, sans-serif;
	font-size: 16px;
	line-height: 1.4;
	color: #505050;
}
a, a:visited {
	color: #0A0A0A;
	text-decoration: underline;
}
a:hover {
	color: #969696;
}
h1 {
	font-size: 18px;
	padding-top: 5px;
}
h2 {
	font-size: 16px;
	padding-top: 5px;
}
h3 {
	font-size: 16px;
	padding-top: 5px;
}
header {
	height: auto;	
}

header img {
  	height: auto;
	width: 100%;
  	max-width: 350px;
}

header2 {
	width: 100%;
}
footer {
	margin-bottom: 40px;
	margin-top: 60px;
	padding-right: 10px;
	padding-left: 10px;
	word-spacing: 0.5em;
	background-color: #F0F0F0;
	line-height: 2.5em;
}
/* aus test usw*/
teaser {
	padding: 0;
	margin: 0;
}
teaserli {
	float: left;
	display: block;
	width: 336px;
	background-color: #FFFFFF;
	margin-top: 10px;
}
teaserre {
	float: left;
	display: block;
	width: 336px;
	background-color: #FFFFFF;
}
#zeile {
	clear: both;
	float: left;
	margin-left: 0;
	width: 100%;
	display: block;
	padding-top: 10px;
	margin-bottom: -10px;
}
.cabutton {
	font-family: inherit;
	background-color: #F0F0F0;
	color: #0A0A0A;
	text-decoration: none;
	padding-top: 10px;
	padding-right: 30px;
	padding-bottom: 10px;
	padding-left: 30px;
}
.cabutton:hover {
	cursor: pointer;
	background-color: #E1E1E1;
	color: #0A0A0A;
}
.cabutton:visited {
	color: #0A0A0A;
}
/* ende teaser usw */

.jbutton {
	font-family: inherit;
	background-color: #F0F0F0;
	text-decoration: none;
	padding-top: 5px;
	padding-right: 10px;
	padding-bottom: 5px;
	padding-left: 10px;
}
.jbutton:hover {
	cursor: pointer;
	background-color: #E1E1E1;
	color: #000000;
}

main img {
  height: auto;
  width: 100%;
}
/* einfügen hamburger */
nav {
	height: 50px;
	background-color: #F0F0F0;
	display: flex;
	justify-content: flex-end;
	align-items: center;
}
.links-container {
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
}
nav a, a:visited {
	height: 100%;
	padding: 0 20px;
	display: flex;
	align-items: center;
	text-decoration: none;
}
nav a:hover {
	background-color: #E1E1E1;
	color: #000000;
}
nav .home-link {
  margin-right: auto;
}
#sidebar-active {
  display: none;
}
.open-sidebar-button, .close-sidebar-button{
  display: none;
}
@media(max-width: 40em){
  .links-container{
	flex-direction: column;
	align-items: flex-start;
	position: fixed;
	top: 0;
	right: -100%;
	z-index: 10;
	width: 250px;
	background-color: #F0F0F0;
	box-shadow: -5px 0 5px rgba(0, 0, 0, 0.25);
	transition: 0.5s ease-out;
  }
  nav a{
    box-sizing: border-box;
    height: auto;
    width: 100%;
    padding: 20px 30px;
    justify-content: flex-start;
  }
  .open-sidebar-button, .close-sidebar-button{
    padding: 20px;
    display: block;
  }
  #sidebar-active:checked ~ .links-container{
    right: 0;
  }
  #sidebar-active:checked ~ #overlay{
    height: 100%;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9;
  }
}
/* ende hamburger */

/* 2-spaltiges Layout für breitere Displays */
@media (min-width: 40em) {
body {
	grid-template-columns: 5fr 1fr;
	grid-template-rows: auto 1fr min-content;
}
h1 {
	font-size: 22px;
	padding-top: 5px;
}
h2 {
	font-size: 20px;
	padding-top: 5px;
}
h3 {
	font-size: 18px;
	padding-top: 5px;
}
	header,
	header2,
	footer {
	grid-column: 1 / -1;
}

	header {
	display: grid;
}
	body {
	margin: 0 auto;
	max-width: 63em;
}
	main,
	aside {
	padding: 10px;
}
	teaserre {
	padding-left: 20px;
	margin-top: -10px;
}
}