/* ===== 1997-ish professional minimal ===== */

:root{
  --blue: #3434eb;
  --text: #111;
  --muted: #444;
  --panel: rgba(255,255,255,0.2);
}

html, body {
  height: 100%;
}

body {
  margin: 0;
  color: var(--text);
  background-color: #bdbdbd;

  /* Replace with your tiled texture */
  background-image: url("gryl021.jpg");
  background-repeat: repeat;

  font-family: "Times New Roman", Times, serif;
  font-size: 17px;
  line-height: 1.5;
}

.page {
  max-width: 820px;
  margin: 28px auto;
  padding: 0 14px;
}

.header {
  text-align: center;
  padding: 18px 14px 7px 14px;
}

.brain-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;   /* space between gifs */
  margin-bottom: 12px;
}

.brain-row img {
  width: 70px;
  height: 70px;
  object-fit: contain;
  image-rendering: pixelated; /* keeps retro vibe if pixel art */
}


.siteTitle {
  margin: 0;
  color: var(--blue);
  font-size: 40px;
  letter-spacing: 0.5px;
}

.tagline {
  margin: 6px 0 8px 0;
  color: var(--muted);
  font-size: 18px;
}

.nav a {
  display: inline-block;
  padding: 4px 10px;
  margin: 0 3px;

  font-family: "Verdana", Arial, sans-serif;
  font-size: 13px;
  text-decoration: none;

  color: var(--blue);
  background: #dcdcdc;

  border-top: 2px solid #ffffff;
  border-left: 2px solid #ffffff;
  border-bottom: 2px solid #7a7a7a;
  border-right: 2px solid #7a7a7a;
}
.nav a:hover {
  background: #e8e8e8;
}

.nav a:active {
  border-top: 2px solid #7a7a7a;
  border-left: 2px solid #7a7a7a;
  border-bottom: 2px solid #ffffff;
  border-right: 2px solid #ffffff;
}


.sep {
  color: #777;
  margin: 0 6px;
}

.content {
  margin-top: 10px;
  padding: 18px 18px;
}

.divider{
  border: 0;
  height: 3px;
  margin: 36px 0;
  background: linear-gradient(to bottom, #e8e8e8, #a6a6a6, #7a7a7a);
  box-shadow: 0 2px 3px rgba(0,0,0,0.2);
}

.gif-divider{
  height: 30px;                 /* exact gif height */
  margin: 20px 0;
  background: transparent url("lightSep.gif") center;
  background-size: auto 30px;   /* force exact height */
  border: 0 !important;
  outline: 0 !important;
  padding: 0;
  line-height: 0;
  display: block;
}

.float-right {
  float: right;
  width: 425px;
  margin: 0 0 10px 20px;
  border: 1px solid #888;
}

.float-left {
  float: left;
  width: 425px;
  margin: 0 20px 10px 0;
  border: 1px solid #888;
}

/* Responsive floats: scale with column */
.float-right,
.float-left {
  width: 425px;          /* desktop target */
  max-width: 48%;        /* never exceed ~half the column */
  height: auto;
}

/* Mobile: stack image above text */
@media (max-width: 600px) {
  .float-right,
  .float-left {
    float: none;
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 12px auto 16px auto;
  }
}

.nav, .tagline {
  font-family: "Verdana", Arial, sans-serif;
  font-size: 13px;
}


h2 {
  font-family: "Courier New", Courier, monospace;
  font-weight: bold;
  margin: 0 0 12px 0;
  color: var(--blue);
  font-size: 22px;
}

h3 {
    font-family: "Courier New", Courier, monospace;
    font-weight: bold;
  margin: 18px 0 8px 0;
  color: var(--blue);
  font-size: 18px;
}
#research h3 {
  text-align: center;
}


p {
  margin: 0 0 12px 0;
}


.pub-year {
  display: flex;
  align-items: center;
  margin: 36px 0 14px 0;

  font-family: "Courier New", monospace; /* retro */
  font-size: 18px;
  font-weight: bold;
  color: var(--blue);
}

.pub-year::after {
  content: "";
  flex: 1;
  height: 2px;
  margin-left: 14px;

  background: #9aa3ad;
  box-shadow: 0 2px 3px rgba(0,0,0,0.15);
}



.pubs {
  margin: 0;
  padding-left: 18px;
}

.pubs li {
  margin-bottom: 10px;
}

a {
  color: var(--blue);
}

a:visited {
  color: #5a2ea6; /* mild retro visited purple */
}

.contactLine {
  margin: 0;
}

.footer {
  text-align: center;
  margin-top: 12px;
  color: #333;
  font-size: 12px;
}


