body {
    display: block;
}

main {
    background: linear-gradient(
            to right,
            #E2E2E8 0%,
            #E2E2E8 30%,
            #F2F2F7 80%,
            #F2F2F7 100%
    );
}

main .filters-block {
    background: #E2E2E8;
    padding-top: 20px;
}

main .list-block {
    background: #F2F2F7;
    padding-top: 20px;
}

.filters-block .filters-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0;
    border: none;
    background: none;
    color: inherit;
    text-align: left;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    cursor: default;
}

.filters-block .filters-title .chevron {
    display: none;
    transition: transform 200ms ease-in-out;
}

.tags-row {
    margin-top: 20px;
    margin-bottom: 10px;
}

.tag {
    background: #FFFFFF;
    margin-right: 10px;
    display: inline-block;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: 400;
    height: 32px;
    cursor: pointer;
}

.tag.active {
    border: 2px solid #94CAEB;
}

select#sort {
    border-radius: 4px;
    border: 1px solid #DCDCE9;
    background: #FFF;
    width: 100%;
    font-size: 12px;
    color: rgba(0, 0, 0, 0.40);
    position: relative;
    height: 32px;
    text-indent: 5px;
}

.checkbox-item {
    font-size: 14px;
    font-weight: 400;
    padding: 5px 0;
    display: flex;
}

input[type="checkbox"] {
    /* Add if not using autoprefixer */
    -webkit-appearance: none;
    appearance: none;
    /* For iOS < 15 to remove gradient background */
    background-color: #fff;
    /* Not removed via appearance */
    margin: 0;
    font: inherit;
    color: currentColor;
    width: 18px;
    height: 18px;
    border-radius: 5px;
    display: grid;
    place-content: center;
    flex-shrink: 0;
}

input[type="checkbox"]::before {
    content: "";
    width: 9px;
    height: 9px;
    border-radius: 1px;
    transform: scale(0);
    transition: 120ms transform ease-in-out;
    box-shadow: inset 14px 14px rgba(84, 150, 190, 1);
    margin-left: 0.5px;
}

input[type="checkbox"]:checked::before {
    transform: scale(1);
}

.checkbox-item label {
    margin-left: 10px;
}

@media (max-width: 767.98px) {
    .filters-block .filters-title {
        cursor: pointer;
    }

    .filters-block .filters-title .chevron {
        display: block;
    }

    .filters-block .filters-title[aria-expanded="false"] .chevron {
        transform: rotate(-180deg);
    }

    .tags-wrapper {
        display: flex;
        width: 100%;
        overflow-x: scroll;
        height: 50px;
    }

    .tags-wrapper .tag {
        display: flex;
        white-space: nowrap;
        justify-content: center;
        align-items: center;
    }
}
