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;
  background-color: white;
}

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;
}

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 */
.journal-post {
  top: 40px;
  width: 100%;
  height: auto;
  position: relative;
  margin-left: auto;
  margin-right: auto;
}

.post {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  padding-left: 20px;
  padding-right: 20px;
  padding-top: 12px;
  padding-bottom: 10px;
  border-bottom: solid 1px black;
}

.last {
  border-bottom: none;
}

.intro h3 {
  margin-top: 0px;
  font-family: "linotype-sabon", serif;
  font-size: 22px;
  font-weight: 400;
  font-style: italic;
  line-height: 1.3;
  text-align: left;
  color: #1f1f1f;
}

.intro a {
  font-family: "linotype-sabon", serif;
  font-size: 14px;
  font-weight: 400;
  font-style: italic;
  text-align: left;
  color: #535353;
  text-decoration: none;
  cursor: crosshair;
}

.intro a:hover {
  text-decoration: underline;
  color: #1f1f1f;
  transition: .4s;
}

.post img {
  max-width: 500px;
  height: auto;
}

.post a {
  cursor: crosshair;
}

/* footer element */
footer {
  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:800px) {
  body {
    text-align: center;
  }

  .post {
    flex-direction: column;
    align-items: center;
  }

  .post img {
    width: 100vw;
    height: auto;
  }

.intro {
  margin-bottom: 10px;
}

  .intro h3 {
    text-align: center;
  }
