.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;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 60px;
}
.box-content img {

  position: relative;
    overflow: hidden;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}
.box .item {
  border: 1px solid #ddd;
  padding: 20px;
}
.box .item div {
  margin-top: 20px;
  text-align: center;
}
.box .item:hover img {
  -webkit-transform: scale(1.1);
          transform: scale(1.1);
}
.box .img {
  height: 220px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  overflow: hidden;
}
.box .img img {
  max-width: 100%;
  max-height: 100%;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}
@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 {
    padding: 20px;
    grid-template-columns: repeat(2, 1fr);
    margin-bottom: 20px;
  }
  .box .img {
    height: initial;
  }
}
