:root {
    --font-prim: Bodoni;
    --font-secondary: Poppins;

    --color-bg-prim: #fffbf5;
    --color-bg-secondary: #3a1f10;
    --color-dark: #211815
}

#section-banner-serivce {
    position: relative;
    width: 100%;
    align-self: center;
    height: clamp(450px, 45svh, 1000px);

    z-index: 0;
}

#section-banner-serivce .col {
    width: 100%;
    max-width: none;
}

#section-banner-serivce .row {
    padding: 0;
}

#section-banner-serivce .section-title {
    position: absolute;
    width: 80%;
    height: 100%;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -25%);
    z-index: 2;
    font-family: var(--font-prim);
    font-size: 1rem;
    color: #faf0ebbd;
    text-align: center;
}

.banner-service-img {
    height: 100%;
    object-fit: cover;
    filter: brightness(80%) sepia(10%);
}


#sidebar-nav-section {
    height: auto;
}

#sidebar-nav-section>.row .col {
    height: auto;
}

/* Nav Menu*/
.side-nav {
    display: flex;
    width: 100%;
    min-height: 500px;
    flex-direction: column;
    margin-top: 2rem;
}

.sidebar-nav-buttons {
    position: relative;
    display: flex;
    overflow-x: scroll;
    overflow-y: hidden;
    flex-shrink: 0;
}

.sidebar-nav-buttons::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    top: 100%;
    left: 0%;
    background-color: var(--color-bg-secondary);
    opacity: 70%;
}

.sidebar-nav-button {
    position: relative;
    align-self: flex-end;
    width: 100%;
    max-width: 250px;
    height: 100%;

    padding: 1.25rem 1.25rem;

    color: var(--color-bg-secondary);
    font-family: var(--font-secondary);
    white-space: nowrap;

    transition: transform .1s cubic-bezier(0.6, -0.28, 0.735, 0.045);
}

.sidebar-nav-button:hover,
.sidebar-nav-button.active {
    background-color: var(--color-bg-secondary);
    color: var(--color-bg-prim);
    cursor: pointer;
}

.sidebar-nav-button.selected::after {
    background: none;
}

.sidebar-nav-button::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    top: 100%;
    left: 0%;
    background-color: var(--color-bg-secondary);
    opacity: 70%;
}

.sidebar-nav-buttons {
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--color-bg-secondary) var(--color-bg-prim);
}

/* Chrome, Safari, Edge */
.sidebar-nav-buttons::-webkit-scrollbar {
    height: 6px;
    width: 6px;
}

.sidebar-nav-buttons::-webkit-scrollbar-track {
    background: var(--color-bg-prim);
    border-radius: 10px;
}

.sidebar-nav-buttons::-webkit-scrollbar-thumb {
    background: var(--color-bg-secondary);
    border-radius: 0px;
}

.sidebar-nav-buttons::-webkit-scrollbar-thumb:hover {
    background: var(--color-dark);
    /* darker on hover */
}



/*Nav Content tab*/
.sidebar-nav-tabs {
    position: relative;
    width: 100%;
    height: 100%;
    margin-top: 3rem;
}

.sidebar-tab {
    display: none;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
}

.sidebar-tab.active {
    display: flex;
}

.sidebar-tab-container {
    width: 100%;
    color: var(--color-bg-secondary);
}

.sidebar-nav-tabs .section-title-med {
    position: relative;
    font-family: poppins;

    font-weight: 900;
    justify-self: center;
    padding: .5rem 1rem;
}

.sidebar-nav-tabs .section-title-med::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    top: calc(100% + .5rem);
    left: 0%;
    background-color: var(--color-bg-secondary);
    opacity: 50%;
}

.sidebar-nav-tabs ul {
    width: 100%;
    height: fit-content;
    list-style: none;
}

.sidebar-tab-item {
    width: 100%;
    height: fit-content;
}

.sidebar-nav-tabs .dd_item {
    min-height: 4.5rem;
    height: auto;
    flex-shrink: 0;
}

.sidebar-nav-button::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 1.2px;
    top: 100%;
    left: 0%;
    background-color: var(--color-bg-secondary);
    opacity: 50%;
}


.img_banner_servive-men img {
    object-position: 50%;
}


@media screen and (min-width:720px) {
    .sidebar-nav-buttons {
        flex-direction: column;
        padding: 1.25rem 1rem;

        height: fit-content;
        justify-self: flex-start;
        overflow: visible;
    }

    .side-nav {
        flex-direction: row;
        margin-top: 0;
    }

    .sidebar-nav-buttons::after {
        width: 0%;
    }

    .sidebar-nav-tabs {
        padding: 1.25rem 1rem;
        margin: 0;
    }

    .banner-service-img {
        width: 100%;
        margin: auto;
    }
}

@media screen and (min-width:9200px) {}

@media screen and (min-width:1800px) {}