
.containerbox {
    position: relative;
    display: flex;
    /* flex容器（flex container） */
    justify-content: center;
    /* 定义项目在主轴上的对齐方式 */
    align-items: center;
    /* 定义项目在竖直方向上对齐方式 */
    max-width: 1200px;
    flex-wrap: wrap;
    /* 定义项目是否换行以及如何换行  */
    z-index: 1;

}



.containerbox .card {
    width: 280px;
    height: 400px;
    margin: 30px;
    /* 设置阴影 */
    box-shadow: 20px 20px 50px rgba(0, 0, 0, 0.5);
    border-radius: 2px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.5);
    border-left: 1px solid rgba(255, 255, 255, 0.5);
}
.containerbox .card:before {
    background: -webkit-linear-gradient(0deg, #7FEFBD 0%, #FFF689 50%, #EC0B43 100%);
    background: linear-gradient(90deg, #7FEFBD 0%, #FFF689 50%, #EC0B43 100%);
    content: '';
    position: absolute;
    margin: 32px;
    width: 285px;
    height: 405px;
    border-radius: 4px;
    -webkit-filter: blur(3px);
    filter: blur(3px);
    z-index: -1;
    -webkit-transform: scale(0.99) translateY(3px);
    transform: scale(0.99) translateY(3px);
}






.containerbox .card::after {
    border-radius: 2px;
    /* 创建伪类 */
    content: "";
    /* 内容为空 */
    display: block;
    /* 转为块元素 */
    width: inherit;
    height: inherit;
    background: rgba(1, 1, 1, 0.15);
    /* 前三个代表颜色，最后一个代表透明度 */

    position: absolute;
    /* 决对定位 */
    /* top: 500px;	定位的位置 */
    transition: 1s;
    /* 动画过度效果 */
}

.containerbox .card:hover:after {
    /* top: 0; */
    background: rgba(1, 1, 1, 0.5);
    backdrop-filter: blur(1px)
    /* 当鼠标经过div的时候使after的top值为0 */
}



#card-1 {
    /* 设置card1的背景 */
    background-image: url(../../image/2010isml_ruby-nl.jpg);
    background-size: cover;

}

#card-2 {
    /* 设置card2的背景 */
    background: url(../../image/2011isml_aquamarine-nl.jpg);
    background-size: cover;
}

#card-3 {
    
    background: url(../../image/2011isml_heavenly-tiara.jpg);
    background-size: cover;
}

#card-4 {
    
    background: url(../../image/2012_ruby-nl.jpg);
    background-size: cover;
}

#card-5 {
    
    background: url(../../image/2012isml_diamono-circlet.jpg);
    background-size: cover;
}

#card-6 {
    
    background: url(../../image/2014isml_aquamarine-nl.jpg);
    background-size: cover;
}

#card-7 {
    
    background: url(../../image/2017isml_tournament-champion.jpg);
    background-size: cover;
}

#card-8 {
    
    background: url(../../image/2018isml_tournament-champion.jpg);
    background-size: cover;
}

#card-9 {
    
    background: url(../../image/2020isml_emerald-nl.jpg);
    background-size: cover;
}

#card-10 {
    
    background: url(../../image/2021isml_sapphire-nl.jpg);
    background-size: cover;
}

#card-11 {
    
    background: url(../../image/2022isml_topaz-nl.jpg);
    background-size: cover;
}

#card-12 {
    background: url(../../image/2022isml_amethyst-nl.jpg);
    background-size: cover;
}
.containerbox .card .content {
    padding: 20px;
    text-align: center;
    transform: translateY(70px);
    opacity: 1;
    transition: 0.5s;
    z-index: 2;
}

.containerbox .card:hover .content {
    transform: translateY(0px);
    opacity: 1;
}

.containerbox .card .content h2 {
    position:relative;
    top: -30px;
    z-index: 1;
    font-size: 3em;
    color: rgb(255, 255, 255);
    pointer-events: none;
}

.containerbox .card .content h3 {
    font-size: 1.8em;
    color: #fff;
    z-index: 1;
    position: relative;
    top: -30px;
}

.containerbox .card .content p {
    font-size: 1em;
    color: #fff;
    font-weight: 300;
    position: relative;
    top: -30px;
}

.containerbox .card .content a {
    position: relative;
    display: inline-block;
    padding: 8px 20px;
    top: -30px;
    background: #fff;
    color: #000;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 500;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}