.case-preview {
    height: 405px;
    width: 23%;
    background: #000D1A;
    position: relative;
    display: flex!important;
    flex-direction: column;
    justify-content: flex-end;
    transition: 300ms ease all;
    margin: 0 15px 30px;
}

.case-preview__image{
    position: absolute;
    width: 100%;
    height: 225px;
    top: 0;
    left: 0;
    object-fit: cover;
    object-position: top center;
    display: none;
}
.case-preview__info{
    padding: 40px;
    transition: 300ms linear all;
}
.case-preview__project-title{
    font-size: 26px;
    font-family:  "gothampro-bold";
    margin-bottom: 20px;
}
.case-preview__success-rate{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}
.case-preview__project-link{
    margin-bottom: 10px;
    margin-right: 50%;
}

.case-preview__success-rate-item{
    width: 45%;
    font-size: 30px;
    color: #FF9800;
    display: flex;
    flex-direction: column;
    position: relative;
    font-family:  "gothampro-bold";
}

.case-preview__success-rate-item-description{
    content: 'посетителей ежедневно';
    color: #fff;
    font-family: "gothampro";
    font-size: 16px;
    max-width: 120px;
}


.case-preview__category{
    font-family:  "gothampro-bold";
    color: #052B4E;
    text-transform: uppercase;
    margin-bottom: 15px;
    margin-top: 10px;
    display: none;
}

.case-preview:hover{
    background: #FF9800;
}
.case-preview:hover .case-preview__success-rate-item, .case-preview:hover .case-preview__success-rate-item{
    color:  #052B4E;
}

.case-preview--with-image .case-preview__image{
    display: block;
}

.case-preview--with-image .case-preview__info{
    background: #000D1A;
    position: relative;
    transition: 300ms linear all;
    z-index: 2;
    padding: 20px 40px;
    min-height: 180px;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
}
.case-preview--with-image .case-preview__project-title{
    margin-bottom: 0;
}

.case-preview--with-image .case-preview__success-rate{
    display: none;
}

.case-preview--with-image:hover .case-preview__info{
    background: #FF9800;
}

.case-preview--with-image:hover .case-preview__category{
    display: block;
}

@media screen and (max-width: 1919px){
    .case-preview{
        width: 30%;
    }
}

@media screen and (max-width: 1366px){
    .case-preview__info{
        padding: 25px;
    }
    .case-preview__project-title{
        font-size: 22px;
    }
}

@media screen and (max-width: 1170px){
    .case-preview{
        width: 45%;
    }
}
@media screen and (max-width: 768px){
    .case-preview{
        width: 100%;
    }
}