/* ==== Font ===== */
@font-face {
    font-family: "PSLToranong";
    src: url("../font/PSLToranong/PSL305pro.otf") format("truetype");
    font-weight: 500;
    /* normal */
    font-style: normal;
}

@font-face {
    font-family: "PSLToranong";
    src: url("../font/PSLToranong/PSL309pro.otf") format("truetype");
    font-weight: 600;
    /* normal */
    font-style: normal;
}

@font-face {
    font-family: "PSLToranong";
    src: url("../font/PSLToranong/PSL307pro.otf") format("truetype");
    font-weight: 700;
    /* normal */
    font-style: normal;
}

@font-face {
    font-family: "PSLToranong";
    src: url("../font/PSLToranong/PSL311pro.otf") format("truetype");
    font-weight: 800;
    /* normal */
    font-style: normal;
}

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

.textPrimary {
    color: #f9cc46;
}


/* ==========
    Button
========== */
.btn {
    width: fit-content;
    min-width: 120px;
    min-height: 35px;
    padding: 3px 10px;
    border-radius: 50px;

    font-size: 20px;
    font-weight: 800;
    line-height: 20px;
    font-family: "PSLToranong", sans-serif;

    transition: all 0.5s ease;

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

.btn.xl {
    min-width: 160px;
    min-height: 40px;
    padding: 5px 10px;

    font-size: 23px;
    line-height: 25px;
}

.btn.primary {
    position: relative;
    overflow: hidden;
    isolation: isolate;

    background: #f2d289;
    border: 2px solid #daa847;
    box-shadow: 0px 3px 0px #082d8d;
    color: #452716;

    transition: all 0.2s ease;
}

/* ========= Scroll Bar ========== */
:root {
    --sb-size: 6px;
    --sb-track: #31241d;
    --sb-thumb: #cfae44;
    --sb-thumb-hover: #f2d97c;
}

html::-webkit-scrollbar,
.modal::-webkit-scrollbar,
.modal-content::-webkit-scrollbar,
.modal-dialog-scrollable .modal-body::-webkit-scrollbar {
    width: var(--sb-size);
    height: var(--sb-size);
}

html::-webkit-scrollbar-track,
.modal::-webkit-scrollbar-track,
.modal-content::-webkit-scrollbar-track {
    background: var(--sb-track);
}

html::-webkit-scrollbar-thumb,
.modal::-webkit-scrollbar-thumb,
.modal-content::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #e6c862, #cfae44);
    border-radius: 999px;
    border: 1px solid var(--sb-track);
}

html::-webkit-scrollbar-thumb:hover,
.modal::-webkit-scrollbar-thumb:hover,
.modal-content::-webkit-scrollbar-thumb:hover {
    background: var(--sb-thumb-hover);
}

html::-webkit-scrollbar-corner,
.modal::-webkit-scrollbar-corner {
    background: transparent;
}

@supports (-moz-appearance: none) {

    html,
    .modal,
    .modal-content {
        scrollbar-width: thin;
        scrollbar-color: var(--sb-thumb) var(--sb-track);
    }
}