body {
    font-family: Arial, Helvetica, sans-serif;
    display: block;
    margin: 0;
    padding: 0; 
    background-color: white;
}

.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 */
}

.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 */
}

.welcome {
    text-align: center; /* Center the welcome text */
    margin: 20px auto; /* Add spacing around the welcome 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 */
}

.image {
    display: flex; /* Use flexbox for alignment */
    justify-content: center; /* Center the image horizontally */
    align-items: center; /* Center the image vertically */
    margin: 20px auto; /* Add spacing around the image */
    height: auto; /* Maintain aspect ratio */
}

.image img {
    max-width: 100%; /* Ensure the image scales properly */
    height: auto; /* Maintain aspect ratio */
    border-radius: 10px; /* Optional: Add rounded corners */
}

iframe {
    display: block; /* Ensure the video is treated as a block-level element */
    margin: 20px auto; /* Center the video horizontally */
    width: 80%; /* Adjust the width to fit within the container */
    max-width: 800px; /* Set a maximum width to prevent it from being too wide */
    height: auto; /* Maintain the aspect ratio */
    border: none; /* Remove any border around the iframe */
    aspect-ratio: 16 / 9; /* Maintain a 16:9 aspect ratio */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Optional: Add a subtle shadow for better appearance */
}

.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 */
}

@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 */
    }
    
    .bio, .welcome, .image {
        width: 90%; /* Adjust width for smaller screens */
    }
    
    .logo {
        width: 15%; /* Adjust logo size for smaller screens */
    }

    iframe {
        width: 80%; /* Make the video full width on small screens */
    }
    
}