:root {
  font-size: 15px;
}

@font-face {
  font-family: 'Noto Serif Variable';
  src: url('/fonts/NotoSerif-VariableFont_wdth,wght.ttf');
  font-style: normal;
}

@font-face {
  font-family: 'Noto Serif Italic Variable';
  src: url('/fonts/NotoSerif-Italic-VariableFont_wdth,wght.ttf');
  font-style: italic;
}

#logoTitle a, .menu-item, p, h1, h2, h3, h4, h5, h6, li {
  font-family: 'Noto Serif Variable', serif;
}

.metadata, .image-subtitle {
  font-family: 'Noto Serif Italic Variable', serif;
}

body {
  background-color: rgb(255, 249, 241);
  max-width: 800px;
  margin: 10px;
}

#logoTitle {
  text-align: center;
}

#logoTitle a {
  color: black;
  text-decoration: none;
  padding: 5px;
  border: 1px dashed black;
  border-radius: 0.5rem;
}

#menu {
  display: flex;
  flex-direction: row;
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu-item {
  border-top: 1px solid black;
  border-bottom: 1px solid black;
  border-right: 1px solid black;
  background-color: rgb(255, 240, 222);
  cursor: pointer;
}

.menu-item:hover {
  background-color: rgb(255, 252, 247);
}

nav ul a {
  display: block;
  height: fit-content;
  width: fit-content;
  padding: 10px;
  text-decoration: none;
  color: black;
}

main {
  margin-bottom: 30px;
}

pre {
  font-size: 0.9rem;
}

.metadata {
  margin-top: 1.5rem;
  display: flex;
  gap: 15px;
  align-items: baseline;
}

.metadata .title {
  font-size: 2.4rem;
  font-weight: 800;
  font-style: italic;
}

.metadata .date {
  font-style: italic;
  color: dimgray;
}

.image-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.image-container .image-subtitle {
  font-style: italic;
  font-size: 0.9rem;
  color: dimgray;
}

hr {
  border: none;
  border-top: 2px dashed #555555;
  color: #555555;
  overflow: visible;
  text-align: center;
  height: 5px;
}

hr::after {
  background-color: rgb(255, 249, 241);
  content: "</>";
  padding: 0 4px;
  position: relative;
  top: -10px;
  font-family: monospace;
}

@media (width <= 900px) {
  .metadata {
    flex-direction: column;
  }
}
