.heroImg.abt{
    background-image: url("../image/kitchen.jpeg");
    background-position: right top;
    background-size: cover;
}
.aboutContainer{
    width: 100%;
    padding: 0 0 20px;
    background-color: white;
}
.tab {
    background-color: #290c31d8;
    margin: 0 10rem;
}
.tab button {
  margin-right: 1px;
  color: wheat;
} 
/* Style the tab content */
.tabcontent {
  display: none;
  padding: 40px 80px;
  border: 1px solid #ccc;
  border-top: none;
  animation: fadeEffect 1s; /* Fading effect takes 1 second */
}
.img_cap{
    display: flex;
    flex-direction: column;
    align-items: center;
    float:left;
    margin: 0 15px 6px 0;
}
.tabcontent .img_cap img{
    width: 150px;
    height: 150px;
    padding: 3px;
    border: 2px solid darkslategrey;
    display: block;
}
.tabcontent .img_cap span{
    font-size: 15px;
    font-weight: 500;
    margin: 5px 0 -5px;
}
.tabcontent .img_cap small{
    font-size: 12px;
    font-weight: 500;
    color: rgb(81, 81, 126);
    margin: 5px 0 -3px;
}
.img_cap::after{
    clear: both;
}
@media only screen and (max-width: 840px) {
    
    .tab {
        margin: 0 5rem;
    }
    .tabcontent {
      padding: 40px;
    }
} 

@media only screen and (max-width: 500px) {

    .tab {
        margin: 0;
    }
    .tabcontent {
      padding: 30px 10px 0;
    }
    .heroImg .overlay .tag h5{
        font-size: 13px;
    }
}
