html,
body {
  overflow-x: hidden;
  height: 100%;
}
body {
  background: #fff;
  padding: 0;
  margin: 0;
  font-family: "Varela Round", sans-serif;
}
.header {
  display: block;
  margin: 0 auto;
  width: 100%;
  max-width: 100%;
  box-shadow: none;
  background-color: white;
  position: fixed;
  height: 80px !important;
  overflow: hidden;
  z-index: 10;
  box-shadow: 0px 5px 5px -3px rgba(0, 0, 0, 0.3);
}
.main {
  margin: 0 auto;
  display: block;
  height: 100%;
}
.mainInner {
  display: table;
  height: 100%;
  width: 100%;
  text-align: center;
}
#sidebarMenu {
  z-index: 999;
  height: 100%;
  position: fixed;
  left: 0;
  width: 200px;
  margin-top: 80px;
  transform: translateX(-250px);
  transition: transform 250ms ease-in-out;
  background: rgb(37, 162, 195);
}
.sidebarMenuInner {
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.sidebarMenuInner li {
  list-style: none;
  color: #fff;
  font-weight: bold;
  cursor: pointer;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.sidebarMenuInner li span {
  display: block;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
}
.sidebarMenuInner li a {
  color: #fff;
  text-transform: uppercase;
  font-weight: bold;
  cursor: pointer;
  text-decoration: none;
  display: block;
  height: 100%;
  padding: 20px;
  text-align: center;
}
input[type="checkbox"]:checked ~ #sidebarMenu {
  transform: translateX(0);
}

input[type="checkbox"] {
  transition: all 0.3s;
  box-sizing: border-box;
  display: none;
}
.sidebarIconToggle {
  transition: all 0.3s;
  box-sizing: border-box;
  cursor: pointer;
  position: absolute;
  z-index: 99;
  height: 100%;
  width: 100%;
  top: 28px;
  left: 15px;
  height: 22px;
  width: 22px;
}
.logo {
  height: 60px;
  z-index: 99;
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translate(-50%);
}
.spinner {
  transition: all 0.3s;
  box-sizing: border-box;
  position: absolute;
  height: 3px;
  width: 100%;
  background-color: black;
}
.horizontal {
  transition: all 0.3s;
  box-sizing: border-box;
  position: relative;
  float: left;
  margin-top: 3px;
}
.diagonal.part-1 {
  position: relative;
  transition: all 0.3s;
  box-sizing: border-box;
  float: left;
}
.diagonal.part-2 {
  transition: all 0.3s;
  box-sizing: border-box;
  position: relative;
  float: left;
  margin-top: 3px;
}
input[type="checkbox"]:checked ~ .sidebarIconToggle > .horizontal {
  transition: all 0.3s;
  box-sizing: border-box;
  opacity: 0;
}
input[type="checkbox"]:checked ~ .sidebarIconToggle > .diagonal.part-1 {
  transition: all 0.3s;
  box-sizing: border-box;
  transform: rotate(135deg);
  margin-top: 8px;
}
input[type="checkbox"]:checked ~ .sidebarIconToggle > .diagonal.part-2 {
  transition: all 0.3s;
  box-sizing: border-box;
  transform: rotate(-135deg);
  margin-top: -9px;
}
#home,
.aboutus,
.service,
.case,
.contact {
  scroll-margin-top: 80px;
}
.home {
  margin-top: 80px;
  height: calc(100vh - 80px);
  background: linear-gradient(
      to bottom,
      rgba(222, 225, 227, 0.8) 0%,
      rgba(222, 225, 227, 0.8) 100%
    ),
    url("../image/bg.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: scroll;
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.title-zh {
  max-width: 80%;
  display: block;
  font-size: 48px;
  color: rgb(37, 162, 195);
  font-weight: bolder;
}
.title-en {
  display: block;
  margin-top: 22px;
  color: rgb(118, 125, 133);
  font-weight: bold;
  margin-bottom: 48px;
}
button {
  padding: 1.3em 3em;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  font-weight: 500;
  color: #000;
  background-color: #fff;
  border: none;
  border-radius: 45px;
  box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease 0s;
  cursor: pointer;
  outline: none;
}

button:hover {
  background-color: #e09e1f;
  box-shadow: 0px 15px 20px rgba(224, 158, 31, 0.4);
  color: #fff;
  transform: translateY(-7px);
}

button:active {
  transform: translateY(-1px);
}
.service-image {
  border-radius: 100%;
  width: 330px;
  height: 330px;
}
.service-container {
  display: flex;
  height: inherit;
  justify-content: center;
  align-items: center;
}
.service-left {
  width: 20%;
  margin-right: 68px;
}
.service-right {
  width: 20%;
  margin-left: 68px;
}
.service-title {
  font-weight: bolder;
  color: rgb(37, 162, 195);
  font-size: 18px;
}
.service-content {
  color: rgb(118, 125, 133);
  font-size: 12px;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}
.aboutus {
  display: flex;
  align-items: center;
}
.case-container {
  width: 80%;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  height: inherit;
}
.case-item {
  margin: 20px;
  flex-basis: 30%;
  border-radius: 4px;
  border: 1px solid rgb(222, 225, 227);
}
.case-title {
  font-weight: bold;
  color: rgb(37, 162, 195);
  padding: 20px;
}
.contact {
  background: rgb(37, 162, 195);
  text-align: center;
  padding: 5% 10%;
}
.contact-title {
  color: white;
  font-size: 28px;
}
.contact-container {
  margin-top: 40px;
  display: flex;
}
.box {
  opacity: 0;
  transition: opacity 2s ease, transform 2s ease;
}
.fade-in {
  transform: translateY(50px);
}
.fade-in.animate {
  opacity: 1;
  transform: translateY(0);
}
.zoom-in {
  transform: scale(0.5);
}
.zoom-in.animate {
  opacity: 1;
  transform: scale(1);
}
.slide-in {
  transform: translateX(-100px);
}
.slide-in.animate {
  opacity: 1;
  transform: translateX(0);
}
@media screen and (max-width: 768px) {
  .title-zh {
    font-size: 32px;
  }
  .title-en {
    font-size: 10px;
    width: 90%;
    margin-left: 5%;
  }
  .service-container {
    display: block;
  }
  .service-left,
  .service-right {
    width: 90%;
    margin: 20px;
  }
  .service-image {
    width: 180px;
    height: 180px;
  }
  .case-container {
    display: block;
  }
  .contact-container {
    display: block;
  }
}
