/* Style the tab */
.tab {
    overflow: hidden;

   
}
  
  /* 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-top: 15px;
    padding-bottom: 15px;
    padding-left: 0px;
    padding-right: 25px;
    transition: 0.3s;
    font-size: 1.5rem;
    font-weight: 500;
}
  
  /* Change background color of buttons on hover */
.tab button:hover {
    color: #04488c;
}
  
  /* Create an active/current tablink class */
.tab button.active {
    color: #04488c;
}
  
  /* Style the tab content */
.tabcontent {
    display: none;
    padding: 6px 12px;

    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;}
}