:root {
  --blur: 0.7px;
  --margin: 24px;
  --column: 55em;
}

.main-content {
  margin: var(--margin);
  max-width: var(--column);
}

* {
  box-sizing: border-box;
}

body {
  background-color: white;
  color: black;
  font-family: "Times New Roman", Times, serif;
  font-size: 35px;
  line-height: 1.3;
}

header {
  position: fixed;
  top: 0;
  left: var(--margin);
  width: calc(100% - 2 * var(--margin));
  max-width: var(--column);
  padding: 10px;
  text-align: center;
  z-index: 0;
}

h1, h2, a {
  filter: blur(var(--blur));
  transition: filter 0.2s;
}

h1:hover,
h2:hover,
a:hover,
a:focus {
  filter: blur(0);
}

h1 {
  color: black;
  font-size: 60px;
  font-weight: normal;
}

h2 {
  color: blue;
  font-size: 60px;
  font-weight: normal;
  margin-top: 50px;
  margin-bottom: 24px;
}

a,
a:link,
a:visited,
a:active {
  color: black;
  text-decoration: none;
}

p {
  margin-top: 0;
  margin-bottom: 24px;
}

p time {
  font-size: 0.5em;
  display: block;
}

.hover-photo {
  position: relative;
  cursor: e-resize;
}

.hover-photo img {
  position: fixed;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  max-width: calc(100vw - 48px);
  max-height: 60vh;
  width: auto;
  height: auto;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease;
  pointer-events: none;
  z-index: -2;
}

.hover-photo:hover img,
.hover-photo:focus-within img {
  opacity: 1;
  visibility: visible;
}

@media screen and (max-width: 600px) {
  :root {
    --blur: 0.3px;
    --margin: 12px;
  }

  body {
    font-size: 20px;
    margin: 0;
  }

  header {
    text-align: right;
    padding: 10px 0;
  }

  h1 {
    font-size: 36px;
    margin-top: 15px;
    margin-right: 0;
  }

  h2 {
    font-size: 36px;
    margin-top: 25px;
    margin-bottom: 0;
  }
}
