.calendar {
  width: 100%;
  border-collapse: collapse;
}

.calendar th, .calendar td {
  border: 1px solid #ddd;
  padding: 8px;
  text-align: center;
}

.calendar th {
  background-color: #f2f2f2;
  font-weight: bold;
}

.calendar td {
  height: 60px;
  vertical-align: top;
}

.talk {
  padding: 5px;
  border-radius: 4px;
  margin: 2px 0;
  color: white;
  font-weight: bold;
  text-align: center;
  cursor: pointer;
}

.talk-faculty {
  background-color: #007bff;
}

.talk-guest {
  background-color: #28a745;
}

.talk-students {
  background-color: #ffc107;
}

.legend {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}
.legend-item {
  display: flex;
  align-items: center;
  margin-right: 15px;
}
.legend-color {
  width: 20px;
  height: 20px;
  margin-right: 5px;
}