.a-container {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

h1 {
    color: #333;
}

.resources {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.year-section {
    position: relative;
    width: 200px;
    height: 120px;
    background-color: #e9e9ef;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease;
    cursor: pointer;
    overflow: hidden;
}

.year-section:hover {
    background-color: #dfe7fd;
}

.year-section h2 {
    color: #333;
    margin: 0;
    transition: opacity 0.3s ease;
}

.year-section:hover h2 {
    opacity: 0;
}

.resource-links {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.year-section:hover .resource-links {
    opacity: 1;
}



.top-row {
    display: flex;
    width: 100%;
    height: 50%;
}

.top-row a {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    text-decoration: none;
    font-size: 0.9em;
}

.top-row a:nth-child(1) {
    background-color: #fff4cc;
}

.top-row a:nth-child(2) {
    background-color: #ffcdc1;
}

.pvq {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 50%;
    color: #fff;
    background-color: #4db6ac;
    text-decoration: none;
    font-size: 0.9em;
}




/* Time table */
/* Table and timetable container styling */
.timetable {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    max-height: 100%;
}

table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
    font-family: Arial, sans-serif;
    font-size: 13px;
}

th,
td {
    padding: 2px;
    border: 1px solid #333;
    width: 10%;
    height: 8px;


}


thead th {
    background-color: #ffcccb;
    /* Light red for header row */
    font-weight: bold;
}

.header-row td {
    background-color: #ff6666;
    font-weight: bold;
    color: white;
    text-align: center;
    font-size: 15px;
}

/*   
  tbody td {
    height: 3px;
  } */
caption {
    font-size: 30px;

}

/* Color-coded cells */
.green {
    background-color: #a8e4a0;
}

.purple {
    background-color: #d8bfd8;
}

.red {
    background-color: #ff6666;
}

.yellow {
    background-color: #ffff99;
}

.dark-green {
    background-color: #006400;
    color: white;
}

.blue {
    background-color: #87cefa;
}

.light-blue {
    background-color: #b0e0e6;
}

/* Additional cell colors if needed */
.pink {
    background-color: #ffb6c1;
}

.grey {
    background-color: #dcdcdc;
}
@media (max-width:675px) {

    table {
    
    font-size: 8px;
}
.header-row td {
   
    font-size: 9px;
}
.timetable {
    width: 99%;
}
th,
td {
   padding: 2px;
    width: 5%;
    height: 5px;


}

}