body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}
header {
    background-color: #f3e8de;
    color: #333;
    padding: 20px;
    text-align: center;
}
h1 {
    margin: 0;
    font-size: 2em;
}
main {
    padding: 20px;
}
/* Semester section styling */
.semester {
    background-color: #fff;
    margin-bottom: 30px;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}
.semester h2 {
    font-size: 1.8em;
    margin-bottom: 10px;
    color: #333;
    text-align: center;
}
/* Table styling */
.notes-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    margin-bottom: 20px;
}
.notes-table th, .notes-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
    font-size: 1em;
}
.notes-table th {
    background-color: #f2f2f2;
    font-weight: bold;
}
.notes-table td {
    font-size: 0.95em;
}
.notes-table tr:nth-child(even) {
    background-color: #f9f9f9;
}
/* Download icon styling */
.download-icon {
    text-decoration: none;
    font-size: 20px;
    transition: transform 0.3s ease-in-out;
}
.download-icon:hover {
    transform: scale(1.3) rotate(15deg); /* Adds scale and rotation animation on hover */
    color: #007bff;
}
/* Footer styling */
footer {
    text-align: center;
    padding: 15px;
    background-color: #f3e8de;
    color: #333;
    font-size: 0.9em;
    margin-top: 20px;
}
/* Responsive Design */
@media (max-width: 768px) {
    .semester {
        padding: 15px;
    }
    .notes-table th, .notes-table td {
        padding: 8px;
    }
    h1 {
        font-size: 1.5em;
    }
    .semester h2 {
        font-size: 1.4em;
    }
}
