 /* Style the tab */
.tab {
  overflow: hidden;
  border: none;
  background-color: none;
  width: 33%;
  margin: auto;
}

/* Style the buttons that are used to open the tab content */
.tab button {
  background-color: #333;
  color: #f2f2f2;
  float: center;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 14px 16px;
  transition: 0.3s;
}

/* Change background color of buttons on hover */
.tab button:hover {
  background-color: #ddd;
  color: black;
}

/* Create an active/current tablink class */
.tab button.active {
  background-color: violet;
  color: white;
}

/* Style the tab content */
.tabcontent {
  display: none;
  padding: 6px 12px;
  border: none;
  border-top: none;
} 
