.catalog-content {
    display: flex;
    width: 97%;
    padding: 20px 10%;
    margin: 1.5%;
    margin-top: 0;
    border-radius: 13px;
    background: #ffffff;
    z-index: 100;
    color: black;
    font-size: 25px;
    text-align: center;
    justify-content: center;
    line-height: 1.3;
    flex-wrap: wrap;

}

.chapter{
    display:flex;
    background: white;
    margin: 10px;
    border-radius: 15px;
    width: 370px;
    height: 370px;
    text-align: center;
    transition: 1s ease;
    box-shadow: 0px 0px 15px 3px black;
    padding: 0 25px 20px 25px;
    overflow: hidden;
    flex-direction: column;
    align-content: center;
    align-items: center;
    justify-content: space-around;
}

.chapter:hover{
    filter: drop-shadow(0px 0px 10px #ae3731);

}
.chapter img{
    position: relative;
    top: 10px;
    border-radius: 10px;
    width: 250px;
/*     height: 250px; */
    margin: 10px 0 20px 0;
    overflow: hidden;
    transition: 1s ease;
}

.chapter img:hover {
    transform: scale(1.1);
}

.chapter img.cargo_photo{
    transform: none;
}

.chapter p{
    font-weight: 500;
    font-size: 22px;
}

.catalog-content a{
    margin: 15px;
    text-decoration: none;
    color: black;
}

.back-label{
    width: 100%;
    display: inline-flex;
}

.back-label a.back{
    color: #ae3731;
    text-decoration: none;
    display: inline-flex;
    margin-right: 20%;
    margin-top: 10px;
}
.content p.back-text{
    position: relative;
    top: -5px;
    margin-left: 10px;

}

@media(max-width: 1000px){
    .chapter{
        width: 320px;
        height: 320px;
        margin: 2.5px;
    }
}

@media (max-width: 900px){
    
    .catalog-content{
        padding: 20px 5%;
    }
    
    .chapter{
        margin: 2.5px;
        flex-wrap: wrap;
        width: 290px;
        height: 290px;
        box-shadow: 0px 0px 15px 1px black;
    }
    
    .chapter img{
        width: 150px;
        margin: 10px 0 10px 0;
    }
    
    .chapter p{
        line-height: 22px;
    }
}

@media (max-width: 480px){
    
    .catalog-content{
        padding: 20px 10%;
    }
    
    .chapter img{
        width: 190px;
    }
    
    .main_photo{
        width: 300px;
    }

    .description{
        flex-direction: column;
    }

    .specifications{
        width: 100%;
        margin-left: 2%;
    }
    .chapter{
        width: 325px;
        height: 325px;
    }
}

@media (max-width: 300px){
    .chapter {
        width: 250px;
        height: 250px;
    }
    
    .chapter img {
        width: 140px;
    }
    
    .chapter p {
        line-height: 17px;
        font-size: 15px;
    }
}