/* General Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
}

header {
    background-color: #4CAF50;
    color: white;
    text-align: center;
    padding: 10px 20px;
}

header h1 {
    margin: 0;
}

nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    margin: 10px 0 0;
}

nav ul li {
    margin: 0 15px;
}

nav ul li button {
    background: none;
    border: none;
    color: white;
    font-size: 16px;
    cursor: pointer;
}

main {
    padding: 20px;
}

.tab-content {
    display: none;
    margin: 20px 0;
}

.tab-content.hidden {
    display: none;
}

.tab-content:not(.hidden) {
    display: block;
}

/* Vertical Tabs Layout */
#resource-tabs {
    display: flex;
    flex-direction: row; /* Aligns buttons and content side-by-side */
    gap: 20px;
}

.vertical-tabs {
    display: flex;
    flex-direction: column; /* Stacks buttons vertically */
    gap: 10px; /* Adds spacing between buttons */
    flex-basis: 20%; /* Width of the vertical tab container */
    max-width: 200px;
}

.year-button {
    padding: 10px 20px;
    cursor: pointer;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    text-align: left; /* Align text to the left */
}

.year-button:hover {
    background-color: #45a049;
}

#resource-content {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); /* Dynamic columns */
    gap: 20px; /* Space between items */
    padding: 10px;
    background-color: #f9f9f9;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.resource-item {
    text-align: center;
    background-color: #ffffff;
    border-radius: 5px;
    padding: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.resource-item img {
    width: 100%;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.resource-item a {
    display: inline-block;
    margin-top: 10px;
    color: #4CAF50;
    text-decoration: none;
    font-weight: bold;
}

.resource-item a:hover {
    text-decoration: underline;
}

.about-info {
    display: contents;
    align-items: center;
    gap: 20px;
}

.about-info img {
    width: 150px;
    border-radius: 50%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.contact-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.contact-info img {
    width: 150px;
    border-radius: 50%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}


footer {
    text-align: center;
    background-color: #333;
    color: white;
    padding: 10px;
}
