@charset "utf-8";
/* CSS Document */
body {
    font-family: 微軟正黑體, Arial;
    margin: 0 auto;
    padding: 0;
    background-color: #d2b0a1;
    background-image: 
        repeating-linear-gradient(120deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .1) 1px, transparent 1px, transparent 60px),
        repeating-linear-gradient(60deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .1) 1px, transparent 1px, transparent 60px),
        linear-gradient(60deg, rgba(255, 255, 255, .1) 25%, transparent 25%, transparent 75%, rgba(255, 255, 255, .1) 75%, rgba(255, 255, 255, .1)),
        linear-gradient(120deg, rgba(255, 255, 255, .1) 25%, transparent 25%, transparent 75%, rgba(255, 255, 255, .1) 75%, rgba(255, 255, 255, .1));
    background-size: 70px 120px;
    overflow-x: hidden;
    animation: bgani 30s infinite linear;
}

@keyframes bgani {
    0% { background-position: 0 0; }
    100% { background-position: 0px -1000px; }
}

a {
    color: #de507d;
    text-decoration: none;
}
a:hover {
    color: #0CC;
}

.gp {
    display: inline-block;
}

/* 東立選單 */
#nav {
    min-height: 1vh;
    text-align: center;
    margin-bottom: 0;
    z-index: B6DDFE9;
    margin-top: 1em;
}

#nav a {
    color: #572A1B;
    animation: 1s linear 0s normal none infinite jello-horizontal;
    margin: 1%;
    font-size: 1.1em;
    display: inline-block;
    text-decoration: none;
}

@-webkit-keyframes jello-horizontal {
    0% {
        -webkit-transform: scale3d(1, 1, 1);
        transform: scale3d(1, 1, 1);
    }
    30% {
        -webkit-transform: scale3d(1.25, 0.75, 1);
        transform: scale3d(1.25, 0.75, 1);
    }
    40% {
        -webkit-transform: scale3d(0.75, 1.25, 1);
        transform: scale3d(0.75, 1.25, 1);
    }
    50% {
        -webkit-transform: scale3d(1.15, 0.85, 1);
        transform: scale3d(1.15, 0.85, 1);
    }
    65% {
        -webkit-transform: scale3d(0.95, 1.05, 1);
        transform: scale3d(0.95, 1.05, 1);
    }
    75% {
        -webkit-transform: scale3d(1.05, 0.95, 1);
        transform: scale3d(1.05, 0.95, 1);
    }
    100% {
        -webkit-transform: scale3d(1, 1, 1);
        transform: scale3d(1, 1, 1);
    }
}
/* 東立選單結束 */

/* 主視覺 */
.vicover {
    margin: 0 auto;
    text-align: center;
}
.visual {
    width: 100%;
    display: block;
    margin: 0 auto;
  /* 遮罩圖片，下方漸漸變透明 */
  -webkit-mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 85%, transparent 100%);
  mask-mode: alpha;
  mask-repeat: no-repeat;
  mask-size: 100% 100%;
   box-shadow: 0 0 40px 20px #d2b0a1;
}
.visual img {
    width: 100%;
    max-width: 1920px;
}
/* 主視覺結束 */

/* 各內容區塊樣式 */
.block {
    position: relative;
    width: 100%;
    text-align: center;
	background:url(images/bg.png) fixed;
	background-size:contain;
	box-shadow: #d2b0a1 0px  10px 10px;
	z-index:99
}
h1 {
    color: #FFF;
    margin: 1em auto;
    margin-top:1em;
    text-align: center;
    font-size:30px;
	text-shadow:#808ba5 0px 0px 2px, #808ba5 0px 0px 5px, #808ba5 0px 0px 10px}
.block3 {
    display: block;
    margin: auto;
    width: 65%;
}

@media (max-width: 600px) {
    #cover {
        padding-top: 3em;
    }
}

.book {
    width: 70%;
}
.regular {
    margin: 2% auto;
}

.copyright {
    display: block;
    color: #232e36;
    font-size: 12px;
    margin: 1% auto;
    letter-spacing: .1em;
    line-height: 2em;
    text-align: center;
}

.price {
    text-align: center;
    margin: 2% auto;
    color: #232e36;
    line-height: 2em;
}

@keyframes big {
    0% { transform: none; }
    100% { transform: scale(1.05); }
}

.gift {
    width: 90%;
    display: block;
    max-width: 1200px;
    margin: 1% auto;
    z-index: 99;
}
.gift:hover{ animation:big 0.2S ease-in both;}
.ml3 {
    font-weight: 900;
    font-size: 4em;
    margin: 3% auto;
}

.logo {
    width: 100%;
    z-index: 99;
    top: 0;
    display: inline-block;
    position: absolute;
    left: 0;
}
.stitle {
    width: 100%;
    z-index: 99;
    top: -15%;
    display: inline-block;
    position: absolute;
    left: 2%;
}

p {
    line-height: 2.5em;
    margin: 0% auto;
    text-align: center;
    color: #FFF;
    font-weight: bolder;
    text-indent: 0;
    text-shadow: #808ba5 1px 1px 4px, #808ba5 0 0 5px, #808ba5 0 0 7px;
}

p a {
    text-decoration: none;
}

@keyframes rot {
    0% { transform: rotate(0); }
    50% { transform: rotate(-2deg); }
    100% { transform: rotate(0); }
}

/* shop */
.btn {
    font-size: 1.2em;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 1% 2%;
    border: 2px solid #FFF;
    border-radius: 10em;
    background: transparent;
    overflow: hidden;
    margin: 1% 1%;
    position: relative;
    display: inline-block;
    color: #FFF;
    width: 16%;
    z-index: 5;
    transition: all 0.5s;
    cursor: pointer;
}

.btn:hover {
    color: #FFF;
    text-shadow: #7685a1 1px 1px 4px, #7685a1 0px 0px 10px, #7685a1 0px 0px 10px, #7685a1 0px 0px 10px;
    animation: swoosh 0.4s ease-out 0.2s;
    border: 2px solid #7685a1;
}

.btn:before,
.btn:after {
    content: "";
    background-color: #7685a1;
    height: 100%;
    width: 100%;
    opacity: .9;
    position: absolute;
    top: 0;
    left: -100%;
    z-index: -1;
    transition: all 0.4s ease-out 0.1s;
}

.btn:after {
    opacity: 0;
    transform: scale(0.9, 0.7);
    left: 0;
    transition: all 0.3s ease-out 0s;
}

.btn:hover:before {
    left: 100%;
}

.btn:hover:after {
    opacity: .7;
    transform: scale(1);
}

@keyframes swoosh {
    0%, 100% { box-shadow: 0 0 0 0 transparent; }
    50% { box-shadow: 0 0 0 8px rgba(120,130,160, 0.5); }
}

/* shop over */

.gradient2 {
    color: #808ba5;
    letter-spacing: .05em;
    line-height:1.3em;
    font-size: 1.2em;
    text-align: center;
    font-weight: bold;
	margin:2% auto;
	text-shadow:#FFF 0 0 5px,#FFF 0 0 10px,#FFF 0 0 15px,#FFF 0 0 20px
}

 
/* 漸層效果 */
.gradient3 {
 background:#232e36/* linear-gradient(90deg, rgba(133,134,192, 1) 0%, rgba(133,134,192, 1) 15%, rgba(133,134,192, 1) 85%, rgba(133,134,192,1) 100%)*/;
  color: #d2b0a1;
  display: block;
  width: fit-content;
  max-width: 90%;
  margin: 0.5em auto;
  padding: 0.2em 1.2em;
  font-size: 1.3em;
  letter-spacing: 0.1em;
  font-weight: bolder;
}

/* Text shadow, line height, and font size adjustments */
.gradient4 {
  color: #FFF;
  font-size:1em;
  letter-spacing: 0.1em;
  font-weight: bolder;
  margin: 1% auto;
  line-height: 2em;
  text-align: center;
  text-shadow: 0 0 4px #808ba5, 0 0 7px #808ba5, 0 0 10px #808ba5, 0 0 15px #808ba5;
}

.gradient4 span {
  position: relative;
  display: inline-block;
  letter-spacing: 0.05em;
  color: #808ba5;
  font-size: 0.8em;
  text-shadow: 0 0 4px #FFF, 0 0 7px #FFF, 0 0 10px #FFF;
  animation: jump 1s ease infinite;
}

.gradient4 span:nth-child(2) {
  animation-delay: 0.14s;
}
.gradient4 span:nth-child(3) {
  animation-delay: 0.28s;
}
.gradient4 span:nth-child(4) {
  animation-delay: 0.42s;
}
.gradient4 span:nth-child(5) {
  animation-delay: 0.56s;
}
.gradient4 span:nth-child(6) {
  animation-delay: 0.7s;
}
.gradient4 span:nth-child(7) {
  animation-delay: 0.84s;
}

/* Glitch effect */
.glitch {
  font-size: 5em;
  font-weight: bold;
  text-transform: uppercase;
  line-height: 1.2em;
  position: relative;
  color: #FFF;
  text-shadow: 0.05em 0 0 #000, -0.03em -0.04em 0 #eb6d8e, 0.025em 0.04em 0 #808ba5;
  animation: glitch 725ms infinite;
}

.glitch span {
  position: absolute;
  top: 0;
  left: 22.5%;
}

.glitch span:first-child {
  animation: glitch 500ms infinite;
  clip-path: polygon(0 0, 100% 0, 100% 35%, 0 35%);
  transform: translate(-0.04em, -0.03em);
  opacity: 0.75;
}

.glitch span:last-child {
  animation: glitch 375ms infinite;
  clip-path: polygon(0 65%, 100% 65%, 100% 100%, 0 100%);
  transform: translate(0.04em, 0.03em);
  opacity: 0.75;
}

/* Keyframes for glitch effect */
@keyframes glitch {
  0% {
    text-shadow: 0.05em 0 0 #fff000, -0.03em -0.04em 0 #000, 0.025em 0.04em 0 #808ba5;
  }
  15% {
    text-shadow: 0.05em 0 0 #fff000, -0.03em -0.04em 0 #000, 0.025em 0.04em 0 #808ba5;
  }
  16% {
    text-shadow: -0.05em -0.025em 0 #fff000, 0.025em 0.035em 0 #eb6d8e, -0.05em -0.05em 0 #808ba5;
  }
  49% {
    text-shadow: -0.05em -0.025em 0 #000, 0.025em 0.035em 0 #eb6d8e, -0.05em -0.05em 0 #808ba5;
  }
  50% {
    text-shadow: 0.05em 0.035em 0 #000, 0.03em 0 0 #eb6d8e, 0 -0.04em 0 #808ba5;
  }
  99% {
    text-shadow: 0.05em 0.035em 0 #000, 0.03em 0 0 #eb6d8e, 0 -0.04em 0 #808ba5;
  }
  100% {
    text-shadow: -0.05em 0 0 #000, -0.025em -0.04em 0 #eb6d8e, -0.04em -0.025em 0 #808ba5;}
 }
@media (max-width:767px){
.btn{ width:50%; display:block; margin:3% auto}
.gift{ width:90%}
.block3{  width:90% }
.stitle{  top:-5%;} 
.glitch {  font-size: 3em;}
.gradient2 {font-size: 1.4em; margin-top: 2em;}
.visual{ width:100%}
}
