.header {
    position: sticky;
    top: 0;
    height: 99px;
    background-color: #fff;
    z-index: 9999;
}

.header > .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 15px 30px 15px;
    margin: 0 auto;
}

.header-logo {
    width: 174px;
    height: 39px;
}

.header-logo > img {
    width: 100%;
    height: auto;
}

.header-nav-list {
    display: flex;
    font-size: 18px;
}

.header-nav-item {
    position: relative;
    display: flex;
    align-items: center;
    padding: 10px 17.5px;
    height: 80px;
    transition: .2s;
}

.header-nav-item::after {
    content: '';
    position: absolute;
    bottom: 20px;
    left: 0px;
    width: 0%;
    height: 2px;
    background-color: var(--main-phygit-color);
    transition: .2s;
}

.header-nav-item:hover::after {
    width: 100%;
}

.header-nav-item-link {
    display: flex;
    column-gap: 7px;
    align-items: center;
    -webkit-user-select: none;
    -ms-user-select: none; 
    user-select: none; 
    cursor: pointer;
}

.header-list-icon {
    display: flex;
    width: 8px;
    height: 22px;
}

.header-list-icon > img {
    margin-top: 3px;
    width: 100%;
}

.dropdown {
    position: absolute;
    bottom: 10px;
    left: 50%;
    display: flex;
    align-items: center;
    flex-direction: column;
    width: 150px;
    height: 0px;
    row-gap: 0px;
    background-color: #fff;
    box-shadow: none;
    border-radius: 2px;
    transform: translate(-50%, 100%);
    transition: .4s;
    overflow: hidden;
}

.header-nav-item:hover > .dropdown {
    padding: 20px 0px;
    row-gap: 10px;
    box-shadow: 0 5px 11.2px 2.8px rgb(136 140 133 / 12%);
    height: auto;
}

.burger-menu {
    display: none;
    flex-direction: column;
    row-gap: 5px;
    cursor: pointer;
}

.burger-menu .burger-element {
    width: 30px;
    height: 3px;
    background-color: #1e1e1e;
    border-radius: 4px;
    transition: .3s;
}

@media (max-width: 768px) {
    .header-nav-list {
        position: absolute;
        flex-direction: column;
        left: 0;
        top: 99px;
        width: 100%; 
        height: 0;
        background-color: #fff;
        opacity: 0;
        overflow: hidden;
    } 

    .header-nav-list.active {
        height: 100vh;
        opacity: 1;
        transition: .3s;
    }

    .header-nav-item {
        display: flex;
        flex-direction: column;
        height: auto;
    }


    .header-nav-item:hover::after {
        width: 0%;
    }

    .dropdown {
        position: static;
        transform: translate(0, 0);
        width: 100%;
        height: 0px;
        padding: 0;
        row-gap: 0;
        box-shadow: none;
        opacity: 0;
        transition: .4s;
    }

    .header-nav-item:hover {
    }

    .header-nav-item:hover > .dropdown {
        height: 0px;
        padding: 0;
        margin-top: 0px;
    }

    .header-nav-item > .dropdown.active {
        display: flex;
        box-shadow: none;
        opacity: 1;
        transition: .4s;
        margin-top: 20px;
        padding: 20px 0px;
        row-gap: 10px;
        box-shadow: 0 5px 11.2px 2.8px rgb(136 140 133 / 12%);
        height: auto;
    }

    .burger-menu {
        display: flex;
        transition: .3s;
    }

    .burger-menu.active > .burger-element:first-child{
        transform: translate(0px, 4px) rotate(45deg);
    }

    .burger-menu.active > .burger-element:nth-child(2){
        display: none;
    }

    .burger-menu.active > .burger-element:last-child{
        transform:  translate(0px, -4px) rotate(-45deg);
    }
}
