
body {
  font-family: sans-serif;
  max-width: 700px;
  margin: 2rem auto;
  padding: 0 1rem;
  line-height: 1.6;
  color: #e0e0e0;
  background-color: #1e1e1e;
}

h1, h2 {
  font-weight: 600;
  margin-top: 2rem;
  color: #ffffff;
}

a {
  color: #8ab4f8;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

hr {
  border: none;
  border-top: 1px solid #444;
  margin: 1.5rem 0;
}

ul, ol {
  padding-left: 1.2rem;
}

strong {
  font-weight: 600;
}

nav {
  background-color: #2a2a2a;
  padding: 0.5rem 1rem;
  margin-bottom: 2rem;
  border-radius: 8px;
}

.nav-menu {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding: 0;
  margin: 0;
}

.nav-menu li a {
  color: #e0e0e0;
  text-decoration: none;
  font-weight: 600;
}

.nav-menu li a:hover {
  text-decoration: underline;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

/* Two-column media block */
.media-grid {
  display: grid;
  /*grid-template-columns: minmax(100px, 220px) 1fr;*/
  grid-template-columns: minmax(100px, 150px) 1fr;
  gap: 2rem;
  align-items: start;
  margin-bottom: 2rem; /* space between media blocks */
}

.media-grid img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;
}

@media (max-width: 640px) {
  .media-grid {
    grid-template-columns: 1fr; /* stacks image over text */
  }
}
