@font-face {
    font-family: arial;
    src: url('../font/arial.ttf') format('ttf');
    font-style: normal;
}
@font-face {
    font-family: arnoprocaption;
    src: url('../font/arnoprocaption.otf') format('otf');
    font-style: normal;
}
@font-face {
    font-family: arialbd;
    src: url('../font/arialbd.ttf') format('ttf');
    font-style: normal;
}
@font-face {
    font-family: seguiemj;
    src: url('../font/seguiemj.ttf') format('ttf');
    font-style: normal;
}
@font-face {
    font-family: seguisb;
    src: url('../font/seguisb.ttf') format('ttf');
    font-style: normal;
}

:root {
    --app-height: 100%;
}

html{
    padding: 0;
    margin: 0;
    width: 100vw;
    height: 100vh;
    height: var(--app-height);
    background-color: #000000;
    background-image:  url("../images/common/blurBG.jpg");
    background-repeat: no-repeat;
    background-size: 100% 100%;
    /* Prevent text selection */
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari*/
    -khtml-user-select: none; /* Konqueror */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none; /* Non-prefixed version, currently supported by Chrome and Opera */
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

body{
    padding: 0;
    margin: 0;
    width: 100vw;
    height: 100vh;
    height: var(--app-height);
}

#game {
    overflow: hidden;
    width: 100vw;
    height: 100vh;
    height: var(--app-height);
}

#loader {
    display: none;
    font-family: arialbd;
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 1;
    margin: -75px 0 0 -75px;
    border: 16px solid #f3f3f3;
    border-radius: 50%;
    border-top: 16px solid #ff0000;
    width: 120px;
    height: 120px;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
}

@-webkit-keyframes spin {
    0% { -webkit-transform: rotate(0deg); }
    100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

#infoTable{
    width: 100%;
    height: 100%;
    position: absolute;
    bottom: 50.1%;
    right: 50.2%;
    font-size: 18px;
    transform: translate(50.2%, 50%);
    overflow: hidden;
    background-image: url("../images/common/brand/landscapeBG.jpg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.menu-bar{
    background-color: rgba(20 20 20 / 70%);
    font-size: 24px;
    font-weight: bolder;
    font-variant-caps: all-petite-caps;
    text-align: center;
    display: flex;
    place-content: space-evenly;
    position: relative;
    color: white;
    padding: 0.5%;
}

#payInfo, #gameInfo, #settingInfo{
    height: 60px;
    background-size: contain;
    /* width: 100px;*/
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
}

#payInfo{
    background-image: url("../images/common/paytable_normal.png");
}

#gameInfo{
    background-image: url("../images/common/game_rules_normal.png");
}
#settingInfo{
    background-image: url("../images/common/setting_normal.png");
}
.payInfo.active-menu #payInfo{
    background-image: url("../images/common/paytable_select.png") !important;
}

.gameInfo.active-menu #gameInfo{
    background-image: url("../images/common/game_rules_select.png") !important;
}
.settingInfo.active-menu #settingInfo{
    background-image: url("../images/common/setting_select.png") !important;
}
#infotable-pages{
    background-color: black;
    position: absolute;
    color: white;
    width: inherit;
    height: inherit;
}
:not(:root):fullscreen::backdrop {
    position: absolute!important;
}
:not(:root):fullscreen {
    position: absolute!important;
}
#close-infoTable{
    background-image: url("../images/common/close_btn.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    width: 33px;
    height: 33px;
    position: fixed;
    right: 4%;
    top: 30px;
    z-index: 4;
    cursor: pointer;
}

#payInfo-content,  #gameInfo-content, #settingInfo-content{
    padding: 2%;
    height: calc(100% - 150px);
    overflow-y: auto;
}
#gameInfo-content{
    height: calc(100% - 150px);
}

.active{
    display: block!important;
}
.activeld{
    display: block!important;
    background-image: url("../images/common/off.png")!important;
}
.tab-pane{
    display: none;
}

.divsion-1{
    display: flex;
    justify-content: space-around;
}
.divsion-2{
    display: flex;
    justify-content: center;
}
.item{
    font-variant-caps: all-petite-caps;
    text-align: center;
}

.division-switch .sound{
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 120px;
    height: 60px;
    margin: 12px 9px;
    background-image: url("../images/common/on.png");
    transition: all 0.8s ease;
    cursor: pointer;
}

.division-switch .music{
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 120px;
    height: 60px;
    margin: 12px 9px;
    background-image: url("../images/common/on.png");
    transition: all 0.8s ease;
    cursor: pointer;
}

.division-switch .vibration{
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 120px;
    height: 60px;
    margin: 12px 9px;
    background-image: url("../images/common/on.png");
    transition: all 0.8s ease;
    cursor: pointer;
}
.setting-content{
    margin-top: 10%;
    color: #F2C200;
}

.heading{
    font-size: larger;
}
.division-switch{
    display: flex;
    align-items: center;
}


.mainContent table, td, th {
    width: 60%;
    border: 1px solid transparent;
    text-align: center;
    color: white;
    border-collapse: separate;
    border-spacing: 0 0.5em;
    margin-left: auto;
    margin-right: auto;
}

.mainContent td{
    width: calc(100%/2);
    padding: 5px;
    background-color: #685300;
    border-right-color: #685300;
    border-left-color: #685300;
}
.mainContent .leftText{
    text-align: left;
}
.mainContent ul{
    width: inherit;
    font-weight: lighter;
    margin: 0 1%;
    padding-inline-start: 0px;
}


#gameInfo-content::-webkit-scrollbar {
    width: 1em;
}

#gameInfo-content::-webkit-scrollbar-track {
    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
}

#gameInfo-content::-webkit-scrollbar-thumb {
    background-color: #FFCC00;
    outline: 1px solid slategrey;
    border-radius: 10px;
}
#gameInfo-content .headings{
    color: #3A6A64;
    font-weight: bold;
}
#gameInfo-content ul{
    list-style: none;
    padding-inline-start: 0px;
    padding-left: 20px;
}

.card{
    display:flex;

}
.mainCard{
    margin-left: 40px;
}
.rightText{
    text-align: right;
}

/*media query for mobile*/

@media only screen and (orientation: portrait){
    #infoTable{
        background-image: url("../images/common/portraitBG.jpg");
    }
    html{
        background-image:  url("../images/common/blurBGP.jpg");
    }
}

@media only screen and (orientation: landscape){
    html{
        background-image:  url("../images/common/blurBG.jpg");
    }
}

@media only screen and (orientation: landscape) and (max-height: 550px){
    #payInfo-content, #gameInfo-content, #settingInfo-content {
        height: calc(100% - 100px);
    }
}

@media only screen and (max-width: 900px) {

    #payInfo, #gameInfo, #settingInfo {
        height: 30px;
    }

    .menu-bar{
        font-size: 0.7em;
    }
    #infoTable{
        font-size: 0.7em;
    }

    .gameInfoContent{
        overflow: hidden;
    }
    .card p{
        margin-block-start: 0;
        margin-block-end: 0;
    }
    .mainCard {
        margin-left: 0px;
    }
    .card {
        align-items: center;
    }
    .division-switch .music, .division-switch .sound, .division-switch .vibration{
        height: 40px;
        margin: 12px 0px;
        width: 100px;
    }
    #close-infoTable{
        width: 15px;
        height: 15px;
        top: 15px;
    }
}

@media only screen
and (device-width : 375px)
and (device-height : 812px)
and (orientation : portrait){
    #infoTable{
        font-size: 2em!important;
    }
}

@media only screen
and (device-width : 812px)
and (device-height : 375px)
and (orientation : landscape){
    #infoTable{
        font-size: 1em!important;
    }
}
