.section6 {
  padding: 0;
}

.box6 {
  display: flex;
}

.box6 .item {
  width: 50%;
  overflow: hidden;
  position: relative;
}

.box6 .item img {
  width: 100%;
  transition: 0.5s;
}

.box6 .item:hover img {
  transform: scale(1.08);
}

.box6 .item h1 {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 2;
  color: #FFF;
  background: #00000020;
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
}

.box6 .item h1 span {
  display: block;
  width: 100px;
  height: 1px;
  background: #FFF;
  margin-right: 30px;
}

@media (max-width: 1440px) {}

@media (max-width: 1200px) {
  .box6 .item h1{font-size:19px;}
}

@media (max-width: 992px) {
  .box6 .item h1 {
    font-size: 15px;
  }

}

@media (max-width: 640px) {
  .box6 {
    display: flex;
    flex-wrap: wrap;
  }

  .box6 .item {
    width: 100%;
  }
}