.menu__wrapper {
    display: flex;
    justify-content: space-around;
    z-index: 2;
    gap: 1.5rem;
    width: 100%;
    /*max-width: 80rem;*/
    padding: 0px 1rem;
    align-items: center;
}

.menu__bar {
    display: flex;
    align-items: center;
}

.navigation {
    margin-top: 40px;
    margin-left: 32px;
    display: flex;
    flex-direction: row;
    list-style-type: none;
    align-items: center;
    gap: 40px;
    background-color: var(--background);
    justify-content: space-around;
}

.navigation>li {
    display: flex;
    position: relative;
    cursor: pointer;
    align-items: center;
    min-height: 36px;
}

.navigation>li>a {
    color: var(--text);
    font-size: 1.1em;
    font-weight: 400;
    text-decoration: none;
}

.navigation>li>a:hover {
    color: var(--primary);
}

.navigation>li>button {
    color: var(--text);
    transition: all 0.3s ease;
    text-decoration: none;
    border: none;
    cursor: pointer;
    z-index: 1;
    margin-right: -4px;
    align-items: center;
    min-height: 36px;
    gap: 4px;
    font-weight: 400;
    flex-wrap: nowrap;
    padding: 4px 10px;
    white-space: nowrap;
    background: none;
    display: flex;
    position: relative;
    transition: all 0.2s ease-in-out;
}

.navigation>li>button>svg {
    margin-top: 2px;
    fill: var(--text);
    transition: all 0.2s ease-in-out;
}


.navigation>li:hover>button svg {
    fill: var(--primary);
    transform: rotate(0.5turn);
}

.navigation>li:hover>button {
    color: var(--primary);
}

.navigation>li:hover .dropdown {
    display: block;
}


@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.99) translateY(-0.7em);
        transform-origin: top;
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* dropdown menu */
.dropdown__wrapper {
    position: absolute;
    top: 0px;
    left: 0px;
    padding-top: 60px;
    
}

.dropdown {
    border-radius: 8px;
    display: none;
    padding: 8px;
    width: 100%;
    max-width: 600px;
    border: 1px solid var(--gray-border);
    z-index: 2;
    animation: fadeIn 0.2s ease-in-out;
    background-color: #FFFFFF;

}

.list-items-with-description {
    list-style-type: none;
    width: 100%;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 0.75rem;
    
}

.list-items-with-description li {
    display: flex;
    gap: 1rem;
    width: 100%;
    padding-bottom: 20px;
}

.list-items-with-description li:hover {
    background-color: var(--secondary-background);
    border-radius: 6px;
}

.icon-wrapper svg {
    color: var(--gray-text-hover);
}


.list-items-with-description li:hover svg {
    color: var(--text);
}

.list-items-with-description li .icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    padding: 0.5rem;
    height: 2.5rem;
    width: 2.5rem;
    min-width: 2.5rem;
    min-height: 2.5rem;
    pointer-events: all;
    background-color: var(--gray-menu-button-hover);
}


.item-title {
    gap: 0.5rem;
    min-width: 150px;
}

.item-title a {
    font-weight: 400;
    font-size: 14px;
    color: var(--text);
    text-decoration: none;
}

.item-title a:hover {
    color: #F39200;
}

.list-items-with-description li:hover .item-title p {
    color: #F39200;
}

.item-title p {
    font-size: 12px;
    white-space: nowrap;
    color: var(--gray-menu-button);
}

/* login sign-up buttons */

.action-buttons {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    flex-wrap: nowrap;
}

.action-buttons a {
    text-decoration: none;
    white-space: nowrap;
    padding: 4px 8px;
    transition: all 0.2s ease-in-out;
    line-height: 1.25rem;
}

.secondary {
    background: none;
    color: var(--text);
    outline: none;
    border: 1px solid var(--gray-border);
    border-radius: 0.5rem;
}

.secondary:hover {
    border: 1px solid var(--gray-border-hover);
}

.primary {
    color: var(--text);
    border-radius: 0.5rem;
    background-color: var(--primary-dark);
    border: 1px solid var(--primary);
    padding: 0.5rem 1rem;
}

.primary:hover {
    background-color: var(--primary-darker);
}


.burger-menu {
    display: none;
    outline: none;
    border: none;
    cursor: pointer;
    background-color: transparent;
}


.btn-menu-responsive .btn{
    background-color: transparent;
    border-color: transparent;
    color:#3e6ba4;
    font-size: 2em;
}


@media (max-width: 44rem) {
    .hide {
        display: none;
    }

    .burger-menu {
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 0.5rem;
        padding: 0.5rem;
        height: 2.5rem;
        width: 2.5rem;
        min-width: 2.5rem;
        min-height: 2.5rem;
        pointer-events: all;
    }

    .burger-menu:hover {
        background-color: var(--gray-menu-button-hover);
    }

    .burger-menu:focus {
        outline: 1px solid var(--primary);
    }


    .burger-menu svg {
        height: 1.5rem;
        stroke: var(--gray-menu-button);
        width: 1.5rem;
    }
}