.navbar {
    display: flex;
    align-items: center;
    background-color: #333;
    color: white;
    padding: 0px 15%;
    border-bottom: 2px solid #555;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 50px;
    z-index: 1000;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    font-family: 'Arial', sans-serif;
}

body {
    margin-top: 50px;
    font-family: 'Arial', sans-serif;
}

.navbar-logo, .navbar-links, .navbar-search {
    height: 100%;
}

    .navbar-logo img {
        height: 50px;
    }

.navbar-links {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

    .navbar-links li {
        width: 100px;
        height: 100%;
        display: flex;
    }

    .navbar-links a, .dropdown-button {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        color: white;
        font-size: 16px;
        transition: color 0.3s ease;
        margin: 0;
    }

        .navbar-links a:hover, .dropdown-button:hover {
            color: #00bcd4;
        }

#AboutUs {
    margin: 0;
}

.dropdown-button {
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
}

.dropdown {
    position: relative;
    z-index: 1101;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: -10px;
    right: 0;
    width: 100%;
    background-color: #444;
    border: 1px solid #555;
    z-index: 1102;
    padding: 5px 0;
    list-style: none;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    border-radius: 5px;
    margin-top: -10px;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li {
    padding: 10px 0px;
    text-align: center;
    position: relative;
}

    .dropdown-menu li:hover {
        background-color: #555;
    }

    .dropdown-menu li a {
        text-decoration: none;
        color: white;
        font-size: 14px;
        display: block;
        transition: color 0.3s ease;
    }

        .dropdown-menu li a:hover {
            color: #00bcd4;
        }

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        height: auto;
        padding: 10px;
    }

    .navbar-links {
        width: 100%;
        flex-direction: column;
    }

        .navbar-links li {
            width: 100%;
        }

        .navbar-links a, .dropdown-button {
            justify-content: center;
            padding-left: 10px;
        }

    .navbar-search {
        position: static;
        width: 100%;
        justify-content: center;
        margin-top: 10px;
    }

    .dropdown-menu {
        left: -10px;
        right: 0;
        width: 100%;
        margin: 0;
    }
}

@media (max-width: 600px) {
  .navbar {
    position: static;
    left: 0;
    top: auto;
    width: 100%;
  }
  body {
    margin-top: 0;
  }
}

@media (max-width: 600px) {
  .navbar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
  }
  body {
    margin-top: 50px;
  }
}

@media (max-width: 600px) {
  .navbar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 0;
    box-sizing: border-box;
  }
  body {
    margin-top: 50px;
  }
}
