/* ===== Tab navigation content ===== */
.tab-nav-bar {
    position: relative;
    margin-bottom: 30px;
}

.tab-navigation {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: fit-content;
    margin: 0 auto;
}

.tab-menu {
    color: var(--white-color);
    list-style: none;
    background-color: var(--secondary-color);
    max-width: 800px;
    padding: 10px 0px 10px 0px;
    white-space: nowrap;
    border-radius: 50px;
    scroll-behavior: smooth;
    user-select: none;
    overflow-x: auto;
}

.tab-menu.dragging {
    scroll-behavior: unset;
    cursor: grab;
}

.tab-menu::-webkit-scrollbar {
    display: none;
}

.tab-btn {
    display: inline-block;
    color: #767676;
    font-weight: 600;
    margin: 0;
    text-transform: uppercase;
    padding: 10px 10px;
    border-radius: 30px;
    cursor: pointer;
    user-select: none;
    transition: background-color .3s ease;
}
.tab-menu .tab-btn:last-child {
    padding-right: 0;
}
.tab-menu.dragging .tab-btn {
    pointer-events: none;
}

.tab-btn:hover {
    color: var(--bs-black);
    background-color: #ffffff;
}

.tab-btn.active {
    color: var(--bs-black);
    background-color: #ffffff;
}

.left-btn,
.right-btn {
    position: absolute;
    color: #000000;
    font-size: 26px;
    padding: 18px;
    cursor: pointer;
    display: none;
}

.left-btn {
    left: 0;
    background: linear-gradient(to left, transparent, #e5e5e5 80%);
    border-top-left-radius: 0px;
    border-bottom-left-radius: 0px;
}

.right-btn {
    right: 0;
    background: linear-gradient(to right, transparent, #e5e5e5 80%);
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
}


/* ===== Tab content ===== */
/*.tab-content {
    position: relative;
    display: flex;
    justify-content: center;
    width: 100%;
}*/

.tab {
    opacity: 0;
    content-visibility: hidden;
}

.tab.active {
    content-visibility: visible;
    opacity: 1;
    transition: opacity 1s ease, transform 1s ease;
}

.tab .row {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 50px 0;
    gap: 30px;
}


/* ===== Media queries (max-width: 1050px;) ===== */
@media screen and (max-width: 1050px) {

    .tab-nav-bar {
        margin: 0;
    }

    .tab {
        padding:0px;
    }

    .tab .row {
        flex-direction: column;
    }

    .country {
        font-size: 10vw;
        padding-bottom: 50px;
    }

}