/* reset */
* {
  margin: 0;
  padding: 0;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}
html {
  font-size: clamp(10.5px, 2vw, 24px);
  background-color: #060000;
}
body {
  line-height: 1;
  font-family: "PingFang TC", "Noto Sans TC", "微軟正黑體", sans-serif;
  background-color: #060000;
}
.text-en {
  font-family: "monospace", "Century Gothic", "微軟正黑體", sans-serif;
}

blockquote,
q {
  quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
img {
  display: block;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
/* box */
.oa-box {
  display: flex;
  width: 100vw;
  min-height: 100vh;
  justify-content: center;
  align-items: center;
  background-color: #060000;
}
.oa-card {
  width: 100%;
  position: relative;
  max-width: 520px;
}
.bg {
  width: 100%;
  max-width: 100%;
  position: relative;
  z-index: 5;
}
.bg-top {
  width: 100%;
  max-width: 100%;
  position: absolute;
  z-index: 40;
  top: 0px;
  left: 0px;
}
.bg-overlay {
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: 15;
  top: 0px;
  left: 0px;
  overflow: hidden;
  mask-image: url("../images/bg-top.svg");
  mask-repeat: no-repeat;
  mask-size: cover;
  -webkit-mask-image: url("../images/bg-top.svg");
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: cover;
  mask-mode: alpha;
  mask-composite: add;

  -webkit-mask-mode: alpha;
  -webkit-mask-composite: source-over;
}
.bg-overlay-filter {
  width: 70%;
  padding-top: 70%;
  background: transparent;
  position: absolute;
  border-radius: 100%;
  top: 30%;
  left: -100%;
  box-shadow: 72px -54px 134px #a44a33;
  animation: 10s ballMove 2s infinite linear;
}
@keyframes ballMove {
  0% {
    top: 30%;
    left: -100%;
  }
  20% {
    top: 32%;
    left: -64%;
  }
  50% {
    top: 39%;
    left: -84%;
  }
  60% {
    top: 39%;
    left: -49%;
  }
  80% {
    top: 53%;
    left: -5%;
  }
  100% {
    top: 77%;
    left: -15%;
  }
}
.bg-overlay-filter2 {
  width: 47%;
  padding-top: 47%;
  background: transparent;
  position: absolute;
  border-radius: 100%;
  top: -50%;
  left: -42%;
  box-shadow: 89px 178px 70px #a44a33;
  opacity: 0.8;
  animation: 6s ballMove2 infinite linear;
}
@keyframes ballMove2 {
  0% {
    top: -50%;
    left: -42%;
  }
  50% {
    top: 2%;
    left: -60%;
  }
  100% {
    top: 5%;
    left: -72%;
  }
}
/* header */
.oa-header {
  position: absolute;
  top: 3%;
  right: 9%;
  z-index: 100;
  display: flex;
  flex-direction: row-reverse;
  gap: 1em;
  font-size: 1rem;
  align-items: flex-start;
}
.oa-header-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3em;
}
.oa-arrow-icon {
  mask-size: cover;
  -webkit-mask: url("../images/arrow-down.svg");
  -webkit-mask-size: cover;
  mask-composite: add;
  -webkit-mask-composite: source-over;
  width: 2em;
  padding-top: 2em;
  background: #f00;
  /* background: linear-gradient(
    to bottom,
    rgb(244, 195, 195) 0%,
    #ff0000 50%,
    hsl(0, 100%, 97.8%) 100%
  ); */
  /* animation: 15s gradientMove 2s infinite linear;
  background-size: 100% 400%;
  background-position: 0% 0%; */
}
@keyframes gradientMove {
  0% {
    background-position: 0% 0%;
  }
  100% {
    background-position: 0% -400%;
  }
}
.oa-title {
  writing-mode: vertical-rl;
  font-weight: 900;
  white-space: nowrap;
  color: #a09b9b;
}
.og-title-sub {
  display: inline-block;
  padding-top: 0.7em;
}
.logo-img {
  width: 10em;
  padding-top: 3em;
}
/* main */
.oa-main {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 13%;
  left: 13%;
  z-index: 60;
  color: #fff;
  writing-mode: vertical-lr;
  white-space: nowrap;
  font-size: 1rem;
  align-items: flex-end;
  row-gap: 2.5em;
}
.oa-description {
  display: flex;
  flex-direction: row;
  gap: 1.3em;
  align-items: center;
  justify-content: center;
}
.oa-name-sub {
  display: inline-block;
  padding-top: 0.5em;
}
.oa-main-icon {
  width: 1.2em;
}
.oa-main-title {
  display: flex;
  flex-direction: row;
  gap: 0.5em;
  justify-content: center;
  align-items: center;
  font-weight: 400;
  font-size: 1rem;
}

.dot {
  display: block;
  width: 0.15em;
  height: 0.15em;
  background: #f95035;
  border-radius: 100%;
}

.phone {
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  display: flex;
  align-items: center;
}

.plus {
  display: block;
  justify-content: center;
  display: flex;
  align-items: center;
  width: 14px;
  height: 14px;
}
.plus-move {
  animation: 3s plus-rotate infinite linear;
  width: 14px;
  height: 14px;
  display: block;
  text-align: center;
  line-height: 16px;
}
@keyframes plus-rotate {
  0% {
    transform: rotate(0deg);
  }
  75% {
    transform: rotate(0deg);
    color: #f95035;
  }
  100% {
    transform: rotate(269deg);
  }
}

.bounceball {
  position: relative;
  display: block;
  align-self: baseline;
  height: 2px;
  width: 2px;
  &:before {
    position: absolute;
    content: "";
    display: block;
    width: 2px;
    height: 2px;
    border-radius: 100%;
    background-color: #fff;
    transform-origin: 50%;
    animation: bounceBall 1s alternate infinite ease;
    transform: translateX(2px);
  }
}

@keyframes bounceBall {
  0% {
    width: 2px;
    border-radius: 20px 20px 60px 60px;
    transform: scaleX(2) translateX(4px);
  }
  35% {
    width: 2px;
    border-radius: 50%;
    transform: scaleX(1);
  }
  80% {
    transform: translateX(2px);
  }
  100% {
    transform: translateX(2px);
  }
}
.email {
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  display: flex;
  align-items: center;
}

.email-at {
  display: block;
  justify-content: center;
  display: flex;
  align-items: center;
}
.email-move {
  animation: 4s email-rotate infinite ease-out;

  display: block;
  text-align: center;
}
@keyframes email-rotate {
  0% {
    transform: rotate(0deg);
  }
  75% {
    transform: rotate(0deg);
    color: #f95035;
  }
  100% {
    transform: rotate(-359deg);
  }
}
.oa-name {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  margin-right: 1em;
  gap: 1em;
}

.bouncei {
  position: relative;
  display: block;
  align-self: baseline;
  height: 2px;
  width: 2px;
  &:before {
    position: absolute;
    content: "";
    display: block;
    width: 2px;
    height: 2px;
    border-radius: 100%;
    background-color: #fff;
    transform-origin: 50%;
    animation: bouncei 1s alternate 1s infinite ease;
    transform: translateX(10px);
  }
  &:after {
    position: absolute;
    content: "";
    display: block;
    background: #fff;
    width: 7px;
    height: 1.5px;
    top: 0.5px;
    left: 2px;
  }
}

@keyframes bouncei {
  0% {
    width: 2px;
    border-radius: 20px 20px 60px 60px;
    transform: scaleX(2) translateX(10px);
  }
  35% {
    width: 2px;
    border-radius: 50%;
    transform: scaleX(1);
  }
  80% {
    transform: translateX(10px);
  }
  100% {
    transform: translateX(10px);
  }
}
.oa-name-en {
  font-size: 1.6em;
  font-weight: 300;
}

.oa-name-cn {
  font-size: 2.4rem;
  display: block;
}

.oa-name-title {
  display: flex;
  gap: 1.5em;
  font-weight: 400;
}
.oa-name-main {
  font-weight: 400;
  font-size: 1.6rem;
}
.oa-sub-title {
  position: absolute;
  top: -12.5%;
  left: -21%;
  letter-spacing: 0.1em;
  font-size: 1em;
  opacity: 0.6;
}
/* footer */
.oa-footer {
  position: absolute;
  top: 89.3%;
  left: 13%;
  z-index: 100;
  color: #fff;
  font-size: 1rem;
  display: flex;
  align-items: flex-end;
  gap: 5.5em;
}
.line-icon {
  width: 3em;
  height: 3em;
  mask-image: url("../images/line.svg");
  mask-size: cover;
  background: #fff;
  animation: 5s line-animate infinite linear;
}

@keyframes line-animate {
  0% {
    background: #fff;
  }
  30% {
    background: #03c100;
  }
  60% {
    background: #03c100;
  }
  70% {
    background: #fff;
  }
  100% {
    background: #fff;
  }
}

.company {
  font-weight: 400;
  font-size: 1.3em;
  letter-spacing: 0.1em;
}

.footer-right {
  display: flex;
  gap: 0.7em;
  flex-direction: column;
}

.footer-left {
  display: flex;
  flex-direction: column;
}

.address {
  font-size: 0.9rem;
}
.divider {
  display: block;
  width: 1em;
  height: 0.1em;
  background: #f95035;
  margin: 0px auto;
}

@media (min-width: 470px) {
  html {
    font-size: clamp(14px, 1vw, 15px);
  }
}
