body {
  max-width: 800px;
  margin: auto;
  padding: 1em;
  line-height: 1.5;
  font-size: 1.1em; /* Adjust as needed, e.g. 16px, 1em, 1.2em */
}

.header-title-phenobase {
    font-size: 4em !important;
  }

.article-meta {
  text-decoration: none;
  background: #eee;
  padding: 5px;
  border-radius: 5px;
}

/* header and footer areas */
.menu { padding: 0;  margin-top: 38px; }
.menu li { display: inline-block; margin: 0px 20px; }
.menu a {
  text-decoration: none;
  font-size: 20px;
  padding: 2px 5px;
  border-radius: 5px;
}

.menu.text-white a {
  color: #fff !important;
}
.menu:not(.text-white) a {
  color: #000 !important;
}

.menu, .article-meta, footer { text-align: center; }
.title { font-size: 1.1em; }
footer a { text-decoration: none; }
hr {
  border-style: dashed;
  color: #ddd;
}

/* code */
pre {
  border: 1px solid #ddd;
  box-shadow: 5px 5px 5px #eee;
  padding: 1em;
  overflow-x: auto;
}
code { background: #f9f9f9; }
pre code { background: none; }

/* misc elements */
img, iframe, video { max-width: 100%; }
main { hyphens: auto; }
blockquote {
  background: #f9f9f9;
  border-left: 5px solid #ccc;
  padding: 3px 1em 3px;
}

table {
  margin: auto;
  border-top: 1px solid #666;
  border-bottom: 1px solid #666;
}
table thead th { border-bottom: 1px solid #ddd; }
th, td { padding: 5px; }
thead, tfoot, tr:nth-child(even) { background: #eee; }

.team-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
  margin-top: 32px;
}
.team-member {
  background: rgba(255,255,255,0.8);
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  padding: 24px;
  text-align: center;
  width: 320px;
}
.team-photo {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 16px;
  border: 3px solid #461D7C;
  filter: grayscale(25%);
}

.team-photo:hover {
    filter: grayscale(0%);
    border: 4px solid green;
  }

.partner-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
  align-items: center;
  margin-top: 32px;
  margin-bottom: 32px;
}
.partner-member {
  background: rgba(255,255,255,0.8);
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  padding: 16px;
  text-align: center;
  width: 200px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.partner-logo {
  max-width: 180px;
  max-height: 100px;
  border-radius: 0;
  box-shadow: none;
}
@media (max-width: 600px) {
  body, p, li, a, h1, h2, h3, h4, h5, h6, .header-title, .menu a, #animated-text {
    font-size: 1em;
  }
  .header-title-phenobase {
    font-size: 2.5em !important;
  }
  #animated-text {
    font-size: 1.2em !important;
    min-width: 120px;
  }

    .team-grid {
    flex-direction: column;
    align-items: center;
  }
  .team-member {
    width: 90vw;
  }
  .partner-grid {
    flex-direction: column;
    align-items: center;
  }
  .partner-member {
    width: 90vw;
    height: 80px;
  }
  .partner-logo {
    max-width: 90vw;
    max-height: 60px;
  }
}
