.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: 1rem;font-weight:400} @media (min-width: 768px) { .product-thumb .description h3{font-size: 1.25rem;} } @media (min-width:992px){ .product-thumb .description h3{font-size: 1.375rem;} } #home-1{margin:0px;z-index:0;position:relative;width:100%;height:600px;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:5rem 1rem 5rem;text-align:center;display:flex;align-items:center;flex-direction:column;justify-content:center} .banner-title{font-size:33px;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:14px;color:var(--ace-color-main);margin-top:1rem;text-align:left;} .banner-button:hover{box-shadow:var(--shadow-hover)} :root{ --tarot-card-width:3.75rem;--tarot-card-height:6rem;} .banner-tarot{width:100%;display:flex;align-items:center;justify-content:center;} @media (min-width:768.1px){ .banner-button{ width:680px;text-align:center;} .banner-button br{display: none;} .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:768px){ .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:180px;transform-origin:50% 200%;} } } @media (min-width:768px){ .home-banner{padding:7rem 1rem 5rem;} .banner-title{font-size:36px;} .banner-button{width:680px;text-align:center;font-size:16px;} .banner-button br{display: none;} @keyframes wheel-in{0%{bottom:0;transform-origin:50% 50%} 100%{bottom:180px;transform-origin:50% 380%;} } } @media (min-width:992px){ .banner-title{font-size:48px;} .banner-intro{ font-size:1.5rem;font-family:serif;position:relative;display:inline-block;} .banner-button{width:900px;padding:10px auto;white-space: nowrap;text-align:center;font-size:22px;} .banner-button br{display: none;} } @media (min-width: 1200px) { .home-banner{padding:7.5rem 1rem 7.5rem;} #home-1{height:calc(100vh - 60px);} } #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:1rem;color:#393939;padding:1rem 0rem 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 0.5rem;} .home-line{width:400px;margin:1.5rem auto .25rem;} } .home-topics{width:100%;margin-top:20px;display:flex;flex-wrap:wrap;justify-content:space-between} .home-topics .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-topics .topic-item:nth-child(2n){margin-right:0;} .home-topics .topic-image{width:150px;height:auto;margin:0 auto;margin-top:10px;margin-bottom:55px;} .home-topics .topic-title{position:absolute;bottom:25px;left:0;width:100%;height:30px;line-height:30px;text-align:center;font-size:1.375rem;font-weight:400;color:#5a1cb9;z-index:3;} .home-topics .topic-item:nth-child(12) .topic-title{font-size:1.2rem;} .home-topics .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:0.75rem;text-align:left;} .home-topics .topic-item:hover .topic-intro{opacity:1;transition:opacity 0.5s ease-in-out;} .home-topics .topic-item:hover .topic-title{color:#fff;} @media (min-width: 768px) { .home-topics .topic-title{font-size:1.5rem;} .home-topics .topic-image{width:200px;} .home-topics .topic-intro{font-size:.875rem;} } @media (min-width:992px){ .home-topics .topic-item{width:calc(25% - 15px);margin-bottom:20px;margin-right:20px;} .home-topics .topic-item:nth-child(2n){margin-right:20px;} .home-topics .topic-item:nth-child(4n){margin-right:0;} .home-topics .topic-title{font-size:1.75rem;} .home-topics .topic-item:nth-child(12) .topic-title{font-size:1.5rem;} .home-topics .topic-intro{font-size:1.125rem;} } .home-products{width:100%;display:grid;grid-template-columns:repeat(2, 1fr);gap:10px;margin-top:20px;} @media (min-width:768px){ .home-products{grid-template-columns:repeat(3, 1fr);gap:20px;} } .home-products .product-thumb{width:100%;overflow:hidden;border-radius:5px;border:1px solid rgba(150,50,255,.75);box-shadow:0px 5px 15px -5px rgba(90,50,180,1);background:#fff;} .home-articles{width:100%;display:grid;grid-template-columns:repeat(2, 1fr);gap:10px;margin-top:20px;} @media (min-width:768px){ .home-articles{grid-template-columns:repeat(3, 1fr);gap:20px;} } .home-articles .article-item{width:100%;height:auto;overflow:hidden;border-radius:5px;border:1px solid rgba(150,50,255,.75);box-shadow:0px 5px 15px -5px rgba(90,50,180,1);background:#fff;} .home-articles .article-item img{width:100%;height:auto;overflow:hidden} .home-articles .article-item .item-title{width:100%;height:auto;min-height:0;font-size:18px;font-weight:400;line-height:25px;overflow:hidden;padding:15px 15px 10px;} .home-articles .article-item .item-info{width:100%;height:20px;line-height:20px;padding-left: 15px;margin: 0 0 5px;color:#666;} .home-articles .article-item .item-info span{color: #999;margin-right: 5px;} .home-articles .article-item .item-info:last-child{ margin-bottom: 15px;}