body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #e9e9e9; 
}

.main-nav {
    background-color: #4A90E2; 
    padding: 10px 0;
}

.navigation-items {
    list-style: none;
    padding: 0 20px; 
    margin: 0 auto; 
    max-width: 1200px; 
    display: flex;
    justify-content: space-around; 
}

.navigation-items li a {
    color: #ffffff; 
    text-decoration: none;
    padding: 12px 18px; 
    font-weight: bold;
    display: block;
}

.navigation-items li a:hover {
    background-color: #357ABD; 
    border-radius: 4px; 
}

.page-wrapper {
    padding: 25px;
}

.hero-banner {
    background-color: #D0021B; 
    height: 250px;
    margin-bottom: 25px;
    border-radius: 5px; 
}

.content-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px; 
    justify-content: center; 
}

.grid-item {
    background-color: #F5A623; 
    height: 180px;
    flex-basis: calc(33.333% - 20px); 
    min-width: 150px; 
    border: 3px solid #BD10E0; 
    box-sizing: border-box; 
}

.page-footer {
    background-color: #000000; 
    height: 70px;
    margin-top: 25px;
}


@media (max-width: 800px) {
    .navigation-items {
        flex-direction: column; 
    }

    .navigation-items li {
        width: 100%;
        margin-bottom: 2px; 
    }
    .navigation-items li a {
        text-align: center;
        background-color: #5096e6; 
        border-radius: 0; 
    }
    .navigation-items li a:hover {
       background-color: #357ABD;
    }

    .grid-item {
        flex-basis: calc(50% - 20px); 
    }
}

@media (max-width: 480px) {
    .grid-item {
        flex-basis: 100%; 
    }
}