body {
    margin: 0 auto;
}

.navbar-wrapper {
    width: 100%;
    position: relative;
    z-index: 1000;
}

.navbar {
    overflow: hidden;
    background-color: #333;
    width: 100%;
}

.navbar.floating {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1001;

    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);

    animation: navbar-pop-in 0.2s ease-out;
}

@keyframes navbar-pop-in {
    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(0);
    }
}

.navbar a {
    float: left;
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}

.navbar-menu-toggle {
    display: none;
    float: left;
    color: white;
    background-color: transparent;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    border: none;
    font-size: inherit;
    font-family: inherit;
    cursor: pointer;
}

.navbar-menu-toggle:hover {
    background: #ddd;
    color: black;
}

.navbar a:hover {
    background: #ddd;
    color: black;
}

.navbar-active {
    background-color: #d6ad3a;
}

.navbar-search-container {
    margin-left: auto;
    display: flex;
    align-items: center;
    position: relative;
    top: 6px;
    right: 4px;
}

.navbar-search-input {
    padding: 6px 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
    outline: none;
}

.navbar-search-button {
    padding: 6px 10px;
    font-size: 16px;
    border: none;
    background-color: #d6ad3a;
    color: white;
    border-radius: 4px;
    cursor: pointer;
    margin-left: 5px;
}

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

@media only screen and (max-width: 480px) {
    .navbar-wrapper {
        height: 48px;
    }
    
    .navbar.floating .navbar-links.open {
        position: relative;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #333;
    }

    .navbar-menu-toggle {
        display: block;
        float: left;
        color: white;
        background-color: transparent;
        text-align: center;
        padding: 14px 16px;
        border: none;
        font-size: inherit;
        font-family: inherit;
        cursor: pointer;
    }

    .navbar-menu-toggle:hover {
        background: #ddd;
        color: black;
    }

    .navbar-links {
        display: none;
        clear: both;
    }

    .navbar-links.open {
        display: block;
    }

    .navbar-links a {
        display: block;
        width: 100%;
        box-sizing: border-box;
        float: none;
    }

    .navbar-search-container {
        width: 100%;
        margin: 10px 0;
        justify-content: center;
        box-sizing: border-box;
    }

    .navbar-search-input {
        width: 70%;
    }

    .navbar-search-button {
        width: auto;
    }
}