* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  overflow-x: hidden;
  position: relative;
  background-image: url(../img/bg/bg_green.jpg);
  /* background-repeat: repeat; */
  background-size: 100%;
  background-position: center bottom;
  /* background-color: #0b3a53; */
  
}

button,
button:active,
button:focus {
  outline: none;
}

a {
  text-decoration: none;
}

/* offcanvas區域 */
.offcanvas {
  background-image: url(../img/sec2_f2.png), url(../img/body_bg.png);
  background-repeat: no-repeat, repeat;
  background-position: right bottom;
  background-size: 50% auto, auto;
}

.offcanvas-start,
.offcanvas-end {
  max-width: 50vw;
}

.offcanvas-start {
  box-shadow: 4px 0 6px rgb(0, 0, 0, 0.5);
}

.offcanvas-end {
  box-shadow: -4px 0 6px rgb(0, 0, 0, 0.5);
}

.offcanvas-top,
.offcanvas-bottom {
  height: 100vh;
}

.offcanvas-header h2 {
  font-weight: bold;
}

.offcanvas-body {
  background: url(../img/shadow1.png) no-repeat center top;
  background-size: 120% auto;
}

.offcanvas-body .navbar-nav .nav-link {
  color: #000d3d;
  text-align: center;
  line-height: 1.8;
  font-size: 18px !important;
}

.offcanvas-header .btn-close {
  padding: 1.5rem 1.5rem;
}

/* Secbg區域 ========================================== */
#Secbg .img1 {
  max-width: 80px;
  position: fixed;
  z-index: 1;
  top: 350px;
  left: 100px;
}

#Secbg .img2 {
  max-width: 60px;
  position: fixed;
  z-index: 1;
  bottom: 50px;
  right: 100px;
}

#Secbg .img3 {
  max-width: 70px;
  position: fixed;
  z-index: 1;
  bottom: 250px;
  right: 30px;
}


#Secbg .img4 {
  max-width: 90px;
  position: fixed;
  z-index: 1;
  bottom: 50px;
  left: 80px;
}

#Secbg .img5 {
  max-width: 50px;
  position: fixed;
  z-index: 1;
  bottom: 200px;
  left: 30px;
}

#Secbg .img6 {
  max-width: 80px;
  position: fixed;
  z-index: 1;
  top: 50px;
  right: 160px;
}


@media (max-width:992px) {
  #Secbg{
    display: none;
  }
}

@media (max-width:455px) {
  #Secbg .img1 {
    max-width: 30px;
  }

}



/* aside區域 ========================================== */
aside {
  position: fixed;
  right: 0px;
  top: 40px;
  width: 120px;
  z-index: 990;
}

#menuButtonopen,
#menuButtonclose {
  background-color: #fef9c3;
  padding: 0.5rem 1.5rem 0rem 0.5rem;
  width: 15px;
  position: fixed;
  font-weight: bold;
  transition: 1s;
  color: #333333;
  z-index: 999;
  transition: 3s all ease;
}

#menuButtonclose {
  right: 0px;
  top: 20px;
  /* border-radius: 20px 0 0 20px; */
}

#menuButtonopen {
  right: 0px;
  top: 20px;
  display: none;
  /* border-radius: 20px 0 0 20px; */
}

.aside-wrap {
  text-align: center;
  color: #ffffff;
}

.aside-content {
  position: relative;
  transition: 1s all ease;
}

.aside-content ul {
  padding: 0;
  background-color: #fef9c3;
  /* border-radius: 20px 0 0 20px; */
  padding: 0.5rem 0;
  box-shadow: rgba(0, 0, 0, 0.15) 2.4px 2.4px 3.2px;
}

.aside-content a {
  color: #333333;
  display: block;
  padding: 0.5rem 0;
  font-size: 0.9rem;
  border-bottom: 1px solid #0097e0;
}

.aside-content li {
  display: block;
  list-style: none;
}

.aside-content a:hover {
  background-color: #f6ad3c;
  color: #ffffff;
  font-weight: bold;
}

/* section區域 ========================================== */
section {
  z-index: 99;
  position: static;
  min-height: 100vh;
  padding-top: 50px;
  color: #ffffff;
}

section h2 {
  font-size: 2.5rem;
  background-image: url();
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  text-align: center;
  letter-spacing: .5rem;
  color: #ffffff;

}

section .container-xl {
  margin-top: 1rem;
}

section h5 {
  text-align: center;
  letter-spacing: .25rem;
}

/* sec1區域 ========================================== */
#sec1 {
  /* background-image: url(../img/bg/banner_xl.png); */
  background-size: 100%;
  background-position: bottom center;
  background-repeat: no-repeat;
  position: relative;
  z-index: 1;
  min-height: auto;
}

#sec1 .imgLogo {
  width: 200px;
  top: 40px;
  left: 50px;
  position: absolute;
}

#sec1 .secbannerxl {
  margin: 0 auto;
  max-width: 1920px;
  width: 100%;
  display: block;
}

#sec1 .secbannerl {
  margin: 0 auto;
  max-width: 1200px;
  width: 100%;
  display: none;
}

#sec1 .secbannermd {
  margin: 0 auto;
  max-width: 1020px;
  width: 100%;
  display: none;
}

@media (max-width:1200px) {
  #sec1 .secbannerxl {
    display: none;
  }
  #sec1 .secbannerl {
    display: block;
  }
  #sec1 .secbannermd {
    display: none;
  }
}

@media (max-width:768px) {
  #sec1 .secbannerxl {
    display: none;
  }
  #sec1 .secbannerl {
    display: none;
  }
  #sec1 .secbannermd {
    display: block;
  }
}

#sec1 .imgPeopel {
  max-width: 450px;
  margin-left: 5%;
  /* animation: moveleftright 2.5s; */
  animation-iteration-count: infinite;
  position: absolute;
}

#sec1 .img2 {
  /* animation: moveleftright 2.5s; */
  animation-iteration-count: infinite;
  max-width: 700px;
  position: absolute;
}

#sec1 .img3 {
  /* animation: moveleftrightstop 0.5s; */
  animation-iteration-count: 1;
  max-width: 700px;
  position: absolute;
}

#sec1 .img4 {
  /* animation: moveupdown1 4s; */
  animation-iteration-count: infinite;
  position: absolute;
}


@keyframes moveleft {
  from {
    left: 100px;
    opacity: 0.5;
  }

  to {
    left: 0px;
    opacity: 1;
  }
}


@keyframes moveright {
  from {
    left: -100px;
    opacity: 0.5;
  }

  to {
    left: 0px;
    opacity: 1;
  }
}

@keyframes moverightout {
  0% {
    left: -150px;
    opacity: 0.5;
  }

  25% {
    left: 0px;
    opacity: 1;
  }

  40% {
    left: -20px;
    opacity: 1;
  }

  50% {
    left: 0px;
    opacity: 1;
  }

  60% {
    left: -20px;
    opacity: 1;
  }

  60% {
    left: 0px;
    opacity: 1;
  }

  80% {
    left: -20px;
    opacity: 1;
  }

  90% {
    left: 0px;
    opacity: 1;
  }
}

@keyframes moverightleft {

  from,
  to {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }

  10%,
  30%,
  50%,
  70%,
  90% {
    -webkit-transform: translate3d(-10px, 0, 0);
    transform: translate3d(-10px, 0, 0);
  }

  20%,
  40%,
  60%,
  80% {
    -webkit-transform: translate3d(10px, 0, 0);
    transform: translate3d(10px, 0, 0);
  }
}

@keyframes moveleftright {

  from,
  to {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }

  10%,
  30%,
  50%,
  70%,
  90% {
    -webkit-transform: translate3d(10px, 0, 0);
    transform: translate3d(10px, 0, 0);
  }

  20%,
  40%,
  60%,
  80% {
    -webkit-transform: translate3d(-10px, 0, 0);
    transform: translate3d(-10px, 0, 0);
  }
}

@keyframes moveleftrightstop {

  from,
  to {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    right: 20;
    opacity: 0.8;
  }

  100% {
    -webkit-transform: translate3d(10px, 0, 0);
    transform: translate3d(10px, 0, 0);
    right: 0;
    opacity: 1;
  }
}

@keyframes moveupdown {
  0% {
    top: 105px;
    left: 20px;
  }

  25% {
    top: 90px;
    left: 25px;
  }

  50% {
    top: 105px;
    left: -20px;
  }

  75% {
    top: 90px;
    left: -25px;
  }

  100% {
    top: 105px;
    left: 20px;
  }
}

@keyframes moveupdown1 {
  0% {
    top: 105px;
    left: -20px;
  }

  25% {
    top: 90px;
    left: -25px;
  }

  50% {
    top: 105px;
    left: 20px;
  }

  75% {
    top: 90px;
    left: 25px;
  }

  100% {
    top: 105px;
    left: -20px;
  }
}

@keyframes moveupdown2 {
  0% {
    bottom: 80px;
  }

  50% {
    bottom: 100px;
  }

  100% {
    bottom: 80px;
  }
}

@keyframes moveupdown2 {
  0% {
    bottom: 50px;
  }

  50% {
    bottom: 70px;
  }

  100% {
    bottom: 50px;
  }
}

/* @media (min-width:2560px) {
  #sec1 {
  min-height: 1360px;
  }
} */

/* @media (max-width:1920px) {
  #sec1 {
    min-height: 1020px;
  }
} */

/* @media (max-width:1600px) {
  #sec1 {
    min-height: 750px; 
  }
} */

/* @media (max-width:1440px) {
  #sec1 {
    min-height: 765px; 
  }
} */

@media (max-width:1200px) {
  #sec1 {
    /* background-image: url(../img/bg/banner_l.png); */
    background-position: bottom center;
    background-size: 100% auto;
    background-repeat: no-repeat;
    /* min-height: 800px; */
  }

  #sec1 img {
    max-width: 1000px;
    width: 80%;
    margin: 0 auto;
  }
}

/* @media (max-width:1024px) {
  #sec1 {
    min-height: 683px; 
  }
} */

/* @media (max-width:992px) {
  #sec1 {
    min-height: 661px;
  }
} */

@media (max-width:768px) {
  #sec1 {
    /* background-image: url(../img/bg/banner_md.png); */
    background-position: bottom center;
    background-size: 100% auto;
    background-repeat: no-repeat;
    /* min-height: 841px; */
    margin-bottom: 1rem;
  }

  #sec1 .imgPeopel {
    width: 40%;
    vertical-align: bottom;
    position: absolute;
    bottom: 0;
    left: 0;
  }

  #sec1 .imgLogo {
    width: 100px;
    top: 20px;
    left: 20px;
  }

  #sec1 .img2,
  #sec1 .img3,
  #sec1 .img4 {
    margin: 0 auto;
    width: 80%;
  }

  @media (max-width:576px) {
    /* #sec1 {
      min-height: 631px;
    } */
    /* #sec1 .imgLogo {
      display: none;
    } */
  }
}

/* @media (max-width:600px) {
  #sec1 {
    min-height: 650px; 
  }
} */

/* @media (max-width:425px) {
  #sec1 {
    min-height: 465px;
  }
}

@media (max-width:375px) {
  #sec1 {
    min-height: 411px;
  }
}

@media (max-width:320px) {
  #sec1 {
    min-height: 350px;
  }
} */


@media (max-width:768px) {
  #sec1 .img6 {
    margin: auto;
    max-width: 150px;
  }
}

.TrustedBrand2023 {
  top: 30px;
  position: absolute;
  z-index: 55555;
  right: 20px;
  width: 150px;
}

@media (max-width:1200px) {
  .TrustedBrand2023 {
    width: 120px;
  }

}

@media (max-width:768px) {
  .TrustedBrand2023 {
    width: 60px;
    right: 10px;
    top: 20px;
  }

}

@media (max-width:375px) {
  .TrustedBrand2023 {
    width: 40px;
    right: 10px;
    top: 20px;
  }

}

.join-member {
  background-color: #1BB91F;
  box-shadow: 0px 0px 3px #888;
  transition: .3s;
  display: flex;
  justify-content: center;
  text-decoration: none;
  line-height: 1.2rem;
  border-radius: 8px 0 0 8px;
  position: fixed;
  z-index: 55555;
  padding: 8px 15px 8px 15px;
  bottom: 0px;
  right: -5px;
  width: 46px;
  flex-direction: column;
  color: #ffffff;
  font-size: 15px;
}

.join-member img {
  width: 20px;
  margin-bottom: 3px;

}

.join-member:hover {
  color: #ffffff;
  right: 0px;
}

@media (max-width:425px) {
  .join-member {
    bottom:10px;
  }
  .join-member span {
    display: none;
  }
}


.reveal {
  position: relative;
  transform: translateX(150px);
  opacity: 0;
  transition: 1s all ease;
}

.reveal.active {
  transform: translateX(0);
  opacity: 1;
}



/* secKeys ==========================================  */
#secKeys {
  min-height: auto;
  /* margin: 4rem auto; */
  text-align: center;
  padding-top: 0;
}

#secKeys .PrdtBanner img {
  transition: 1s;
  max-width: 850px;
  width: 95%;
  display: block;
  margin: 0 auto;
}

#secKeys .PrdtBanner img:hover {
  transform: scale(1.05);
}


#secKeys .description {
  text-align: center;
  font-size: 9px;
  padding: 0 5px;
  margin-top: 10px;
  margin:10px auto 2rem auto;
  width: 95%;
  max-width: 850px;
}

#secKeys .container-xl {
  position: relative;
  padding: 0 5rem;
  z-index: 1;
}

#secKeys .carousel-control-next {
  right: -4rem;
}

#secKeys .carousel-control-prev {
  left: -4rem;
}

#Keys {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: scroll;
}

#Keys::-webkit-scrollbar {
  display: none;
}

.salesKey {
  max-width: 600px;
  margin: 0 .5rem;
  border-radius: 10px;
}




.giftName {
  font-size: 9px;
  text-align: left;
  padding: 0 1rem;
}

.carousel-control-prev,
.carousel-control-next {
  z-index: 999;
}

#salesKey .btn-primary {
  background-color: #20296b;
  border: 3px solid #20296b;
  width: 50% !important;
  margin: 2rem auto;
  max-width: 360px;
}

#salesKey .btn-primary:hover {
  background-color: #000d3d;
  border: 3px solid #000d3d;
  color: #fff000;
  font-weight: 500;
}

@media (max-width: 992px) {
  #secKeys .carousel-control-next {
    right: -2rem;
  }

  #secKeys .carousel-control-prev {
    left: -2rem;
  }
}

@media (max-width: 768px) {
  #secKeys .container-xl {
    padding: 0 3rem;
  }

  #secKeys .carousel-control-next {
    right: -2.5rem;
  }

  #secKeys .carousel-control-prev {
    left: -2.5rem;
  }
}

@media (max-width: 576px) {
  #secKeys .container-xl {
    padding: 0 1rem;
  }

  #secKeys .carousel-control-next {
    display: none;
  }

  #secKeys .carousel-control-prev {
    display: none;
  }

  #secKeys .btn-primary {
    width: 100% !important;
  }

  .salesKey img {
    max-width: 250px;
  }
}


/* #secPrdt ========================================== */
#secPrdt1,
#secPrdt2,
#secPrdt3,
#secPrdt4 {
  position: relative;
  z-index: 2;
}

.PrdtBanner {
  text-align: center;
  /* background-image: url(../img/bg/bg_papper.jpg);
  background-repeat: repeat; */
  margin-bottom: 10px;
}

.PrdtBanner img {
  width: 95%;
  max-width: 650px;
}


#secPrdt1 .container-xl,
#secPrdt2 .container-xl,
#secPrdt3 .container-xl,
#secPrdt4 .container-xl,
#secPrdt5 .container-xl,
#secPrdt6 .container-xl,
#secPrdt7 .container-xl,
#secPrdt8 .container-xl {
  padding: 2rem;
  /* background-color: #0068B4;
  border-radius: 20px;
  box-shadow: #f3d300 5px 5px 0px 0px; */
  background-image: url(../img/bg/bg_papper.jpg);
  background-repeat: repeat;
}

.prdt {
  padding: 1rem;
  /* background-color: #fef9c3; */
  margin: 1rem auto;
  transition: 1s;
  position: relative;
  /* border-radius: 10px; */
  box-shadow: rgba(0, 0, 0, 0.15) 2.4px 2.4px 3.2px;
}

.prdt:hover {
  transform: scale(1.05);
  
}

@media (max-width: 576px) {
  .prdt {
    padding: 0.5rem;
  }
}

.discount {
  position: absolute;
  top: 15px;
  left: 0px;
  background-color: #0097e0;
  color: #ffffff;
  padding: 5px 10px;
  font-size: 1.1rem;
  font-weight: bold;
  font-family: "Roboto", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, sans-serif, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  /* border-radius: 9999px; */
  text-align: center;
}


.discount span {
  font-size: 0.85rem;
  font-weight: normal;
}

@media (max-width: 576px) {
  .discount {
    font-size: 0.85rem;
  }
  .discount span{
    font-size: 0.6rem;
  }
}

.prdtName {
  color: #333333;
  font-size: 1rem;
  font-weight: 500;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  min-height: 47px;
}

.prdt-img {
  text-align: center;
  margin-bottom: .7rem;
}

.prdt-img img {
  width: 100%;
  max-width: 250px;
}

.prdtEvent {
  border: 2px dashed #0097e0;
  text-align: center;
  /* display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  overflow: hidden; */
  font-size: 0.85rem;
  margin: 0.5rem 0; 
  color: #0097e0;
  padding: 0.5rem 0.75rem;
}

.prdrPrice {
  text-align: center;
}

.prdrPrice1 {
  font-size: 0.85rem;
  color: #a6a6a6;
  text-decoration: line-through;
  font-weight: normal;
  margin-top: 0.5rem;
}

.prdrPrice2 {
  text-align: center;
  color: #d7003f;
  font-size: 1.3rem;
  font-weight: bold;
  margin-left: 0.25rem;
}

.goec {
  margin-bottom: 0;
  font-size: 1.15rem;
  text-align: center;
  background-color: #041e7d;
  padding: 5px;
  width: 100%;
  display: block;
  margin-top: 0.5rem;
  color: #ffffff;
  text-decoration: none;
  margin-bottom: 5px;
  /* border-radius: 20px; */
}

.goec img {
  width: 25px;
  margin-right: 5px;
}

@media (max-width:1200px) {

  #secPrdt1 .container-xl,
  #secPrdt2 .container-xl,
  #secPrdt3 .container-xl,
  #secPrdt4 .container-xl {
    padding: 1rem;
  }
}

@media (max-width:576px) {
  .prdtName {
    font-size: 0.9rem;
  }

  .goec {
    font-size: 0.85rem;
  }

  .prdrPrice2 {
    font-size: 1rem;

  }
}




/* #carousel ========================================== */
#SecCarouse {
  min-height: auto;
  padding-bottom: 100px;
  z-index: 1;
  position: relative;
}

.carousel {
  /* background-color: #0068B4;*/
  /* border-radius: 20px;  */
  /* box-shadow:4px 4px 6px 4px rgba(9, 230, 255, 0.5); */
  /* box-shadow: rgb(243, 211, 0) 5px 5px 0px 0px; */
  margin-bottom: 30px;
  box-shadow: rgba(0, 0, 0, 0.15) 2.4px 2.4px 3.2px;
}

.carousel-control-prev,
.carousel-control-next {
  z-index: 800;
}

#carouselBanner {
  margin-bottom: 1rem;
}



footer {
  background-color: #100a00;
  color: #ffffff;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  text-align: center;
  padding: .75rem .5rem;
  display: block;
  z-index: 1;
}