/* OwenPrioreschi.com - shared Windows 95 styles */
html { background: #6699ff; }
body {
  margin: 0; padding: 10px 8px 28px;
  font-family: Arial, Helvetica, sans-serif; font-size: 16px; color: #000; text-align: center;
}
/* fixed, pixelated hometown wallpaper (like bgproperties="fixed") */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1;
  background: #6699ff url(img/minden.png) center top / cover no-repeat;
  image-rendering: pixelated;
}
a { color: #0000ee; }
a:visited { color: #551a8b; }
img { border: 0; }
.px { image-rendering: pixelated; }
.page { max-width: 660px; margin: 0 auto; }

/* text sitting on the wallpaper gets a white strip, 1996-style */
.strip { display: inline; background: #fff; padding: 1px 5px; line-height: 1.75;
  -webkit-box-decoration-break: clone; box-decoration-break: clone; }

/* ---------- Windows 95 chrome ---------- */
.win {
  background: #c0c0c0; text-align: left; margin: 0 auto 16px; padding: 3px;
  box-shadow: inset -1px -1px #000, inset 1px 1px #dfdfdf, inset -2px -2px #808080, inset 2px 2px #fff;
  font-family: "Microsoft Sans Serif", "MS Sans Serif", Tahoma, Geneva, Arial, sans-serif; font-size: 12px;
}
.tb { background: #000080; color: #fff; font-weight: bold; height: 18px; display: flex; align-items: center;
  gap: 3px; padding: 0 2px; }
.tb img { width: 16px; height: 16px; flex: none; }
.tb .t { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tb .c { display: flex; flex: none; }
.tb .c i {
  display: block; width: 16px; height: 14px; background: #c0c0c0 no-repeat center;
  box-shadow: inset -1px -1px #000, inset 1px 1px #fff, inset -2px -2px #808080, inset 2px 2px #dfdfdf;
}
.tb .c i.x { margin-left: 2px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='14' shape-rendering='crispEdges'%3E%3Cpath d='M4 3h2v1H4zM10 3h2v1h-2zM5 4h2v1H5zM9 4h2v1H9zM6 5h4v1H6zM7 6h2v1H7zM6 7h4v1H6zM5 8h2v1H5zM9 8h2v1H9zM4 9h2v1H4zM10 9h2v1h-2z'/%3E%3C/svg%3E"); }
.tb .c i.n { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='14' shape-rendering='crispEdges'%3E%3Cpath d='M4 9h6v2H4z'/%3E%3C/svg%3E"); }
.tb .c i.m { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='14' shape-rendering='crispEdges'%3E%3Cpath d='M3 2h9v2H3zM3 4h1v7H3zM11 4h1v7h-1zM3 10h9v1H3z'/%3E%3C/svg%3E"); }
.tb .c i.q { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='14' shape-rendering='crispEdges'%3E%3Cpath d='M5 2h5v1H5zM4 3h2v2H4zM9 3h2v2H9zM8 5h2v1H8zM7 6h2v2H7zM7 9h2v2H7z'/%3E%3C/svg%3E"); }
.mb { display: flex; padding: 2px 0 1px; }
.mb span { padding: 1px 6px; }
.well { background: #fff; margin-top: 2px; padding: 8px;
  box-shadow: inset 1px 1px #808080, inset -1px -1px #fff, inset 2px 2px #000, inset -2px -2px #dfdfdf; }
.sb { display: flex; gap: 2px; margin-top: 2px; }
.sb span { flex: 1; padding: 2px 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  box-shadow: inset 1px 1px #808080, inset -1px -1px #fff; }
.sb span.fix { flex: 0 0 auto; }
.sb .grip { flex: 0 0 13px; box-shadow: none; padding: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='13' height='13' shape-rendering='crispEdges'%3E%3Cpath d='M12 1v1h-1v1h-1v1H9v1H8v1H7v1H6v1H5v1H4v1H3v1H2v1H1v1h1v-1h1v-1h1V9h1V8h1V7h1V6h1V5h1V4h1V3h1V2h1z' fill='%23fff'/%3E%3Cpath d='M12 2v1h-1v1h-1v1H9v1H8v1H7v1H6v1H5v1H4v1H3v1H2v1h1v-1h1v-1h1V9h1V8h1V7h1V6h1V5h1V4h1V3h1z M12 6v1h-1v1h-1v1H9v1H8v1H7v1H6v1h1v-1h1v-1h1v-1h1V9h1V8h1V7h1z M12 10v1h-1v1h-1v1h1v-1h1v-1h1z' fill='%23808080'/%3E%3C/svg%3E") no-repeat right bottom; }
.btn95 {
  display: inline-flex; align-items: center; justify-content: center; gap: 4px;
  min-width: 75px; height: 23px; padding: 0 10px; box-sizing: border-box;
  background: #c0c0c0; color: #000 !important; text-decoration: none; font: inherit;
  box-shadow: inset -1px -1px #000, inset 1px 1px #fff, inset -2px -2px #808080, inset 2px 2px #dfdfdf;
}
.btn95:active { box-shadow: inset -1px -1px #fff, inset 1px 1px #000, inset -2px -2px #dfdfdf, inset 2px 2px #808080; padding-top: 2px; }
.btn95.dis { color: #808080 !important; text-shadow: 1px 1px #fff; pointer-events: none; }
.btn95 img { width: 16px; height: 16px; }
.tabs { display: flex; padding: 6px 0 0 4px; position: relative; z-index: 1; }
.tab { background: #c0c0c0; padding: 3px 12px 4px; border: 1px solid; border-color: #fff #000 transparent #fff;
  border-radius: 3px 3px 0 0; box-shadow: inset -1px 0 #808080; margin-bottom: -2px; }
.tabpanel { padding: 14px 12px 12px;
  box-shadow: inset -1px -1px #000, inset 1px 1px #fff, inset -2px -2px #808080, inset 2px 2px #dfdfdf; }
.dlg-btns { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 6px; padding: 10px 2px 4px; }

/* ---------- button bar ---------- */
.btnbar { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 2px; padding: 2px; background: #000; margin-bottom: 4px; }
.btnbar .btn95 { min-width: 0; font-family: Arial, Helvetica, sans-serif; font-size: 14px; height: 24px; padding: 0 8px; }
.btnbar .btn95.on { font-weight: bold; }

/* ---------- home page ---------- */
.welcome { width: 380px; max-width: 100%; }
.icons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px 2px; padding: 12px 2px 10px !important; }
.icons a { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center;
  color: #000; text-decoration: none; font-family: Arial, Helvetica, sans-serif; font-size: 13px; line-height: 1.2; }
.icons a img.i { width: 32px; height: 32px; margin-bottom: 4px; }
.icons a span { padding: 0 2px; }
.icons a:hover span, .icons a:focus span { background: #000080; color: #fff; outline: 1px dotted #808080; }
.icons a:hover img.i, .icons a:focus img.i { filter: brightness(.75) sepia(1) hue-rotate(190deg) saturate(4); }
.icons img.new { position: absolute; top: -5px; left: 50%; margin-left: -30px; width: 30px; height: 9px; }
.banner { display: block; margin: 0 auto 10px; max-width: 100%; height: auto; }
.find { font-size: 17px; margin: 4px 0 12px; }
.find a, .links a { white-space: nowrap; }
.seal { display: inline-block; margin: 16px 0 0; line-height: 0; }
.seal img { width: 288px; height: 180px; max-width: 100%; height: auto; }
h1 { font: bold 34px Arial, Helvetica, sans-serif; margin: 10px 0 6px; }
h1 sup { font-size: 12px; vertical-align: 14px; }
.mq { width: 430px; max-width: 100%; margin: 4px auto 14px; background: #fff; color: #0000cc;
  font: italic bold 20px "Times New Roman", Times, serif; padding: 2px 0; }
.links { font-size: 16px; margin: 0 0 16px; }
.half { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; margin-bottom: 4px; }
.half a { line-height: 0; }
.half img { max-width: 100%; height: auto; }
.single { margin: 6px 0 4px; line-height: 0; }

/* ---------- sub-page header ---------- */
.hdr { margin: 0 0 8px; line-height: 0; }
.sub .win { max-width: 640px; }
.where { font-size: 15px; margin: 6px 0 12px; }

/* ---------- resume document ---------- */
.doc { font-family: "Times New Roman", Times, serif; font-size: 15px; line-height: 1.38; color: #000;
  padding: 22px 28px 26px !important; }
.doc .name { text-align: center; font: 28px "Times New Roman", Times, serif; margin: 0 0 2px; letter-spacing: .5px; }
.doc .contact { text-align: center; font-size: 14px; margin: 0 0 6px; }
.doc h2 { font-size: 16px; font-weight: bold; font-variant: small-caps; letter-spacing: .5px; margin: 14px 0 6px;
  border-bottom: 1px solid #000; padding-bottom: 1px; }
.doc .row { display: flex; justify-content: space-between; gap: 12px; }
.doc .row i { white-space: nowrap; }
.doc ul { margin: 2px 0 8px; padding-left: 22px; }
.doc li { margin: 1px 0; }
.doc .item { margin-bottom: 8px; }
.doc .skills div { margin: 1px 0; }

/* ---------- projects ---------- */
.proj { display: flex; gap: 12px; padding: 10px 4px; border-bottom: 1px dotted #808080; font-family: Arial, Helvetica, sans-serif; }
.proj:last-of-type { border-bottom: 0; }
.proj img { width: 32px; height: 32px; flex: none; margin-top: 2px; }
.proj .ptop { display: flex; justify-content: space-between; gap: 10px; font-size: 15px; }
.proj .tools { font-size: 13px; font-style: italic; margin: 1px 0 4px; }
.proj p { margin: 0; font-size: 14px; line-height: 1.45; }
.seealso { font-family: Arial, Helvetica, sans-serif; font-size: 13px; line-height: 1.5; padding: 10px 4px 2px; border-top: 1px solid #808080; }

/* ---------- activities (Explorer details view) ---------- */
.xl { background: #fff; margin-top: 2px; padding: 2px;
  box-shadow: inset 1px 1px #808080, inset -1px -1px #fff, inset 2px 2px #000, inset -2px -2px #dfdfdf; }
.xh, .xr { display: grid; grid-template-columns: 46px 1fr 170px 140px; align-items: center; }
.xh span { background: #c0c0c0; padding: 2px 6px; white-space: nowrap; overflow: hidden;
  box-shadow: inset -1px -1px #000, inset 1px 1px #fff, inset -2px -2px #808080, inset 2px 2px #dfdfdf; }
.xr { color: #000 !important; text-decoration: none; font: 13px Arial, Helvetica, sans-serif; padding: 3px 0; }
.xr .rk { text-align: center; }
.xr .nm { display: flex; align-items: center; gap: 8px; min-width: 0; }
.xr .nm img { width: 32px; height: 32px; flex: none; }
.xr .nm b { font-weight: normal; padding: 0 2px; }
.xr .ro, .xr .dt { padding: 0 6px; }
.xr .mm { display: none; }
.xr:hover .nm b, .xr:focus .nm b { background: #000080; color: #fff; outline: 1px dotted #808080; }
.xr:hover img, .xr:focus img { filter: brightness(.75) sepia(1) hue-rotate(190deg) saturate(4); }

/* ---------- single activity ---------- */
.photo { background: #808080; margin-top: 2px; padding: 2px; line-height: 0;
  box-shadow: inset 1px 1px #808080, inset -1px -1px #fff, inset 2px 2px #000, inset -2px -2px #dfdfdf; }
.photo img { display: block; width: 100%; height: auto; }
.act { font-family: Arial, Helvetica, sans-serif; padding: 12px 14px !important; }
.acthead { display: flex; gap: 12px; align-items: center; }
.acthead img { width: 32px; height: 32px; flex: none; }
.acthead .nm { font-size: 18px; font-weight: bold; }
.acthead .meta { font-size: 14px; margin-top: 2px; }
.act p { font-size: 14px; line-height: 1.5; margin: 10px 0 0; }
.act ul { font-size: 14px; line-height: 1.5; margin: 10px 0 0; padding-left: 22px; }
.act .credit { font-size: 12px; color: #404040; }

/* ---------- about / hometown dialogs ---------- */
.sysprops { display: flex; gap: 18px; align-items: flex-start; }
.sysprops .logo { flex: none; padding-top: 6px; }
.sysprops .logo img { width: 288px; height: 180px; max-width: 100%; height: auto; }
.sysprops dl { margin: 0; font-size: 13px; line-height: 1.45; }
.sysprops dt { margin-top: 10px; }
.sysprops dt:first-child { margin-top: 0; }
.sysprops dd { margin: 0 0 0 26px; }
.display { display: flex; gap: 18px; align-items: center; }
.mon { flex: none; width: 196px; }
.mon .bz { background: #c0c0c0; padding: 10px 10px 16px; border-radius: 6px 6px 2px 2px; position: relative;
  box-shadow: inset -1px -1px #000, inset 1px 1px #fff, inset -2px -2px #808080, inset 2px 2px #dfdfdf; }
.mon .sc { height: 128px; background: url(img/minden.png) center / cover; image-rendering: pixelated;
  box-shadow: 0 0 0 1px #000, 0 0 0 2px #808080; }
.mon .led { position: absolute; right: 14px; bottom: 6px; width: 5px; height: 3px; background: #00ff00; }
.mon .neck { width: 56px; height: 8px; margin: 0 auto; background: #c0c0c0; box-shadow: inset -1px 0 #808080, inset 1px 0 #fff; }
.mon .base { width: 124px; height: 10px; margin: 0 auto; background: #c0c0c0;
  box-shadow: inset -1px -1px #000, inset 1px 1px #fff, inset -2px -2px #808080; }
.lb { background: #fff; padding: 2px; margin: 4px 0 10px; width: 170px;
  box-shadow: inset 1px 1px #808080, inset -1px -1px #fff, inset 2px 2px #000, inset -2px -2px #dfdfdf; }
.lb div { padding: 1px 4px; }
.lb .sel { background: #000080; color: #fff; }
.display p { font-size: 13px; line-height: 1.45; margin: 0; }

/* ---------- footer ---------- */
hr { border: 0; border-top: 1px solid #808080; border-bottom: 1px solid #fff; margin: 18px 0 12px; }
.foot1 { font: italic 18px "Times New Roman", Times, serif; margin-bottom: 6px; }
.fine { font: italic 11px/1.5 "Times New Roman", Times, serif; margin: 6px auto; max-width: 620px; }
.fine.nav { font: 14px/1.5 Arial, Helvetica, sans-serif; }
.badges { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin: 16px 0 10px; flex-wrap: wrap; }
.badges img { display: block; }

@media (max-width: 520px) {
  body { font-size: 15px; }
  h1 { font-size: 26px; }
  .sysprops, .display { flex-direction: column; align-items: center; }
  .sysprops dl { align-self: stretch; }
  .doc { padding: 14px 12px 16px !important; font-size: 14px; }
  .doc .row, .proj .ptop { flex-direction: column; gap: 0; }
  .xh, .xr { grid-template-columns: 34px 1fr; }
  .xh span:nth-child(n+3), .xr .ro, .xr .dt { display: none; }
  .xr .mm { display: block; font-size: 12px; color: #404040; }
  .badges { justify-content: center; }
}

/* sub-page spacing + home seal plate */
.sub { margin-top: 10px; }
.seal { background: #fff; padding: 6px 10px; box-shadow: 0 0 0 1px #808080; }
.proj:nth-last-child(2) { border-bottom: 0; }
@media (max-width: 520px) {
  .xh span:first-child { font-size: 0; }
  .xh span:first-child::after { content: "#"; font-size: 12px; }
}
