body {
    font-family: Arial, Helvetica, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #303030;
}

.navbar {
    background-color: #333;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2% 4.5%;
    position: relative; /* Added relative positioning to navbar */
}

.navbar-title {
    font-size: 20px;
    font-weight: bold;
    margin-right: 20px; /* Add margin to the right to create space between title and button */
}

.navbar-toggle {
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    font-size: 16px;
    display: none; /* Hide the menu button by default */
}

.navbar-menu {
    z-index: 9999;
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.navbar-menu li {
    margin-right: 20px;
}

.navbar-menu li:last-child {
    margin-right: 0;
}

.navbar-menu a {
    color: #fff;
    text-decoration: none;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto; 
    -webkit-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
    background-color: #fff;
}

@media only screen and (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .hamburger.active .bar:nth-child(2){
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1){
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3){
        transform: translateY(-8px) rotate(-45deg);
    }
    

    .navbar-menu {
        display: none; /* Hide the navigation menu on smaller screens */
        position: absolute; /* Added absolute positioning for dropdown on smaller screens */
        top: calc(100% + 10px); /* Position dropdown menu below the navbar */
        left: 0;
        background-color: #333;
        width: 100%;
        padding: 10px;
    }

    .navbar-menu.active {
        display: flex;
        flex-direction: column;
    }

    .navbar-menu.show li {
        margin-right: 0;
    }
}