  /* General Styles */
body {
  font-family: "freight-sans-pro", sans-serif;
  background-color: #f4f4f4;
  margin: 0;
  padding: 0;
}

/* Container for the component */
.comp-container {
  margin: auto;
  width: 90%;
  max-width: 1200px;
  padding: 15px;
  /* gap: 10px; */
}

.comp-container > div {
  border-radius: 5px;
  padding: 8px;
  box-sizing: border-box;
}

/* Image Element */
.img-element {
  flex-basis: 40%;
}

.img-element img {
  width: 100%;
  border-radius: 8px;
}

/* Schedule Box */
.schedule-box {
  width: 85%;
	margin:auto;
}

.container {
  padding: 20px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  width: 85%;
	margin:auto;
}

.container h1 {
  text-align: center;
  color: #333;
}

.filter-buttons {
  text-align: center;
  margin-bottom: 20px;
}

.filter-btn {
  padding: 10px 20px;
  margin: 5px;
  border: none;
  border-radius: 4px;
  background-color: #2c1b39;
  color: #fff;
  cursor: pointer;
  transition: background 0.3s;
}

.filter-btn.student {
  background-color: #26b6a2;
}
.filter-btn.alumni {
  background-color: #c1a875;
}
.filter-btn.public {
  background-color: #592c88;
}

/* Event List */
#eventList {
  list-style: none;
  padding: 0;
  height: 500px;
  overflow: auto;
  
}

.event-item {
  padding: 5px 15px;
  margin-bottom: 10px;
  background: #f4f4f4;
  border-radius: 4px;
  transition: background 0.3s;
}

.event-item:hover {
  background: #e6e6e6;
}

.event-item.student {
  border-left: 10px solid #26b6a2;
}
.event-item.alumni {
  border-left: 10px solid #c1a875;
}
.event-item.public {
  border-left: 10px solid #592c88;
}

.event-item h2 {
  text-align: left;
  margin-top: 5px;
	margin-bottom:5px;
  padding-right: 40px;
  font-size: 28px;
  font-weight: lighter;
	color: #333;
}

.event-item a {
  text-decoration: none;
  color: #333;
}

.event-item p {
	margin: 0;
}

.event-item button {
  padding: 10px 20px;
  margin: 5px;
  border: none;
  border-radius: 4px;
  background-color: #2c1b39;
  color: #fff;
  cursor: pointer;
  transition: background 0.3s;
}

/* Flex Container */
.flex-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
  /* gap: 10px; */
}

.flex-container > div {
  padding: 8px;
}

.event-date {
  border-right: 1px solid #d4d4d4;
}

.event-title {
  flex-grow: 2;
  flex-shrink: 0;
  margin-left: 15px;
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
  .img-element {
    flex-basis: 100%;
  }
.comp-container{
	width: 100%;
}
  .schedule-box {
    width: 100%;
  }
.container{
	width:100%;
}

  .flex-container {
    flex-wrap: wrap;
  }

  .event-item h2 {
    font-size: 20px;
    padding-right: 20px;
  }
}
