.tabContain{
  width: 80%;
  margin: 10%;
}
.tabs {
list-style: none;
margin-left: 18%;
margin-right: 18%;
}
.tabs:after {
  content: '';
  display: table;
  clear: both;
}
.tabs input[type=radio] {
  display:none;
}
.tabs label {
  display: inline-block;
  padding: 0 10%;
  min-width: 25%;
 flex: 1 1 25%;
  color: #ccc;
  text-align: center;
  cursor: pointer;
  -webkit-transition: all 0.5s; /* Safari 3.1 to 6.0 */
  transition: all 0.5s;
}

.tabs label span {
  display: none;
 font-size: 1rem;
}

.tabs label:hover {
  color: #3498db;

.icon {
    border-color: #3498db;
  background-position: 50px 0;
  background-size: 100px 50px;
}
}

.tab__content {
  display: none;
  text-align: center;
  margin: 0 auto;
  box-sizing: border-box;
  background-color:antiquewhite
}
.tab__content table td{
  width: 48%;
}
.tab__content table img{
  width: 98%;
  margin: 1%;
}
.tab__content * {
  -webkit-animation: scale 0.2s ease-in-out;
  -moz-animation: scale 0.2s ease-in-out;
  animation: scale 0.2s ease-in-out;
}
@keyframes scale {
0% {
  transform: scale(0.9);
  opacity: 0;
  }
50% {
  transform: scale(1.01);
  opacity: 0.5;
  }
100% {
  transform: scale(1);
  opacity: 1;
}
}

.tabs [id^="tab"]:checked + label {
  background: antiquewhite;
  color: #141414;
  border-radius: 5px 5px 0 0;
}

.tabs [id^="tab"]:checked + label i {
  border-color: #141414;
 background-position: 50px 0;
 background-size: 100px 50px;
}

@media (min-width: 768px) {
  .tabs label span {
      display: inline-block;
      vertical-align: middle;
      margin: 15px;
      font-size: xx-large;
      font-family:  'SourceHanSerif';
  }
}
