.tab {
    /* overflow: hidden; */
    /* border: 1px solid #ccc; */
    /* background-color: #f1f1f1; */
    color: #6D1175;
    display: flex;
    /* justify-content: center; */
    align-content: left;
    align-items: center; 
    flex-wrap: wrap;
    /* flex-direction: column; */
  }
  
  /* 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: 14px 16px;
    transition: 0.3s;
    color: #6D1175;
    font-weight: bold;
    /* display: inline-block; */
  }
  @media screen and (max-width: 600px){
    .tab button, .back {
      font-size: 0.7rem;  
      padding: 6px;
      line-height: 0.5;
    }
  }
  
  /* Change background color of buttons on hover */
  .tab button:hover {
    /* background-color: #ddd; */
    color: yellowgreen;
  }
  
  /* Create an active/current tablink class */
  .tab button.active {
    /* background-color: #ccc; */
    color: yellowgreen;
  }

  /* added */
  .tabcontent button.active {
    background-color: #ccc;
  }
  /* end of added */
  /* Style the tab content */
  .tabcontent {
    display: none;
    padding: 6px 12px;
    /* border: 1px solid #ccc; */
    border-top: none;
  }
  .tabcontent {
    animation: fadeEffect 2s; /* Fading effect takes 1 second */
  }
  
  /* Go from zero to full opacity */
  @keyframes fadeEffect {
    from {opacity: 0;}
    to {opacity: 1;}
  }
  