/* Style the tab */
.tab {
  background-color: #f1f1f1;
  border: 1px solid #ccc;
  overflow: hidden;
  text-align:center;
}
/* Style the buttons inside the tab */
.tab button {
  background-color: inherit;
  float: center;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 1em 1.2em;
  transition: 0.3s;
  font-size: 1em;
  font-weight:bold;
}
/* Change background color of buttons on hover */
.tab button:hover {
  background-color: #ddd;
}
/* Create an active/current tablink class */
.tab button.active {
  background-color: #ccc;
}
/* Style the tab content */
.tabcontent {
  display: none;
  padding: 0.5em 1em;
  border: 0.2em solid #ccc;
  border-top: none;
}
.tabcontent.active {
  display: block;
}