@font-face {
       font-family: 'Sansation Light'; /* Name der Schriftart */
       src: url('sansation-light.ttf') format('truetype'); /* Pfad zur .ttf-Datei */
       font-weight: normal; /* oder bold, light, etc. */
       font-style: normal;  /* oder italic, oblique, etc. */
   }

/* Grundlayout */
html {
  scroll-behavior: smooth;
}

body {
  /*font-family: Arial, sans-serif;*/
  font-family: "Sansation Light";
  background-color: #FFFFFF;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 100vh;
  padding: 0;
  color: #08578bff;
}

main {
  max-width: 80vW;
}

/* Container */
#container {
  background: url(edImgProfile.png);
  aspect-ratio: 2 / 1;
  max-width: 80vW;
  min-height: 94vH;
  background-position-x: center;
  background-position-y: top;
  background-size: cover;
  background-repeat: no-repeat;
  display: grid;
  align-items: flex-end;
  justify-content: flex-end;
}

#subline {
  color: #000;
  margin: 6rem 1rem;
  padding: 0.4rem;
  font-size: 4em;
  background-color: #FFF;
  opacity: 0.7;
  border-radius: 0.5rem;
}


/* Impressum */
#imprint {
  font-size: 1rem;
  color: #08578bff;
  word-wrap: break-word;
}

#start {
  padding: 0;
}

/* Header + Navigation */
header {
  background-color: #fff;
  color: #08578bff;
  position: sticky;
  top: 0;
  width: 80vW;
}

#nav-container {
  display: flex;
  justify-content: space-between;
  margin-left: 1rem;
  margin-right: 1rem;
  gap: 2rem;
  height: 3rem;
}

.brand {
  display: flex;
  align-items: center;
  font-size: 1rem;
  font-weight: bold;
}

#navbar {
  gap: 0.5rem;
  display: flex;
  height: 3rem;
  place-items: center;
  background-color: #fff;
}

#menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: #08578bff;
  cursor: pointer;
}

header a {
  color: #08578bff;
  text-decoration: none;
  font-weight: bold;
}

/* Inhalte */
main {
  padding: 0;
  width: 100%;
}

section {
  margin-bottom: 2rem;
  /* height: 70vh; */
  scroll-margin-top: 7rem;
  padding: 1rem;
}

section#start {
  scroll-margin-top: 10rem;
}

h2 {
  color: #08578bff;
  font-weight: bold;
}

h3 {
  color: #08578bff;
  font-weight: bold;
}

h4 {
  color: #08578bff;
  font-weight: bold;
}

ul {
  padding-left: 1.5rem;
}

li {
  padding-bottom: 1rem;
}

/* Responsive Menü */
@media (max-width: 768px) {
  #navbar {
    display: none;
    flex-direction: column;
    background-color: #fff;
    padding: 1rem 0.5rem;
    place-items: flex-end;
  }
  
  main {
    max-width: 100vW;
  }
  
  #container {
      max-width: 100vW;
  }
  
  header  {
      width: 100vW;
  }

  header a:link {
    color: #08578bff;
  }

  #navbar.active {
    display: flex;
    height: fit-content;
  }

  #menu-toggle {
    display: flex;
  }

  #menu-toggle.inactive {
    display: none;
  }

  #imprint a:link {
    /* Links */
    color: #fff;
  }
  
  #subline {
  color: #08578bff;
  margin: 5rem 1rem;
  padding: 0.2rem;
  font-size: 2em;
  }
}
