.tabs {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: distribute;
      justify-content: space-around;
  margin: 60px auto;
  padding: 0 100px;
  border-bottom: 1px solid #ddd;
}
.tabs a {
  padding: 20px 0;
  border-bottom: 1px solid #ddd;
  margin-bottom: -1px;
  font-size: 24px;
}
.tabs a.active {
  color: #0065b3;
  border-color: #0065b3;
}
.box-content {
  display: grid;
  -webkit-column-gap: 40px;
     -moz-column-gap: 40px;
          column-gap: 40px;
  row-gap: 80px;
  grid-template-columns: repeat(3, 1fr);
}
.box-content img{
width:450px;height:300px;
}
.item {
  cursor: pointer;
}
.item .title {
  font-size: 18px;
  text-align: center;
  line-height: 45px;
  border: 1px solid #efefef;
  border-top: none;
  position: relative;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  z-index: 1;
}
.item .title::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 100%;
  bottom: 0;
  background-color: #0065b3;
  z-index: -1;
}
.item:hover .title {
  color: white;
  border-color: #0065b3;
}
.item:hover .title::before {
  right: 0;
}
.item:hover img {
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  -webkit-transform: scale(1.2);
          transform: scale(1.2);
}
.item .img {
  overflow: hidden;
}

@media screen and (max-width: 700px) {
    .box-content img{
width:100%;height:auto;
}
    
    ｝
@media screen and (max-width: 1200px) {
  .tabs {
    padding: 0 20px;
    margin: 0;
    margin-bottom: 20px;
    gap: 10px;
  }
  .tabs a {
    font-size: 14px;
    padding: 10px;
  }
  .box-content {
    -webkit-column-gap: 20px;
       -moz-column-gap: 20px;
            column-gap: 20px;
    row-gap: 20px;
    grid-template-columns: repeat(2, 1fr);
    padding: 20px;
  }
  .box img {
    width: 100%;
  }
}
