*{
    box-sizing: border-box;
}

@media (min-width: 768px) {
    .main{
        background: url(/assets/bg-cover.png);
        background-size: cover;
        background-position: top center;
        min-height: 100vh;
    }

     .area-container #tab {
        flex-wrap: wrap;
        justify-content: center; 
    }

    .area-container #table table tr td, .area-container #table table tr th{
        padding: 20px;
        border-color: #a00701;
        text-align: center;
        border-spacing: 0;
    }

    .area-container #table{
        background-color: #fae07d;
        width: 100%;
        border-radius: 20px;
        flex: 1;
        overflow: hidden;
        padding: 20px;
    }

    .area-container #tab button{
        padding: 10px 20px;
        border: none;
        border-top-left-radius: 10px;
        border-top-right-radius: 10px;
        background-color: transparent;
        cursor: pointer;
        border: #fae07d 1px solid;
        min-width: 140px;
        min-height: 80px;
        color: #fae07d;
        font-size: 16px;
        font-weight: bold;
    }
    
}

@media (max-width: 768px) {
    .area-container #tab button{
        padding: 10px 20px;
        border: none;
        border-top-left-radius: 10px;
        border-top-right-radius: 10px;
        background-color: transparent;
        cursor: pointer;
        border: #fae07d 1px solid;
        /* min-width: 140px;
        min-height: 80px; */
        color: #fae07d;
        font-size: 16px;
        font-weight: bold;
    }

    .area-container #tab {
        flex-wrap: wrap;
        justify-content: center; 
    }

    .area-container #tab button{
        padding: 10px;
    }

    .area-container #table {
        padding: 1px;        
        font-size: 14px;     
    }

    .area-container #table .tabcontent {
        /* overflow-x: auto;      */
        padding-bottom: 30px;
        max-width: 100%;
    }

    .area-container #table table tr td, .area-container #table table tr th{
        padding: 10px;
        border-color: #a00701;
        text-align: center;
        border-spacing: 0;
    }

    .area-container #table{
        background-color: #fae07d;
        width: 100%;
        border-radius: 20px;
        flex: 1;
        overflow: hidden;
        padding: 10px 0;
    }
    

    .area-container #table .tabcontent::-webkit-scrollbar {
        height: 8px;         
    }

    .area-container #table .tabcontent::-webkit-scrollbar-track-piece {
        background: #fae07d; 
    }

    .area-container #table .tabcontent::-webkit-scrollbar-thumb {
        background: #a00701; 
        border-radius: 10px;
    }
}

.area-container{
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 1000px;
    width: 100%;
    max-width: 1380px;
    margin: auto;
    padding: 20px 0;
}

.tabcontent{
    display: none;
}

.tabcontent.active{
    display: block;
}

.area-container #tab{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

/* .area-container #tab button{
    padding: 10px 20px;
    border: none;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    background-color: transparent;
    cursor: pointer;
    border: #fae07d 1px solid;
    min-width: 140px;
    min-height: 80px;
    color: #fae07d;
    font-size: 16px;
    font-weight: bold;
} */

.area-container #tab button:not(:last-child){
    margin-right: 6px;
}


.area-container #tab button.active{
    background: linear-gradient(to right, #d09521, #f6d76c, #d09521);
    color: #a00701;
        outline: none;
}


.area-container #table table{
    width: 100%;
    border-collapse: collapse;   
}

.area-container #table table th:first-child{
    border-top-left-radius: 10px;
}

.area-container #table table th:last-child{
    border-top-right-radius: 10px;
}

.area-container #table table th{
    background-color: #a00701;
    color: #fae07d;
    padding: 10px;
    text-align: left;
}

.area-container #table table tr td{
    color: #a00701;
    border-color: #a00701;
    border-style: solid;
    border-width: 1px;
}


.area-container #table .tabcontent{
    height: 100%;
    max-width: 80%;
    margin: auto;
    overflow-y: auto;
    padding-top: 20px;
    padding-bottom: 20px;
    padding-right: 20px;
    padding-left: 0;
    position: relative;
}

.area-container #table .tabcontent::-webkit-scrollbar-track-piece{
    background-color: #fae07d;
}

.tabcontent .fakeScroll__track{
    background: #fff;
}


.tabcontent .fakeScroll__bar{
    background: #a00701;
    width: 20px;
    left: 50%;
    right: 50%;
    border-radius: 10px;
    transform: translateX(-50%);
}
.tabcontent .fakeScroll__bar:hover, .tabcontent .fakeScroll__bar.fakeScroll--grabbed, .tabcontent .fakeScroll__bar.fakeScroll--dragged{
    background: #7e0100;
}