.nav-tabs {
    display: flex;
    justify-content: center;
    list-style: none;
    margin-top: -1rem;
    padding-bottom: 1.75rem;
    border-bottom: 1px solid #D6D6D6;
}

@media screen and (max-width: 767px) {
    .nav-tabs {
        justify-content: flex-start;
    }

    .nav-tabs li {
        width: 100%;
    }

    .d-flex-sm {
        display: flex;
    }
}

.nav-tabs li {
    margin-right: 2rem;
    margin-bottom: 1rem;
}

.nav-item a {
    display: block;
    padding: .75rem 1rem;
}

.nav-item a:hover {
    color: black;
    background: #FED71F;
}

.nav-item .active {
    background: #FED71F;
}

.tab-pane {
    overflow: hidden;
    max-height: 0;
    transition: max-height .5s ease;
}

.show {
    max-height: 30rem;
}

.tab-content {
    padding: 4rem 0 2rem;
}

.tab-content ul {
    margin-bottom: 1.5rem;
}

.tab-content ul:last-child {
    margin-bottom: 0;
}