@font-face {
  font-family: 'Alagard';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/Alagard.ttf') format('truetype');
}

:root {
  --border-color: rgba(159, 100, 185, 0.9);
  --border-width: 2px;
  --panel-background: rgba(56, 38, 59, 0.5);
  --title-background: rgba(82, 4, 49, 0.35);
  --title-border-color: rgb(82, 4, 49);
}

body {
  margin: 0;
  padding: 0 12px;
  color: #cfabe0;
  background: #f7cdff url("images/bg2.JPG") center / cover fixed no-repeat;
}

a { color: #e07bff; }
a:visited { color: #fad7fa; }
a:active, a:hover { color: #e07bff; }
a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

/* Paint each outer panel once so the translucent colors do not stack. */
.site-frame {
  width: 760px;
  max-width: 100%;
  table-layout: fixed;
  text-align: left;
}
.site-frame > tbody > tr > td,
.site-frame > tr > td { background: var(--panel-background); }
.site-frame > tbody > tr:first-child > td,
.site-frame > tr:first-child > td {
  background: var(--title-background);
  border-color: var(--title-border-color);
}
.brand-cell { padding-left: 38px; }
.frame-cell {
  padding: 0;
  border: var(--border-width) solid var(--border-color);
}
.site-name, .site-name:visited {
  display: inline-block;
  max-width: 100%;
  color: #cfabe0;
  font-family: 'Alagard', Georgia, serif;
  font-size: 48px;
  line-height: 64px;
  font-weight: 400;
  text-decoration: none;
}


.title-navigation {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  color: #cfabe0;
  font-weight: bold;
  padding: 0 12px 10px;
  text-align: center;
}
.title-navigation a, .title-navigation a:visited, .title-navigation a:active {
  color: #cfabe0;
  text-decoration: none;
}
.title-navigation a:hover { color: #f7cdff; text-decoration: underline; }

.columns { table-layout: fixed; }
.columns > tbody > tr > .maincopy,
.columns > tr > .maincopy {
  border-left: var(--border-width) solid var(--border-color);
  border-right: var(--border-width) solid var(--border-color);
}
.subpage-columns > tbody > tr > .maincopy,
.subpage-columns > tr > .maincopy { border-right: 0; }
.sidebox {
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 13px;
  color: #cfabe0;
}
.sidebox a { color: #e07bff; }
.sidebox a:visited { color: #fad7fa; }
.sidebox a:active { color: #e07bff; }
.maincopy {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  color: #cfabe0;
}
.maincopy a { color: #e07bff; }
.maincopy a:visited { color: #fad7fa; }
.maincopy a:hover { color: #e07bff; }
.headline {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 18px;
  color: #cfabe0;
  font-weight: bold;
}
.newsbox {
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 13px;
  color: #cfabe0;
}

h2 { margin: 16px 0 6px; font-size: 13px; }
hr { border: 0; border-top: var(--border-width) solid var(--border-color); }
.sidebox h2:first-child { margin-top: 0; }
p { margin: 1em 0; }
.post-list { list-style: none; padding: 0; margin: 0; }
.post-list li { margin-bottom: 8px; }
.post-list time, .blog-index time { font-size: 11px; }
.all-posts { margin-top: 13px; }
.about-list { padding-left: 18px; }
.about-list li { margin: 3px 0; }
.fingerprint { font-size: 11px; overflow-wrap: anywhere; }
.contact-info { overflow-wrap: anywhere; }

.portrait { display: block; width: 100%; height: auto; border: 0; box-sizing: border-box; }
.portrait-caption { margin: 8px 0; text-align: left; }
.blog-index { padding-left: 18px; }
.blog-index li { margin-bottom: 13px; }

.badges {
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 10px;
  color: #cfabe0;
  padding: 10px 2px 2px;
}
.badges img { width: 88px; height: 31px; border: 0; margin: 2px; vertical-align: middle; }
.badges a { display: inline-block; margin: 2px; vertical-align: middle; line-height: 0; text-decoration: none; }
.badges a img { display: block; margin: 0; }
.skip-link { position: absolute; left: 12px; top: -100px; padding: 8px; background: #38263b; }
.skip-link:focus { top: 4px; }

@media (max-width: 620px) {
  .site-frame { width: 100%; }
  .masthead, .masthead > tbody, .masthead > tbody > tr,
  .masthead > tr, .columns, .columns > tbody, .columns > tbody > tr,
  .columns > tr { display: block; width: 100%; }
  .brand-cell { display: block; box-sizing: border-box; width: 100%; padding: 8px; text-align: center; }
  .site-name { font-size: clamp(32px, 9vw, 48px); line-height: 1.4; }
  .sidebox, .maincopy, .newsbox { display: block; box-sizing: border-box; width: 100%; }
  .columns { table-layout: auto; }
  .columns > tbody > tr > .maincopy,
  .columns > tr > .maincopy {
    border-left: 0;
    border-right: 0;
    border-top: var(--border-width) solid var(--border-color);
    border-bottom: var(--border-width) solid var(--border-color);
  }
  .portrait { width: 160px; max-width: 100%; margin: 0 auto; }
  .newsbox { text-align: center; }
}
