:root {
  font-size: 16px; /* Saiz asas dokumen */
}

h1 {
  font-size: 2rem;   /* ≈32px */
}

h2 {
  font-size: 1.75rem; /* ≈28px */
}

h3 {
  font-size: 1.5rem;  /* ≈24px */
}

p, a {
  font-size: 1rem;    /* ≈16px */
}

body {
  font-family: monospace;
  background: #3B2C33; /* Dark mode by default */
  color: #EFD6E2;
  margin: 0 auto;
  padding: 20px;
  max-width: 80ch; /* Ensuring content fits within 80cm */
  line-height: 1.6;
  white-space: normal; /* Allow text to wrap */
}

h1, h2, h3 {
  color: #C54B8C;
  margin-bottom: 10px;
}

a {
  color: #66CCFF;
  text-decoration: none;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

a:hover {
  text-decoration: underline;
}

p {
  margin: 10px 0;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

blockquote {
  border-left: 4px solid #EFD6E2;
  padding-left: 10px;
  color: #EFD6E2;
  font-style: italic;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.gemini {
  white-space: pre-wrap;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

article.content {
  padding: 10px;
  background: #EFD6E2;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  max-width: 80ch; /* Applying the 80cm limit here as well */
  margin: 0 auto; /* Centers content */
  word-wrap: break-word;
  overflow-wrap: break-word;
}
