 /* Style the tab */
.tab {
  overflow: hidden;
  background-color: #ffffff;
  border-bottom: 1px solid #ea234b;
}

/* Style the buttons that are used to open the tab content */
.tab button {
  background-color: inherit;
  float: left;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 5px 10px;
  transition: 0.3s;
}

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

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

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



.tabcontent {
    animation: fadeEffect 1s; /* Fading effect takes 1 second */
  }
  
  /* Go from zero to full opacity */
  @keyframes fadeEffect {
    from {opacity: 0;}
    to {opacity: 1;}
  }