.tab {
    overflow: hidden;
    border-bottom: 1px solid #ccc;
}

.tab buton,
button.tablinks {
    background-color: #f1f1f1;
    float: left;
    border: 1px solid #ccc;
    border-bottom: none;
    border-radius: 10px 10px 0 0;
    outline: none;
    width: 150px;
    margin: 0 5px;
    cursor: pointer;
    padding: 14px 16px;
    transition: 0.3s;
}

.tab button:hover,
button.tablinks:hover {
    background-color: #ddd;
}

.tab button.active,
button.tablinks.active {
    background-color: #ccc;
}

.tabcontent {
    display: none;
    padding: 6px 12px;
    border: 1px solid #ccc;
    border-top: none;
    animation: fadeEffect 1s;
}

@keyframes fadeEffect {
    from { opacity: 0; }
    to { opacity: 1; }
}