@import url("https://fonts.googleapis.com/css?family=Poppins&display=swap");
.workin {
  padding: 160px 0 50px;
}
.workin-box {
  width: 90%;
  max-width: 1000px;
  margin: auto;
}
.workin img {
  width: 100%;
  margin-bottom: 20px;
}
.workin-top {
  position: relative;
}
.workin-content {
  text-align: center;
  text-shadow: 0 0 15px #000;
  color: #fff;
  position: absolute;
  top: 50%;
  left: 50%;
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  width: 80%;
}
.workin-name {
  font-size: 28px;
}
.workin-two {
  display: flex;
}
.workin-r {
  margin-left: 20px;
}
.workin-info {
  margin: 20px 0 30px;
  line-height: 1.8em;
}
.workin-button {
  margin-top: 50px;
}
.workin-bbox {
  display: flex;
  justify-content: center;
}
.workin-bt {
  color: #fff;
  border: 1px solid #ccc;
  padding: 10px 20px;
  margin: 0 10px;
  position: relative;
  -moz-transition: color 0.3s;
  -o-transition: color 0.3s;
  -webkit-transition: color 0.3s;
  transition: color 0.3s;
}
.workin-bt:after {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background-color: #fff;
  -moz-transform: scaleY(0);
  -ms-transform: scaleY(0);
  -webkit-transform: scaleY(0);
  transform: scaleY(0);
  -moz-transform-origin: center bottom;
  -ms-transform-origin: center bottom;
  -webkit-transform-origin: center bottom;
  transform-origin: center bottom;
  -moz-transition: -moz-transform 0.2s ease-in-out;
  -o-transition: -o-transform 0.2s ease-in-out;
  -webkit-transition: -webkit-transform 0.2s ease-in-out;
  transition: transform 0.2s ease-in-out;
  z-index: -1;
}
.workin-bt:hover {
  color: #000;
}
.workin-bt:hover:after {
  -moz-transform: scaleY(1);
  -ms-transform: scaleY(1);
  -webkit-transform: scaleY(1);
  transform: scaleY(1);
}

@media screen and (max-width: 1100px) {
  .workin {
    padding: 100px 0 0px;
  }
  .workin-bt {
    color: #000;
  }
  .workin-bt:after {
    background-color: #000;
  }
  .workin-bt:hover {
    color: #fff;
  }
}
@media screen and (max-width: 640px) {
  .workin-name {
    font-size: 20px;
  }
  .workin-ch {
    font-size: 12px;
  }
}
@media screen and (max-width: 460px) {
  .workin-two {
    display: block;
  }
  .workin-r {
    margin-left: 0;
  }
  .workin img {
    margin-bottom: 10px;
  }
}
