.header {
    box-shadow: 0 0 1px #00000052, 0 4px 8px #0000003d;
    position: sticky;
    top: 0;
    z-index: 2;
}

.header__wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    height: 70px;
    margin-bottom: 24px;
}

.header__mobile-btn {
    display: none;
}

.header__logo {
    width: 120px;
    height: 60px;
    flex: 0 0 120px;
}

.header__logo-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.header__menu {
    margin: 0 auto;
    font-weight: 700;
}

.header__menu-ul {
    display: flex;
    gap: 24px;
    list-style: none;
}

.header__menu-ul a {
    display: block;
}

.header__buttons {
    display: flex;
    justify-content: end;
    gap: 12px;
    white-space: nowrap;
}

@media screen and (max-width: 768px) {
    .header__wrapper {
        gap: 10px;
    }

    .header__mobile-btn {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        flex: 0 0 36px;
        width: 36px;
        height: 24px;
    }

    .header__mobile-btn div {
        height: 4px;
        width: 100%;
    }

    .header__mobile-btn div:first-child {
        width: 90%;
    }

    .header__mobile-btn div:last-child {
        width: 70%;
    }

    .header__logo {
        height: 60px;
        width: 100px;
        flex: 0 0 100px;
    }

    .header__menu {
        display: none;
        position: absolute;
        z-index: 2;
        top: 70px;
        left: 0;
        right: 0;
    }

    .header__menu.open {
        display: block;
    }

    .header__menu-ul {
        flex-direction: column;
        gap: 0;
    }

    .header__menu-ul a {
        padding: 20px;
        border-bottom: 1px solid rgba(255, 255, 255, .05);
    }

    .header__menu-ul li:last-child a {
        border: none;
    }

    .header__buttons {
        margin-left: auto;
    }
}

@media screen and (max-width: 768px) {
    .header__buttons a:first-child {
        display: none;
    }
}