.header__container {
    height: 80px;
    background-color: var(--var-main-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header__logo img {
    height: 40px;
    width: 392px;
}

.header__logo:hover img {
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

details.header__menu {
    display: flex;
    justify-content: center;
    align-items: center;
}

.menu__hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 72px;
    height: 61px;
    padding: 16px;
    list-style: none;
    cursor: pointer;
}

.menu__hamburger::-webkit-details-marker {
    display: none;
}

.menu__hamburger__dummy {
    width: 72px;
    height: 61px;
}

.menu__hamburger span {
    display: block;
    height: 3px;
    background-color: white;
    border-radius: 3px;
}

.menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 288px;
    height: 100vh;
    padding-bottom: 50px;
    background-color: var(--var-base-color-3);
    overflow-y: scroll;
    z-index: calc(infinity);
    box-shadow: -2px 0 12px 0 rgba(0, 0, 0, 0.1);
}

.close__container {
    width: 100%;
    height: 80px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 20px;
}

.close__container:hover {
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.close__btn {
    color: var(--var-main-color);
    font-size: 24px;
    font-weight: bold;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    column-gap: 8px;
}

.close__icon:before {
    font-size: 32px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.close__text {
    border-bottom: 2px solid var(--var-main-color);
}

.menu__list li:first-child {
    border-top: 2px solid var(--var-base-color-1);
}

.menu__subtitle {
    height: 50px;
    padding: 0 24px;
    display: flex;
    align-items: center;
    color: var(--var-main-color);
    font-size: 18px;
    font-weight: bold;
    line-height: 1.5;
    background-color: var(--var-base-color-2);
}

.menu__list li {
    width: 100%;
    height: 50px;
    display: inline-flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid var(--var-base-color-1);
}

.menu__list li form {
    width: 100%;
}

.menu__link {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 24px;
    color: var(--var-black-color);
    font-size: 18px;
    font-weight: bold;
    line-height: 1.5;
}

.menu__link:hover {
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.menu__icon:before {
    width: 16px;
    height: 16px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    color: var(--var-main-color);
}

@media (max-width: 768px) {
    .header__container {
        height: 56px;
        padding: 0 12px 0 12px;
    }

    .header__logo img {
        height: 21px;
        width: 200px;
    }

    .menu__hamburger {
        width: 32px;
        height: 23px;
        padding: 0;
    }

    .menu__hamburger__dummy {
        width: 32px;
        height: 23px;
    }
}
