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

.container {
    width: 80%;
    margin: auto;
    overflow: hidden;
}

h1 {
    text-align: center;
    padding: 2px 0;
    font-family: Georgia,serif;
}

h2 {
    text-align: left;
    padding: 1px 0;
    color: #e100ff;
    font-family: Georgia,serif;
}

h3 {
    text-align: left;
    padding: 1px 0;
    margin: auto;
    color: #ff7b00;
    font-family: Georgia,serif;
   }

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

.project {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    width: calc(33.333% - 20px);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    overflow: hidden;
    margin-bottom: 20px;
    text-align: center;
}

.project img {
    width: 70%;
    height: auto;
    
}

.project h2 {
    margin: 0;
    padding: 15px;
    background-color: #0056b3;
    color: white;
    text-align: center;
}

.project p {
    padding: 0 15px 15px 15px;
    text-align: justify;
}

.project a {
    display: inline-block;
    padding: 10px 15px;
    background-color: #0056b3;
    color: white;
    text-decoration: none;
    text-align: center;
    width: calc(100% - 30px);
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .projects-grid {
        flex-direction: column;
    }
    .project {
        width: auto;
    }
}
.top-nav {
    background-color: #ffffff;
    color: white;
    padding: 1px 0;
}

.nav-container {
    width: 80%;
    margin: auto;
    display: flex;
    align-items: center; /* Ensure items are vertically centered */
    justify-content: space-between;
}

.nav-container a.logo img {
    vertical-align: middle;
    /* Adjust as needed for your specific logo */
}

.top-nav a {
    color: rgb(0, 0, 0);
    text-decoration: none;
    font-family: Georgia,serif;
    padding: 10px 15px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    font-weight: bold; 
}

.top-nav a:hover {
    background-color: #4400ff; /* Darker shade for hover effect */
}

@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        align-items: center;
    }
    .top-nav a {
        display: block;
        text-align: center;
        width: 100%;
        margin-top: 10px; /* Add some space between logo and nav items */
    }
    .nav-container a.logo {
        margin-bottom: 10px; /* Space below the logo */
    }
}
