/* @import url('https://fonts.googleapis.com/css2?family=Maitree:wght@200;300;400;500;600;700&display=swap'); */

* {
    box-sizing: border-box;
    /* font-family: 'Maitree', serif; */
    font-family: 'Noto Sans Thai', sans-serif;
}
#particles-js { 
    position: fixed; 
    width: 100%; 
    background-image: url(""); 
    background-repeat: no-repeat; 
    background-size: cover; 
    background-position: 50% 50%; 
    z-index: 0;
}
html {
    scroll-behavior: smooth;
}

a:focus,
button:focus {
    outline-width: 0px;
}

a:hover,
button:hover {
    filter: brightness(120%);
}

button:disabled {
    filter: grayscale(80%);
}

.disable-click {
    pointer-events: none;
}

.negate-padding {
    padding-left: 0px;
    padding-right: 0px;
}

.game-mid-part-wrap {
    position: relative;
}

.game-main-plate {
    position: relative;
}
.landscape-wrap {
    margin-top: 70px;
}

/* Script Button */
.button-group {
    position: fixed;
    bottom: 0;
    z-index: 4;
}


/* Howto */

.howto-btn {
    position: absolute;
    top: 0;
    z-index: 3;
    right: -20px;
}

.howto-text {
    color: #ffffff;
    font-weight: 700;
}

.howto-modal {
    color: #ffffff;
    background-color: #0d0d0d;
}

.howto-modal-header {
    border-bottom: 2px solid #444444 !important;
}

.howto-modal-header h5 {
    font-weight: 700;
}
.howto-modal-header h1 {
    font-weight: 700;
}
.howto-modal-footer {
    border-top: 2px solid #444444 !important;
}

.howto-modal-body {
    font-size: 12px;
    padding-right: 30px;
}

.howto-modal-body li {
    margin-top: 5px;
    margin-bottom: 5px;
    line-height: 22px;
}

.rank-table {
    margin-top: 10px;
    text-align: center;
}

.table {
    border: 2px solid #484848;
}

.table> :not(:first-child) {
    border-top: 2px solid #484848;
}

thead tr {
    color: #fdd47f;
}

.text-gold {
    color: #fdd47f;
}


/*bg*/

.play-main-bg {
    background-image: url('https://cdn.exe.in.th/activities/audd/assets/halloween-matching-card/images/bg-lg.jpg');
    background-repeat: no-repeat;
    background-position: center top;
    background-color: #3a044a;
    background-size: cover;
}
/* Login Form */
.login-form {
    padding: 24px;
    background-color: #fff;
    border-radius: 10px;
    font-weight: bold;
    box-shadow: 3px 5px 0px #0000004f;
}
.login-form .form-floating>label {
    color: #101010;
}   
.login-container .game-title{
    margin-bottom: 20px !important;
    margin-top: 0px !important;
}
.audd-login-btn {
    height: 58px;
    background-color: #f608c1;
    color: #fff;
    font-weight: bold;
    border-radius: 30px;
}
.audd-login-btn:hover {
    color: #fff;
    background-color: #ff2fd2;
}
.login-modal {
    margin: 0 auto 20px auto !important;
    border-top: 0px !important;
}
/* Title */

.game-title {
    margin-top: 20px;
    margin-bottom: 40px;
}


/*dash-board*/
.user-bar-left {
    width: 100%;
}
.game-dash-board-frame {
    background-color: rgba(32, 5, 42, 0.8);
    padding-top: 0px;
    padding-bottom: 10px;
    border-radius: 50px;
    padding-left: 20px;
    padding-right: 20px;
    margin-bottom: 30px;
    border: 2px solid #ddacea;
     box-shadow: 0px 1px 5px 0px rgba(0, 0, 0, 0.4);
}

.user-title {
    font-size: 14px;
    font-weight: 700;
    padding-top: 6px;
    padding-right: 8px;
    color: #1f7344;
}

.user-name {
    background-color: #00665c;
    border-radius: 30px;
    padding-left: 20px;
    padding-right: 20px;
    font-size: 14px;
    font-weight: 600;
    padding-top: 5px;
    padding-bottom: 5px;
}
.score-group {
    margin-top: 10px;
    /* padding-bottom: 12px; */
}
/*userbox css*/

.play-user-box {
    color: #fdd47f;
    font-size: 14px;
    margin-top: 10px;
}

.play-dash-btn {
    width: 76px;
    height: 30px;
    border: 0px;
    margin-left: 10px;
    background-color: unset;
    background-repeat: no-repeat;
    background-position: center top;
}
/*card-zone*/

.card-slot {
    position: relative;
    margin: 5px;
    padding: 0;
    -webkit-perspective: 800px;
    -moz-perspective: 800px;
    -o-perspective: 800px;
    perspective: 800px;
    cursor: pointer;
}

.card-inner {
    position: relative;
    -webkit-transition: -webkit-transform 1s;
    -moz-transition: -moz-transform 1s;
    -o-transition: -o-transform 1s;
    transition: transform 1s;
    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    -o-transform-style: preserve-3d;
    transform-style: preserve-3d;
    -webkit-transform-origin: 50% 50%;
    transform-origin: 50% 50%;
}

.card-frame {
    opacity: 0;
    position: relative;
    z-index: 0;
}

.card-inner .card-face {
    top: 0;
    display: block;
    position: absolute;
    z-index: 1;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -o-backface-visibility: hidden;
    backface-visibility: hidden;
}

.card-face img {
    transition: 0.2s;
        box-shadow: 2px 4px 0px #00000029;
    border-radius: 8px;
}

.card-face img:hover {
    filter: brightness(125%);
    transform: scale(1.12);
    z-index: 5;
    position: relative;
}

.card-inner.flipped {
    -webkit-transform: rotateY( 180deg);
    -moz-transform: rotateY( 180deg);
    -o-transform: rotateY( 180deg);
    transform: rotateY( 180deg);
}

.card-inner .card-back {
    /*background: blue;*/
    -webkit-transform: rotateY( 180deg);
    -moz-transform: rotateY( 180deg);
    -o-transform: rotateY( 180deg);
    transform: rotateY( 180deg);
}

.side-left {
    margin-top: 20px;
    background-color: rgb(255, 255, 255);
    padding-left: 20px;
    padding-right: 10px;
    border-radius: 6px;
    border: 6px solid #fff;
    box-shadow: 0px 0px 14px rgb(0 0 0 / 47%);
}


.special-card {
    border-right: 2px solid #222220;
    padding-right: 20px;
    margin-right: 10px;

    position: relative;
    padding-bottom: 15px;
    padding-top: 15px;
}
.spcial-card-img {
    position: relative;
    width: 50px;
    height: 68px;
}

.spcial-card-img img {
    width: 50px;
    height: 68px;
}
/*score-part*/

.game-score-part-wrap {
    color: #fdd47f;
    font-size: 30px;
    font-weight: 700;
    width: 100%;
    text-align: center;
}
.score-title {
    font-size: 14px;
    font-weight: 700;
    padding-top: 6px;
    padding-right: 8px;
    color: #ffffff;
}

.score-slot,
.click-slot{
    background-color: #e6750e;
    border-radius: 30px;
    padding-left: 20px;
    padding-right: 20px;
    font-size: 14px;
    font-weight: 600;
    padding-top: 5px;
    padding-bottom: 5px;
    color: #ffffff;
}
.gem-display-slot img {
    margin-right: 10px;
}
.bonus-slot {
    padding-bottom: 0px;
    margin-right: 10px;
    padding-top: 17px;
}

.bonus-score {
    margin-top: 10px;
}

.bonus-score img {
    margin-left: auto;
}
/* Total score & Rank */
.p-fixed {
    position: fixed;
    top: 0;
    
    right: 20px;
}
.p-fixed-inner {
    padding-left: 5px;
    padding-right: 5px;
    padding-top: 10px;
    padding-bottom: 10px;
    margin-top: 0;
    background-color: rgb(253 212 127 / 48%);
    box-shadow: 2px 0px 7px 0px rgb(0 0 0 / 20%);
    
    border-radius: 0;
    border-bottom-right-radius: 6px;
    border-bottom-left-radius: 6px;
}
.your-rank,
.total-score {
    margin-left: 5px;
    margin-right: 5px;
}
.your-rank-slot,
.total-score-slot {
    background-color: #3d3d3d;
    border-radius: 3px;
    padding-left: 20px;
    padding-right: 20px;
}
.total-score-title,
.your-rank-title {
    color: #3d3d3d;
    /* font-size: 30px; */
    font-weight: 700;
    /* width: 100%; */
    text-align: center;
}
.total-score-slot,
.your-rank {
    color: #fdd47f;
    font-size: 30px;
    font-weight: 700;
    text-align: center;
}
.total-remark {
    font-size: 12px;color: #767676;
    margin-top: 5px;
}
/*footer*/


/*alert*/

.modal-score-wrap {
    position: relative;
    padding-left: 20px;
    padding-right: 20px;
}

.score-template {
    position: relative;
    margin: 0 auto;
    background-position: center top;
    width: 400px;
    padding: 20px 20px;
    z-index: 1062;
    color: #ffffff;
    background-color: #0d0d0d;
    border-radius: 6px;
}

.swal2-close {
    position: static !important;
    border-radius: 100px !important;
    border: 2px solid #c6c6c5 !important;
    margin-bottom: 12px;
}

.swal2-close:hover {
    transform: none;
    background: 0 0;
    color: #f27474;
    border-radius: 100px !important;
    border: 2px solid #f27474 !important;
}

.swal2-close:focus {
    outline: 0;
    box-shadow: inset 0 0 0 0px rgba(100, 150, 200, .5) !important;
}

.showScore-left {
    position: relative;
}

.showScore-right {
    position: relative;
}

.showScore-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
}

.showScore-body {
    border: 2px solid #444444 !important;
    padding: 20px;
    border-radius: 0px;
    width: 100%;
}

.swal2-popup {
    width: 100%!important;
    padding: 0px!important;
    background-color: rgba(0, 0, 0, 0)!important;
}

.swal2-content {
    padding: 0px!important;
}

.swal2-container.swal2-backdrop-show {
    background: rgba(0, 0, 0, 0.8)!important;
}

.swal2-container {
    padding: 0px!important;
}

.modal-score-text {
    font-size: 1em;
    color: #ffffff ;
    font-weight: 700;
}
.reward-box {
    background: #1a1a1a;
    border-radius: 6px;
    margin-top: 5px;
    width: 100%;
}
.item-image {
    border-right: 2px solid #101010;
    padding: 10px;
}
.item-name {
    width: 100%;
    align-self: center;
    font-size: 16px;
}
.item-name span {
    color: #f608c1 ;
    font-size: 12px;
}
.modal-score-slot,
.modal-total-score-slot {
    background-repeat: no-repeat;
    background-position: center top;
    text-align: center;
    color: #fff;
}

.modal-score-slot {
    width: 160px;
    height: 48px;
    font-size: 1.5em;
    line-height: 1.9em;
    background: #f608c1;
    color: #fff;
    border-radius: 6px;
    margin-top: 10px;
    margin-bottom: 20px;
}
.modal-total-score-slot span {
    font-size: 0.5em;
}

.modal-btn.modal-btn-share,
.modal-btn.modal-btn-home,
.modal-btn.modal-btn-close {
    width: 144px;
    height: 35px;
    display: block;
    border: 0px;
    background-color: unset;
    background-repeat: no-repeat;
    background-position: center top;
}

.modal-light-pos {
    position: absolute;
    top: -120px;
    left: 50%;
    margin-left: -300px;
    z-index: 1061;
}

.how-slide-width {
    width: 460px;
}

.owl-theme .owl-nav.disabled+.owl-dots {
    margin-top: 0px;
}

.owl-theme .owl-dots .owl-dot.active span,
.owl-theme .owl-dots .owl-dot:hover span {
    background: #ff6a00;
}

.owl-theme .owl-dots .owl-dot span {
    background: #ffc093;
}

.carousel-indicators {
    z-index: 1070;
    bottom: -32px;
}

.carousel-indicators li {
    background-color: #ff6a00;
}

.carousel-control-next,
.carousel-control-prev {
    color: #ff6a00!important;
    width: 5%;
}

.btn-start {
    background-image: url('https://cdn.exe.in.th/activities/audd/assets/halloween-matching-card/images/btn-start.png');
    background-repeat: no-repeat;
    background-position: center top;
    border-width: 0px;
    background-color: unset;
}


/*portrait css*/

.fullscreen {
    height: 100vh;
}

.phone-icon-warp {
    text-align: center;
    color: #fed53f;
    background-color: #262626;
    ;
}

.portrait-wrap {
    display: none;
    position: relative;
    z-index: 1080;
    height: 100vh;
    width: 100%;
}

.phone-icon {
    font-size: 6em;
    transform-origin: 50% 50%;
}


/* Media Query */

@media (max-width: 1400.98px) {
    .howto-btn {
        right: -90px;
    }
}

@media (max-width: 1199.98px) {}

@media (max-width: 991.98px) {
    .exe-profile {
        margin-bottom: 10px;
    }
    .game-title {
        margin-top: 30px;
        margin-bottom: 30px;
    }
    .side-left {
        margin-top: 20px;
        margin-bottom: 20px;
    }
    .game-dash-board-frame {
        margin-bottom: 20px;
    }
    .score-slot,
    .gem-display-slot,
    .combo-slot {
        /* height: 46px; */
        padding-top: 6px;
    }
    .game-score-part-wrap {
        font-size: 24px;
    }
    .gem-display-slot img {
        margin-right: 10px;
        width: 20px;
    }
    .card-slot {
        width: 18%;
    }
    .play-main-bg {
        background-size: inherit;
    }
    .howto-btn {
        right: -20px;
    }

    /* Total score & Rank */
    .p-fixed {
        position: static;
        
    }
    .p-fixed-inner {
        border-radius: 6px;
        margin-top: -10px;
        background-color: rgb(253 212 127 / 75%);
    }
    .your-rank, .total-score {
        margin-left: 5px;
        margin-right: 5px;
        width: 50%;
    }
    .total-remark {
        font-size: 12px;color: #767676;
        margin-top: -5px;
        font-size: 10px;
    }
}

@media (max-width: 767.98px) {
    /* Sweet Alert */
    .score-template {
        width: 100%;
        /* height: 320px; */
        padding: 20px 20px;
        z-index: 1062;
        color: #fdd47f;
    }
    .showScore-body {
        padding: 20px 10px;
    }
    .modal-score-slot {
        width: 100%;
    }
    .side-left {
        margin-top: 0px;
        margin-bottom: 10px;
    }
    .howto-btn {
        position: static;
        top: 0;
        z-index: 3;
        display: block;
        width: 220px;
        border-bottom: 2px solid #ffffff;
        font-size: 14px;
        margin-left: auto;
        margin-right: auto;
        border-radius: 0;
        margin-bottom: 20px;
    }
    /* footer {
        font-size: 12px;
    } */
    .score-slot,
    .gem-display-slot,
    .combo-slot,
    .click-slot {
        /* height: 46px; */
        padding-top: 9px;
        text-align: center;
    }
    .game-score-part-wrap {
        font-size: 18px;
    }
    .user-bar-left {
        position: relative;
    }
    .play-dash-btn {
        position: absolute;
        right: 0;
    }
    .user-bar-left {
        width: 100%;
    }
    .score-group {
        margin-top: 6px;
        padding-bottom: 12px;
    }
    .play-user-box {
        width: 100%;
        text-align: center;
    }
    .game-dash-board-frame {
        border-radius: 6px;
        padding-bottom: 0px;
    }
    .user-title {
        margin-bottom: 12px;
    }
    .dash-btn-box {
        width: 100%;
    }
    .user-name {
        padding-bottom: 5px;
    }
    .exe-profile {
        margin-bottom: 10px;
    }
    .logout-btn {
        /* width: 130px; */
        margin-top: 0px;
        height: 44px;
    }
    .id-name {
        width: 100%;
        height: 44px;
    }
    .side-left {
        margin-top: 0px;
        padding-left: 10px;
        margin-bottom: 10px;
        flex-wrap: wrap;
    }
    .special-card {
        border-right: 0px solid #222220;
        padding-right: 0px;
        margin-right: 0px;
        padding-bottom: 0;
        margin-left: auto;
        margin-right: auto;
    }
    .bonus-slot {
        padding-top: 2px;
    }
    .score-slot,
    .gem-display-slot,
    .combo-slot {
        height: 37px;
        padding-top: 9px;
    }
    .game-score-part-wrap {
        font-size: 14px;
    }
    .gem-display-slot img {
        margin-right: 10px;
        width: 14px;
    }
    .score-title {
        font-size: 14px !important;
        text-align: center;
        margin-top: 2px;
        margin-bottom: 6px;
    }
    .score-box {
        padding-top: 0px;
        width: 50%;
    }
    .card-slot {
        width: 28%;
    }
    .play-main-bg {
        background-size: cover;
    }
    .howto-modal-body {
        font-size: 12px;
        padding-right: 20px;
    }
    .howto-modal-body ol {
        padding-left: 20px;
    }
    .card-wrap {
        padding: 10px;
        /* background-color: #fff;
        border-radius: 6px;
        box-shadow: 0px 0px 14px #0000004d; */
    }

    /* Total $ Rank */
    .p-fixed-inner {
        flex-wrap: nowrap;
    }
    .total-score-slot, .your-rank {
        color: #fdd47f;
        font-size: 24px;
        font-weight: 700;
        text-align: center;
    }
}

@media (max-width: 575.98px) {
    .showScore-title {
        font-size: 18px;
    }
    .modal-score-text {
        font-size: 12px;
        color: #fdd47f;
        font-weight: 700;
    }
    .modal-score-slot {
        width: 100%;
        margin-bottom: 10px;
    }
    .showScore-right {
        margin-top: 8px;
    }
}

@media (max-width:360px) {}