@font-face {
    font-family: 'AzoSansBold';
    src: url('fonts/AzoSans-Bold.ttf') format('ttf');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'AzoSansRegular';
    src: url('fonts/AzoSans-Regular.ttf') format('ttf');
    font-weight: normal;
    font-style: normal;
}

.loading-bar {
    width: 100%;
    height: 2px;
    background: rgba(255, 255, 0, 0.3);
    position: absolute;
    top: 67%;
    overflow: hidden;
}

.loading-bar::after {
    content: "";
    width: 0%;
    height: 100%;
    background: yellow;
    position: absolute;
    left: 0;
    top: 0;
    animation: loading 2s infinite linear;
}

.loading-bar.second {
    top: 67%; /* Second bar slightly below the first */
}

.loading-bar.second::after {
    animation-delay: 1s; /* Delayed start for a staggered effect */
}

@keyframes loading {
    0% { width: 0%; }
    100% { width: 100%; }
}
body {
    background-color: black;
    display: flex;
    justify-content: center;
    align-items: center;
    height: auto;
    position: relative;
    top: -2%;
    left: 1%;
}

.container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: absolute;
    left: 38%;
}
.card {
    width: 130px;
    padding: 0px;
    text-align: center;
    color: white;
    font-family: Arial, sans-serif;
    position: relative;
}

.game-img {
    width: 100%;
}

.labels {
    /* border: 1px solid green; */
    position: absolute;
    left: 45%;
    top: 35%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 8px;
    font-family: 'AzoSansRegular';
    width: 50%;
    height: 50%;
}

.winPay {
    font-family: 'AzoSansBold';
    text-align: center;
    font-weight: bold;
    font-size: 14px;
    color: rgba(20, 240, 20, 255);
    margin-top: -10%;
}


.rooms {
    display: flex;
    flex-direction: column;
    justify-content: center; /* Center vertically */
    align-items: center; /* Center horizontally */
    text-align: center;
    position: absolute;
    width: 50%;
    height: 100%;
    display: flex;
    flex-direction: column;
    font-size: 8px;
    font-family: 'AzoSansRegular';
    /* border: 1px solid yellow; */
}
.gameStatus {
    /* border: 1px solid blue; */
    display: flex;
    flex-direction: column;
    justify-content: center; /* Center vertically */
    align-items: center; /* Center horizontally */
    text-align: center;
    position: absolute;
    font-size: 15px;
    width: 50%;
    height: 50%;
    top: 0;
    left: 50%;
    font-family: 'AzoSansBold';
}

.bottom {
    /* border: 1px solid red; */
    width: -webkit-fill-available;
    position: absolute;
    height: 32%;
    top: 68%;
    left: 0%;
}
