:root {
  color-scheme: dark;
  --background: #111111;
  --surface: #2a2c30;
  --surface-hover: #32353a;
  --text: #f2f3f5;
  --muted-text: #b8bcc4;
  --accent: #8ab4f8;
  --border: #41444a;
  --max-width: 960px;
}

* {
  box-sizing: border-box;
}

html {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  background: var(--background);
  color: var(--text);
}

body {
  min-height: 100vh;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;

  color: #ded8c8;

  background-image:
      url("../res/images/bg/bgr.png");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.page-header,
header {
  padding: 1.25rem 1.5rem;
  background: #17181a;
  border-bottom: 1px solid var(--border);
}

.header-content {
  width: min(100%, var(--max-width));
  margin: 0 auto;
}

.page-title,
h1 {
  margin: 0;
  color: var(--text);
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.page-subtitle {
  margin: 0.5rem 0 0;
  color: var(--muted-text);
  font-size: 1.05rem;
}

main {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
  padding: 2.5rem 0;
}

.info {
  margin-bottom: 1.25rem;
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  box-shadow: 0 8px 24px rgb(0 0 0 / 18%);
}

.info:hover {
  background: var(--surface-hover);
}

.info h2,
.info h3 {
  margin-top: 0;
  color: var(--text);
  line-height: 1.25;
}

.info p {
  margin: 0.75rem 0 0;
  color: var(--muted-text);
}

a {
  color: var(--accent);
  text-underline-offset: 0.2em;
}

a:hover {
  color: #61175d;
}

@media (max-width: 600px) {
  .page-header,
  header {
    padding: 1rem;
  }

  main {
    width: min(calc(100% - 1.5rem), var(--max-width));
    padding: 1.5rem 0;
  }

  .info {
    padding: 1.15rem;
  }
}

.plague {
  display: inline-flex;
  align-items: flex-start;
}
