* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background: #eee;
}

.navbar {
    background-color: #4e6ef2;
}

.navbar-inner {
    max-width: 1680px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 15px;
}

.navbar-logo img {
    height: 40px;
}

.navbar-menu {
    display: flex;
    gap: 20px;
}

.navbar-item {
    position: relative;
}

.navbar-item > a {
    text-decoration: none;
    color: #fff;
    font-size: 18px;
    padding: 20px 10px;
    display: inline-block;
    transition: color 0.2s;
}

.navbar-item > a:hover {
    color: #dbe1ff;
    background: #445be2;
}

.navbar-item:hover > .dropdown {
    display: block;
    opacity: 1;
    visibility: visible;
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #445be2;
    display: none;
    min-width: 120px;
    z-index: 1000;

    transition: opacity 0.2s ease;
    opacity: 0;
    visibility: hidden;
}

.dropdown a {
    display: block;
    padding: 10px 15px;
    color: #f0f0f0;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s, color 0.2s;
}

.dropdown a:hover {
    background-color: #3a4fd6;
    color: #fff;
}

.navbar-search {
    display: flex;
    align-items: center;
    gap: 5px;
}

.navbar-search input[type="text"] {
    font-size: 14px;
    padding: 8px 10px;
    border: none;
    border-radius: 2px;
    outline: none;
    width: 180px;
    background: #fff;
    color: #333;
}

.navbar-search input::placeholder {
    color: #999;
}

.navbar-search button {
    padding: 6px 12px;
    background-color: #fff;
    color: #4e6ef2;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s;
}

.navbar-search button:hover {
    background-color: #dbe1ff;
}

@media (max-width: 768px) {

    .sidebar{
        max-height: unset;
    }
    .navbar-inner {
        padding: 10px;
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    .navbar-logo{
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .navbar-menu {
        flex-wrap: wrap;
        gap: 10px;
    }
    .navbar-search {
        width: 100%;
        display: flex;
        margin-top: 10px;
        margin-bottom: 10px;
        justify-content: center;
    }
    .navbar-search input[type="text"]{
        width: 70%;
    }
}

