@import url('https://fonts.googleapis.com/css?family=Fira+Sans');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-image: url(./Images/Background.jpg);
    width: 100vw;
    height: 100vh;
}

:root {
    --backgroundColor: rgba(24, 40, 83, 0.719);
    --textColor: rgb(221, 221, 221);
    --textColor2: rgb(49, 113, 197);
}

.hidden {
    display: none !important;
}

.blink {
    animation-name: blinkAnimation;
    animation-timing-function: ease-in-out;
    animation-duration: 2.5s;
    animation-direction: alternate;
    animation-iteration-count: infinite;

}

@keyframes blinkAnimation {
    0% {
        /* opacity: 1; */
        color: blue;
    }

    50% {
        /* opacity: 0.5; */
        color: rgb(0, 60, 255);
    }

    100% {
        /* opacity: 0.1; */
        color: rgb(0, 153, 255);
    }
}

.container {
    font-family: "Fira Sans", serif;
    text-shadow: 2px 2px 2px rgba(85, 85, 85, 0.66);

    background-color: var(--backgroundColor);
    color: var(--textColor);
    width: 100vw;
    height: 90vh;

    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    grid-gap: 5px;

    padding: 5px 0px;
}



.box {
    /* min-height:200px; */
    border-radius: 10px;
    background: linear-gradient(135deg, #222222d3 0%, #0f0f0fc0 80%);
    animation: backInDown;
    animation-duration: 2s;

}

.heading {
    margin: 8px 0px;
    border-bottom: 2px solid rgb(34, 71, 194);
    text-shadow: none;
    color: var(--textColor2);
}

.link{
    color:var(--textColor2);
}


.row {
    display: flex;
    justify-content: space-between;
    margin: 10px 0px;
}

.player-info-box {
    grid-area: 'player-info';
}

.game-box {
    grid-column: 2 / 5;
    grid-area: 'game-box';
}

.caller-box {
    grid-area: 'caller-box';
}

.chat-box {
    grid-area: 'chat-box';
}

.leaderboard-box {
    grid-area: 'leaderboard-box';
}

.ad-box {
    grid-area: 'ad-box';
}

.result-box {
    border: 2px solid rgb(41, 41, 41);
    border-bottom: none;
    border-radius: 10px;
    width: 100%;
    height: 50%;

    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
}

.game-info-box {
    /* border: 2px solid cyan; */
    width: 100%;
    height: 50%;

    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1;
    grid-gap: 20px;
}

.last-game,
.this-game,
.next-game {
    border: 2px solid rgb(41, 41, 41);
    border-radius: 10px;
    padding: 5px 5px;
}

.draw-container {
    width: 100%;
    height: 80%;
    overflow: hidden;

    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    border: 2px solid rgb(41, 41, 41);
}

.ball {
    width: 130px;
    height: 130px;

    display: flex;
    align-items: center;
    justify-content: center;

    background-color: var(--textColor);
    border-radius: 100px;
}

.ball-sm {
    width: 40px;
    height: 40px;
    margin: 0px 5px;

    display: flex;
    align-items: center;
    justify-content: center;

    background-color: rgb(19, 19, 19);
    border-radius: 20px;
}



.ball-image {
    width: 200;
    height: 200px;
}

.ball-image-sm {
    width: 80px;
    height: 80px;
}

.five-balls {
    display: flex;
    align-items: center;
    width: 80%;
    height: 100%;
    overflow: hidden;
}

.drawballs-container {
    width: 100%;
    height: 20%;
    display: flex;
    justify-content: center;

    border: 2px solid rgb(39, 39, 39);
    border-radius: 10px;
}

.board-box {
    grid-column: 2 / 4;
    overflow-y: scroll;
}

.board-box::-webkit-scrollbar {
    display: none;
}

.boards {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    /* border: 2px solid red; */
}

.drawballs-box{
    width:100%;
    height:100%;
    overflow: scroll;
}
.drawballs-box::-webkit-scrollbar{
    display: none;
}


.board-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 10px 5px;
    /* border: 2px solid red; */
}

.square {
    width: 35px;
    height: 35px;

    background-color: var(--backgroundColor);
    border-radius: 10px;
    position: relative;
}


.pattern {
    background-color: #131332f2;
    border-radius: 50px;
}

.marked {
    background-color: rgb(0, 0, 0);
}

.head {
    background-color: rgb(0, 81, 255);
}

.btn {
    color: var(--textColor);
    background-color: var(--textColor2);
    font-weight: bold;
    border: none;
    padding: 5px 10px;
    border-radius: 10px;
}


.leaderboard-box {
    overflow-y: scroll;
}

.leaderboard-box::-webkit-scrollbar {
    display: none;
}


.footer {
    width: 100vw;
    height: 10vh;
    display: grid;
    grid-template-columns: repeat(11, 1fr);
    grid-template-rows: 1;

    background-color: var(--backgroundColor);
    padding: 5px 0px;
}

.btn2 {
    background: linear-gradient(135deg, #222222d3 0%, #0f0f0fc0 80%);
    /* border: 2px solid var(--textColor2); */
    color: var(--textColor);
    font-weight: bold;
    border-radius: 10px;
}
.btn2:hover {
    background: linear-gradient(135deg, #747474d3 0%, #2e2e2ec0 80%);
}

.buy-card-btn {
    padding: 10px 5px;
}

.btn:disabled {
    background-color: rgb(118, 154, 201);
}

.btn:hover {
    background-color: rgb(19, 73, 143);
}

.popup-container{
    width:100vw;
    height:100vh;
    background-color: rgba(0, 0, 0, 0.671);
    position: absolute;
    top:0;
    left:0;
    
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.popup-box{
    background: linear-gradient(#052a54, #1f51ac);
    width: 550px;
    height:90%;
    padding: 40px;
    box-sizing: border-box;
    box-shadow: 0 15px 25px rgba(0, 0, 0, .6);
    border-radius: 10px;
    overflow: scroll;
    text-align: center;
    color: var(--textColor);
    /* --animate-duration: 0.75s; */

}
.popup-box::-webkit-scrollbar{
    display: none;
}