/* Reset default margin and padding */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body styles */
body {
    font-family: 'Roboto', sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
    color: #333;
}


/* Header styles */
header {
    background-color: #fff;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    opacity: 0.9;
}

.logo {
    font-size: 24px;
    font-weight: bold;
}

.navigation ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

.navigation li a {
    text-decoration: none;
    color: #333;
}

/* Top section styles */
#top-section {
    background-color: #1b1b1b;
    color: #fff;
    padding: 20px;
    text-align: center;
}

.search-bar {
    margin: 20px auto;
    max-width: 400px;
    background-color: #504e4ec0;
}

#searchInput {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: none;
    border-radius: 5px;
}

/* Assignments grid styles */
.assignments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px;
}

/* Stylish card styles */
.assignment-card {
    background-color:  #070707d3;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.assignment-card:hover {
    transform: translateY(-5px);
}

.assignment-card h2 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #f4f4f4;
}

.assignment-card p {
    margin-bottom: 8px;
    color:darkgray;
}

.pdf-container {
    margin-bottom: 15px;
}

.pdf-viewer {
    width: 100%;
    height: 200px;
    border: none;
    border-radius: 8px;
}

.view-pdf-link {
    display: block;
    margin-bottom: 10px;
    text-decoration: none;
    color: #007bff;
}

.whatsapp-link {
    display: block;
    text-decoration: none;
    color: #25d366;
}

/* Modern style for the no assignments note */
.no-assignments-note {
    font-size: 25px;
    color: #555;
    text-align: center;
    margin-top: 20px;
    padding: 20px;
    background-color: #f0f0f0;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    opacity: 0.7;
}
