@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins-Black.ttf'), url('../fonts/Poppins-BlackItalic.ttf'), url('../fonts/Poppins-Bold.ttf'),
        url('../fonts/Poppins-BoldItalic.ttf'), url('../fonts/Poppins-ExtraBold.ttf'),
        url('../fonts/Poppins-ExtraBoldItalic.ttf'), url('../fonts/Poppins-ExtraLight.ttf'),
        url('../fonts/Poppins-ExtraLightItalic.ttf'), url('../fonts/Poppins-Thin.ttf'),
        url('../fonts/Poppins-ThinItalic.ttf'), url('../fonts/Poppins-Italic.ttf'), url('../fonts/Poppins-Light.ttf'),
        url('../fonts/Poppins-LightItalic.ttf'), url('../fonts/Poppins-Medium.ttf'),
        url('../fonts/Poppins-MediumItalic.ttf'), url('../fonts/Poppins-Regular.ttf'),
        url('../fonts/Poppins-SemiBold.ttf'), url('../fonts/Poppins-SemiBoldItalic.ttf');
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    /* font-family: 'Poppins', sans-serif; */
    list-style-type: none;
    text-decoration: none;
}

#header {
    height: 70px;
    color: rgba(255, 255, 255, 0.8);
    background-color: #0f0f0f;
    display: flex;
    justify-content: center;
}

.header_container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 1200px;
}

.header_category {
    display: flex;
    height: 100%;
}

.header_logo {
    padding: 18px 17px 17px;
    max-height: 100%;
    text-align: center;
}

.header_logo img {
    height: 100%;
    object-fit: cover;
}

.header_category--movie {
    position: relative;
    padding: 25px 20px;
    line-height: 20px;
    text-decoration: none;
    color: inherit;
}

.header_category--movie:hover {
    color: #408bea;
}

.header_category--icon {
    font-size: 12px;
    padding-left: 5px;
}

.header_search {
    border-radius: 5px;
    background-color: #2d2d2d;
    color: white;
    padding-right: 15px;
    width: 340px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.header_search--text {
    border: none;
    outline: none;
    background-color: inherit;
    min-height: 40px;
    width: 100%;
    padding: 0 15px;
    color: white;
}

.header_search--icon {
    font-size: 14px;
    font-weight: 900;
}

.header_search--icon:hover {
    color: #408bea;
}

.header_category--movie:hover .header_category_list {
    display: grid;
    z-index: 9999;
}

.header_category_list {
    background: #000000;
    position: absolute;
    display: none;
    left: 0;
    top: 70px;
    grid-template-columns: calc(500px / 3) calc(500px / 3) calc(500px / 3);
    max-width: 500px;
    padding-left: 0;
}

.header_category_list--item {
    list-style-type: none;
}

.header_category_list--link {
    /* display: flex; */
    /* flex ko cho hidden text tràn thành ....  */
    display: inline-block;
    width: 100%;
    /* align-items: center; */
    text-decoration: none;
    color: #7d7d7d;
    padding: 10px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.header_category_list--icon {
    margin: 0 10px;
    font-size: 14px;
}

.header_category_list--link:hover {
    color: #408bea;
}

.fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    animation: truot 0.5s linear;
}

@keyframes truot {
    from {
        transform: translateY(-35px);
    }

    to {
        transform: translateY(0);
    }
}
