/* Style the tab */
.tabcontainer {
    width: 85%;
    height: 450px;
    max-height: 700px;
    display: block;
    margin: 0 auto;
    padding: 1.5rem;
    border-radius: 1rem;
    background-color: #1f1e1c; /*a4 sets the opacity */
    box-shadow: 0px 3px 6px 0px rgba(0, 0, 0, .3);
    overflow: auto;
}
.tab {
  overflow: hidden;
  border: none;
  background-color: #ac830f;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-content: space-evenly;
}

/* Style the buttons inside the tab */
.tab button {
  background-color: inherit;
  float: left;
  border: none;
  outline: none;
  cursor: pointer;
  color: #1f1e1c;
  padding: 14px 16px;
  transition: transform 250ms linear, opacity 400ms;
  font-size: 17px;
}

.tab button:hover {
  opacity: 0.5;
}

/* Change background color of buttons on hover */
.tab button:hover .tabTitle{
 border-bottom: 3px solid #1f1e1c;
}
.tab button.active {
  opacity: 1;
}
.tab button.active .tabTitle, .tab button.active:hover .tabTitle{
  border-bottom: 3px solid #1f1e1c;
}

@media screen and (max-width: 480px){
  .tab button .tabTitle{
    display: none;
  }
}

/* Style the tab content */
.tabcontent {
  display: none;
  padding: 6px 0px 12px 0px;
  border: none;
  border-top: none;
  background-color: #1f1e1ca4; /*a4 sets the opacity */
  margin-top: 5px;
}

.tabcontent img {
  width: 180px;
  height: 180px;
  float: left;
  margin-right: 25px;
}

@media screen and (max-width: 480px){
  .tabcontainer {
    height: 700px;
  }

  .tabcontent img {
    height: 100px;
    width: 100px;
  }
}