body {
  max-width: 42rem;
  margin: 4rem auto 0 auto;
  padding: 0 1rem;
  line-height: 1.5;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: #f4e9d2;
  color: #333;
}

.site-header,
section {
  margin-bottom: 2rem;
}

.menu,
.entry-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.menu li {
  margin-bottom: 0.4rem;
}

.entry-list li {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.6rem 0;
}

.entry {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.entry .line {
  flex: 1;
  border-bottom: 2px dotted #ddc59d;
  margin: 0 0.5rem;
}

time {
  font-size: 0.9rem;
  color: #555;
}

a {
  color: #19869c;
  text-decoration: none;
  position: relative;
}

a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.08em;
  width: 100%;
  height: 1px;
  background: currentColor;
  opacity: 0.5;
  transition: opacity 150ms ease;
}

a:hover::after,
a:focus-visible::after {
  opacity: 1;
}

@media (min-width: 700px) {
  body {
    margin-top: min(7vw, 5rem);
    margin-left: min(10vw, 8rem);
    margin-right: 1rem;
  }

  .menu {
    display: flex;
    gap: 1rem;
  }

  .menu li {
    margin-bottom: 0;
  }

  .entry-list li {
    flex-direction: row;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
  }
}

/*some stuff for the other pages*/

.page {
  max-width: 42rem;
}

.post-header {
  margin-bottom: 2rem;
}

.post-page h1,
.post-page h2,
.post-page h3 {
  line-height: 1.2;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.post-page p {
  margin: 0 0 1rem 0;
}

.post-meta {
  margin: 0;
}

.post-page img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 1rem 0;
}

.post-page figure {
  margin: 1.5rem 0;
}

.post-page figcaption {
  font-size: 0.9rem;
  color: #555;
}
