body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
}

.masthead {
    background-color: #228B22;
    color: white;
    padding: 20px 0;
    text-align: center;
}

.masthead p {
    font-size: 1.2em;
    margin: 5px 0;
}

.masthead h2.affordable-instruction {
    font-size: 1.32em; /* 10% bigger */
    margin-top: 10px;
    padding: 0 20px; /* Padding to avoid hugging edges */
}

.container {
    width: 80%;
    margin: 0 auto;
}

.c-text {
    padding: 20px;
    color: #444; /* Lighter shade of black */
    text-align: left;
    margin-bottom: 20px;
    max-width: 75%; /* Narrower text box */
    border: 1px solid #ddd; /* Box styling */
    background-color: white;
    border-radius: 5px;
    margin: 20px auto; /* Center the box */
}

.menu-bar {
    list-style-type: none;
    padding: 0;
    text-align: center; /* Center the menu items */
    overflow: hidden;
    white-space: nowrap;
}

.menu-bar li {
    display: inline-block;
    margin-right: 10px;
    font-size: 1.25rem;
}

.menu-bar a {
    color: white;
    text-decoration: none;
    background-color: #228B22;
    padding: 10px 20px; /* Twice the size */
    border-radius: 5px;
    font-size: 1.2em; /* Slightly larger text */
}

.menu-item{
    font-size: 2.25rem;
    font-weight: bold;
    background-color: #228B22;
}
.grid-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.grid-item {
    background-color: white;
    padding: 20px;
    margin: 20px 0;
    border: 1px solid #ddd;
    border-radius: 5px;
    text-align: center; /* Centered text */
}

.centered-text {
    text-align: center;
    padding: 10px 0;
    color: #228B22;
}

.center-text {
    text-align: center;
}

.course-box h2 {
    color: #228B22;
}

.course-box p {
    margin: 10px 0;
}

.course-box .course-desc {
    font-size: 0.95em; /* 0.5 smaller */
}

.course-box strong {
    display: block;
    margin-top: 10px;
    color: #228B22;
}

/* Media query for reduced screens */
@media (max-width: 768px) {
    .grid-container {
        grid-template-columns: 1fr;
    }

    .masthead h2.affordable-instruction {
        font-size: 1.1em;
    }

    .grid-item h2 {
        font-size: 1.1em;
        text-align: center; /* Center course names when minimized */
    }
}
