/* pkime.ch — minimal serif styling */

:root {
  --serif: Palatino, "Palatino Linotype", Georgia, Times, "Times New Roman", serif;
  --ink: #2b2b2b;
  --rule: #d8d8d8;
  --maxw: 950px;
}

body {
  font-family: var(--serif);
  color: var(--ink);
  line-height: 1.5;
  margin: 0;
  background-color: #fff;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5)),
    url('../images/leaves.jpg');
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
  background-attachment: fixed;
}

.site-header,
.quotes,
.two-col,
.videos,
.site-aside {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 1rem;
}

/* header */
.site-header { text-align: center; padding-top: 2rem; }
.site-header img { max-width: 100%; height: auto; }
.site-name { font-size: 30px; font-weight: normal; margin: 0; }
.site-sub  { font-size: 30px; margin: .25rem 0 1.5rem; letter-spacing: .02em; }

/* rotating quotes */
.quotes { font-size: 20px; text-align: center; min-height: 5rem; margin: 1.5rem auto; }
.quotes blockquote { margin: 0; font-style: italic; }
.quotes cite { display: block; font-style: normal; font-size: 10px; margin-top: .4rem; }

/* two columns */
.two-col {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin: 2rem auto;
}
.two-col .col { flex: 1 1 320px; font-size: 16px; }
.two-col h2 {
  font-size: 14px;
  font-weight: normal;
  text-align: center;
  margin: 1.5rem 0 .75rem;
}
.two-col p, .two-col li { font-size: 18px; }
.two-col a { color: #345; }

/* videos */
.videos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin: 2rem auto;
}
.video { margin: 0 0 2.5rem; flex: 1 1 320px; max-width: 560px; }
.video iframe { width: 100%; border: 0; display: block; }
.video-16x9 iframe { aspect-ratio: 16 / 9; }
.video-4x3  iframe { aspect-ratio: 4 / 3; }
.video figcaption { text-align: center; font-size: 14px; margin-top: .5rem; }
.video-small { max-width: 320px; margin-left: 0; }
.video-top { flex-basis: 100%; }

/* aside / footer */
.site-aside {
  border-top: 1px solid var(--rule);
  margin-top: 2rem;
  padding-top: 2rem;
  text-align: center;
}
.site-aside h2 { font-size: 14px; font-weight: normal; text-align: center; }
.site-aside p { font-size: 14px; text-align: left; }

/* mobile: stack columns */
@media (max-width: 700px) {
  .two-col { flex-direction: column; }
}
