.favorites {
    padding: 160px 0 100px;
}

.favorites-name {
    display: flex;
    justify-content: space-between;
    margin-bottom: 63px;
    align-items: center;
}

.left-options {
    display: flex;
    align-items: center;
}

.clear-all {
    margin-right: 18px;
    text-decoration: none;
    font-weight:bolder;
}

button.clear-all {
    background: none;
    border: none;
    padding: 0;
    font: inherit;
    font-weight: bolder;
    color: inherit;
    cursor: pointer;
}

.favorites-title {
    font-family: Play, sans-serif;
    font-size: 52px;
    font-weight: 700;
    text-transform: uppercase;
}

.favorites-cards {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 20px;
}
.no-favorites{
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-direction: column;
    padding-bottom: 40px;

}
.no-favorites-title{
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    line-height: 38px;
    margin-bottom: 40px;
}
.no-favorites-button{
    display: block;
    margin: 0 auto;
}


@media screen and (max-width: 920px) {
    .favorites-cards {
        grid-template-columns: 1fr 1fr 1fr ;
    }
}

@media screen and (max-width: 550px) {
    .favorites {
        padding: 80px 0 60px;
    }
    .favorites-cards {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }
    .favorites-name {
        margin-bottom: 43px;
    }
    .favorites-title {
        margin-bottom: 20px;
        margin-top: 20px;
        font-size: 48px;
    }
}

@media screen and (max-width: 420px) {
    .favorites {
        padding: 60px 0 50px;
    }
    .favorites-cards {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .favorites-name {
        margin-bottom: 30px;
    display: flex;
    flex-flow: row wrap;
    align-content: space-between;
    justify-content: space-between;
    }
    .favorites-title {
        margin-bottom: 20px;
        margin-top: 20px;
        font-size: 42px;
    }
}

