.banner {
  display: flex;
}

.banner .carousel {
  width: 600px;
  margin-right: 20px;
}

.banner .carousel .carousel-item {
  width: 600px;
  height: 600px;
}

.banner .carousel .carousel-item img {
  width: 100%;
  height: 100%;
}

.banner .title {
  flex: 1;
  padding: 40px;
}

.services {
  margin: 100px auto;
}

.services .title {
  display: flex;
  justify-content: space-between;
}

.services .title h2 {
  width: 700px;
}

.services .list {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.services .list .list-item {
  width: 300px;
  padding: 0 20px;
}

.services .list .list-item:not(:last-child) {
  margin-right: 20px;
  border-right: 1px solid #eee;
}

.services .list .list-item img {
  width: 100px;
  height: 100px;
  margin-bottom: 10px;
}

.services .list .list-item h3 {
  margin-bottom: 10px;
}

.services .list .list-item p {
  color: #aaa;
}

.about-us {
  display: flex;
  justify-content: space-between;
  margin: 100px auto;
}

.about-us .left {
  display: flex;
  justify-content: center;
  margin-right: 40px;
}

.about-us .left img {
  width: 270px;
  height: 500px;
  object-fit: cover;
  margin-right: 20px;
}

.about-us .left img:last-child {
  align-self: flex-end;
}

.about-us .right {
  margin: 0 30px;
}

.materials {
  margin: 100px auto;
}

.materials .list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 1fr);
  grid-column-gap: 0px;
  grid-row-gap: 0px;
}

.materials .list .list-item {
  width: 100%;
  height: 350px;
  position: relative;
}

.materials .list .list-item img {
  width: 100%;
  height: 100%;
}

.materials .list .list-item .list-item-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--theme-color);
  opacity: 0;
  transition: all 0.5s;
}

.materials .list .list-item .list-item-wrapper:hover {
  opacity: 1;
}

.materials .list .list-item .list-item-desc {
  width: auto;
  height: auto;
  color: white;
  padding: 0 20px;
}

.materials .list .list-item .list-item-desc ul {
  margin-left: 20px;
}

.testimonials {
  margin: 100px auto;
}

.testimonials .list {
  margin-left: auto;
  margin-right: auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  /* grid-template-rows: repeat(2, 1fr); */
  grid-column-gap: 100px;
  grid-row-gap: 100px;
}

.testimonials .list .list-item {
  width: 300px;
  height: 300px;
}

.testimonials .list .list-item .content {
  margin-bottom: 20px;
  color: #aaa;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-all;
}

.testimonials .list .list-item .customer {
  font-size: 18px;
  color: #000;
  font-weight: bold;
}
