body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.3;
    color: #333;
    margin: 0;
    display: flex;
    justify-content: center;
    min-height: 100vh;
    background-color: #f8f9fa;
}

.container {
    max-width: 800px;
    width: 100%;
    margin: 20px;
}

header {
    text-align: center;
    padding: 20px;
    background-color: #007bff;
    color: #fff;
    border-radius: 10px;
    margin-bottom: 20px;
}

nav {
    margin-bottom: 10px;
}

nav ul {
    list-style-type: none;
    padding: 0;
}

nav li {
    display: inline;
    margin-right: 15px;
}

nav a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

nav a:hover {
    text-decoration: underline;
}

ul {
    list-style-type: none;
    padding: 0;
}

li {
    display: inline;
    margin-right: 15px;
}

a {
    color: #0;
    text-decoration: none;
    font-weight: bold;
}

a:hover {
    text-decoration: underline;
}

h1 {
    margin: 0;
}

.content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

section {
    width: 100%;
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    transition: transform 0.3s ease-in-out;
}

/*section:hover {
    transform: scale(1.03);
} */

h2 {
    color: #007bff;
}

.footer {    
	max-height:40px;
	height: 100%;
    border-radius: 10px;
    margin-bottom: 20px;
	text-align: center;
	vertical-align: middle;
	line-height: 40px;
    background-color: #007bff;
    color: #fff;
}

.footer a {
    color: #fff; /* Adjusted text color for links within the footer */
    text-decoration: none;
}

.footer h2 {
    color: #fff; /* Adjusted text color for links within the footer */
    text-decoration: none;
}

.footer a:hover {
    text-decoration: none; /* Remove underline on hover */
    text-decoration: underline;
}

.projects a {
    color: #000; /* Adjusted text color for project titles */
    text-decoration: none; /* Remove underline from project title links */
    font-weight: bold;
}

.projects a:hover {
    text-decoration: underline; /* Add underline on hover for project title links */
}

.contact-form {
    width: 100%;
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    margin-bottom: 5px;
}

.contact-form input {
    width: 40%;
    padding: 10px;
    margin-bottom: 10px;
    box-sizing: border-box;
}

.contact-form button {
    background-color: #007bff;
    color: #fff;
    padding: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}

.contact-form button:hover {
    background-color: #0056b3;
}

/* Media Query for Mobile */
@media only screen and (max-width: 600px) {
    nav {
        text-align: center; /* Center navigation items on small screens */
    }

    nav li {
        display: inline-block; /* Change back to inline-block for small screens */
        margin-bottom: 0;
    }

    .content {
        flex-direction: column; /* Stack content vertically on small screens */
    }

    section {
        width: 100%; /* Make sections full-width on small screens */
        box-sizing: border-box;
    }

    .footer {
        height: 80px; /* Increase height for better visibility on small screens */
    }
}