:root {
  --primarycolor: #1a4d2e;
  --secondarycolor: #4f6f52;
  --thirdcolor: #c1856d;
  --fourthcolor: #f5efe6;

  h2 {
    font-size: 32px;
  }

  h3 {
    font-size: 20px;
  }

  h5 {
    color: var(--thirdcolor);
    font-size: 16px;
  }

  h2,
  h5 {
    padding-left: 30px;
  }

  a {
    text-decoration: none;
  }

  a:hover {
    background-color: var(--thirdcolor);
    color: var(--fourthcolor);
    padding: 5px;
  }
}

body {
  background-color: var(--fourthcolor);
  font-size: 18px;
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.topbar {
  background-color: var(--fourthcolor);
  color: var(--primarycolor);
  min-height: 8vh;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  overflow-x: hidden;
}

.topbar img {
  width: 75px;
  height: 75px;
}

header {
  background-color: var(--primarycolor);
  color: var(--fourthcolor);
  min-height: 50vh;
  padding: 20px;
  overflow-x: hidden;
}

h1 {
  font-size: 48px;
}

header ul,
header p {
  padding-left: 50px;
}

.bezirksverband {
  color: var(--thirdcolor);
}

.vereine {
  background-color: var(--secondarycolor);
  color: var(--fourthcolor);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  border-radius: 20px;
  margin: 20px;
  padding: 10px;
}

.ethik {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  align-items: flex-start;
  flex-wrap: wrap;
}

.ethik div {
  background-color: var(--secondarycolor);
  color: var(--fourthcolor);
  border-radius: 20px;
  margin: 20px;
  padding: 10px;
}

.vorstand,
.delegierte {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex-wrap: wrap;
  margin: 20px;
  text-align: center;
  gap: 20px;
}

.vorstand img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
}

footer {
  background-color: var(--primarycolor);
  color: var(--fourthcolor);
  padding: 20px;
  overflow-x: hidden;
}

footer img {
  width: 100px;
  height: 120px;
}

.footer {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  min-height: 25vh;
  padding-bottom: 20px;
}

.copyright {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: var(--thirdcolor);
}

.footer ul,
nav ul {
  list-style-type: none;
  padding-left: 0;
}

topbar ul,
header ul {
  list-style-type: none;
}

.topbar li,
header li {
  padding: 0 20px;
}

.topbar li {
  text-align: center;
}

header li {
  color: var(--thirdcolor);
}

hr {
  background-color: var(--thirdcolor);
  border: none;
  height: 2px;
  width: 100%;
}

@media (min-width: 768px) {
  .topbar {
    flex-direction: row;
  }

  .topbar img {
    width: 100px;
    height: 100px;
  }

  .topbar li,
  header li {
    display: inline;
    padding: 0 20px;
  }

  h1 {
    padding-left: 50px;
    font-size: 48px;
  }

  .vereine,
  .vorstand,
  .ethik,
  .footer,
  .copyright {
    flex-direction: row;
    gap: 20px;
    justify-content: space-between;
    padding: 0 20px;
  }

  .vereine,
  .ethik {
    border-radius: 30px;
    padding: 20px;
  }

  .footer .info {
    text-align: left;
  }
}
