html {
  box-sizing: border-box;
}

* {
  box-sizing: inherit;
}

body {
  height: 99vh;
  background-image: linear-gradient(to right, #f5f2f2, white);
  font-family: "Google Sans", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  text-align: center;
  color: #5c646b;
}

.flex-container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.top-and-middle {
  /* background-color: salmon; */
  width: 1080px;
}

/* !!! HEADER !!! */
header {
  font-family: "Ubuntu", sans-serif;
  color: #53676e;
  font-weight: 400;
  padding: 24px 38px 26px 38px;
  line-height: 1.2;
  font-size: 20px;
  text-align: center;
}

.img-logo-top {
  display: inline-block;
  width: 80px;
  margin-left: 0px;
  margin-right: 48px;
}

.header-title {
  display: inline-block;
  text-align: center;
  margin-right: 64px;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 1.3rem;
}

/* Ernährungsberatung Juliane Ziebarth */
.header-title h1, h2 {
  font-weight: 400;
  margin-top: 0px;
  margin-bottom: 0px;
  /*padding-top: 10px;*/
}

/* !!! NAVIGATION !!! */
nav {
  border-bottom: 6px solid #c7b198;
  position: sticky;
  top: 0;
}

ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background-color: #dde6cc;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

li {
  float: left;
}

li a {
  display: block;
  font-family: "Ubuntu", sans-serif;
  font-size: 1.2rem;
  font-weight: 400;
  color: #53676e;
  text-align: center;
  padding: 14px 20px 8px 20px;
  text-decoration: none;
  line-height: 1.1;
}

li a:hover:not(.active) {
  color: #88ba1b;
}

li a:not(.home) {
  /* position: relative;
  padding-top: 5px; */
}

.active {
  background-color: #bddf7b;
}

.home {
  font-size: 3.0rem;
  line-height: 1.3rem;
  padding-left: 17px;
  /* font-weight: bold; */
}

.home-symbol {
  position: relative;
  bottom: 5px;
  padding-left: 15px;
  padding-right: 15px;
}

/* !!! MAIN BODY !!! */
main {
  font-weight: 400 !important;
  margin-bottom: 1rem !important;
  font-size: 1.15rem;
  line-height: 1.4;
}

.img-start {
  width: 100%;
  max-width: 700px;
  margin-top: 16px;
}

.quote {
  font-size: 3.35rem;
  margin-bottom: 1rem;
  margin-top: 1rem;
  font-weight: 800;
  line-height: 1.2;
  color: #f057b0;
  text-align: center;
}

.quote-kleiner {
  font-size: 2.35rem;
  padding-top: 30px;
}

.quote-gruen {
  font-size: 2.4rem;
  margin-bottom: 1rem;
  margin-top: 4rem;
  font-weight: 800;
  line-height: 1.2;
  color: #77b595;
  text-align: center;
}

.text-ueberschrift {
  color: #6c757d !important;
  font-size: 1.5rem;
}

.text-normal {
  padding-right: 2vw;
  padding-left: 2vw;
  padding-top: 1.4rem;
  text-align: justify;
  font-stretch: expanded;
  margin-left: 20px;
  margin-right: 20px;
}

td {
  vertical-align: top;
}

.gruen-eingerueckt {
  /* color: #77b595; */
  color: #44ab76;
  padding-left: 30px;
  line-height: 1.7;
  text-align: left;
}

.text-uebermich {
  text-align: left;
  margin-top: 50px;
  margin-left: 8vw;
}

.flex-mitgliedschaften {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
}

.img-logo {
  width: 130px;
  border-radius: 10px;
}

.text-stichpunkte {
  font-weight: 400 !important;
  color: #6c757d !important;
  font-size: 1.3rem;
  line-height: 1.2;
  text-align: left;
  margin-top: 50px;
  margin-left: 8vw;
}

.kontakt {
  font-size: 2.7rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  /* color: #508e57; */
}

/* !!! FOOTER !!! */
.bottom {
  /* height: 50px; */
  margin-top: 60px;
}

footer {
  font-size: 0.9rem;
  color: #b9b8b8;
}

footer a {
  text-decoration: none;
  color: #b9b8b8;
}

hr {
  border: dotted 6px;
  color: #b9b8b8;
  border-bottom: none;
  /* width: 30%; */
}

.dat-imp {
  font-size: 1.12rem;
  padding-left: 12px;
  padding-right: 12px;
}

.no-margin {
  margin: 0px;
}

@media screen and (max-width: 1077px) {
  .top-and-middle {
    width: 100%;
  }

  header {
    text-align: center;
    font-size: 14px;
    padding: 20px;
  }

  .header-title {
    position: relative;
    bottom: 10px;
    margin-top: 20px;
    margin-right: 0px;
  }

  li a {
    font-size: 1rem;
    line-height: 1.3;
  }

  li a {
    padding: 14px 8px 8px 8px;
  }
}

@media screen and (max-width: 871px) {
  .img-logo-top {
    width: 70px;
    margin-right: 20px;
  }

  .header-title h1 {
    font-size: 2.0rem;
    ;
  }

  .header-title h2 {
    font-size: 1.2rem;
    ;
  }

  .quote {
    font-size: 2.4rem;
    width: auto;
  }


}

@media screen and (max-width: 871px) {


  .nav-kontakt {
    padding-right: 12px;
  }

  .home {
    padding-left: 8px;
  }


}

@media screen and (max-width: 700px) {
  .header-title {
    text-align: center;
  }
  .img-logo-top {
    width: 70px;
    margin-right: 0px;
  }
}

@media screen and (max-width: 716px) {
  nav {
    position: static;
  }

  ul {
    display: block;
  }

  li {
    float: none;
  }

  .home {
    padding-left: 0px;
    font-size: 2.7rem;
    font-weight: normal;
  }

  .home-symbol {
    bottom: 2px;
  }

  .nav-kontakt {
    padding-right: 0px;
  }

  .header-title h1 {
    font-size: 1.6rem;
    ;
  }

  .header-title h2 {
    font-size: 1.2rem;
    ;
  }

  .text-ueberschrift {
    font-size: 1.3rem;
  }

  .text-normal, .text-uebermich {
    font-size: 1rem;
  }

  .gruen-eingerueckt {
    line-height: 1.6;
  }

  .quote-kleiner {
    font-size: 1.9rem;
    padding-top: 20px;
  }

  .quote-gruen {
    font-size: 1.9rem;
margin-top: 2rem;
  }

  .text-stichpunkte {
    font-size: 1.1rem;
    line-height: 1.3;
    margin-top: 2rem;
    /* margin-left: auto; */
}

.kontakt {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    /* color: #508e57; */
}

.flex-mitgliedschaften {
  padding-right: 12px;
}

  footer {
    font-size: 0.8rem;
  }

  .dat-imp {
    font-size: 1rem;
  }

  hr {
    width: 40%;
  }
}
