body {
    background-color: white; /* Light background color */
    font-family: Arial, Helvetica, sans-serif; /* Set a clean font */
    text-align: center; /* Center content horizontally */
}

/* General styles for the menu (default for desktop) */
.menu {
    display: flex; /* Align menu items side by side */
    justify-content: center; /* Center the menu items horizontally */
    align-items: center; /* Align items vertically */
    background: linear-gradient(to right, #4CAF50, #5387d6); /* Gradient background */
    max-width: 100%; /* Set a maximum width for the menu */
    padding: 0; /* Remove extra padding */
    margin: 0; /* Remove default margin */
    list-style: none; /* Remove bullet points */
    height: 80px; /* Set a fixed height for the menu */
    flex-direction: row; /* Ensure menu items are horizontal */
}

.menu li {
    margin: 0 15px; /* Add spacing between menu items */
    display: flex; /* Display items inline */
    align-items: center; /* Center items vertically */
    height: 100%; /* Ensure items take full height of the menu */
}

.menu a {
    text-decoration: none; /* Remove underline from links */
    color: white; /* Set link text color */
    font-weight: bold; /* Make the text bold */
    padding: 10px 15px; /* Add padding around the text */
    border-radius: 5px; /* Optional: Add rounded corners */
    transition: background-color 0.3s ease; /* Smooth hover effect */
}

.menu a:hover {
    background-color: rgba(255, 255, 255, 0.2); /* Add a hover effect */
}

.logo {
    display: flex; /* Use flexbox for alignment */
    justify-content: center; /* Center the logo horizontally */
    align-items: center; /* Center the logo vertically */
    margin: 0; /* Remove extra margin */
    position: absolute; /* Position the logo inside the menu bar */
    top: 10px; /* Adjust the vertical position to move it higher */
    left: 20px; /* Keep it aligned to the left */
    width: 5%; /* Set a fixed width for the logo */
    height: auto; /* Maintain aspect ratio */
}

.about-me {
    text-align: center; /* Center the about me section */
    margin: 20px auto; /* Add spacing around the about me section */
    padding: 20px; /* Add padding for better spacing */
}

.bio {
    text-align: center; /* Center the biography text */
    margin: 20px auto; /* Add spacing around the biography section */
    padding: 20px; /* Add padding for better spacing */
    width: 35%; /* Set a fixed width for the biography section */
}

/* Mobile styles (for screens smaller than 768px) */
@media screen and (max-width: 768px) {
    .menu {
        flex-direction: column; /* Stack menu items vertically on small screens */
        height: auto; /* Allow height to adjust based on content */
    }

    .menu li {
        margin: 5px 0; /* Adjust spacing for vertical layout */
    }

    .logo {
        width: 15%; /* Adjust logo size for smaller screens */
    }
    
    .bio {
        width: 90% ;
    }
}