@font-face {
    font-family: 'Bai';
    src: url('../font/BaiJamjuree-Regular.ttf');
}

@font-face {
    font-family: 'BaiBold';
    src: url('../font/BaiJamjuree-Bold.ttf');
}

@font-face {
    font-family: 'BaiSemiBoldItalic';
    src: url('../font/BaiJamjuree-SemiBoldItalic.ttf');
}

* {
    -webkit-overflow-scrolling: touch;
}

html {
    background-color: black;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    overflow: hidden;
    width: 100%;
    height: 100%;
}

img {
    pointer-events: none;
}

body {
    background-color: black;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    overflow: hidden;
    width: 100%;
    height: 100%;
}

#loading-screen {
    position: fixed;
    width: 100%;
    height: 100%;
    background: black;
    z-index: 1000;
    top: 0;
    left: 0;
    opacity: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

#root {
    background-color: black;
    position: relative;
}

#game {
    width: 100%;
    height: 100%;
    position: relative;
    background-size: contain;
}

#papp {
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
}

#controls {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    text-transform: uppercase;
}

.flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
    text-align: center;
}

#start-button {
    position: absolute;
    bottom: 0;
    right: 0;
    background-size: cover;
}

#start-button-svg {
    width: 100%;
    height: 100%;
}

#start-button-svg:hover {
    filter: brightness(1.1);
}

#start-button-svg:active {
    filter: saturate(0.9);
}

.bordered {
    background-color: rgba(0, 0, 0, 0.6);
    border: 2px solid rgba(255, 255, 255, 0.35);
    position: relative;
}

.font-major {
    opacity: 0.9;
    color: white;
    font-family: 'BaiBold';
}

.font-minor {
    font-family: 'BaiBold';
    opacity: 0.6;
    color: white;
}

#info-controls {
    display: grid;
    grid-template-rows: 1fr 25%;
    padding: 0.25%;
    /* display: flex; */
    /* background-color: rgba(0,0,0,0.8); */
    /* width: 35%; */
    justify-self: center;
    font-family: 'BaiSemiBoldItalic';
    text-transform: capitalize;
    text-align: center;
    color: rgb(220, 193, 173);
    background-size: cover;
    justify-items: stretch;
    align-items: center;
    background-size: 100% 100%;
}

#info-win {
    color: white;
    opacity: 0.9;
}

#info-control-svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 3px black);
}

#credit-controls {
    display: flex;
    justify-self: start;
    text-align: center;
}

/* #credit-controls .bordered {
    margin-right: 5%;
    padding: 1% 12%;
}

#credit-controls .bordered .amount-label {
    margin: 3% 0;
} */



/* #bet-wrapper {
    text-align: center;
} */

#start-button {
    font-family: 'BaiBold';
    cursor: pointer;
}

#options-bar {
    position: absolute;
}

#reel-border {
    position: absolute;
    width: 100%;
    height: 100;
    background-size: contain;
    background-repeat: no-repeat;
}

.aso-button {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid rgba(255, 255, 255, 0.5);
    background-color: rgba(0, 0, 0, 0.5);
}

.sfs-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid rgba(255, 255, 255, 0.5);
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 99999px;
    padding: 0.75em 1.25em;
    font-size: 18px;
}

.yellow-highlight,
#ap-adv-start,
.aso-button:hover {
    background: rgba(251, 226, 124, 1);
    background: -moz-linear-gradient(top, rgba(251, 226, 124, 1) 0%, rgba(243, 191, 41, 1) 100%);
    background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(251, 226, 124, 1)), color-stop(100%, rgba(243, 191, 41, 1)));
    background: -webkit-linear-gradient(top, rgba(251, 226, 124, 1) 0%, rgba(243, 191, 41, 1) 100%);
    background: -o-linear-gradient(top, rgba(251, 226, 124, 1) 0%, rgba(243, 191, 41, 1) 100%);
    background: -ms-linear-gradient(top, rgba(251, 226, 124, 1) 0%, rgba(243, 191, 41, 1) 100%);
    background: linear-gradient(to bottom, rgba(251, 226, 124, 1) 0%, rgba(243, 191, 41, 1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fbe27c', endColorstr='#f3bf29', GradientType=0);
    border-color: rgba(255, 255, 255, 0.5);
    color: black;
    -webkit-box-shadow: inset 0px 0px 4px 0px rgba(89, 64, 0, 1);
    -moz-box-shadow: inset 0px 0px 4px 0px rgba(89, 64, 0, 1);
    box-shadow: inset 0px 0px 4px 0px rgba(89, 64, 0, 1);
}

.ofiv-op {
    opacity: 0.5;
}

.osix-op {
    opacity: 0.6;
}

.ofiv-op:hover,
.ofiv-op:active,
.osix-op:hover,
.osix-op:active {
    opacity: 1;
}