/***************
 * ALLGEMEINES *
 ***************/
html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Quicksand', sans-serif;
  font-size: max(1.8vh, 12pt);

  background-color: #fbf5e0;
  color: #5d5d5d;

  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;

  /* Globale Variablen */
  --color-primary: #DB9C36;
  --color-secondary: crimson;
}

header, footer {
  padding: 1rem;
  box-sizing: border-box;
}

a, a:visited {
  transition: text-shadow 0.2s ease-in-out;
  text-decoration: none;
  color: var(--color-primary) ;
}

a:hover {
  text-shadow: 0px 3px 4px rgb(0,0,0,0.4);
}

p {
  text-align: justify;
  hyphens: auto;
  word-wrap: break-word;
}

nav ul {
  font-size: 110%;

  list-style: none;
  padding: 0;

  display: flex;
  flex-direction: column;
  gap: 0.75em;
}

/***************
 * KOPFBEREICH *
 **************/
header {
  background-color: #006075;
  box-shadow: 0px 1px 2px rgba(0,0,0, 0.2);
}

header h1 {
  color: var(--color-primary);
  font-size: 140%;
}

header .brandname {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1em;
}

header .brandname img {
  height: 3em;
}

header nav ul {
  align-items: center;
}

@media (min-width: 50em) {
  header {
    display: flex;
    justify-content: space-between;
    align-items: center;

    position: sticky;
    top: 0;
    z-index: 0;
  }

  header nav ul {
    flex-direction: row;
  }
}

/***************
 * EYE CATCHER *
 **************/
.section-eyecatcher {
  font-size: 200%;
  color: var(--color-primary);
  text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.38);
  min-height: 2em;

  display: flex;
  justify-content: center;
  align-items: center;

  text-align: center;
}

@media (min-width: 50em) {
  .section-eyecatcher {
    font-size: 350%;
  }
}

/*************
 * Wer bin ich *
 ************/
.section-me {
  padding: 1rem;
  display: flex;
  justify-content: center;

}


.section-me .image-portrait-container {
  text-align: center;
  align-items: center;
}

.section-me .image-portrait {
  height: 50vh;
  object-fit: cover;
}
/*************
 * Accompany *
 ************/
.section-accompany {
  scroll-margin-top: 4em;
  padding: 1rem;
  display: flex;
  flex-direction: column;
}

/*************
 * Profil *
 ************/
.section-profile {
  scroll-margin-top: 4em;
  padding: 1rem;
  display: flex;
  flex-direction: column;
}



/***************
 * FUSSBEREICH *
 **************/
footer {
  background-color: #006075;
  color: lightgrey;

  display: flex;
  flex-direction: column;
  padding-left: 1em;
  padding-right: 1em;

  z-index: 1;
}

footer h1,
footer h4 {
  color: var(--color-primary);
}

footer a,
footer a:visited {
  color: lightgrey;
  text-decoration-line: underline;
}

footer .nav-container {
  display: flex;
  flex-direction: column;
  gap: 1em;
  margin-top: 2em;
}

footer .map {
  width: 100%;
}

@media (min-width: 50em) {
  footer .nav-container {
    flex-direction: row;
    justify-content: space-between;
  }
  .imprint {
    text-align: right;
  }
}
