.tab {
  overflow: hidden;
}

/* Style the buttons that are used to open the tab content */
.tab button:hover {
  background-color: #f9fafb;
}

/* Create an active/current tablink class */
.tab button.active {
  background-color: #7bbcb0;
  color: #fff;
  border: 1px solid #7bbcb0;
}

/* Style the tab content */
.tabcontent {
  display: none;
}

.tabcontent.active {
  display: block;
  animation: fadeEffect 1s; /* Fading effect takes 1 second */
}

/* Go from zero to full opacity */
@keyframes fadeEffect {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Hide scrollbar for Chrome, Safari and Opera */
.scrollbar-hide::-webkit-scrollbar {
  display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.scrollbar-hide {
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
}
