.container.best-offers {
    margin-top: 130px;
    margin-bottom: 159px;
}

.best-offers {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.best-offers-title-wrapp {
    margin-bottom: 45px;
}

.best-offers-deskription-wrapp {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.best-offers-deskription-item {
    position: relative;
    width: calc(33.33% - 20px);
    height: 440px;
    margin-right: 10px;
    position: relative;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    overflow: hidden;
    cursor: pointer;
    z-index: 10;
}
.best-offers-deskription-item:last-child {
    margin-right: 0; 
  }
.best-offers-deskription-item::after {
    content: '';
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0) 100%);
    height: 100%;
    width: 100%;
    display: block;
    position: absolute;
    top: 0px;
    border-radius: 20px;
    z-index: 50;
}

.best-offers-deskription-item img {
    border-radius: 20px;
    transition: transform 0.3s ease;
    z-index: 11;
    height: 100%;
}

.best-offers-deskription-item:hover img{
    transform: scale(1.1);
}

.best-offers-deskription-item button.green {
    width: 50px;
    height: 50px;
    position: absolute;
    margin: 0;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
    background: transparent;
    border: none;
    z-index: 52;
    padding: 0
}
.best-offers-deskription-item button.green a {
    width: 100%;
    height: 100%;
    display: flex;
}

/* .best-offers-deskription-item button.green a img {
    filter: brightness(1);
} */

.best-offers-deskription-item p {
    width: 95%;
    position: absolute;
    bottom: 0;
    left: 20px;
    font-family: 'Onest', sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 30px;
    letter-spacing: 0em;
    text-align: left;
    color: #FFFFFF;
    z-index: 52;
}

.best-offers-title {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 0px;
}

.best-offers-title p {
    width: 80%;
    text-align: right;
    display: flex;
    justify-content: flex-end;
}

@media(max-width:1480px){
    
.best-offers-deskription-item {
    width: calc(33.33% - 20px);
    height: 340px;
}
}

@media(max-width:1380px) {
    .best-offers-deskription-item p {
        font-size: 18px;
        line-height: 20px;
    }
}


@media(max-width:1280px) {
    .best-offers-deskription-item p {
        font-size: 16px;
        line-height: 21px;
    }

    .container.best-offers {
        margin-top: 100px;
        margin-bottom: 100px;
    }
}

@media(max-width:1240px){
    .best-offers-deskription-wrapp {
        width: 100%;
        justify-content: space-between;
    }
    .best-offers-deskription-item button.green {
        width: 40px;
        height: 40px;
    }
    .best-offers-title-wrapp {
        margin-bottom: 40px;
    }
}

@media(max-width:1180px) {
    .best-offers-deskription-item p {
        font-size: 14px;
        line-height: 21px;
    }
    .best-offers-deskription-item {
        height: 280px;
    }
}



@media(max-width:880px) {
    .best-offers-deskription-wrapp {
        flex-wrap: wrap;
        justify-content: center;
    }

    .best-offers-deskription-item {
        width: calc(100% - 10px);
        margin-bottom: 10px;
    }

    .best-offers-deskription-item p {
        line-height: 26px;
        font-size: 20px;
    }
    .best-offers-deskription-item {
        height: 380px;
    }
}

@media(max-width:768px) {
    .container.best-offers {
        margin-top: 70px;
    }

}

@media(max-width:640px) {
    .best-offers-title-wrapp {
        margin-bottom: 10px;
    }

    .best-offers-deskription-item {
        width: calc(100% - 10px);
        margin-right: 0;
    }

    .container.best-offers {
        margin-bottom: 70px;
    }

    .best-offers-title p {
        width: 100%;
    }
}

@media(max-width:520px) {
    .container.best-offers {
        margin-top: 0px;
    }

    .best-offers-deskription-item p {
        line-height: 18px;
        font-size: 16px;
    }
    .container-dream-bg {
        background-size: cover;
        background-position-y: 458px;
        background-position: center 600px;
    }
    .best-offers-deskription-item {
        height: 250px;
    }
    .best-offers-deskription-item {
        width: calc(100% - 10px);
        height: 300px;
    }
    .best-offers-deskription-item img {
        object-fit: cover;
    }
 
}

@media(max-width:420px) {
    .best-offers-deskription-item p {
        line-height: 20px;
        font-size: 16px;
    }

    .best-offers-deskription-item p {
        font-size: 14px;
        font-weight: 700;
        line-height: 21px;
        max-width: 302px;
        width: 100%;
    }
    .best-offers-deskription-item {
        height: 220px;
        width: 340px;
    }
    .best-offers-deskription-item {
        width: 100%;
        height: 220px;
    }
    .best-offers-deskription-item button.green {
        width: 35px;
        height: 35px;
    }

}

@media(max-width:390px) {
    .best-offers-deskription-item p {
        width: 91%;
        left: 15px;
    }

    .best-offers-deskription-item p {
        font-size: 14px;
        line-height: 21px;
    }
}

@media(max-width:370px){
    .best-offers-deskription-item {
        width:100%;
    }
}