/* Style the tab */
.tab {
    overflow: hidden;
    border: 1px solid #000;
    background-color: #000000;
    width: 50%;
}

/* 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 52px;
        transition: 0.3s;
}

/* Change background color of buttons on hover */
.tab button:hover {
            background-color: #787878;
}

/* Create an active/current tablink class */
.tab button.active {
            background-color: #787878;
}

.zTab {
    display: none;
    margin: 0;
    padding: 0;
    position: relative;
    text-align: center;
    width: 100%;
    animation: fadeEffect 1s; /* Fading effect takes 1 second */
}

/* Go from zero to full opacity */
@keyframes fadeEffect {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}
