body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow-x: hidden; /* Prevent horizontal scrolling */
    font-family: Arial, sans-serif;
    scroll-behavior: smooth; /* Enable smooth scrolling */
}

body {
    background-color: #000; /* Set a dark background color */
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(51, 51, 51, 0.8); /* Semi-transparent background */
    padding: 10px 20px;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px); /* Apply blur effect */
}

.logo h1 {
    color: white;
    margin: 0;
}

.nav-links ul {
    list-style: none;
    margin: 0 50px 0 0; 
    padding: 0;
    display: flex;
    flex-wrap: wrap; /* Ensure the links wrap if they overflow */
}

.nav-links ul li {
    margin-left: 20px;
}

.nav-links ul li a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    transition: color 0.3s;
}

.nav-links ul li a:hover {
    color: #ff6347;
    transform: scale(1.1);
    transition: transform 0.3s;
}

.menu-icon {
    display: none;
    flex-direction: column;
    cursor: pointer;
    margin-right: 40px;
}

.menu-icon span {
    height: 3px;
    width: 25px;
    background-color: white;
    margin: 4px 0;
    transition: 0.4s;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: rgba(51, 51, 51, 0.8); /* Semi-transparent background */
        position: absolute;
        top: 60px;
        left: 0;
        backdrop-filter: blur(10px); /* Apply blur effect */
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links ul {
        flex-direction: column;
    }

    .nav-links ul li {
        margin: 10px 0;
        text-align: center;
    }

    .menu-icon {
        display: flex;
    }
}