@font-face {
    font-family: "LINESeedSansTH";
    src: url("../font/LINESeedSansTH_Th.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "LINESeedSansTH";
    src: url("../font/LINESeedSansTH_Rg.ttf") format("truetype");
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: "LINESeedSansTH";
    src: url("../font/LINESeedSansTH_Bd.ttf") format("truetype");
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: "LINESeedSansTH";
    src: url("../font/LINESeedSansTH_XBd.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: "LINESeedSansTH";
    src: url("../font/LINESeedSansTH_He.ttf") format("truetype");
    font-weight: 800;
    font-style: normal;
}

@font-face {
    font-family: "DB_Helvethaica_X";
    src: url("../font/DB-Helvethaica-X-Med.woff") format("truetype");
    font-weight: 800;
    /* Bold */
    font-style: normal;
}

@font-face {
    font-family: "Teenage";
    src: url("../font/Teenage/PSL219pro.ttf") format("truetype");
    font-weight: 600;
    /* Bold */
    font-style: normal;
}

@font-face {
    font-family: "Teenage";
    src: url("../font/Teenage/PSL221pro.ttf") format("truetype");
    font-weight: bold;
    font-style: normal;
}

.font-LINESeedSansTH {
    font-family: "LINESeedSansTH", sans-serif;
}

.font-DB_Helvethaica_X {
    font-family: "DB_Helvethaica_X", sans-serif;
}

.font-Teenage {
    font-family: "Teenage", sans-serif;
}

.ci-primary {
    color: #001d5d;
}

.ci-primary-500 {
    color: #5193ff;
}

.ci-text {
    color: #003173;
}

.mainLayout {
    position: relative;
    width: 100%;
    max-width: 991px;
    min-height: 100dvh;
    margin: 0 auto;

    background: url("../images/mainBg.png");
    background-position: center;
    background-size: cover;
}

/* Banner  */
.bannerMainLayout {
    width: 100%;
    height: 150dvh;
    padding: 20px;
    padding-top: 70px;

    display: flex;
    flex-direction: column;
    align-items: center;

    background: url("../images/bannerBg.png");
    background-position: top;
    background-size: cover;
}

.bannerLogo {
    width: 100%;
    max-width: 600px;
}

.textBorder_light {
    text-shadow:
        -1px -1px 0 #fff,
        1px -1px 0 #fff,
        -1px 1px 0 #fff,
        1px 1px 0 #fff;
}


.contentMainLayout {
    position: relative;
    width: 100%;
    min-height: 100dvh;
    padding: 20px;

    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Content 01  */
.contentMainLayout.first {
    background: url("../images/sectionBg01.png");
    background-position: top;
    background-size: cover;

    padding: 0px;
    padding-top: 40px;
    padding-bottom: 20px;
}

.contentFirstObject {
    position: absolute;
    top: -200px;
    left: 0px;

    width: 100%;
    height: 100px;
}

.contentFirstObjectImg {
    width: 100%;
}

.contentBoardLayout {
    position: relative;

    width: 100%;
    height: 785px;
    padding: 250px 70px 120px;
    margin-bottom: 150px;

    background: url("../images/board.png");
    background-position: center;
    background-size: cover;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;

    font-family: "Teenage", sans-serif;
    font-size: 30px;
    line-height: 30px;
    font-weight: bold;
    text-shadow: 0px 0px 1px #000;
}

.contentFirstPoring {
    position: absolute;
    bottom: 0px;
    right: 0px;

    width: 200px;
}

.contentBoardSecondLayout {
    position: relative;
    width: calc(100% - 100px);
    min-height: 150px;
    padding: 20px;
    padding-top: 120px;
    border-radius: 10px;
    border: 3px solid #ffd9d5;
    box-shadow: 0px 0px 0px 6px #fff;

    background: #fff;

    display: flex;
    flex-direction: column;
    align-items: center;
}

.contentBoardSecondLayout.second {
    margin-top: 200px;
}

.contentTitleLayout {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);

    width: 750px;
}

.contentFirstImg {
    width: 100%;
    max-width: 700px;
    height: 350px;
    border-radius: 10px;
    overflow: hidden;
}

.contentSecondImg {
    width: 100%;
    max-width: 700px;
    height: 380px;
    border-radius: 10px;
    overflow: hidden;
}

.contentFirstTableMainLayout {
    width: 700px;
    min-height: 250px;
    border-radius: 30px 30px 0px 0px;

    display: flex;
    flex-direction: column;
    align-items: stretch;
    background: #5193ff;
}

.contentFirstTitle {
    width: 350px;
    height: 70px;
    padding: 20px;
    border-bottom: 1px solid #0061ff;

    display: flex;
    align-items: center;
    justify-content: center;

    font-family: "LINESeedSansTH";
    font-size: 25px;
    font-weight: 700;
    color: #fff;
}

.contentFirstTitle.left {
    border-right: 1px solid #0061ff;
}

.contentFirstDetail {
    width: 350px;
    height: 50px;
    padding: 5px 10px;

    background: #f0f6ff;
    border-bottom: 1px solid #c3dbff;

    display: flex;
    align-items: center;
    justify-content: center;

    font-family: "LINESeedSansTH";
    font-size: 16px;
    font-weight: 600;
    color: #003173;
}

.contentFirstDetail.left {
    border-right: 1px solid #c3dbff;
}

/* TAB  */
.tabMainLayout {
    width: 100%;
    height: 150px;
    padding: 10px 50px;
    margin-bottom: 100px;
    margin-top: 50px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;

}

.btn {
    width: 230px;
    height: 115px;
    padding: 10px;

    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;

    filter: drop-shadow(1px 3px 2px #ffc8c2);
}

.btn.quest {
    background: url("../images/btn_01.png");
    background-position: center;
    background-size: cover;

    border: 1px solid transparent;
    transition: all .5s;

}

.btn.quest:hover {
    background: url("../images/btn_01_active.png");
    background-position: center;
    background-size: cover;

    border: 1px solid transparent;
}


.btn.quest:active,
.btn.quest.active {
    background: url("../images/btn_01_active.png");
    background-position: center;
    background-size: cover;

    border: 1px solid transparent;
}

.btn.redeem {
    background: url("../images/btn_02.png");
    background-position: center;
    background-size: cover;

    border: 1px solid transparent;
    transition: all .5s;

}

.btn.redeem:hover {
    background: url("../images/btn_02_active.png");
    background-position: center;
    background-size: cover;

    border: 1px solid transparent;
}


.btn.redeem:active,
.btn.redeem.active {
    background: url("../images/btn_02_active.png");
    background-position: center;
    background-size: cover;

    border: 1px solid transparent;
}

.btn.sm {
    width: 100px;
    height: 40px;
}

.btn.back {
    position: fixed;
    z-index: 5;
    top: 70px;
    left: 10px;

    background: url("../images/btn_back.png");
    background-position: center;
    background-size: cover;

    border: 1px solid transparent;
    transition: all .5s;
}

.contentTopicLayout {
    width: 550px;
}

.tabTableMainLayout {
    width: 700px;
    min-height: 60px;
    border-radius: 20px;

    display: flex;
    flex-direction: column;
    align-items: stretch;

    background: #5193ff;
    overflow: hidden;
}

.tabTableContentLeft {
    width: 230px;
    min-width: 230px;
    min-height: 70px;
    padding: 20px 20px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;

    font-family: "LINESeedSansTH", sans-serif;
    font-size: 18px;
    line-height: 25px;
    font-weight: 600;
    color: #fff;
    border-bottom: 1px solid #0061ff;

}

.tabTableContentRight {
    width: 100%;
    min-height: 70px;
    background: #f0f6ff;
    padding: 20px 10px;


    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;

    font-family: "LINESeedSansTH", sans-serif;
    font-size: 15px;
    line-height: 20px;
    font-weight: 600;
    color: #003173;
    border-bottom: 1px solid #c3dbff;
}

.tabTableContentImg {
    width: 65px;
}

.tabTableContentImg2 {
    width: 180px;
}

.contentSpace {
    width: 500px;
    margin: 35px 0px;
}

.tabTableSecondMainLayout {
    width: 100%;
    min-height: 100px;
    border-radius: 20px;
    background: #f0f6ff;

    display: flex;
    flex-direction: column;
    align-items: stretch;
    overflow: hidden;
}

.tabTableSecondTitleLayout {
    width: 100%;
    min-height: 60px;
    background: #5193ff;
    border-bottom: 2px solid #0061ff;

    display: flex;
    align-items: center;

    font-family: "LINESeedSansTH";
    font-size: 20px;
    font-weight: 600;
    color: #fff;
}

.tabTableSecondTitleContentFirst {
    width: 150px;
    min-width: 150px;
    min-height: 60px;
    padding: 10px 10px;

    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.tabTableSecondTitleContentCenter {
    width: 100%;
    min-height: 60px;
    padding: 10px 10px;

    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;

    border-left: 2px solid #0061ff;
    border-right: 2px solid #0061ff;
}

.tabTableSecondContentLayout {
    width: 100%;
    height: 100%;
    border-bottom: 2px solid #c3dbff;

    display: flex;
    align-items: stretch;

    font-family: "LINESeedSansTH", sans-serif;
    font-size: 15px;
    line-height: 20px;
    font-weight: 600;
    color: #003173;
}

.tabTableSecondContentFirst {
    width: 150px;
    min-width: 150px;
    min-height: 80px;
    padding: 20px 10px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;

    font-weight: 700;

}

.tabTableSecondContentCenter {
    width: 100%;
    min-height: 80px;
    padding: 20px 10px;

    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    text-align: start;

    border-left: 2px solid #c3dbff;
    border-right: 2px solid #c3dbff;
}