.header{
    position: relative;
    z-index: 10;
    .header_top{
        padding: 10px 0;
        .logo{
            img{
                max-height: 68px;   
                width: 100%;
                object-fit: contain;
            }
        } 
    }
    .header_main {
        background-color: rgba(0, 0, 0, 0.5);
        // position: absolute;
        // top: 0;
        // left: 0;
        width: 100%;
        padding: 12px 0;
        z-index: 2;

        .header_main_container {
            display: flex;
            align-items: center;
            justify-content: space-between;

            .right_content {
                display: flex;
                align-items: center;

                .search_box {
                    position: relative;
                    margin-right: 16px;
                    width: 360px;

                    .form_control {
                        background-clip: padding-box;
                        background-color: #181d22bc;
                        border: 1px solid #c3c3c348;
                        border-radius: 6px;
                        color: #efefef;
                        display: block;
                        height: 40px;
                        padding: 0 10px;
                        width: 100%;

                        &:focus {
                            outline: 0;
                        }

                        &::placeholder {
                            color: #acaaaa;
                            font-weight: 300;
                        }
                    }

                    i {
                        position: absolute;
                        top: 50%;
                        right: 10px;
                        transform: translateY(-50%);
                        color: rgba(196, 196, 196, 0.788);
                        font-size: 17px;
                        cursor: pointer;
                    }
                }

                .sign_in {
                    height: 38px;
                    padding: 0 15px;
                    background-color: $primaryColor;
                    border: 1px solid $primaryColor;
                    font-size: 14px;
                    color: $white;
                    font-weight: 400;
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    border-radius: 5px;
                    cursor: pointer;

                    &:hover {
                        background-color: transparent;
                        border: 1px solid #c3c3c3ad;
                    }
                }
            }
        }

        .nav_list {
            li {
                padding-left: 25px;
                cursor: pointer;
                position: relative;
                display: inline-block;

                &:hover a {
                    width: 100%;
                }

                &:hover .sub_down {
                    top: 30px;
                    opacity: 1;
                    margin-top: 0;
                    visibility: visible;
                    padding: 10px 10px 10px 10px;
                }

                a {
                    font-size: 15px;
                    color: #e7e7e7;
                    font-weight: 300;

                    &:hover {
                        color: $white;
                    }

                    span {
                        padding-right: 10px;
                        font-size: 18px;
                    }

                    .droppper {
                        font-size: 16px;
                    }

                }

                .sub_down {
                    background-color: #ffffff;
                    border-radius: 6px;
                    padding: 10px 10px 10px 10px;
                    box-shadow: 1px 1.732px 20px 0px rgba(0, 0, 0, 0.3);
                    -webkit-transition: all 0.3s ease-in-out;
                    transition: all 0.3s ease-in-out;
                    position: absolute;
                    visibility: hidden;
                    display: block;
                    width: 190px;
                    border: none !important;
                    opacity: 0;
                    top: 40px;
                    right: 0;
                    padding: 0;
                    z-index: 10;

                    li { 
                        padding: 2px 8px;
                        width: 100%;

                        &:hover a {
                            //    background-color: #eeeeeead;
                            color: $primaryColor;
                        }

                        a {
                            font-size: 14px;
                            color: #333232;
                            font-weight: 400;
                        }
                    }
                }
            }
        }
    }
    .headerFloating{
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 90;
        background-color: rgba(0, 0, 0, 0.8);
        animation: headerAnime 1s;
        .header_main_container {
            .right_content {
                .search_box {
                    .form_control {
                        background-clip: padding-box;
                        background-color: #35393cde;
                        border: 1px solid #c3c3c348;
                        border-radius: 6px;
                        color: #efefef;
                        display: block;
                        height: 40px;
                        padding: 0 10px;
                        width: 100%;

                        &:focus {
                            outline: 0;
                        }

                        &::placeholder {
                            color: #acaaaa;
                            font-weight: 300;
                        }
                    }

                    i {
                        position: absolute;
                        top: 50%;
                        right: 10px;
                        transform: translateY(-50%);
                        color: rgba(196, 196, 196, 0.788);
                        font-size: 17px;
                        cursor: pointer;
                    }
                }
            }
        }
    }
}

@keyframes headerAnime{
    0% {
        top: -50px;
    }
    
    100% {
        top: 0px;
    }
}