/*
////////////////////////////////////////////
下面是产品列表
*/

html,body{
    height: 100%;
    width: 100%;
}

@media screen and (max-width: 576px) {
    .one__picture {
        height: 5rem;
        width: 5rem;
    }

    .box {
        height: 5rem;
        width: 5rem;
    }

    .box img {
        height: 5rem;
        width: 5rem;
    }

    .box .box-content:before {
        width: 5rem;
        height: 5rem;
    }

    .box .box-content {
        width: 5rem;
        height: 5rem;
    }

    .box .title {
        margin: 0;
        font-size: 0.4rem;
    }
}

@media screen and (min-width: 577px) and (max-width: 768px) {
    .one__picture {
        height: 7rem;
        width: 7rem;
    }

    .box {
        height: 7rem;
        width: 7rem;
    }

    .box img {
        height: 7rem;
        width: 7rem;
    }

    .box .box-content:before {
        width: 7rem;
        height: 7rem;
    }

    .box .box-content {
        width: 7rem;
        height: 7rem;
    }

    .box .title {
        margin: 0;
        font-size: 0.75rem;
    }
}


@media screen and (min-width: 769px) and (max-width: 992px) {
    .one__picture {
        height: 9rem;
        width: 9rem;
    }

    .box {
        height: 9rem;
        width: 9rem;
    }

    .box img {
        height: 9rem;
        width: 9rem;
    }

    .box .box-content:before {
        width: 9rem;
        height: 9rem;
    }

    .box .box-content {
        width: 9rem;
        height: 9rem;
    }

    .box .title {
        margin: 0;
        font-size: 0.875rem;
    }
}

@media screen and (min-width: 993px) and  (max-width: 1200px) {
    .one__picture {
        height: 11rem;
        width: 11rem;
    }

    .box {
        height: 11rem;
        width: 11rem;
    }

    .box img {
        height: 11rem;
        width: 11rem;
    }

    .box .box-content:before {
        width: 11rem;
        height: 11rem;
    }

    .box .box-content {
        width: 11rem;
        height: 11rem;
    }

    .box .title {
        margin: 0;
        font-size: 1rem;
    }
}


@media screen and (min-width: 1201px) and (max-width: 16777215px) {
    .one__picture {
        margin: 30px;
        height: 13rem;
        width: 13rem;
    }

    .box {
        margin: 30px;
        height: 13rem;
        width: 13rem;
    }

    .box img {
        margin: 30px;
        height: 13rem;
        width: 13rem;
    }

    .box .box-content:before {
        width: 13rem;
        height: 13rem;
        max-width: 300px;
    }

    .box .box-content {
        width: 13rem;
        height: 13rem;
        max-width: 300px;
    }

    .box .title {
        margin: 0;
        font-size: 1.125rem;
    }
}


.one__picture {
    border: 0;
}

.box {
    /*border: 1px solid #333;*/
    position: relative;
    overflow: hidden;
    border-radius: 5px;

}

.box img {
    margin: 10px;
    object-fit: fill;
    object-position: center;
}

/*这个是旋转效果*/
/*.box .box-content {*/
/*    width: 13rem;*/
/*    height: 100%;*/
/*    position: absolute;*/
/*    top: 0;*/
/*    left: 0;*/
/*    color: #fff;*/
/*    text-align: center;*/
/*    background: rgba(165, 165, 165, 0.6);*/
/*    transform: rotate(-90deg);*/
/*    transform-origin: left top 0;*/
/*    transition: all 0.30s ease 0s;*/
/*    display: flex;*/
/*    justify-content: center;*/
/*    align-items: center;*/
/*}*/

/*这个是从左到右拉出效果*/
.box .box-content:before {
    content: '';
    display: block;
    background: linear-gradient(to left, rgba(255, 255, 255, 0) 50%, rgba(53, 53, 53, 0.5) 50%) right bottom;
    background-size: 210% 200%;

    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    transition: all 0.9s;
    -webkit-transition: all 0.93s;

}

.box .box-content {
    border: 0;
    color: white;
    outline: none;

    top: 10px;
    bottom: 0;
    right: 0;
    left: 10px;
    text-align: center;
    justify-content: center;
    align-items: center;
    position: absolute;
    /*background-image: linear-gradient(to right, red, yellow);*/
    background-color: transparent;
}

.box .box-content:hover:before {
    background-position: left bottom;
}

.box .title {
    display: inline-block;
    color: #fff;
    position: relative;
    transform: translate(-300px, 0); /* 设置位移 */
    transition: all 0.9s ease 0s; /* 同时加入动画效果 */
}

.box .post {
    display: block;
    font-size: 18px;
    margin-bottom: 15px;
    transform: rotate(180deg);
    transform-origin: right top 0;
    transition: all .3s ease-in-out 0.4s;
}

.box .description {
    font-size: 15px;
    margin-bottom: 20px;
    padding: 0 20px;
    transform: rotate(180deg);
    transform-origin: right top 0;
    transition: all .3s ease-in-out 0.6s;
}

.box .read {
    font-size: 20px;
    font-weight: bold;
    color: #fff;
    display: block;
    letter-spacing: 2px;
    text-transform: uppercase;
    transform: rotate(180deg);
    transform-origin: right top 0;
    transition: all 0.1s ease-in-out 0.8s;
}

.box .read:hover {
    color: #e8802e;
    text-decoration: none;
}

.box:hover .box-content,
.box:hover .title,
.box:hover .post,
.box:hover .description,
.box:hover .read {
    transform: rotate(0deg);
}

@media screen and (max-width: 990px) {
    .box {
        margin-bottom: 20px;
    }
}

@media screen and (max-width: 359px) {
    .box .box-content {
        padding: 10% 20px;
    }
}
