@charset "UTF-8";

._js {
  background: #282828;
}

._js body {
  opacity: 0;
  transition: opacity 0.5s;
}

._init {
  transition: opacity 0.5s;
}

._init._hide {
  opacity: 0 !important;
}

html {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  scroll-behavior: smooth;
}

body {
  min-width: 1080px;
  height: 100%;
  padding: 0;
  margin: 0;
  font-size: 1rem;
  scroll-behavior: smooth;
  overflow-y: auto;
  font-family: "PingFangTC", "Microsoft JhengHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin: 0;
}

button {
  background: transparent;
  border: 0;
  padding: 0;
}

button:focus {
  outline: none;
}

iframe {
  border: 0;
}

::-webkit-scrollbar {
  width: 0;
  height: 0;
}

@media (max-width: 1080px) {

  body {
    overflow-x: auto;

    &::-webkit-scrollbar {
      height: 8px;
    }
  }  
}

input {
  font-size: 1rem;
  display: block;
  width: 100%;
  padding: 10px;
  outline: none;
  border: none;
  background: transparent;

  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  -o-border-radius: 3px;
  border-radius: 3px;

  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;

  -webkit-transition: all.4s;
  -moz-transition: all.4s;
  -ms-transition: all.4s;
  -o-transition: all.4s;
  transition: all.4s;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

a {
  text-decoration: none;
}

:focus {
  outline: none;
}

img {
  width: 100%;
  height: auto;
}

.ReactModal__Overlay {
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 2002 !important;
  background: var(--color-black-070) !important;
}
.ReactModal__Overlay.red-envelope-input-code-popup {
  z-index: 2003 !important
 }

.swiper-pagination-bullets {
  bottom: 20px !important;
  z-index: 2001 !important;
}

.swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  border-radius: 50rem;
  cursor: pointer;
  background-color: #fff;
}

.swiper-pagination-bullet-active {
  width: 32px;
  cursor: default;
}

.flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

#popup-container-ant-web {
  min-width: 100vw;
  min-height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  display: none;
  background: rgba(0, 0, 0, 0.7);
  z-index: 99999;
  justify-content: center;
  align-items: center;
}