/* Custom styles for Aaron Erlich's website */

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Make tables look better */
table {
  margin: 2em 0;
  border-collapse: collapse;
  width: 100%;
}

table th {
  background-color: #f8f9fa;
  border-bottom: 2px solid #dee2e6;
  padding: 0.75rem;
  text-align: left;
}

table td {
  border-bottom: 1px solid #dee2e6;
  padding: 0.75rem;
}

/* Style for horizontal rules between publications */
hr {
  margin: 2em 0;
  border: 0;
  border-top: 1px solid #dee2e6;
}

/* Contact info styling */
.contact {
  background-color: #f8f9fa;
  padding: 1.5em;
  border-radius: 5px;
  margin-top: 2em;
}

/* Image styling */
img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
}

/* Hero banner for homepage */
#hero-banner img {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  margin-bottom: 2em;
}

/* Profile images in grid layouts */
.grid img {
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1em;
}

/* Headshot sizing */
img[width="150px"] {
  width: 150px;
  height: 150px;
  object-fit: cover;
}
