body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

.edit-link {
    position: fixed;
    top: 10px;
    right: 10px;
    text-decoration: none;
    font-size: 1.5em;
    color: #888;
    filter: grayscale(100%);
    transition: filter 0.3s ease, transform 0.3s ease;
    z-index: 1000;
}

.edit-link:hover {
    filter: grayscale(0%);
    color: #ff5722;
    transform: scale(1.2);
}

h1 {
    text-align: center;
    margin: 20px 0;
}

.exam-cards {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 20px;
    max-width: 600px;
    margin: 0 auto;
}

.exam-card {
    padding: 20px;
    border-radius: 8px;
    background-color: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-align: center;
    color: #333;
}

.exam-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.past-exam {
    background-color: #e0e0e0;
    color: #a0a0a0;
}

.next-exam {
    background-color: #ffe082;
    border: 3px solid #ffc107;
    font-weight: bold;
    font-size: 1.2em;
    transform: scale(1.1);
}

.exam-card h2 {
    margin: 0 0 10px;
    font-size: 1.4em;
    font-weight: bold;
    color: #ff6f00; /* Standout color for exam names */
}

.past-exam h2 {
    color: #a0a0a0; /* Greyed out for past exams */
}

.remaining-time {
    font-size: 1.5em;
    font-weight: bold;
    color: #000;
}

.remaining-time.past-time {
    color: #a0a0a0;
}

.remaining-time.highlight-time {
    color: #ff5722;
    font-size: 1.8em;
    font-weight: bold;
}

.exam-date {
    font-size: 1em;
    color: #555;
}

