.navbar nav ul {
    list-style-type: none; /* Remove bullets */
    margin: 0; /* Remove default margin */
    padding: 25px; /* Remove default padding */
    display: flex; /* Enable flexbox for alignment */
    justify-content: center; /* Center items horizontally */
}

.navbar nav ul li {
    margin: 0 30px; /* Add spacing between items */
}

.navbar nav ul li a {
    text-decoration: none; /* Remove underline from links */
    color: #d3d3d3; /* Link color */
    font-size: 40px; /* Adjust font size */
}

.navbar nav ul li a:hover {
    color: white; /* Change color on hover */
}

.navbar {
    position: fixed;
    top: 0;
    background-color: rgb(67, 66, 71);
    border-width: 0px;
    width: 100%;
    color: #d3d3d3;
    font-size: 30pt;
    margin-right: 0px;
    margin-left: 0px;
    display: flex;
    justify-content: center;
    align-items: center;
    word-spacing: 50px;
    z-index: 1000;
}

.navbar a {
    color: #d3d3d3; /* Ensures links in the navbar are the correct color */
    text-decoration: none;
}

.navbar a:hover {
    color: #ffffff; /* Optional: Change color on hover for better UX */
}

li {
    list-style-type: none;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bolder;
}

body {
    padding-top: 60px;
    background-color: rgb(67, 66, 71);
    color: #d3d3d3; /* Default text color matches the design */
}

.image_container {
    margin-left: 80%; /* Set left margin */
    transform: translateX(-80%); /* Shift back to center the image */
    position: relative;
}

footer {
    background-color: blue;
    color: white; /* Text color for footer */
}

html {
    scroll-behavior: smooth; /* Enables smooth scrolling */
}

#Educ, #Back, #experience {
    scroll-margin-top: 150px; /* Adjust this to the height of your navbar */
}

.image_container img {
    position: relative; /* This ensures the image scrolls with the page */
    z-index: 1; /* Ensures the image stays behind the navbar */
}

html, body {
    overflow-x: hidden; /* Hides horizontal scrollbar */
    width: 100%; /* Ensures content doesn't stretch beyond the viewport */
}
