.filter{
    margin-top: -70px;
    position: absolute;
    background-color: rgba(166, 117, 154, 0.85);
    border-radius: 15px;
    width: 100vw;
    /*background-color: #884fbf;*/
}

.filter-background{
    border-radius: 0 0 0 0;
}

.filter small{
    color : white;
}

.filter button{
    color: white;
    background-color: rgb(243, 173, 23);
}

.filter button:hover{
    background-color: rgb(255, 175, 0);
    color: white;
}

@media(max-width: 992px){
    .filter-background .w-50 {
        width: 70% !important;
        margin: 2rem  auto 5rem auto;
    } 
    .filter {
        background-color: var(--color-primary);
        width: 100% !important;
        border-radius: 20px 20px 20px 20px ;
        position: relative;
        margin-top: 30px;
        padding-bottom: 0 !important;
        margin-left: 0;
    }

    .filter-background{
        margin: 0 25px;
        width: 100% !important;
        border-radius: 0 0 0 0;
        background-color: #f3f3f3;
    }

    #section-filter{
        margin-bottom: -120px !important;
        padding-bottom: -150px !important;
    }
}

@media(max-width: 767px){  
    .filter-background{
        margin: 0 25px;
    }

    .filter {
        padding: 0 0;
    }
}

@media (max-width: 522px){
    .container-title-events {
        width: 90% !important;
    }
    .filter-background .w-50 {
        width: 100% !important;
    } 
    .filter {
        margin: 10px;
    }

    .filter-background{
        margin-right: 25px;
        margin-left: 10px;
    }
}
