html {
  box-sizing: border-box;
}

*, *:before, *:after {
  box-sizing: inherit;
}

body {
  display: block;
  margin: auto;
  background-color: white;
  font-family: "neuzeit-grotesk", Helvetica, sans-serif;
}

/* header element */
header {
  width: 100%;
  height: 40px;
  padding-left: 20px;
  padding-right: 20px;
  top: 0;
  display: flex;
  flex-wrap: wrap;
  margin-left: auto;
  margin-right: auto;
  align-items: center;
  position: fixed;
  justify-content: space-between;
  z-index: 10;
  border-bottom: solid 1px;
}

header h1 {
  font-size: 16px;
  font-weight: 700;
  padding-right: 50px;
  letter-spacing: 0.5px
}

header h1 a {
  text-decoration: none;
  color: black;
  cursor: crosshair;
}

header.background {
  background-color: white;
  transition: 0.2s;
}


nav a {
  font-size: 16px;
  font-weight: 300;
  text-decoration: none;
  padding-left: 10px;
  padding-right: 10px;
  color: black;
  cursor: crosshair;
}

nav a:hover {
  background-color: beige;
  transition: .4s;
}

/* main element */
.head-image img {
  width: 100%;
  height: auto;
  display: block;
  top: 0;
  right: 0;
}

section.post {
  margin-top: 40px;
  margin-bottom: 0;
  width: 65%;
  padding-left: 20px;
  padding-right: 20px;
}

.intro h3 {
  font-family: "linotype-sabon", serif;
  font-size: 20px;
  font-weight: 400;
  font-style: italic;
  line-height: 1.3;
}

.post-content p {
  margin-top: 50px;
  font-family: "linotype-sabon", serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.6;
}

.more-post {
  margin-top: 100px;
  margin-bottom: 60px;
  padding-right: 20px;
  width: 40%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.more-post a {
  font-size: 14px;
  font-weight: 400;
  text-decoration: none;
  color: black;
  cursor: crosshair;
}

.more-post a:hover {
  background-color: beige;
}

/* footer element */
footer {
  margin-top: 0px;
  position: relative;
  width: 100%;
  padding-left: 20px;
  padding-right: 20px;
  display: flex;
  flex-direction: row;
  border-top: solid 1px;
}

footer p {
  font-size: 12px;
  font-weight: 300;
  color: grey;
}

/* media query */
@media only screen and (max-width:1000px) {
  section.post {
    width: 100%;
  }
}

@media only screen and (max-width:800px) {
  .post-content p {
    font-size: 16px;
    line-height: 1.5;
  }

  .more-post {
    width: 100%;
    margin-top: 100px;
    margin-bottom: 50px;
  }
}
