body {
  margin: 5% auto;
  background: #f2f2f2;
  color: #444444;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, sans-serif;
  font-size: 16px;
  line-height: 1.8;
  text-shadow: 0 1px 0 #ffffff;
  /* max-width: 1000px;
    min-width: 400px;*/
  max-width: 80%;
}

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  text-align: center;
  background-color: #f4f4f4;
  padding: 10px 20px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.content {
  margin-top: 60px; /* Adjust based on topbar height */
  padding: 20px;
}

code {
  background: white;
}

a {
  border-bottom: 1px solid #444444;
  color: #444444;
  text-decoration: none;
}

a:hover {
  border-bottom: 0;
}

h1 {
  color: #4b2e83;
}

h2 {
  color: #4b2e83;
}

.column {
  float: left;
  width: 50%;
}

.bold {
  border-bottom: 0;
  color: #444444;
  text-decoration: none;
  font-weight: bold;
}

.bold:hover {
  border-bottom: 1px solid #444444;
}

table {
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  table-layout: fixed; /* Ensures equal column widths */
}
th,
td {
  border: 1px solid #ccc;
  text-align: left;
  padding: 10px;
  vertical-align: top;
}
th {
  background-color: #f4f4f4;
}
td {
  height: 60px; /* Enough space for text */
}
.time-slot {
  font-weight: bold;
}

.staff-container {
  margin: 20px auto;
  padding: 10px;
}
.staff-member {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
  border-bottom: 1px solid #ccc;
  padding-bottom: 15px;
}
.staff-photo {
  flex-shrink: 0;
  width: 120px;
  height: 150px;
  margin-right: 20px;
  border-radius: 5px;
  overflow: hidden;
  margin-top: 25px;
}
.staff-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.staff-details {
  flex-grow: 1;
}

.syllabus-section {
  font-weight: bold;
  font-size: 1.5rem;
}

.page-title {
  font-weight: bold;
  font-size: 2rem;
}

header {
  margin-top: 3rem;
}

@media (max-width: 760px) {
  header > h1 {
    font-size: 1.75rem;
  }

  .topbar {
    text-align: left;
  }

  .large-header {
    display: none;
  }

  .small-header {
    display: table-header-group;
  }
}
@media (max-width: 1100px) {
  header {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

@media (min-width: 760px) {
  .small-header {
    display: none;
  }

  .large-header {
    display: table-header-group;
  }
}

.topbar > p > span {
  margin: 0.125rem;
}

header > h1 {
  font-size: 2rem;
}

.content {
  max-width: 100%;
}

.content > h2 {
  font-size: 1.5rem;
}
.content > h3 {
  font-size: 1.2rem;
}

.content > p {
  margin-left: 1rem;
}

.schedule-card {
  border-radius: 10px;
  background-color: white;
}

.card-header {
  background: #4b2e83;
  color: white;
  padding: 1rem;
  display: flex;
  border-radius: 10px 10px 0 0;
  justify-content: space-between;
}

.schedule-content {
  padding: 1rem;
}

.schedule-content h2 {
  color: black;
  font-size: 1rem;
}

.schedule-links {
  display: flex;
  gap: 1rem;
}

.schedule-link {
  background: rgb(238, 238, 238);
  padding: 0.5rem 1rem;
  border-radius: 10px;
  border: 0px solid;
}
