/* THE COLLEGE'S OWN WEBSITE, built in 2004 by the Bursar's nephew and never updated. Everything below the real strip is
   period: tables of bevels, Times and Comic Sans, a stone-wall tile, a visitor counter. Motion is slow (nothing flashes
   faster than once a second) and all of it stops under reduced motion. */
body {
  margin: 0; color: #000; font: 16px/1.35 'Times New Roman', Times, serif;
  background-color: #8d8778;
  background-image:
    linear-gradient(#5f5a4e 2px, transparent 2px),
    linear-gradient(90deg, #5f5a4e 2px, transparent 2px),
    linear-gradient(90deg, #5f5a4e 2px, transparent 2px),
    radial-gradient(circle at 30% 30%, #a39d8d 0 20%, transparent 60%);
  background-size: 60px 30px, 60px 60px, 60px 60px, 30px 30px;
  background-position: 0 0, 0 0, 30px 30px, 0 0;
}
a { color: #0000ee; }
a:visited { color: #551a8b; }
.page { max-width: 780px; margin: 14px auto 24px; background: #fffbe6; border: 4px ridge #c9a227; }
.top { text-align: center; padding: 10px 8px 4px; background: #fffbe6; }
.top img { width: 96px; height: auto; vertical-align: middle; }
.wordart {
  display: inline-block; vertical-align: middle; margin: 0 6px;
  font: 900 40px/1 Impact, 'Arial Black', sans-serif; letter-spacing: 1px;
  background: linear-gradient(#fff36b, #ff9a1f 55%, #c4300f); -webkit-background-clip: text; background-clip: text; color: transparent;
  -webkit-text-stroke: 1.5px #3b1300; filter: drop-shadow(3px 3px 0 #7a7a7a);
  transform: perspective(300px) rotateX(12deg);
}
.top .est { font: italic 15px/1.3 'Times New Roman', serif; color: #6b0000; margin: 4px 0 0; }
.top .motto { font: bold 13px 'Comic Sans MS', 'Comic Sans', 'Chalkboard SE', cursive; color: #004d00; margin: 2px 0 6px; }

.marquee { background: #000080; color: #ffff00; overflow: hidden; white-space: nowrap; border-top: 2px outset #8080ff; border-bottom: 2px outset #8080ff; }
.marquee span { display: inline-block; padding: 4px 0 4px 100%; font: bold 15px Arial, Helvetica, sans-serif; animation: crawl 34s linear infinite; }
@keyframes crawl { to { transform: translateX(-100%); } }

table.layout { width: 100%; border-collapse: collapse; }
td.nav { width: 170px; vertical-align: top; background: #e8e0c0; border-right: 3px groove #c9a227; padding: 10px 8px; }
td.main { vertical-align: top; padding: 10px 14px 14px; }
.nav a.b {
  display: block; margin: 0 0 6px; padding: 4px 6px; text-align: center; text-decoration: none;
  background: #c0c0c0; color: #000; border: 3px outset #eee; font: bold 13px Verdana, Geneva, sans-serif;
}
.nav a.b:hover { background: #d4d0c8; color: #800000; }
.nav a.b:active { border-style: inset; }
.nav .badge { display: block; width: 88px; height: 31px; margin: 10px auto 0; border: 1px solid #000; font: bold 9px/1.05 Verdana, sans-serif; text-align: center; overflow: hidden; }
.nav .badge span { display: block; }
.b-ns { background: linear-gradient(#003, #036); color: #fff; padding-top: 4px; }
.b-ns span:first-child { color: #ffcc00; font-size: 8px; }
.b-np { background: #fff; color: #000; padding-top: 3px; }
.b-np span:last-child { color: #c00; font-size: 11px; }
.b-y2k { background: #090; color: #fff; padding-top: 3px; font-size: 11px; }
.b-y2k span:last-child { font-size: 8px; color: #cfc; }

.construction {
  margin: 0 0 12px; padding: 6px; text-align: center; font: bold 14px Arial, sans-serif;
  background: repeating-linear-gradient(-45deg, #ffcc00 0 14px, #111 14px 28px); background-size: 40px 40px;
  animation: stripes 1.6s linear infinite;
}
.construction span { background: #ffcc00; padding: 2px 8px; border: 2px solid #111; }
@keyframes stripes { to { background-position: 40px 0; } }

h1.welcome { font: bold 28px 'Comic Sans MS', 'Comic Sans', 'Chalkboard SE', cursive; color: #800080; text-align: center; margin: 4px 0 8px; text-shadow: 2px 2px 0 #ffcc66; }
p.lead { margin: 0 0 10px; }
.photos { text-align: center; margin: 10px 0; }
.photos figure { display: inline-block; margin: 4px 6px; vertical-align: top; width: 220px; }
.photos img { width: 100%; height: auto; border: 3px ridge #888; display: block; }
.photos figcaption { font: italic 13px 'Times New Roman', serif; margin-top: 3px; }
.click { font: 11px Verdana, sans-serif; color: #666; }

h2.news { font: bold 20px Arial, Helvetica, sans-serif; color: #fff; background: #800000; padding: 3px 8px; margin: 16px 0 6px; border: 2px outset #b33; }
ul.news { margin: 0 0 6px; padding-left: 20px; }
ul.news li { margin: 0 0 6px; }
.new { display: inline-block; font: bold 10px Arial, sans-serif; color: #fff; background: #f00; padding: 0 3px; margin-left: 4px; animation: blink 1.2s steps(1) infinite; vertical-align: 2px; }
@keyframes blink { 50% { visibility: hidden; } }
.date { font: bold 13px 'Courier New', monospace; color: #555; }

.apply { text-align: center; margin: 16px 0 8px; }
.apply a {
  display: inline-block; font: bold 22px 'Comic Sans MS', 'Comic Sans', 'Chalkboard SE', cursive; color: #fff; text-decoration: none;
  background: linear-gradient(#36f, #009); padding: 8px 22px; border: 4px outset #69f; text-shadow: 2px 2px 0 #000;
  animation: throb 2.4s ease-in-out infinite;
}
@keyframes throb { 50% { transform: scale(1.06); } }

.midi { margin: 14px auto 0; max-width: 360px; background: #c0c0c0; border: 2px outset #eee; padding: 4px 6px; font: 12px Verdana, sans-serif; display: flex; align-items: center; gap: 8px; }
.midi button { font: bold 12px Verdana, sans-serif; background: #c0c0c0; border: 2px outset #eee; padding: 1px 8px; cursor: pointer; }
.midi button:active { border-style: inset; }
.midi .lcd { flex: 1; background: #000; color: #0f0; font: 12px 'Courier New', monospace; padding: 2px 4px; overflow: hidden; white-space: nowrap; }

.guest { text-align: center; margin: 14px 0 4px; font: bold 15px 'Comic Sans MS', 'Comic Sans', 'Chalkboard SE', cursive; }
.counter { text-align: center; margin: 14px 0 6px; font: 13px Verdana, sans-serif; }
.counter .odo { display: inline-block; margin-left: 4px; vertical-align: middle; }
.counter .odo b { display: inline-block; width: 15px; background: #000; color: #fff; font: bold 16px/22px 'Courier New', monospace; margin-left: 1px; text-align: center; border-top: 2px solid #444; }
.webring { text-align: center; font: 12px Verdana, sans-serif; margin: 10px 0 0; padding: 6px; border: 2px dashed #800000; }
.old { text-align: center; font: 11px Verdana, sans-serif; color: #444; padding: 8px; border-top: 2px groove #c9a227; }
hr.rainbow { border: 0; height: 6px; background: linear-gradient(90deg, red, orange, yellow, lime, cyan, blue, violet); margin: 14px 0; }

@media (max-width: 640px) {
  .wordart { font-size: 28px; }
  .top img + .wordart + img { display: none; }
  table.layout, table.layout tbody, table.layout tr, table.layout td { display: block; width: auto; }
  td.nav { border-right: 0; border-bottom: 3px groove #c9a227; display: flex !important; flex-wrap: wrap; gap: 6px; }
  .nav a.b { margin: 0; flex: 1 1 40%; }
  .nav .badge { display: none; }
  .photos figure { width: 44%; margin: 4px 2%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; }
  .marquee span { padding-left: 8px; white-space: normal; }
}

/* inner pages */
h1.page { font: bold 26px 'Comic Sans MS', 'Comic Sans', 'Chalkboard SE', cursive; color: #800080; text-align: center; margin: 4px 0 10px; text-shadow: 2px 2px 0 #ffcc66; }
h2.sec { font: bold 18px Arial, Helvetica, sans-serif; color: #fff; background: #000080; padding: 3px 8px; margin: 18px 0 8px; border: 2px outset #66f; }
.main p { margin: 0 0 10px; }
.main ul { margin: 0 0 10px; padding-left: 22px; }
.main li { margin: 0 0 5px; }
.notice { background: #ffffcc; border: 2px dashed #c90; padding: 8px 10px; margin: 0 0 12px; }
.notice b.h { display: block; font: bold 15px Arial, sans-serif; color: #900; margin-bottom: 3px; }
.notice .sig { display: block; text-align: right; font-style: italic; margin-top: 4px; }
table.fees { width: 100%; border-collapse: collapse; margin: 0 0 12px; font: 14px 'Times New Roman', serif; }
table.fees th, table.fees td { border: 1px solid #996; padding: 4px 6px; text-align: left; vertical-align: top; }
table.fees th { background: #c9a227; color: #000; }
table.fees td.n { text-align: right; white-space: nowrap; }
.dept { border: 3px ridge #c9a227; background: #fff; padding: 8px 10px; margin: 0 0 10px; }
.dept h3 { margin: 0 0 3px; font: bold 17px 'Times New Roman', serif; color: #000080; }
.dept .chair { font: italic 13px 'Times New Roman', serif; color: #555; margin: 0 0 4px; }
.dept.closed h3 { color: #777; text-decoration: line-through; }
.staffgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; margin: 0 0 10px; }
.staffgrid a { display: block; text-align: center; font: bold 13px Verdana, sans-serif; text-decoration: none; background: #fff; border: 2px outset #ccc; padding: 6px 4px; }
.staffgrid a span { display: block; font: italic 12px 'Times New Roman', serif; color: #444; }
.staffgrid img, .staffgrid .nophoto { width: 96px; height: 96px; display: block; margin: 0 auto 4px; border: 2px ridge #888; }
.nophoto { background: #ddd; color: #888; font: bold 11px/96px Verdana; }
.spaceban { text-align: center; background: #039; color: #fff; padding: 8px; border: 3px outset #69f; margin: 0 0 12px; font: bold 15px Arial, sans-serif; }
.spaceban a { color: #ff0; }
.guest { margin: 0 0 10px; }
.entry { border: 2px solid #800080; background: #fff; margin: 0 0 10px; }
.entry .who { background: #800080; color: #fff; font: bold 13px Verdana, sans-serif; padding: 3px 8px; }
.entry .who span { font-weight: normal; float: right; }
.entry p { margin: 6px 8px; }
.course { border-bottom: 2px dotted #c9a227; padding: 6px 0 8px; }
.course h3 { margin: 0; font: bold 17px 'Times New Roman', serif; color: #800000; }
.course .alum { font: italic 13px 'Times New Roman', serif; color: #555; }
.lost { text-align: center; padding: 30px 10px; }
.lost .ash { font: bold 60px Impact, sans-serif; color: #555; text-shadow: 3px 3px 0 #c60; }
