*{
    --colorspan : #c5ddff;
}
.container{
    max-width: 1200px;
    margin: 100px auto;
}
.header-course-page{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
}
.header-course-page .content-header-course{
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 50%;
}
.header-course-page .content-header-course h1{
    font-size: 32px;
    line-height: 37px;
}
.header-course-page .image-header-course{
    width: 50%;
    max-width: 450px;
}
.header-course-page .image-header-course img{
    width: 100%;
}
.content-courses{
    display: flex;
    flex-direction: column;
}
.filter-content-course{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 100px 0px 50px 0px;
}
.infos-filter-courses{
    display: flex;
    align-items: center;
    gap: 20px;
}
.infos-filter-courses .title-filter{
    font-size: 21px;
    font-weight: bold;
}
.infos-filter-courses .number-formations{
    color: var(--fontcolor);
    font-size: 14px;
    padding: 5px 20px;
    border-radius: 10px;
    background-color: var(--colorspan);
}
.options-filter-courses{
    display: flex;
    align-items: center;
    gap: 10px;
}
.options-filter-courses .search-filter-courses{
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 30px;
    padding: 5px 20px;
    background-color: var(--colorspan);
}
.options-filter-courses .search-filter-courses i{
    color: var(--fontcolor);
    font-size: 16px;
}
.options-filter-courses .search-filter-courses input{
    outline: none;
    border: none;
    background-color: #c5ddff00;
}
.options-filter-courses .search-filter-courses input::placeholder{
    color: var(--fontcolor);
}
.options-filter-courses .order-filter-course{
    position: relative;
}
.options-filter-courses .order-filter-course .current-order{
    color: var(--fontcolor);
    font-size: 14px;
    border-radius: 30px;
    padding: 5px 20px;
    cursor: pointer;
    background-color: var(--colorspan);
}
.options-filter-courses .order-filter-course .current-order::after{
    content: "";
    font-family: "Font Awesome 6 Free";
    margin-left: 10px;
    font-weight: 900;
}
.options-filter-courses .order-filter-course .list-options-order{
    position: absolute;
    top: 40px;
    right: 0px;
    display: none;
    flex-direction: column;
    gap: 5px;
    background-color: #fff;
    border: 1px solid #000;
    padding: 10px 20px;
    z-index: 999;
}
.options-filter-courses .order-filter-course .list-options-order .option-order{
    text-wrap: nowrap;
    font-size: 14px;
    padding: 5px 10px;
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}
.options-filter-courses .order-filter-course .list-options-order .option-order:hover{
    background-color: var(--colorspan);
}
.container-course{
    display: flex;
    justify-content: space-between;
    min-height: 600px;
    gap: 20px;
}
.filter-content-courses{
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 300px;
    border: 1px solid #e3e3e3;
    border-radius: 10px;
    padding: 50px 20px;
    background-color:#fbfbfb;
}
.filter-content-courses::-webkit-scrollbar-thumb {
    background: #9e3d3d;
    border-radius: 4px;
  }
.filter-content-courses .section-filter{
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.filter-content-courses .section-filter .options-section-filter{
    display: flex;
    flex-direction: column;
    font-size: 14px;
    gap: 5px;
    margin-top: 10px;
    transition: all 0.3s ease-in-out;
    max-height: 200px;
    overflow-y: scroll;
    -webkit-animation: menu_filter 0.5s;
}

@-webkit-keyframes menu_filter{
    0%{
        height:0px;
        opacity: 0%;
    }
    100%{
        height: 350px;
        opacity: 100%;
    }
}
.title-section-filter{
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 3px;
    width: -webkit-fill-available;
    font-size: 14px;
    cursor: pointer;
}
.option-section-filter{
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}
.check-item{
    position: relative;
    display: inline-block;
    width: 15px;
    height: 15px;
    border: 1px solid #e1e1e1;
    /* border-radius: 50%; */
    aspect-ratio: 1;
}
.active-check-item{
    background-color: var(--primarycolor);
}
.active-check-item:after{
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-family: "Font Awesome 6 Free";
    font-weight: 600;
    font-size: 10px;
    color: rgb(255, 255, 255);
}
::-webkit-scrollbar {
    width: 5px;
    height: 5px;
  }
::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 6px;
  }
::-webkit-scrollbar-thumb {
    background: var(--primarycolor);
    border-radius: 10px;
  }
::-webkit-scrollbar-thumb:hover {
    background: var(--primarycolor);
}
.range-prix{
    display: flex;
    align-items: center;
    gap: 10px;
}
.range-prix input{
    border: 1px solid #d1d1d1;
    padding: 5px 10px;
    width: 80px;
    border-radius: 3px;
    outline: none;
}
.active-view{
    display: flex !important;
}
.exist-filter{
    font-size: 21px;
    display: flex;
    justify-content: end;
    cursor: pointer;
}
.more-filter{
    display: none;
    font-size: 21px;
    cursor: pointer;
}
.exist-filter{
    display: none;
}
.button-filter{
    text-align: center;
    background-color: var(--primarycolor);
    color: #fff;
    cursor: pointer;
    margin-top: 20px;
    transition: all 0.3s ease-in-out;
}
.button-filter:hover{
    background-color: var(--fontcolor);
}

@media (max-width:1200px){
    .container{
        padding: 20px;
    }
    .options-filter-courses{
        flex-wrap: wrap;
    }
}
@media (max-width:600px){
    .filter-content-course{
        flex-direction: column;
        gap: 20px;
    }
    .infos-filter-courses,.options-filter-courses{
        flex-wrap: wrap;
        justify-content: space-between;
        width: 100%;
    }
    .header-course-page{
        flex-direction: column;
    }
    .content-header-course,.image-header-course{
        width: 100% !important;
        text-align: center;
    }
    .filter-content-courses{
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 90%;
        height: 100%;
        z-index: 99;
        min-width: none;
        -webkit-animation: filter_veiw 0.5s;
    }
    .more-filter{
        display: flex;
    }
    .list-options-order{
        left: 0px;
        right: auto !important;
    }
    .exist-filter{
        display: flex;
    }
}
@-webkit-keyframes filter_veiw{
    0%{
        left:-800px;
        opacity: 0%;
    }
    100%{
        left:0px;
        opacity: 100%;
    }
}
