body {
  background-color: #fff;
}

.banner {
  margin-top: 80px;
  width: 100%;
  height: 500px;
  position: relative;
}

.bannerImg {
  width: 100%;
  height: 100%;
}

.bannerTextBox {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.bannerText:nth-child(1) {
  font-size: 30px;
  font-weight: 600;
  margin-bottom: 5px;
}

.bannerText:nth-child(2) {
  font-size: 16px;
  color: #bbb;
  font-weight: 600;
}

.mainPage {
  padding: 10px 10% 0;
}

.workItem {
  display: flex;
  margin-bottom: 40px;
  justify-content: space-around;
}

.workImg {
  height: 300px;
  border: 1px solid #fff;
  box-shadow: 3px 3px 5px 0 rgb(0 0 0 / 50%);
}

.workContent {
  text-align: right;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: flex-end;
}

.workTitle {
  font-size: 20px;
  font-weight: 600;
}

.workText {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
  overflow: hidden;
}

.workItem:nth-child(even) .workImg {
  order: 2;
}

.workItem:nth-child(even) .workContent {
  text-align: left;
  order: 1;
  align-items: flex-start;
}

.workBtn {
  display: inline-block;
  background-color: #000;
  color: #fff;
  padding: 5px 20px;
  width: 120px;
  text-align: center;
  border-radius: 5px;
}

.workBtn img {
  width: 20px;
}

.workBtn:hover {
  text-decoration: none;
  color: #fff;
}

.more {
  margin: 20px 0;
  text-align: center;
  cursor: pointer;
}


/* .workImg:nth-child(odd) {
  order: 2;
}

.workImg:nth-child(even) {
  order: 1;
}

.workContent:nth-child(odd) {
  order: 3;
} */


/* .workContent:nth-child(even) {
  order: 1;
} */

@media (max-width:1200px) {
  .workImg {
    height: 200px;
  }
}

@media (max-width:992px) {
  .workImg {
    height: 150px;
  }
}

@media (max-width:768px) {
  .mainPage {
    padding: 10px 5%;
  }
  .workTitle {
    font-size: 16px;
  }
  .workItem:nth-child(even) .workImg {
    order: 1;
  }
  .workItem:nth-child(even) .workContent {
    text-align: right;
    align-items: flex-end;
  }
  .workItem .workContent {
    text-align: right;
    width: 50%;
    align-items: flex-end;
  }
  .workImg {
    height: 100px;
    width: 45%;
  }
}
