@import url("https://fonts.googleapis.com/css?family=Poppins:300,400,500&display=swap");
body {
    margin: 0;
    margin-top: 4em;
    font-size: 14px;
    background-color: #1D1D1D;
    font-family: 'Poppins', sans-serif;
}
.card-parent {
    max-width: 800px;
    margin: auto;
    position: relative;
    padding: 3em 0em;
    overflow: auto;
}
.card {
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.05);
    width: 260px;
    position: relative;
    margin: auto;
    margin-right: 20px;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    transition: all 300ms cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.card_hero {
    background-image: linear-gradient(#FF6057, #ff3024);
    height: 200px;
    width: 100%;
    border-radius: 0px 0px 20px 20px;
}
.prod-image {
    max-width: 180px;
    margin: auto;
    transition: all 200ms ease;
}
.prod-image img {
    margin-top: 1.5em;
    width: 100%;
    transition: all 400ms ease;
}
.card_content {
    background: white;
}
.card_content p {
    line-height: 1.3;
    color: #666;
}
.card_content-inner {
    padding: 1em 1.4em 4em 1.4em;
}
.shop {
    cursor: pointer;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    border-radius: 0px 0px 20px 20px;
    background: #343434;
    outline: none;
    border: none;
    color: white;
    height: 50px;
    font-weight: 700;
    font-size: 0.9em;
    text-transform: uppercase;
    transition: all 500ms ease;
}
.prod-title {
    opacity: 0;
    color: #FF6057;
    transform: translateY(10px);
    transition: all 400ms ease;
    margin-bottom: 0em;
}
.prod-info {
    opacity: 0;
    transform: translateY(-10px);
    transition: all 400ms ease;
    margin-top: 0em;
}
.card.active .prod-image {
    max-width: 180px;
    transform: scale(1.3);
    transition: all 400ms ease;
}
.card.active .prod-image img {
    margin-top: 1.5em;
    transform: translate(0px, 10px);
    transition: all 400ms ease;
}
.card.active .prod-title {
    transition-delay: 300ms;
    opacity: 1;
    transform: translateY(0px);
}
.card.active .prod-info {
    opacity: 1;
    transform: translateY(0px);
    transition-delay: 100ms;
}
.card.active .slvd-text {
    transform: translateY(0px);
}
.card.active .shop {
    color: white;
    background-image: linear-gradient(#FF6057, #ff3024);
}
.sleeve-element {
    display: inline-block;
    overflow: hidden;
}
.sleeve-element .slvd-text {
    position: relative;
    display: inline-block;
    transition: all 800ms cubic-bezier(0.785, 0.135, 0.15, 0.86);
    transform: translateY(100%);
}
 .card-parent::-webkit-scrollbar {/*滚动条整体样式*/
 width: 10px;     /*高宽分别对应横竖滚动条的尺寸*/
 height: 3px;
}
 .card-parent::-webkit-scrollbar-thumb {/*滚动条里面小方块*/
 border-radius: 10px;
 -webkit-box-shadow: inset 0 0 5px rgba(0,0,0,0.2);
 background: #535353;
}
 .card-parent::-webkit-scrollbar-track {/*滚动条里面轨道*/
 -webkit-box-shadow: inset 0 0 5px rgba(0,0,0,0.2);
 border-radius: 10px;
 background: #EDEDED;
}
