* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

h1,
h2,
h3,
h4,
h5 {
  color: #5fa504;
  background-color: #e8efdf;
  max-width: 550px;
  border: 1px double #5fa504;
  padding: 10px;
  margin: 25px auto;
  line-height: 0.9em;
}

h1 {
  font-size: 30px;
  font-weight: bold;
}

h2 {
  background-color: #fff;
  border: none;
  line-height: 1;
  font-size: 18px;
  width: auto;
  margin-top: 30px;
  margin-bottom: 10px;
}

.impressum_abschnitt {
  margin-top: 30px;
  margin-bottom: 5px;
  line-height: 1.5rem;
}

h3 {
  font-size: 14px;
  padding: 8px;
  margin: 8px auto;
  max-width: 200px;
}

h4 {
  color: #5fa504;
  background-color: #fff;
  border: none;
  font-weight: bolder;
  margin-bottom: 5px;
  padding: 5px;
  border-top: 1px double #5fa504;
  border-bottom: 1px double #5fa504;
  font-style: italic;
  max-width: 370px;
}

h5 {
  margin: 0;
  max-width: 200px;
  font-size: 18px;
}

h6 {
  border: none;
  max-width: auto;
  font-size: 18px;
  color: #5fa504;
  margin-top: 50px;
  margin-bottom: 30px;
}

.centered-list {
  display: flex;
  justify-content: center;
}

ul {
  margin-left: 50px;
}

li {
  padding-left: 20px;
  text-align: left;
  font-size: 16px;
}

body {
  color: #333;
  font-family: "Graphik Medium", sans-serif;
  text-align: center;
  line-height: 1.2em;
  font-style: normal;
  font-weight: 300;
}

p a:link {
  color: #1efa31c6;
}

a:active {
  background-color: #1efa31c6;
}

/* Header */

header {
  border: 2px solid #484848;
}

header .navbar {
  text-transform: uppercase;
  background-color: #434343aa;
  text-align: right;
  display: flex;
  justify-content: flex-end;
  gap: 30px;
  flex-wrap: wrap;
}

header .navbar button {
  text-transform: inherit;
  background-color: #43434300;
  text-align: inherit;
  border: none;
}

header .navbar a,
header .navbar button a {
  margin: 10px 0;
  min-width: 120px;
  max-width: 150px;
  display: inline-block;
  text-align: center;
  cursor: pointer; /*Mouse looks like hand when hovering over link */
  font-size: 17px;
}

header .navbar a::first-letter,
header .navbar button a::first-letter {
  color: rgb(255, 238, 0);
  font-size: 23px;
}

.navbar {
  overflow: hidden;
}

.subnav {
  overflow: hidden;
}

.subnav_content {
  display: none;
  position: relative;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
  width: 123px;
}

header .navbar .subnav_content a {
  float: right;
  font-size: 12px;
  color: rgb(255, 238, 0);
  text-transform: none;
  text-align: right;
}

header .navbar .subnav_content a::first-letter {
  font-size: 12px;
}

.subnav:hover .subnav_content {
  display: block;
}

a:link {
  color: #1efa31c6;
  text-decoration: none;
}

a:visited {
  color: #1efa31c6;
}

a:hover {
  color: rgb(255, 238, 0);
  font-weight: bold;
  text-decoration: underline dotted;
}

/* content width */

.content_wrap {
  max-width: 1200px;
  margin: 60px auto;
}

/* Flex Boxes */

.container {
  background: #ddd;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1050px;
  margin: 30px auto;
  flex-wrap: wrap;
  padding: 0 10px;
}

.adres,
.contact {
  height: 200px;
  margin: 0 20px;
}

.directions {
  height: 370px;
}

.el {
  align-self: baseline;
  padding: 0 10px;
  height: 540px;
  flex: 0 1 330px;
  border: 1.5px solid rgb(255, 238, 0);
  margin: 5px 5px;
  background-color: #f7f7f7;
}

.el_content_box {
  height: 72px;
}

.el_content {
  margin: 5px auto 5px auto;
  max-width: 280px;
}

.bilder_leistungen {
  height: 100px;
  width: auto;
  margin: 5px auto 5px auto;
  transition: 0.5s ease all;
}

.bilder_leistungen:hover {
  height: 200px;
}

.el_text {
  max-width: 310px;
  background-color: #ddd;
  border: 1px dashed rgb(255, 238, 0);
  height: 340px;
  font-size: 13px;
  color: #5fa504;
  padding: 10px 5px;
}

.el_links_text {
  text-align: left;
  padding: 6px 10px;
  font-size: 12.5px;
}

/* Footer */

footer div p {
  font-size: 14px;
  line-height: 1.3;
  margin: 0;
}

footer {
  display: flex;
  background-color: #434343aa;
  color: #1efa31c6;
  padding: 1px;
  margin: 20px 0;
  height: auto;
  border-radius: 0px 0px 0px 0px / 0px 0px 0px 0px;
  clear: both;
  border: 2px solid #484848;
  flex-wrap: wrap-reverse;
  justify-content: space-around;
}

.footer-logo {
  align-self: flex-start;
}

.logo {
  max-width: 350px;
  height: auto;
}

.footer-zeiten {
  display: flex;
  flex-direction: column;
}

.öffnungszeiten {
  display: flex;
  border-top: 1px solid #f7f7f7;
  border-bottom: 1px solid #f7f7f7;
  justify-content: center;
  gap: 30px;
  margin: 10px 0;
}

.wochentage {
  text-align: center;
  min-width: 150px;
}

.uhrzeiten {
  text-align: center;
  min-width: 150px;
}

.footer-bürozeiten {
  margin: 10px 0;
}

.footer-kontakt {
  width: 350px;
  align-self: center;
}

.footer-kontakt p {
  margin: 15px auto;
}
