* {
  /* outline: pink 1px solid; */
}

body {
  font-family: "微軟正黑體";
  color: white;
}

body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 240vh;
  background-repeat: repeat-y;
  background-position: center;
  background-attachment: fixed;
  background-size: cover;
  background-image: url(back.jpeg);
  -webkit-filter: opacity(8 0%);
  /* Safari */
  filter: opacity(60%);
  z-index: -1;
}
@media screen and (max-height: 650px) {
  body::before {
    height: 300vh;
  }
}
@media screen and (max-height: 550px) {
  body::before {
    height: 330vh;
  }
}
@media screen and (max-height: 450px) {
  body::before {
    height: 380vh;
  }
}
.container {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  flex-direction: column;
  padding-top: 50px;
  position: relative;
}

.photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
}

.photo img {
  border-radius: 50%;
  width: 100%;
  height: 100%;
}

.btnBox {
  width: 90%;
  height: 3rem;
  padding: 5px;
  margin-bottom: 10px;
  border: 2px #fff0ac solid;
}

.animation1 {
  animation-name: btnStyle;
  animation-duration: 1.5s;
  animation-iteration-count: infinite;
  animation-delay: 1.5s;
}

.animation2 {
  animation-name: btnStyle;
  animation-duration: 1.5s;
  animation-iteration-count: infinite;
  animation-delay: 1s;
}

.btnBox:hover {
  animation: none;
  border-color: white;
}

.buttonStyle:hover {
  background-color: white;
}

@keyframes btnStyle {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }

  100% {
    transform: scale(1);
  }
}

.works-container {
  height: 8rem;
  margin-bottom: 10rem;
}

.work {
  color: black;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 133%;
  cursor: pointer;
  background-image: url(blossom.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  font-size: 0.9rem;
  font-weight: 600;
}

.work p {
  margin-bottom: 0;
  letter-spacing: 2px;
}

.moreInformation {
  text-decoration: underline;
  color: #6f00d2;
  white-space: nowrap;
}

@media screen and (min-width: 768px) {
  .btnBox {
    width: 40rem;
  }

  .buttonStyle {
    padding-left: 0;
  }

  .works-container {
    height: 13rem;
    margin-bottom: 15rem;
  }

  .work {
    font-size: 1.1rem;
  }
}

.buttonStyle {
  position: relative;
  cursor: pointer;
  width: 100%;
  height: 100%;
  background-color: #fff0ac;
  border: none;
  letter-spacing: 2px;
  font-family: "微軟正黑體";
  font-size: larger;
  font-weight: 600;
  padding-left: 40px;
}

.buttonStyle i {
  position: absolute;
  top: 50%;
  left: 8px;
  transform: translateY(-50%);
  font-size: 2rem;
}

.letter-spacing-3 {
  letter-spacing: 2.5px;
}

.lineColor {
  color: #07b53b;
}

.phoneColor {
  color: #2894ff;
}

a {
  text-decoration: none;
  color: inherit;
}

.informationBoxWrapper {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.5);
  overflow-y: scroll;
  z-index: 100;
}

.informationBox {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translate(-50%);
  width: 90%;
  min-height: max-content;
  text-align: left;
  padding: 20px;
  color: black;
  background-color: white;
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  z-index: 100;
}

.informationBox img {
  width: 100%;
  height: 15rem;
}

.informationBox p {
  margin: 0;
}

.informationBox button {
  border: none;
  background-color: #b95159;
  padding: 5px;
  letter-spacing: 20px;
  font-size: larger;
  font-family: "微軟正黑體";
  font-weight: 600;
  color: white;
  border-radius: 5px;
  margin-top: 10px;
}

.informationBox button:hover {
  background-color: #234a63;
}

.form {
  position: relative;
  color: black;
  padding: 0.5rem;
  width: 100%;
  margin-top: 5rem;
}

@media screen and (min-width: 576px) {
  .informationBox img {
    width: 80%;
  }

  .form {
    width: 90%;
  }

}

@media screen and (min-width: 768px) {
  .informationBox {
    width: 60%;
  }

  .informationBox img {
    height: 20rem;
    width: 100%;
  }

  .form {
    width: 80%;
    padding: 1rem;
  }
}

@media screen and (min-width: 992px) {
  .informationBox {
    width: 40%;
  }

  .form {
    width: 50%;
    padding: 3rem;
  }
}

.form::before {
  top: 0;
  left: 0;
  position: absolute;
  content: '';
  height: 100%;
  width: 100%;
  background-color: #fff0ac;
  z-index: -1;
  -webkit-filter: opacity(8 0%);
  /* Safari */
  filter: opacity(80%);
  z-index: -1;
  border-radius: 0.5rem;
}



.form form label {
  text-align: left;
}

.form form input,
select {
  border: none;
  background-color: transparent;
  border-bottom: 2px solid black;
  margin-bottom: 1.5rem;
}

.form form input:focus,
select:focus,
textarea:focus {
  outline: none;
  background-color: transparent;
}

.form #submitBtn {
  border: none;
  padding: 0.5rem;
  border-radius: 10px;
  background-color: #234a63;
  letter-spacing: 20px;
  font-size: larger;
  font-family: "微軟正黑體";
  font-weight: 600;
  color: white;
}

.form #submitBtn:hover {
  background-color: #b95159;
  transform: scale(1.025);

}

.form textarea {
  resize: none;
  border: none;
  background-color: transparent;
  border-bottom: 2px solid black;
}

.c-red {
  color: #CE0000;
  margin-left: 0.3rem;
}

/* width */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollba0:r {
  width: 8px;
}

/* Track */
::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px grey;
  border-radius: 5px;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #9D9D9D;
  border-radius: 10px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #8E8E8E;
}

.error {
  font-size: 0.8rem;
  color: #CE0000;
  text-align: left;
}