body{
    background-color: #ececec;
}
.breadcrumbs{
    display: flex;
    align-items: center;
    justify-content:center;
    height: 70px;
    margin: 10px 5px 10px 5px;
    background-color: #d8d8d8;
}
.crumb{
    padding: 0 15px 0 15px;
    text-align: center;
}
.crumb > a{
    font-weight: 500;
}
.crumb > a:hover {
    color: #9e0606;
}
.catalog{
    display: grid;
    grid-gap: 5px;
    padding: 5px;
    justify-content: center;
}
.catalog__item{
    padding: 2px;
    border: solid 1px darkgrey;
    transition: 0.2s;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}
.catalog__item > h3{
    text-align: center;
}
.catalog__item > img{
    width: 100%;
    height: 200px;
    margin-bottom: 2px;
}
.catalog__item:hover{
    border-color: #9e0606;
}
.bacground{
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    height: 200px;
    color: white;    
}
.bacground:after{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,.1);
    z-index: 1;
}
.bacground:hover:after{
    background: rgba(0,0,0,.5);
}
.btn{
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: black;
    cursor: pointer;
    transition: 0.2s;
    border: solid 1px #9e0606
}
.btn:hover{
    background-color: #9e0606;
    color: white
}
.description{
    padding: 2px;
    text-align: center;
}
.description > span{
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;  
    overflow: hidden;
    padding: 3px;
}
/* Large desktops and laptops */
@media (min-width: 1200px) {
    .catalog { grid-template-columns: 1fr 1fr 1fr 1fr; }
}

/* Portrait tablets and medium desktops */
@media (min-width: 992px) and (max-width: 1199px) {
    .catalog { grid-template-columns: 1fr 1fr 1fr; }
}

/* Portrait tablets and small desktops */
@media (min-width: 768px) and (max-width: 991px) {
    .catalog { grid-template-columns: 1fr 1fr; }
}

/* Landscape phones and portrait tablets */
@media (max-width: 767px) {
    .catalog { grid-template-columns: 1fr 1fr; }
}

/* Landscape phones and smaller */
@media (max-width: 480px) {
    .catalog { grid-template-columns: 1fr; }
}