.topbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgb(238, 238, 238);
    color: black;
    z-index: 2;
    overflow: hidden;
}

.topbar .content {
    display: flex;
    justify-content: space-between;
    padding: 1px 20px;
    border-bottom: 2px rgba(0, 0, 0, 0.2) solid;
    box-sizing: border-box;
    /* Include padding and border in the width and height */
}

.topbar .icon {
    display: flex;
    align-items: center;
}

.topbar .icon span {
    color: black;
    margin-left: 5px;
}

.topbar .options .wrapper {
    display: inline-block;
}

.topbar a {
    text-decoration: none;
}

.topbar .ac {
    /* padding: 0.75em 2em; */
    padding: 5px 10px;
    text-align: center;
    color: black;
    cursor: pointer;
    /* font-size: 24px; */
    display: inline-block;
    border-radius: 0.3em;
    transition: all 0.2s ease-in-out;
    position: relative;
    overflow: hidden;
}

.topbar .ac::before {
    content: "";
    background-color: rgba(255, 255, 255, 0.5);
    height: 100%;
    width: 3em;
    display: block;
    position: absolute;
    top: 0;
    left: -4.5em;
    transform: skewX(-45deg) translateX(0);
    transition: none;
}

.topbar .ac:hover {
    background-color: rgba(255, 215, 0, 0.6);
    border-bottom: 4px solid darken(rgba(255, 215, 0, 0.6), 10%);
}

.topbar .ac:hover::before {
    transform: skewX(-45deg) translateX(13.5em);
    transition: all 0.5s ease-in-out;
}

.topbar .menu-btn-wrapper {
    display: none;
    justify-content: right;
}

.topbar .menu-btn {
    padding: 9px 18px 9px 18px;
    border: 1px rgba(0, 0, 0, 0.1) solid;
    border: 0;
    border-radius: 5px;
}

.topbar .menu-btn:hover {
    background-color: rgba(255, 215, 0, 0.6);
}

.topbar .menu {
    display: none;
}

.topbar .menu a {
    display: block;
    color: #000;
    padding: 8px 20px 8px 0;
    text-decoration: none;
    text-align: right;
    border-bottom: 1px rgba(0, 0, 0, 0.1) solid;
}

.topbar .menu a:hover {
    background-color: rgba(255, 215, 0, 0.6);
}

/* Media query for smaller screens */
@media screen and (max-width: 429px) {
    .topbar .options {
        display: none;
    }

    .topbar .menu-btn-wrapper {
        display: flex;
    }
}