/* Basic Styling */
body {
    font-family: 'Avenir Light', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f7f7f7;
}

/* Header *//* Style for the header */
header {
    padding: 20px;
    background-color: #e9ecef;
    border-bottom: 1px solid #dddddd;
}

/* Flex layout for the header content */
.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Style for the logo */
.logo {
    width: 90px;  /* Adjust width as needed */
    height: auto;
    margin-right: 15px;
}

/* Style for the title */
header h1 {
    font-size: 40px;
    margin: 0;
    flex-grow: 1;
}
/* Style for the search bar */
.search-bar {
    display: flex;
    align-items: center;
    margin-bottom: 10px; /* Add space for the dropdown */
}

.search-bar input[type="text"] {
    padding: 5px;
    font-size: 15px;
    border: 1px solid #e41fc3;
    border-radius: 3px;
    flex: 1; /* Allow input to expand */
}

.search-bar button {
    padding: 5px 25px;
    font-size: 15px;
    background-color: #ff8533;
    color: #242222;
    border: none;
    border-radius: 3px;
    margin-left: 5px;
    cursor: pointer;
}

.search-bar button:hover {
    background-color: #007bff;
}

/* Style for the dropdown and label */
#subject-search {
    padding: 5px;
    font-size: 14px;
    border: 1px solid #e41fc3;
    border-radius: 3px;
    width: 100%; /* Ensure it fits below the search bar */
    max-width: 300px; /* Optional: Limit width */
}

label[for="subject-search"] {
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
    color: #242222;
    font-family: Avenir Light, sans-serif;
}

/* Add spacing between the search bar and the dropdown */
#subject-search-container {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* Slider */
.slider {
    display: flex;
    justify-content: center;
    overflow: hidden;
    max-width: 80%;
    margin: 20px auto;
    border-radius: 5px;
}

.slides {
    display: flex;
    animation: slide 15s infinite;
}

.slides img {
    width: 100%;
    height: auto;
    border-radius: 5px;
}

@keyframes slide {
    0% { transform: translateX(0%); }
    33% { transform: translateX(-100%); }
    66% { transform: translateX(-200%); }
    100% { transform: translateX(0%); }
}


/* Main Container */
.container {
    display: flex;
    padding: 12px;
}

/* Sidebar */
.sidebar {
    width: 21%;
    background-color: #e9ecef;
    padding: 16px;
    border-radius: 6px;
}

.left-sidebar {
    margin-right: 30px;
}

.right-sidebar {
    margin-left: 30px;
}

/* Main Content */
main {
    flex: 1;
    padding: 8px;
}

/* News and Quick Search */
.news-search {
    display: flex;
    gap: 20px;
}

.news-announcements, .quick-search, .additional-resources {
    flex: 1;
}
    display: flex;
    gap: 2rem;
    padding: 20px;
}

.news-announcements, .quick-search {
    flex: 1;
}

.news-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.news-item {
    display: flex;
    margin-bottom: 1rem;
    border-bottom: 1px solid #ddd;
    padding-bottom: 1rem;
}

.news-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
    gap: 1rem;
}

.news-content {
    display: flex;
    flex-direction: column;
}

.news-date {
    font-size: 0.9em;
    color: #555;
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

.calendar-icon {
    margin-right: 0.5em;
    font-size: 1.2em;
    color: #333;
}

.quick-search ul {
    list-style: none;
    padding: 0;
}

.quick-search ul li {
    margin: 5px 0;

}

/* Footer */
footer {
    background-color: hsl(0, 3%, 35%);
    color: #fff;
    display: flex;
    justify-content: space-around;
    padding: 20px;
    text-align: center;
}

.footer-column {
    width: 22%;
}

.footer-column h4 {
    margin-bottom: 10px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin: 5px 0;
}

.footer-column ul li a {
    color: #fff;
    text-decoration: none;
}

.footer-column ul li a:hover {
    text-decoration: underline;
}

.footer-column p {
    margin: 6px 0;
}

.footer-column img {
    max-width: 90px;
    margin-bottom: 12px;
}
.book-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px; /* Space between grid items */
}

.book-card {
    background-color: #f9f9f9;
    padding: 10px;
    text-align: center;
    border-radius: 7px;
}

.book-card img {
    width: 75%;
    height: auto;
    object-fit: cover;
}

.book-card h4 {
    margin: 10px 0;
}

.book-card p {
    color: #555;
}

.book-card button {
    padding: 10px 10px;
    background-color: #007BFF;
    color: #fff;
    border: none;
    border-radius: 3px;
    cursor: pointer;
}

.book-card button:hover {
    background-color: #0056b3;
}
a {
  text-decoration: none;
}
/* Center-align the dropdown and label */
#subject-search-container {
    text-align: center;
    margin-top: 10px;
}

#subject-search {
    padding: 5px;
    font-size: 14px;
    border: 1px solid #e41fc3;
    border-radius: 3px;
    width: auto; /* Allow dropdown width to fit content */
}

label[for="subject-search"] {
    font-family: Avenir Light, sans-serif;
    font-size: 14px;
    color: #242222;
    display: inline-block; /* Aligns with the select element */
    margin-bottom: 5px;
}
