/* FONTS */
@font-face {
  font-family: 'title';
  src: url('/inc/fonts/specialelite-regular-webfont.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'body';
  src: url('/inc/fonts/cousine-regular-webfont.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'body';
  src: url('/inc/fonts/cousine-bold-webfont.woff2') format('woff2');
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: 'body';
  src: url('/inc/fonts/cousine-italic-webfont.woff2') format('woff2');
  font-weight: normal;
  font-style: italic;
}

/* CONTENT */
* {
  box-sizing: border-box;
}
body {
  background-color: ghostwhite;
  font-family: body;
  display: flex;
  justify-content: center;
  font-size: 12pt;
  hyphens: auto;
}

a {
  text-decoration: none;
  color: darkblue;
}
a:hover {
  color: blue;
}

nav a:hover {
  border-bottom: 2px solid blue;
  color: blue;
}
.aktiv {
  color: black;
  border-bottom: 2px solid black;
}

.sig {
  font-style: italic;
  text-align: right;
  display: block;
}


div#content {
  width: 700px;
  margin-top: 20px;
  border: 2px solid black;
  background-color: white;
}
header {
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 10px 0 0 10px;
}

header h1 {
  font-family: title;
  font-size: 4.5rem;
  margin: 0;
}
.titlefont {
  font-family: title;
}
nav {
  padding: 10px 20px;  
}

nav ul {
  display: flex;
  list-style-type: none;
  padding: 0;
  margin: 0;
  justify-content: start;
  align-items: center;
  gap: 40px;
}
nav ul li {
  padding: 0;
  font-weight: bold;
  font-size: 1.2rem;
  border-bottom: 2px solid white;
}
nav ul li:last-of-type {
  margin-left: auto;
  font-size: .8rem
}

div#motto {
  width: 300px;
  margin: 20px 0 0 auto;
  font-size: .8rem;
  line-height: 1rem;
}

div#motto span {
  color: lightslategray;
}

main {
  padding: 0 40px;
  line-height: 1.6rem;
  border-top: 1px solid black;
  margin-bottom: 1.5rem;
}

main h2 {
  margin-bottom: .6rem;
}
main ul {
  padding-left: 1.2rem;
  margin: 0;
  list-style-type: square;
}
main ul li {
  line-height: 1.4rem;
  margin-bottom: 1rem;
}

dl.arbeiten dt {
  font-weight: bold;
  font-size: 1.3rem;
  float: left;
}

dl.arbeiten dd {
  margin-left: 100px;
  margin-bottom: 30px;
}

dl.vita dt {
  font-weight: bold;
  float: left;
  width: 100px;
}

dl.vita dd {
  margin-left: 100px;
  margin-bottom: 20px
}

footer {
  font-size: .8rem;
  color: lightslategray;
  padding: 10px 20px;  
  text-align: right;
}