.product-thumb .image{margin-bottom:10px;position:relative;overflow:hidden;z-index:1} .product-thumb .image img{width:100%;height:auto;padding:20px;transition: all 0.5s ease;} .product-thumb:hover .image img{transform: scale(1.1);} .product-thumb .form{ width:50px;right:-50px;bottom:0px;position:absolute;transition:all .2s ease-in-out;z-index:33} .product-thumb:hover .form{right:10px;bottom:0;} .product-thumb .form-button{width:50px;height:50px;line-height:50px;border:none;border-radius:50%;background:var(--ace-color-button);color:#fff;margin-bottom:10px;} .product-thumb .form-button .iconfont{font-size:20px;} .product-thumb .form-button:hover{cursor:pointer} .product-thumb .description{padding:0 10px 10px;text-align:center} .product-thumb .description h3{font-size: 1.375rem;font-weight:400} #home-1{margin:0px;z-index:0;position:relative;width:100%;height:calc(100vh - 60px );overflow:hidden;background-color:#131673;background-image:url(../image/texture.png),radial-gradient(150% 100% at 50% 30%,#6132b8 0,#131673 100%);background-image:url(../image/texture.png),-webkit-radial-gradient(50% 30%,150% 100%,#6132b8 0,#131673 100%);background-repeat:repeat,no-repeat;background-size:4rem,auto;background-position:top center,center;background-blend-mode:overlay,normal;color:#fff;} .home-banner{width:100%;height:auto;padding:4rem 2rem 4rem;text-align:center;display:flex;align-items:center;flex-direction:column;justify-content:center} .banner-title{font-size:36px;font-weight:600;font-family:"Julius Sans One";color:#fff;padding:0;} .banner-intro{display:none;} .banner-button{background:#ffcb3f;box-shadow:var(--ace-shadow-main);border-radius:0 20px;padding:10px 20px;font-size:16px;color:var(--ace-color-main);margin-top:1rem;text-align:left;} .banner-button:hover{box-shadow:var(--shadow-hover)} @media (min-width:992px){ .home-banner{padding:6rem 2rem 7rem;} .banner-title{font-size:50px;} .banner-intro{ font-size:1.5rem;font-family:serif;position:relative;display:inline-block;} .banner-button{padding:10px 88px;white-space: nowrap;text-align:center;font-size:22px;} .banner-button br{display: none;} } :root{--tarot-card-width:3.75rem;--tarot-card-height:6rem} .home-tarot{width:100%;display:flex;align-items:center;justify-content:center;} @media (min-width:768px){ .tarot-card{font-size:1.5rem;position:relative} .tarot-card .card-item{position:absolute;top:0;left:0;display:inline-block;width:var(--tarot-card-width);height:25rem} .tarot-card .card-item span{display:block;width:var(--tarot-card-width);height:var(--tarot-card-height);background:url(../image/tarot-card-back.webp);background-size:var(--tarot-card-width) auto;overflow:hidden;transition:transform .5s ease-in-out;} .tarot-card .card-item span i{position:absolute;top:0.05rem;left:0.2rem;display:none;font-size:10px;transition:transform .5s ease-in-out;} .tarot-card .card-item.hover span,.tarot-card .card-item:hover span{transform:translateY(-1.5rem)} .tarot-card .card-item.hover span i,.tarot-card .card-item:hover span i{display:block;} } @media (max-width:767.99px){ .tarot-card{width:100%;height:auto;overflow:hidden} .tarot-card .card-item{z-index:(var(--index));width:var(--tarot-card-width);height:var(--tarot-card-height);background:url(../image/tarot-card-back.webp);background-size:var(--tarot-card-width) var(--tarot-card-height);position:absolute;bottom:0;left: calc(50% - (var(--tarot-card-width) * 0.5));user-select:none;transform:rotate(calc((var(--index) * 2 - 78) * 1deg));transform-origin:50% 50%;animation:wheel-in 1s ease forwards} @keyframes wheel-in{0%{bottom:0;transform-origin:50% 50%} 100%{bottom:250px;transform-origin:50% 250%} } } #home-2,#home-3,#home-4{display:flex;align-items:center;flex-direction:column;justify-content:center;margin-top:3rem} .home-title{font-size:2.5rem;text-align:center;font-family:"Julius Sans One";font-weight:600;color:#5a1cb9;margin:0;} .home-intro{font-size:1.25rem;color:#393939;padding:1rem 0rem;line-height:1.8} .home-line{width:80%;height:1px;background:#ddd;margin:1.5rem auto .25rem;position:relative} @media (min-width:992px){ .home-title{font-size:2.5rem;} .home-intro{font-size:1.25rem;padding:1rem 0rem;} .home-line{width:400px;margin:1.5rem auto .25rem;} } .home-topic{width:100%;margin-top:20px;display:flex;flex-wrap:wrap;justify-content:space-between} .home-topic .topic-item{z-index:1;width:calc(50% - 5px);margin-bottom:10px;margin-right:10px;overflow:hidden;border-radius:5px;position:relative;border:1px solid rgba(150,50,255,.75);background:rgba(90,50,255,.1);text-align:center;box-shadow:0px 5px 15px -5px rgba(90,50,180,1);transition:box-shadow .15s ease-out;} .home-topic .topic-item:nth-child(2n){margin-right:0;} .home-topic .topic-image{width:200px;height:auto;margin:0 auto;margin-top:10px;margin-bottom:55px;} .home-topic .topic-title{position:absolute;bottom:25px;left:0;width:100%;height:30px;line-height:30px;text-align:center;font-size:1.5rem;font-weight:400;color:#5a1cb9;z-index:3;} .home-topic .topic-intro{z-index:2;opacity:0;position:absolute;top:0;left:0;padding:1rem;width:100%;height:100%;color:#fff;background:rgba(90,50,180,1);font-size:1rem;text-align:left;} .home-topic .topic-item:hover .topic-intro{opacity:1;transition:opacity 0.5s ease-in-out;} .home-topic .topic-item:hover .topic-title{color:#fff;} @media (min-width:992px){ .home-topic .topic-item{width:calc(25% - 15px);margin-bottom:20px;margin-right:20px;} .home-topic .topic-item:nth-child(2n){margin-right:20px;} .home-topic .topic-item:nth-child(4n){margin-right:0;} .home-topic .topic-title{font-size:1.75rem;} .home-topic .topic-intro{font-size:1.125rem;} } .home-product{width:100%;margin-top:20px;display:flex;flex-wrap:wrap;justify-content:space-between} .home-product .product-thumb{width:calc(50% - 5px);margin-bottom:10px;margin-right:10px;overflow:hidden;} .home-product .product-thumb:nth-child(2n){margin-right:0;} .product-thumb{border:1px solid rgba(150,50,255,.75);border-radius:5px;box-shadow:0px 5px 15px -5px rgba(90,50,180,1);background:#fff;} @media (min-width:992px){ .home-product .product-thumb{width:calc(25% - 15px);margin-bottom:20px;margin-right:20px;} .home-product .product-thumb:nth-child(2n){margin-right:20px;} .home-product .product-thumb:nth-child(4n){margin-right:0;} } .home-article{width:100%;margin:20px 0;display:flex;flex-wrap:wrap;justify-content:space-between;} .article-left{width:calc(50% - 10px);height:auto;margin-right:20px;} .article-left .left-item{float:left;width:calc(50% - 10px);height:auto;overflow:hidden;margin-right:20px;border-radius:5px;border:1px solid #DDD;background:#fff;box-shadow:var(--shadow-main);} .article-left .left-item:nth-child(2){margin-right:0;} .article-left .left-item img{width:100%;height:100%;overflow:hidden} .article-left .left-item .item-title{width:100%;height:70px;font-size:18px;font-weight:400;line-height:25px;overflow:hidden;padding:15px 15px 10px;} .article-left .left-item .item-tag{width:100%;height:25px;line-height:25px;padding:0 15px;margin-bottom:15px;color:#999;} .article-left .left-item .item-tag span{margin-right:20px;} .article-right{width:calc(50% - 10px);height:auto;overflow:hidden;display:flex;flex-direction:column;justify-content:space-between;background:#fff;border-radius:5px;border:1px solid #DDD;box-shadow:var(--shadow-main);} .article-right .right-item{width:100%;height:auto;overflow:hidden;border-bottom:1px solid #eee;display:flex;justify-content:space-between;padding:8px;} .article-right .right-item:last-child{border-bottom:none;} .article-right .item-thumb{width:60px;height:60px;overflow:hidden;margin-top:3px;margin-left:3px;border-radius:3px;} .article-right .item-thumb img{width:100%;height:100%;transform: scale(1.5);} .article-right .item-info{width:calc(100% - 73px);} .article-right .item-info .info-title{width:100%;height:30px;line-height:30px;font-size:20px;font-weight:400;line-height:1.5;color:#333;overflow:hidden;} .article-right .item-info .info-tag{overflow:hidden;} .article-right .item-info .info-tag span{margin-right:20px;color:#999;} .article-right .right-item:hover,.article-right .item-info:hover h3{color:var(--color-main)}