﻿#onsen {
    padding: 5rem 0;
    overflow: hidden;
    max-width: 1200px;
    position: relative;
    margin: auto;
}

.onsen-wrapper {
    display: block;
    position: relative;
    width: 100%;
    height: auto;
    background-image: url('/assets/layout/onsen-component/onsen_bg.webp');
    background-repeat: no-repeat;
    background-position: left top;
    background-size: contain;
    transition: 0.1s;
    padding: 0 1rem;
}

.onsen-inner-tablet {
    display: none;
}

.onsen-inner {
    display: flex;
    flex-direction: column;
    width: 100%;
    box-sizing: border-box;
    align-items: center;
}

.onsen-content {
    font-size: 9px;
    text-align: justify;
    line-height: 12px;
}

.img-title-onsen {
    width: 11rem;
}

.onsen-layout-mobile {
    display: flex;
    padding-top: 9rem;
}


.custom-tabs .nav-link {
    color: var(--text-title-color);
    border-radius: 2rem;
    margin-right: 0.5rem;
    transition: 0.3s;
}

.custom-tabs .nav-link.active {
    background-color: var(--text-title-color);
    color: #fff;
}

.onsen-tab-content {
    padding: 1rem 0;
    color: var(--text-title-color);
    font-size: 9px;
    line-height: 1.6;
}

.nav-item {
    z-index: 15;
}

.custom-tabs {
    display: flex;
    justify-content: center;
    margin: 0.5rem 0;
}

.custom-tabs .nav-link {
    color: var(--text-title-color);
    font-size: 9px;
    padding: 4px 8px;
    border-radius: 2rem;
    margin-right: 0.5rem;
    transition: 0.3s;
}

.custom-tabs .nav-link.active {
    background-color: var(--text-title-color);
    color: #fff;
}


.onsen-layout-tablet {
    display: flex;
    padding: 17.5rem 4rem 0 4rem;
    gap: 1rem;
}

.gold-tree-left {
    position: absolute;
    top: -5rem;
    left: 0;
    width: 100vw;
    height: 100%;
    background-size: 100% auto;
    background-image: url('/assets/layout/onsen-component/onsen_tree_left.webp');
    background-repeat: no-repeat;
    background-position: left top;
    z-index: -10;
    transition: 0.1s;
    pointer-events: none;
    opacity: 0.45
}

.green-tree-left {
    position: absolute;
    top: 1rem;
    left: -1rem;
    width: 100vw;
    height: 100%;
    background-size: 45% auto;
    background-image: url('/assets/layout/onsen-component/onsen_green_tree_left.webp');
    background-repeat: no-repeat;
    background-position: left top;
    z-index: -10;
    transition: 0.1s;
    pointer-events: none;
}

.green-tree-right {
    position: absolute;
    top: 8rem;
    left: 22rem;
    width: 100vw;
    height: 100%;
    background-size: 20% auto;
    background-image: url('/assets/layout/onsen-component/onsen_green_tree_right.webp');
    background-repeat: no-repeat;
    background-position: left top;
    z-index: -10;
    transition: 0.1s;
    pointer-events: none;
}

@media (min-width: 768px) {
    .onsen-inner {
        display: none;
    }

    .onsen-inner-tablet {
        display: flex;
        flex-direction: column;
        width: 100%;
        box-sizing: border-box;
        align-items: center;
    }

    .img-title-onsen {
        width: 12.5rem;
    }

    .custom-tabs .nav-link {
        font-size: 7px;
    }

    .gold-tree-left {
        top: 10%;
        left: -10%;
        background-size: 60% auto;
        z-index: -10;
        opacity: 0.7
    }

    .green-tree-left {
        top: 0rem;
        left: -5rem;
        background-size: 50% auto;
    }

    .green-tree-right {
        top: 10rem;
        left: 53rem;
        background-size: 20% auto;
    }
}

@media (min-width: 992px) {
    .img-title-onsen {
        width: 15rem;
    }

    .onsen-layout-tablet {
        display: flex;
        padding: 25rem 8rem 0 8rem;
        margin-top: 2rem;
        gap: 1rem;
        justify-content: center;
    }

    .custom-tabs .nav-link {
        font-size: 12px;
    }

    .onsen-tab-content {
        font-size: 12px;
        line-height: 1.6;
    }

    .onsen-content {
        font-size: 12px;
    }

    .gold-tree-left {
        top: 20%;
        left: 0;
        background-size: 30% auto;
        opacity: 1
    }

    .green-tree-left {
        top: 0rem;
        left: 2rem;
        background-size: 25rem auto;
    }

    .green-tree-right {
        top: 10rem;
        left: 60rem;
        background-size: 10rem auto;
    }
}