.content .allbox{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px;
}
.content .allbox .box{
    width: 30%;
    height: 357px;
    border: 1px solid silver;
    padding: 2%;
    margin-bottom: 20px;
    margin-right: 10px;
    position: relative;
}
.content .allbox .box h2{
    font-size: 1.2em;
    font-weight: 400;
    margin-bottom: 15px;
    color: rgb(51, 51, 51);
}
.content .allbox .box span{
    display: block;
    font-size: 1em;
    margin-bottom: 2px;
    color: silver;
}
.content .allbox .box h3{
    font-size: 1em;
    font-weight: 400;
    margin-top: 15px;
    color: rgb(107, 107, 107);
}
.content .allbox .box p{
    text-overflow: ellipsis;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
     color: silver;
}
.content .allbox .box a{
    display: block;
    width: 100%;
    height: 50px;
    line-height: 50px;
    position: absolute;
    bottom: 0;
    left: 0;
    background: rgb(215, 40, 39);
    color: white;
    text-align: center;
    opacity: 0;
    transition: 0.5s;
}
.content .allbox .box:hover a{
    opacity: 1;
}

@media screen and (max-width: 1200px) {
    .content .allbox .box{
        width: 100%;
        height: auto;
        margin-bottom: 0;
        margin-right: 0;
        padding-bottom: 50px;
        margin-bottom: 20px;
    }
    .content .allbox .box h2{
        font-size: 1.2em;
        font-weight: 400;
        margin-bottom: 15px;
        color: rgb(51, 51, 51);
    }
    .content .allbox .box a{
        height: 40px;
        line-height: 40px;
        opacity: 1;
    }
}