﻿/* Header css */

.header-content {
    display: flex;
    justify-content: space-between;
    padding: 20px 0;
    /*padding-bottom: 36px;*/
}

    .header-content .header-top {
        display: flex;
        justify-content: flex-end;
    }

    .header-content .header-top {
        display: flex;
        align-items: center;
        gap: 24px;
    }

    .header-content .header-right {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .header-content .header-btn {
        display: flex;
        gap: 8px;
    }


    .header-content .btn {
        font-size: 19px;
        line-height: 30px;
        font-weight: 500;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 151px;
        height: 42px;
    }

    .header-content .btn-donate {
        background-image: linear-gradient(90deg, #e1d11c, #ffea00);
    }

    .header-content .btn-login {
        background-image: linear-gradient(93deg, #3071a9, #428bca);
        color: #fff;
        gap: 10px;
    }

    .header-content .header-menu {
        display: flex;
        align-items: center;
    }

        .header-content .header-menu ul {
            display: flex;
            height: fit-content;
            list-style-type: none;
        }

            .header-content .header-menu ul li {
                padding: 0 40px;
                margin: 0 !important;
                font-size: 18px !important;
                line-height: 34px;
                border-right: 1px solid #111;
                cursor: pointer;
                font-weight: 600;
                list-style-type: none;
            }

                .header-content .header-menu ul li:last-child {
                    border: none;
                    list-style-type: none;
                }

    .header-content .box-search {
        width: 35px;
        height: 35px;
        display: flex;
        justify-content: center;
        align-items: center;
        background-color: #ebebeb;
        border-radius: 50%;
        cursor: pointer;
    }

.hamburger-menu {
    display: none;
}

#menu__toggle {
    opacity: 0;
}

    #menu__toggle:checked ~ .menu__btn > span {
        transform: rotate(45deg);
    }

        #menu__toggle:checked ~ .menu__btn > span::before {
            top: 0;
            transform: rotate(0);
        }

        #menu__toggle:checked ~ .menu__btn > span::after {
            top: 0;
            transform: rotate(90deg);
        }

    #menu__toggle:checked ~ .menu__box {
        visibility: visible;
        left: 0;
    }

.menu__btn {
    display: flex;
    align-items: center;
    position: absolute;
    z-index: 999;
    /* top: 50%; */
    transform: translateY(-100%);
    /* left: 20px; */
    right: 32px;
    width: 26px;
    height: 26px;
    cursor: pointer;
}

    .menu__btn > span,
    .menu__btn > span::before,
    .menu__btn > span::after {
        display: block;
        position: absolute;
        width: 100%;
        height: 3px;
        background-color: #000;
        transition-duration: 0.25s;
    }

        .menu__btn > span::before {
            content: "";
            top: -8px;
        }

        .menu__btn > span::after {
            content: "";
            top: 8px;
        }

.menu__box {
    display: block;
    position: fixed;
    visibility: hidden;
    z-index: 99;
    top: 0;
    left: -100%;
    width: 300px;
    height: 100%;
    margin: 0;
    padding: 60px 0;
    list-style: none;
    background-color: #f6f6f6;
    box-shadow: 1px 0px 6px rgba(0, 0, 0, 0.2);
    transition-duration: 0.25s;
}

.box-search_mobile {
    display: flex;
    justify-content: space-between;
    border-radius: 30px;
    padding: 12px 16px;
    background-color: #fff;
}

    .box-search_mobile input {
        /* border: 1px solid #212425; */
        outline: none;
        border: none;
        flex: 1;
    }

.menu__item {
    display: block;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition-duration: 0.25s;
}

    .menu__item:hover {
        background-color: #ebebeb;
        cursor: pointer;
    }

@media (min-width: 2000px) {
    header .header-content .header-menu ul li {
        padding: 0 50px;
    }
}

@media (max-width: 1248px) {
    .header-content .logo img {
        width: 250px;
    }
}

@media (min-width: 992px) and (max-width: 1090px) {
    header .header-content .header-menu ul li {
        padding: 0 10px;
    }
}

@media (max-width: 991px) {
    .header-content .header-menu {
        display: none;
    }

    .header-content {
        padding: 12px 0;
    }

        .header-content .header-top {
            gap: 16px;
        }

        .header-content .logo img {
            width: 240px;
        }

    .hamburger-menu {
        display: block;
    }

        .hamburger-menu.open {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            height: 100%;
            z-index: 99;
            background: rgba(0, 0, 0, 0.5);
            transition-duration: 0.25s;
        }

    .nav-bar {
        display: none;
    }

    .img-support {
        height: 60px;
    }

    #menu__toggle:checked ~ .menu__btn {
        position: fixed;
        left: 250px;
        top: 24px;
        transform: none;
    }

    .nav-footer .row {
        justify-content: flex-start;
    }

    .icon-bee-news img {
        height: 150px;
    }

    .icon-bee-resource-bottom img {
        height: 80px;
    }

    .icon-bee-donate img {
        height: 180px;
    }
}

@media (max-width: 767px) {
    .header-content .logo img {
        width: 140px;
    }

    .header-content .header-top {
        gap: 8px;
        margin-bottom: 8px;
    }

    .header-top > img {
        width: 20px;
    }

    .header-content .btn {
        font-size: 12px;
        line-height: 20px;
        width: 70px;
        height: 28px;
    }

    .header-content .btn-login {
        gap: 4px;
    }

        .header-content .btn-login img {
            width: 16px;
        }

    .menu__btn {
        right: 24px;
    }
}
