/* .cube {
  position: relative;
  width: 300px;
  height: 300px;
  transform-style: preserve-3d;
  animation: animate 10s linear infinite;
  z-index: -1;
}
@keyframes animate {
  0% {
    transform: rotateX(-30deg) rotateY(0deg);
  }
  100% {
    transform: rotateX(30deg) rotateY(360deg);
  }
}
.cube div {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(#ffffff, #00ec00);
  transform: rotateY(90deg * var());
  filter: blur(50px);
} */

html {
  scroll-behavior: smooth;
}
body {
  position: relative;
  font-family: "EB Garamond", "Zen Old Mincho", serif;
  font-weight: 400;
  color: #333;
  font-size: 2rem;
  line-height: 1.75;
  margin: auto;
  text-align: left;
  letter-spacing: 0.08em;
  background: #f4f3ef;
  height: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
* {
  margin: 0;
  padding: 0;
  background-position: center center;
  box-sizing: border-box;
  outline: none;
}
header {
  position: relative;
  z-index: 500;
}

.pocha {
  right: 30pt;
  bottom: 30pt;
  width: 300px;
  height: 300px;
  z-index: 99;
  margin-top: 20%;
  margin-left: 42%;
}
.pocha img {
  width: 100%;
}
.topbutton {
  position: fixed;
  right: 30pt;
  bottom: 30pt;
  width: 100px;
  height: 100px;
  z-index: 99;
}
.topbutton img {
  width: 100%;
}
.toggle {
  display: block;
  position: fixed;
  z-index: 600;
  top: 0;
  right: 0;
  width: 108px;
  height: 108px;
  transition: 0.4s ease-in-out;
  opacity: 1;
  cursor: pointer;
  margin: 20px;
}
.spanone {
  display: block;
  position: absolute;
  background: #333;
  transition: 0.3s ease-in-out;
  width: 36px;
  height: 2px;
  left: 36px;
  margin-top: -30px;
}
.spantwo {
  display: block;
  position: absolute;
  background: #333;
  transition: 0.3s ease-in-out;
  width: 36px;
  height: 2px;
  left: 36px;
}
.toggle span:nth-child(2) {
  top: 64px;
}
.title {
  text-align: center;
  font-size: 10pt;
}
.mormal {
  width: 1080px;
}
.secondlayer {
  width: 100vw;
  height: 1080px;
  background-image: linear-gradient(to top, #ffffff, #a5f5fd);
  margin-top: 100vh;
}
.secondtextbox {
  font-family: "EB Garamond", "Zen Old Mincho", serif;
  font-weight: 200;
  font-size: 64pt;
  margin-left: 174px;
}

.myimg {
  width: 220px;
  height: 220px;
  margin-left: 174px;
}
.myimg img {
  width: 100%;
}
.secondright {
  width: 507px;
  height: 516px;
  margin-left: 63vw;
}
.secondright h1 {
  font-family: "Noto Sans TC", sans-serif;
  font-weight: 700;
  font-size: 16pt;
  color: #9b9b9b;
}
.secondright p {
  font-size: 14pt;
  font-family: "Noto Sans TC", sans-serif;
  font-size: 200;
  color: #9b9b9b;
}
.pf {
  margin-top: 40px;
}
.pt {
  margin-top: 40px;
}
.thirdlayer {
  background-color: #ffffff;
  width: 1920px;
  height: 720px;
}
.sertitle {
  font-family: "EB Garamond", "Zen Old Mincho", serif;
  font-weight: 200;
  font-size: 64pt;
  margin-left: 174px;
}
.serbox p {
  margin-left: 174px;
}
.fourlayer {
  width: 1920px;
  height: 201vw;
  background-color: #ffffff;
}
.v-line {
  border-left: thick solid #000;
  height: 100%;
  left: 5%;
  position: absolute;
  border-width: 1px;

  z-index: 99;
}
.fourtextbox {
  font-family: "EB Garamond", "Zen Old Mincho", serif;
  font-weight: 200;
  font-size: 64pt;
  margin-left: 174px;
}
.contactbox {
  width: 470px;
  height: 630px;
  object-fit: cover;
}
.contactbox img {
  width: 470px;
  height: 630px;
  object-fit: cover;
}
.contactlayer {
  width: 100vw;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

.draw {
  height: 100vh;
  width: 100vw;
}
.contactlayertwo {
  margin-top: 80px;
  width: 100vw;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  margin-left: 270px;
}
canvas {
  position: fixed;
  top: 0;
  left: 0;
  z-index: -1;
}

.contactboxone {
  margin-top: 100px;
}
.one {
  width: 445px;
  height: 630px;
  background-image: url(../img/光造型_工作區域\ 1\ 複本\ 4.png);
  background-size: contain;
  position: relative;
}
.im:hover .oneoverlay {
  display: block;
}
.im:hover p {
  display: block;
}
.oneoverlay {
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  position: absolute;
  top: 0;
  left: 0;
  display: none;
}

.conbox p {
  color: #ffffff;
  font-size: 10pt;
  display: none;
  position: absolute;
  z-index: 999;
  text-align: center;
  margin-top: 55%;
}
.two {
  width: 470px;
  height: 630px;
  background-image: url(../img/S__20463636拷貝.png);
  background-size: contain;
  position: relative;
}
.conbox {
  display: flex;
  flex-direction: row;
}
.three {
  width: 443px;
  height: 630px;
  background-image: url(../img/05\ 1.png);
  background-size: contain;
  position: relative;
}
.beicon {
  position: fixed;
  left: 30px;
  bottom: 30pt;
  width: 25px;
  height: 100px;
}
.beicon img {
  width: 100%;
}

.four {
  width: 443px;
  height: 630px;
  background-image: url(../img/Group\ 11.png);
  background-size: contain;
  position: relative;
}
.five {
  width: 470px;
  height: 630px;
  background-image: url(../img/書籍期末_工作區域\ 1\ 複本\ 2.png);
  background-size: contain;
  position: relative;
}
.six {
  width: 443px;
  height: 630px;
  background-image: url(../img/buzuka3.png);
  background-size: contain;
  position: relative;
}
.conboxsecond {
  display: flex;
  flex-direction: row;
  margin-top: 80px;
  margin-left: 325px;
}
.conboxsecond p {
  color: #ffffff;
  font-size: 10pt;
  display: none;
  position: absolute;
  z-index: 999;
  text-align: center;
  margin-top: 55%;
}
.seven {
  width: 1329px;
  height: 630px;
  background-image: url(../img/截圖\ 2023-01-10\ 上午3.35\ 1.png);
  background-size: contain;
  position: relative;
}
.conboxthird {
  display: flex;
  flex-direction: row;
  margin-top: 80px;
}

.conboxthird p {
  color: #ffffff;
  font-size: 10pt;
  display: none;
  position: absolute;
  z-index: 999;
  text-align: center;
  margin-top: 55%;
}
.eight {
  width: 1329px;
  height: 630px;
  background-image: url(../img/巴爾坦\ 1.png);
  background-size: contain;
  position: relative;
}
.conboxfour {
  display: flex;
  flex-direction: row;
  margin-top: 80px;
}
.conboxfour p {
  color: #ffffff;
  font-size: 10pt;
  display: none;
  position: absolute;
  z-index: 999;
  text-align: center;
  margin-top: 55%;
}
.footer {
  width: 100vw;
  height: 180px;
  background-color: #4995a6;
  margin-top: 300px;
  border-radius: 12pt;
}
.footerp p {
  color: #ffffff;
  font-size: 13pt;
}
.footerp {
  margin-left: 25px;
}
