/* banner */
.image_container {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100vh;
}

body {
    background-color: #F7F7F7;

}

.banner {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s ease-in-out;
    -webkit-animation: kenburns-top 3s ease-out both;
    animation: kenburns-top 3s ease-out both;
}

@keyframes kenburns-top {
    0% {
        -webkit-transform: scale(1) translateY(0);
        transform: scale(1) translateY(0);
        -webkit-transform-origin: 50% 16%;
        transform-origin: 50% 16%;
    }

    100% {
        -webkit-transform: scale(1.06) translateY(-15px);
        transform: scale(1.06) translateY(-15px);
        -webkit-transform-origin: top;
        transform-origin: top;
    }
}



.arrow {
    display: block;
    position: absolute;
    width: 30px;
    height: 15px;
    bottom: 20px;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: floatAnimation 2.3s infinite;
    /* 指定动画名称和循环次数 */
}

@keyframes floatAnimation {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0);
    }
}

/* 周边 */
.periphery_container {
    overflow: hidden;
    position: relative;
}

/* 导航栏 */
.navigation {
    margin: 40px auto;
    width: 100%;
    display: flex;
    justify-content: center;
    overflow: hidden;
}

.navigation li {
    margin: 0 30px;
    color: rgba(204, 204, 204, 1);
    font-size: 24px;
    cursor: pointer;
}

.navigation li:hover {
    color: rgba(216, 12, 36, 1) !important;

}

.active {
    color: rgba(216, 12, 36, 1) !important;
}

@media (min-width: 992px) and (max-width: 1400px) {
    /*在此写所需的css代码*/

    .navigation li {
        font-size: 18px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {

    /*在此写所需的css代码*/
    .navigation li {
        font-size: 18px;
    }
}

.commodity_list {
    padding: 0 0 0 5px;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
    min-height: 600px;
}


.commodity_box {
    width: calc(33.3% - 10px);
    display: flex;
    flex-direction: column;
    margin: 0px 5px 50px 5px;
    overflow: hidden;
}

.commodity_box:hover .information {
    color: #D80C24;
}

.img_a {
    position: relative;
    overflow: hidden;
    transition: transform 0.35s ease-in-out;
    animation-name: appear;
    animation-duration: 0.7s;
    animation-timing-function: ease-in-out;
    animation-fill-mode: forwards;
    background-color: #fff;
    min-height: 200px;

}

@keyframes appear {
    0% {
        opacity: 0.6;
        transform: scale(0.9);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.img_commodity {
    display: block;
    width: 100%;
    object-fit: cover;
    min-height: 200px;
    transition: all 0.6s ease-in-out;
}

.img_commodity:hover {
    transform: scale(1.08);

}

.shopping_container {
    display: flex;
    justify-content: space-between;
}


.app_detail {
    margin: 15px 5px;
    width: 128px;
    height: 41px;
    line-height: 41px;
    font-size: 12px;
    display: block;
    font-weight: bold;
    color: rgba(216, 12, 36, 1);
    border: 1px solid rgba(216, 12, 36, 1);
    text-align: center;
    transition: all 0.6s;
    cursor: pointer;
    border-radius: 5px;
}

.app_detail:hover {
    animation: box-shadow-drop-bottom 0.6s both;
    color: #ffffff;
    background-color: rgba(216, 12, 36, 1);
}


.app_img {
    position: absolute;
    bottom: 7px;
    right: 10px;
    width: 120px;
    object-fit: contain;
}


.fade-out {
    animation: fadeOut 1.5s;
}

@keyframes fadeOut {
    0% {
        transform: translateX(-35px);
    }

    100% {
        transform: translateX(0px);
    }
}

.information {
    box-sizing: border-box;
    line-height: 30px;
    padding: 15px 15px;
}

.information p:nth-child(1) {
    font-size: 20px;
}

.information p:nth-child(1):hover {
    color: #D80C24;
    transition: all .3s ease-in;

}

.information p:nth-child(2) {
    font-weight: bold;
    font-size: 20px;
}

.more {
    width: 200px;
    height: 65px;
    line-height: 65px;
    font-size: 18px;
    display: block;
    font-weight: bold;
    color: rgba(216, 12, 36, 1);
    border: 1px solid rgba(216, 12, 36, 1);
    margin: 80px auto 60px auto;
    text-align: center;
    transition: all 0.6s;
    cursor: pointer;
    border-radius: 5px;
}

.more:hover {
    animation: box-shadow-drop-bottom 0.6s both;
    color: #ffffff;
    background-color: rgba(216, 12, 36, 1);
}

@-webkit-keyframes box-shadow-drop-bottom {
    0% {
        box-shadow: 0 0 0 rgba(0, 0, 0, 0);
    }

    100% {
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
    }
}

@keyframes box-shadow-drop-bottom {
    0% {
        box-shadow: 0 0 0 rgba(0, 0, 0, 0);
    }

    100% {
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
    }
}

.empty {
    font-size: 18px;
    display: block;
    font-weight: bold;
    color: rgba(216, 12, 36, 1);
    margin: 80px auto 60px auto;
    text-align: center;
}