* {
    margin: 0;
    padding: 0;
}
body {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #000;
    /* perspective: 2800px; */
}
.container {
    color: #fff;
    position: relative;
    border: #fff 6px solid;
    margin: 8px;
    padding: 10px;
    /* transform: rotate3d(0, 1, 0, 45deg); */
}
.shirt {
    position: relative;
    width: 530px;
    height: 80vh;
    background-size: 100%;
    /* transform: translateX(20%); */
    background-image: url(./images/a_shirt.png);
}
.shirt-overlay {
    position: absolute;
    left: 0px;
    top: 0px;    
    width: 530px;
    height: 100%;
    /* 设置混合模式为正片叠底 */
    mix-blend-mode: multiply;
    /* 设置元素上遮罩层的图像 */
    -webkit-mask-image: url(images/a_shirt_mask.png);
    /* 掩码图像的大小 保持图像纵横比 */
    -webkit-mask-size: 100%;
    /* transform: translateX(20%); */
}

.shirt-overlay::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: 100%;
  /* 
  background-image: url(./images/a_shirt_mask.png);
  background-color: rgba(0, 0, 0, 0.5);*/
}

/* 图案选项 */
.options{
    position: absolute;
    bottom: 0;
    right: -100px;
}
.option{
    width: 50px;
    height: 50px;
    border-radius: 5px;
    border: 3px solid #fff;
    background-color: #e2e2e2;
    overflow: hidden;
    margin-top: 10px;
    cursor: pointer;
    transition: 0.3s;
    background-size: 100%;
    color: #000;
    /* transform: translateX(20%); */
}
.option.active{
    border-color: #ff6b81;
}
.option:hover{
    border-color: #ff6b81;
}


/* 图案选项 */
.rens{
    position: absolute;
    bottom: 0;
    left: -100px;
}
.ren{
    width: 50px;
    height: 50px;
    border-radius: 5px;
    border: 3px solid #fff;
    background-color: #e2e2e2;
    overflow: hidden;
    margin-top: 10px;
    cursor: pointer;
    transition: 0.3s;
    background-size: 100%;
    color: #000;
    /* transform: translateX(20%); */
}
.ren.active{
    border-color: #ff6b81;
}
.ren:hover{
    border-color: #ff6b81;
}