body {
    background-image: url('images/library-background.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: #ffffff;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: transparent;
    padding: 10px;
}

footer {
    margin-top: 9.5em;
    padding: 1px;
    text-align: center;
}

.indexcontainer {
    margin-top: 5em;
    margin-left: 0px;
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
}

.container {
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
}

.menu-toggle {
    color : rgba(255, 255, 255, 0.5);
    display: flex;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
}


.bar {
    background-color: #f0f0f0;
    height: 3px;
    width: 30px;
    margin: 3px 0;
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
}

.nav-links li {
    margin: 0 40px;
}

.nav-links a {
    color : #f0f0f0;
    text-decoration: none;
    transition: 0.3s;
}

.nav-links a:hover {
    transform: scale(1.05);
    color: #faa61a;
}

.slide-in-menu {
    list-style: none;
    position: fixed;
    top: 0;
    left: -300px;
    width: 300px;
    height: 1200px;
    background-color: #202225;
    transition: 0.5s;
    padding: 50px 0;
}

.slide-in-menu li {
    margin: 20px 0;
    text-align: center;
}

.slide-in-menu a {
    text-decoration: none;
    color: #ffffff;
}

.slide-in-menu a:hover {
    transform: scale(1.05);
    color: #faa61a;
}

.close-button {
    text-align: right;
    margin-right: 10px;
}

.close-button a {
    text-decoration: none;
    color: #ffffff;
}

.close-button a:hover {
    color: orange;
}

.close-button i {
    font-size: 20px;
    cursor: pointer;
}

footer {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: transparent;
    height: 50px;
}

footer a {
    margin: 0 10px;
    color: #ffffff;
    font-size: 24px;
}

.developer-card {
    display: flex;
    align-items: center;
    background-color: #f5f5f5;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    max-width: 400px;
    margin: 0 auto;
}

.developer-image {
    flex: 1;
}

.developer-image img {
    max-width: 200px;
    border-radius: 5px;
}

.developer-info {
    flex: 2;
    padding: 20px;
}

.developer-info h2 {
    font-size: 24px;
    margin: 0;
    color: #333;
}

.developer-info p {
    font-size: 16px;
    color: #555;
    margin: 10px 0;
}

.developer-info a {
    text-decoration: none;
    color: #007BFF;
    margin-right: 10px;
    font-size: 18px;
}


.slide-in-menu .social-media-link {
    display: flex;
    align-items: center;
    margin: 20px 0;
}

.slide-in-menu .social-media-link i {
    margin-left: 135px;
}

.slide-in-menu .social-media-link a {
    text-decoration: none;
    color: #ffffff;
}

table {
    margin-left: 100px;
    width: 1010px;
    border-collapse: collapse;
    border-spacing: 0;
    border: 2px solid #333;
    margin-bottom: 20px;
    font-size: 16px;
}

th {
    background-color: #333;
    color: #fff;
    font-weight: bold;
    padding: 10px;
    text-align: left;
    border: 1px solid #444;
}

tr{
    color:#36393f
}

tr:nth-child(even) {
    background-color: #f2f2f2;
}

tr:nth-child(odd) {
    background-color: #fff;
}

td {
    padding: 10px;
    text-align: left;
    border: 1px solid #ccc;
}

tr:hover {
    background-color: #ddd;
}

.subject-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.subject-card {
    border: 1px solid #ccc;
    padding: 10px;
    height:176px;
    color: #faa61a;
    background-color: transparent;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: background-color 0.2s, transform 0.2s;
}

.subject-card:hover {
    background-color: #f0f0f0;
    transform: translateY(-5px);
}

.subject-image {
    height: 150px;
    object-fit: cover;
}

.subject-name {
    font-weight: bold;
    margin-top: 10px;
}

.books-list {
    margin-top: 20px;
}

.book-card {
    border: 1px solid #ccc;
    padding: 10px;
    margin-bottom: 10px;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.semester-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.semester-card {
    border: 1px solid #ccc;
    padding: 10px;
    height: 250px;
    width: 200px;
    color: #ccc;
    background-color: transparent;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: background-color 0.2s, transform 0.2s;
    margin: 40px 20px;
    margin-left: 50px;
}

.semester-card:hover {
    transform: scale(1.05);
}

.semester-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.semester-name {
    font-weight: bold;
    margin-top: 10px;
}

.semester-card a {
    text-decoration: none;
    color: #007BFF;
    font-weight: bold;
}

@media (max-width: 700px) {
    .semester-card {
        flex: 0 1 100%;
        margin-right: 0;
    }
}

.project-card-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 2em;
}

.project-card {
    border: 1px solid #ccc;
    padding: 10px;
    height: 250px;
    width: 250px;
    color: #fff;
    background-color: transparent;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: background-color 0.2s, transform 0.2s;
    margin-left: 20px;
}

.project-card img {
    width: 250px;
    height: 160px;
}

.project-card h3 {
    margin: 15px 0;
    font-size: 1.2rem;
}

.project-card a {
    display: block;
    background-color: #007BFF;
    color: #fff;
    padding: 8px 10px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s;
}

.project-card a:hover {
    background-color: #0056b3;
    transform: scale(1.05);
}