body{
    background-color: rgb(0, 0, 0);
    color: white;
}
button{
    cursor: pointer;
}
/* tampilan pc */
@media(min-width:769px){   
    .card {
        display: inline-block;
        border-radius: 5px;
        align-items: center;
        width: 150px;
        position: relative;
        text-align: center;
        margin: 0px;
        padding: 0px;
        text-align: center;
        justify-content: center;
        border: 1px solid white;
    }
    .card img {
        text-align: center;
        align-items: center;
        width: 150px;
        height: 170px;
        border-radius: 10px;
    }
    .jogar-btn{
        max-width: 150px;
    }
    .jogar-btn button{
        width: 100%;
        border: 1px solid rgb(255, 255, 255);
        padding: 10px 0px;
        margin-bottom: 4px;
        color: white;
        background:linear-gradient(to right, red , purple) ;
        border-radius: 10px;
    }
    .loadingbar {
        max-width: 150px;
        margin-left: 5px;
        margin-right: 5px;
    }
    #percent-jdb-,#percent-g9-,
    #percent-jili-,#percent-evo-,
    #pragmatic-rtp,#percent-micro-,
    #percent-txt-,#percent-cq9- {
        color: rgb(0, 0, 0);
        font-weight: bold;
        position: absolute;
        top: 50%;
        left: 0;
        right: 0;
        margin: 0 auto;
        transform: translateY(-50%);
        font-weight: bold;
        font-size: 20px;
        font-family: monospace;
    }
    #progress-jdb-,#progress-cq9-,#progress-evo-,
    #progress-jili-,#progress-micro-,
    #pragmatic-progress-pp-,#progress-g9-,
    #progress-bar- {
        background: repeating-linear-gradient(45deg, transparent, transparent 5px, #e0e0e07c 10px);
        z-index: -2;
        background-color: red;
        content: '';
        height: 100%;
        transition: width 2s ease-in-out;
        border-radius: 2px;
        animation: loading 2s infinite linear;
        text-shadow: 0px 0px 5px black;
    }

    #progress-cq9-::after,#progress-g9-::after,
    #progress-jdb-::after,#progress-micro-::after,
    #progress-jili-::after,#progress-evo-::after,
    #pragmatic-progress-pp-::after,
    #progress-bar-::after {
        content: "";
        display: block;
        height: 100%;
        background-color: #4caf50;
        position: absolute;
        overflow: hidden;
        animation: loading 2s infinite linear;
    }

    .container-bar {
        position: relative;
        text-align: center;
        display: inline-flex;
        align-items: center;
        width: 100%;
        height: 30px;
        background-color: rgb(235, 235, 235);
        border-radius: 3px;
        z-index: 1;
        border: 1px solid black;
    }
    .logo{
        text-align: center;
        margin-top: 20px;
    }
    .logo img{
        width: 200px;
    }
    .allgame{
        display: flex;
        justify-content: center;
        align-items: centere;
    }
    .container-game{
        display: grid;
        grid-template-columns: repeat(5,1fr);
        align-items: center;
        justify-content: center;
        text-align: center;
        justify-items: center;
        gap: 10px;
    }

    .game-name{
        display: flex;
        align-items: center;
        text-align: center;
        justify-content: center;
    }
    .ngame{
        font-weight: bold;
        font-size: 25px;
        letter-spacing: 3px;
        margin-left: 10px;
        border: 2px solid red;
        padding: 5px 5px;
        border-radius: 5px;
    }
    .set{
        display: flex;
        gap: 10px;
        justify-content: center;
    }
    .btn-set{
        display: flex;
        width: 160px;
        justify-content: center;
        align-items: center;
        border: 2px solid rgb(255, 166, 0);
        font-weight: bold;
        border-radius: 10px;
    }
    #setnormal,#setauto,#setTurbo,#validtime{
        margin-left:3px;
        color: red;
    }
    .run{
        text-align: center;
        margin: 10px;

    }
    #comecar{
        border: none;
        width: 150px;
        padding: 10px 0px;
        background-color: rgb(77, 255, 0);
        font-weight: bold;
        border-radius: 10px;
        letter-spacing: 2px;
        font-size: 18px;
        color: white;
        cursor: pointer;
    }
    #comecar:disabled {
        background-color: rgb(45, 148, 1);
        color: black;
        cursor: not-allowed;
    }
    .platform{
        text-align: center;
    }
    iframe{
        width: 500px;
        height: 900px;
        text-align: center;
    }
    .icon{
        position: fixed;
        right: 0%;
        top: 90%;
    }
    .icon img{
        width: 60px;
    }
}
/* tampilan android */
@media(max-width:768px){
    .card {
        display: inline-block;
        border-radius: 5px;
        align-items: center;
        width: 90px;
        position: relative;
        text-align: center;
        margin: 0px;
        padding: 0px;
        text-align: center;
        justify-content: center;
        border: 1px solid white;
    }
    .card img {
        text-align: center;
        align-items: center;
        width: 90px;
        
        border-radius: 10px;
    }
    .jogar-btn{
        max-width: 90px;
    }
    .jogar-btn button{
        width: 100%;
        border: 1px solid rgb(255, 255, 255);
        padding: 10px 0px;
        margin-bottom: 4px;
        color: white;
        background:linear-gradient(to right, red , purple) ;
        border-radius: 10px;
    }
    .loadingbar {
        max-width: 90px;
        margin-left: 5px;
        margin-right: 5px;
    }
    #percent-jdb-,#percent-g9-,
    #percent-jili-,#percent-evo-,
    #pragmatic-rtp,#percent-micro-,
    #percent-txt-,#percent-cq9- {
        color: rgb(0, 0, 0);
        font-weight: bold;
        position: absolute;
        top: 50%;
        left: 0;
        right: 0;
        margin: 0 auto;
        transform: translateY(-50%);
        font-weight: bold;
        font-size: 20px;
        font-family: monospace;
    }
    #progress-jdb-,#progress-cq9-,#progress-evo-,
    #progress-jili-,#progress-micro-,
    #pragmatic-progress-pp-,#progress-g9-,
    #progress-bar- {
        background: repeating-linear-gradient(45deg, transparent, transparent 5px, #e0e0e07c 10px);
        z-index: -2;
        background-color: red;
        content: '';
        height: 100%;
        transition: width 2s ease-in-out;
        border-radius: 2px;
        animation: loading 2s infinite linear;
        text-shadow: 0px 0px 5px black;
    }

    #progress-cq9-::after,#progress-g9-::after,
    #progress-jdb-::after,#progress-micro-::after,
    #progress-jili-::after,#progress-evo-::after,
    #pragmatic-progress-pp-::after,
    #progress-bar-::after {
        content: "";
        display: block;
        height: 100%;
        background-color: #4caf50;
        position: absolute;
        overflow: hidden;
        animation: loading 2s infinite linear;
    }

    .container-bar {
        position: relative;
        text-align: center;
        display: inline-flex;
        align-items: center;
        width: 100%;
        height: 25px;
        background-color: rgb(235, 235, 235);
        border-radius: 3px;
        z-index: 1;
        border: 1px solid black;
    }
    .logo{
        text-align: center;
        margin-top: 20px;
    }
    .logo img{
        width: 200px;
    }
    .allgame{
        display: flex;
        justify-content: center;
        align-items: centere;
    }
    .container-game{
        display: grid;
        grid-template-columns: repeat(3,1fr);
        align-items: center;
        justify-content: center;
        text-align: center;
        justify-items: center;
        gap: 10px;
    }

    .game-name{
        display: flex;
        align-items: center;
        text-align: center;
        justify-content: center;
    }
    .ngame{
        font-weight: bold;
        font-size: 25px;
        letter-spacing: 3px;
        margin-left: 10px;
        border: 2px solid red;
        padding: 5px 5px;
        border-radius: 5px;
    }
    .set{
        display: grid;
        grid-template-columns: repeat(2,1fr);
        gap: 5px;   
    }
    .btn-set{
        display: flex;
        width: 100%;
        justify-content: center;
        align-items: center;
        border: 2px solid rgb(255, 166, 0);
        font-weight: bold;
        border-radius: 10px;
    }
    #setnormal,#setauto,#setTurbo,#validtime{
        margin-left:3px;
        color: red;
    }
    .run{
        text-align: center;
        margin: 10px;
    }
    #comecar{
        border: none;
        width: 150px;
        padding: 10px 0px;
        background-color: rgb(77, 255, 0);
        font-weight: bold;
        border-radius: 10px;
        letter-spacing: 2px;
        font-size: 18px;
        color: white;
        cursor: pointer;
    }
    #comecar:disabled {
        background-color: rgb(45, 148, 1);
        color: black;
        cursor: not-allowed;
    }
    .platform{
        text-align: center;
    }
    iframe{
        max-width: 100%;
        width: 100%;
        height: 700px;
        text-align: center;
    }
    .icon{
        position: fixed;
        right: 0%;
        top: 90%;
    }
    .icon img{
        width: 60px;
    }
}