*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    user-select: none;
}

:root{
    --maincolor : #95d3ee;
    --maincolorrgb : rgb(149, 211, 238);
    --bgrtp : #971fff;
    --text : #6d23ad;
}

::-webkit-scrollbar{display: none;}

body{
    width: 100%;
    /* height: 100vh; */
    background-image: url("../img/bg.jpg");
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    font-family: Bai Jamjuree, sans-serif;
    font-size: 1rem;
    overflow: scroll;
    scroll-behavior: smooth;
    color: white;
    box-shadow: inset 0 0 0 1000px rgba(0,0,0,.7);
}

.container{
    margin: auto;
    width: 1200px;
    /* height: 100%; */
    padding: 10px;
    margin-bottom: 4rem;
}

header{
    width: 100%;
    height: 72px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: black;
    border-bottom: 6px solid var(--maincolor);
    box-shadow: 0px 4px 10px 1px var(--maincolor);
}

.logo{
    width: 100%;
    text-align: center;
}

.logo img{
    width: 200px;
}

.button-header {
    width: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 1px;
    line-height: 66px;
}

.button-header a {
    display: inline-block;
    position: relative;
    flex: 1 1 0px;
    width: 200px;
    text-align: center;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.8);
    /* border-bottom-left-radius: 100%; */
    /* border-bottom-right-radius: 100%; */
    /* border-top-left-radius: 100%; */
    /* border-top-right-radius: 100%; */
    font-size: 1.051rem;
}

.button-header a:hover{
    color: rgba(255, 255, 255, 1);
    text-decoration: underline var(--maincolor);
}

.button-header a:nth-child(1){
    color: black;
    text-decoration: none;
    background-color: var(--maincolor);
}

.banner{
    margin-top: 10px;
    border-bottom: 2px solid var(--maincolor);
}

.banner marquee{
    background-color: var(--bgrtp);
    padding: 10px;
    color: black;
}

.swiper {
    width: 100%;
}

.swiper-wrapper{
    height: 300px !important;
}

.swiper-slide {
    width: 100%;
    height: 100% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center;
    background-color: black;
}

.swiper-slide img{
    max-width: 600px;
}

.article {
    padding: 20px 0;
    width: 100%;
    line-height: 1.6;
}

.article h2{
    text-align: center;
}

.article p{
    text-align: justify;
}

main {
    width: 100%;
}

.button-provider{
    width: 100%;
    display: flex;
    justify-content: center;
    overflow: scroll;
    /* border: 1px solid var(--maincolor); */
    border-left: none;
    border-right: none;
    background-color: #000000;
}

.button-provider .btn{
    width: 100%;
    max-width: 140px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    cursor: pointer;
}

.button-provider .btn:hover span{
    transform: scale(1.2);
}

.button-provider .btn img{
    width: 50px;
}

.button-provider .btn span{
    text-transform: uppercase;
    margin-top: 10px;
    font-size: 0.8rem;
    color: var(--maincolor);
    font-weight: bold;
    letter-spacing: 1px;
    transition: 0.2s;
}

.wraper-rtp{
    width: 100%;
}

.ket-prov{
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--bgrtp);
    padding: 10px;
}

.provider{
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadein .1s linear;
}

@keyframes fadein {
    0%{
        margin-left: -50px;
    }100%{
        margin-left: 0px;
    }
}

.provider img{
    width: 50px;
}

.provider span{
    padding-left: 10px;
    font-size: 1rem;
    color: white;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

#search{
    width: 60%;
}

#search input[type=text]{
    text-align: center;
    width: 100%;
    padding: 10px 20px;
    background-color: #343023;
    border: 1px solid black;
    outline: none;
    transition: 0.3s;
    color: white;
}

#search input[type=text]::placeholder{
    color: var(--maincolor);
}

#search input[type=text]:focus{
    border: 1px solid var(--maincolor);
    box-shadow: inset rgba(0, 0, 0, 0.5) 6px 6px 12px 0px, inset rgba(58, 58, 58, 0.376) -6px -6px 12px 0px;
}

.display-rtp{
    display: flex;
    flex-wrap: wrap;
    min-height: 40vh;
}

.wrap-card{
    display: block;
    flex: 0 0 auto;
    padding: 0 2px;
    width: 33.333333%;
    margin-top: 12px;
}

.card{
    width: 24rem;
    background-color: var(--maincolorrgb);
    border: 1px solid black;
    border-radius: 10px;
    padding: 10px;
    position: relative;
    display: flex;
    flex-wrap: wrap;
}

.L-rtp , .R-rtp{
    width: 100%;
}

.L-rtp {
    width: 100%;
    justify-self: center;
    display: flex;
    flex-wrap: wrap;
    justify-items: center;
    align-items: center;
}

.display-img{
    width: 50%;
    background-color: var(--maincolor);
    box-shadow: inset 0px 0px 10px 1px #131313;
    padding: 0.5rem;
    border-radius: 5px;
    position: relative;
    overflow: hidden;
    cursor: pointer;

}

.L-rtp img{
    display: block;
    border-radius: 5px;
    width: 100%;
    max-height: 140px;
    /* max-height: 109.8px;  dihapus */
    opacity: 1;
    transition: 0.2s;
    filter: grayscale(0%);
    transform: scale(1);
}

.play-btn{
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 99;
    border: none;
    border-radius: 5px;
    padding: 0.3rem;
    width: 12rem;
    font-size: 0.7rem;
    font-weight: bold;
    text-transform: capitalize;
    max-width: 80%;
    border: 2px solid var(--maincolor);
    background-color: var(--maincolor);
    box-shadow: 0px 0px 5px 1px black;
    color: black;
    cursor: pointer;
    transition: .2s;
}

.display-img:hover img{
    filter: brightness(50%);;
    opacity: 0.5;
    transform: scale(1.1);
    transition: 0.3s;
    vertical-align: middle;
}

.display-img:hover .play-btn{
    display: block;
}

.play-btn:hover{
    box-shadow: 0px 0px 10px 1px black;
}

.infogame{
    width: 50%;
    height: 100%;
    display: grid;
    background-color: #131313;
    border-radius: 5px;
}

.namagame{
    padding: 5px;
    text-align: center;
    text-wrap: wrap;
    position: relative;
    font-weight: bold;
    overflow: hidden;
    text-overflow: hidden;
    max-height: 80px;
    min-height: 80px;
    color: white;
    font-size: 1rem;
}

.infogacor{
    height: 100%;
    text-transform: uppercase;
    font-size: .8rem;
    text-align: center;
    align-self: center;
    justify-self: center;
    color: white;
}

.infogacor span{
    color: white;
    font-weight: bold;
    padding: 4px 6px;
    letter-spacing: 1px;
    background-color: #343023;
}

.R-rtp {
    padding: 10px;
    margin-top: 5px;
    border-radius: 5px;
    width: 100%;
    height: 100%;
    background-color: black;
    display: flex;
    flex-direction: column;
}

.infoprovider{
    width: 100%;
    border-bottom: 1px solid var(--maincolor);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding-bottom: 5px;
}

.infoprovider img{
    width: 30px;
}

.infopola {
    width: 100%;
    min-height: 91px;
}

.infopola table{
    margin: auto;
    font-size: 0.8rem;
    margin-top: 5px;
    max-width: 100%;
    width: 9rem;
    display: table;
}

.infopola table tr td{
    padding: 5px;
}

.infopola table tr td:nth-child(1){
    text-align: left;
    width: max-content;
}

.infopola p{
    text-align: center;
}

.text-danger{
    color: #f75f6e !important;
}

.text-success{
    color: #44d792 !important;
}

.jamgacor{
    width: 100%;
    background-color: #343023;
    border-radius: 5px;
    color: white;
    padding: 10px;
    margin-top: 10px;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-align: center;
}

.jamgacor i{
    color:  #fdef02 !important;
}

.loadingbar{
    height: 22px;
    margin-top: 10px !important;
    display: flex;
    overflow: hidden;
    font-size: .75rem;
    background-color: #e9ecef;
    position: relative;
    z-index: 1;
    border-radius: 5px;
    width: 100%;
    margin: 0 auto;
}

.percent{
    z-index: 15;
    position: absolute;
    text-align: center;
    width: 100%;
    font-size: 13px;
    top: -11px;
    font-weight: bold;
    transform: translateY(14px);
    color: black;
}

/* .progresbar{
    background-image: linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
    background-size: 1rem 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    transition: width .6s ease;
    animation: progress-bar-stripes 1s linear infinite;
    z-index: 6;
}

@keyframes progress-bar-stripes {
    0%{
        background-position-x: 1rem;
    }
} */

.progresbar {
    background: linear-gradient(45deg, transparent 49%, #FFF 50%, #FFF 50%, transparent 51%, transparent), linear-gradient(-45deg, transparent 49%, #FFF 50%, #FFF 50%, transparent 51%, transparent);
    background-size: 1em 1em;
    animation: animatedbar 0.6s linear infinite;
    position: relative;
    
    overflow: hidden;
    z-index: 6;
}
  @keyframes animatedbar {
    0% {
        background-position: 0 0;
      }
      100% {
        background-position: 1em 0;
      }
}

.green{background-color: #28a745 !important;}
.t-green{color: #28a745 !important;}

.red{background-color: #dc3545 !important;}
.t-red{color: #dc3545 !important;}

.yellow{background-color: #ffc107 !important;}
.t-yellow{color: #ffc107 !important;}

.hot , .top{
    background-repeat: no-repeat;
    position: absolute;
    top: 0rem;
    width: 3rem;
    left: 0.4rem;
    height: 2.9rem;
    z-index: 2;
}

.hot{
    background-image: url("../img/hot.gif");
}

.top{
    background-image: url("../img/top.gif");
}

.bounce{
    animation: bouncein .5s linear;
}

@keyframes bouncein {
    0%{
        transform: scale(1.03);
    }50%{
        transform: scale(0.97);
    }100%{
        transform: scale(1);
    }
}

.rtp-article{
    margin-top: 10px;
    width: 100%;
    min-height: 100vh;
    background-color: white;
    color: black;
    padding: 20px;
    border: 4px solid var(--maincolor);
    border-radius: 5px;
    box-shadow: 0px 0px 10px 1px rgba(0, 0, 0, 0.5);
    line-height: 1.6;
}

.rtp-article h1{
    text-align: center;
    font-size: 1.5rem;
}

.rtp-article p{
    color: black;
    text-align: justify;
}

.rtp-article h2{
    text-align: left;
    font-size: 1.2rem;
}

.rtp-article h3{
    text-align: left;
    font-size: 1.35rem;
}

.rtp-article ul, .rtp-article ol{
    margin-left: 30px;
}

.rtp-article ol{
    list-style-type: square;
}

.rtp-article ul li , .rtp-article ol li{
    color: var(--text);
}

.rtp-article ul li span,.rtp-article ol li span{
    color: black;
}

.rtp-article a{
    text-decoration: none;
    color: #2d2dff;
    font-weight: bold;
}

.idn,.pg,.mg,.hb,.hb,.gmw,.nl,.tt{
    display: none;
}

.btn-goUp{
    position: fixed;
    right: 1rem;
    bottom: 4.5rem;
    z-index: 99;
    padding: 5px;
    cursor: pointer;
}

.btn-goUp i{
    font-size: 2rem !important;
    color: var(--maincolor);
}


/* ######### footer ######### */
.footer{
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: black;
    display: flex;
    justify-content: space-between;
    border-top: 2px solid var(--maincolor);
    z-index: 15;
}

.footer a{
    padding: 10px;
    width: 100%;
    display: block;
    text-align: center;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--maincolor);
    font-size: 0.8rem;
    transition: 0.3s;
}

.footer a:hover{
    background: radial-gradient(circle, rgb(0, 0, 0) 48%, rgb(210, 158, 255) 50%, rgba(0,0,0,1) 51%);
}

.footer img{
    width: 30px;
}


/* ################# MOBILE ################# */
/* ################# MOBILE ################# */

@media screen and (max-width: 1000px) {
    .container{
        width: 100%;
        padding: 10px;
        margin-bottom: 4rem;
    }
    header{height: unset;flex-direction: column;}
    .logo img{width: 240px;}
    .button-header {width: 100%;line-height: unset;}
    .button-header a {
        flex: 1 1 0px;
        width: max-content;
        padding: 10px;
        font-size: 0.8rem;
    }
    .swiper-wrapper{height: 350px !important;}
    .swiper-slide img{max-width: 100%;}
    .button-provider{justify-content: center;}
    .button-provider .btn{
        max-width: 120px;
        padding: 20px;
        transform: scale(0.8);
    }
    .button-provider .btn:hover span{transform: scale(1);}
    .button-provider .btn span{font-size: 0.7rem;}
    .ket-prov{
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        background-color: var(--bgrtp);
        padding: 10px;
    }
    .provider span{font-size: 0.7rem;}
    .display-rtp{
        display: flex;
        flex-wrap: wrap;
        min-height: 40vh;
    }
    .wrap-card{
        display: inline-block;
        flex: 0 0 auto;
        padding: 0 2px;
        width: 33.333333%;
        margin-top: 12px;
    }
    .card{
        width: 100%;
        background-color: var(--maincolorrgb);
        border: 1px solid black;
        border-radius: 10px;
        padding: 10px;
        position: relative;
        display: flex;
        flex-wrap: wrap;
    }
    .L-rtp {
        width: 100%;
        justify-self: center;
        display: flex;
        flex-wrap: wrap;
        justify-items: center;
        align-items: center;
    }
    .display-img{width: 100%;}
    .L-rtp img{
        width: 50%;
        margin: auto;
        max-height: unset;
    }
    .infogame{
        width: 100%;
        display: block;
        border-radius: 5px;
        padding: 10px 0;
    }
    .idn,.pg,.mg,.hb,.hb,.gmw,.nl,.tt{display: none;}
    .namagame{font-size: 0.8rem;}
    .infoprovider{font-size: 0.8rem;}
    .infopola {min-height: 140px;}
    .infopola p{font-size: 0.8rem;}
    .jamgacor{font-size: 0.65rem;}
    .footer a{font-size: 0.7rem;}
    .btn-goUp{background-color: black;}
    .footer img{width: 25px;}
}

@media screen and (max-width: 500px) {
    .swiper-wrapper{height: 300px !important;}
    .button-provider{justify-content: flex-start;}
    .wrap-card{width: 49.5%;}
    .infoprovider{font-size: 0.7rem;}
}

@media screen and (max-width: 420px) {
    .button-header {flex-direction: column;line-height: unset;}
    .button-header a {width: 100%;}
}

@media screen and (max-width: 375px) {
    .infopola table{font-size: 0.7rem;}
    .infopola {min-height: 91px;}
    .infogacor span{margin-top: 10px;}
}

@media screen and (max-width: 335px) {
    .btn-goUp{bottom: 5.5rem;}
}

@media screen and (max-width: 321px) {
    .wrap-card{width: 100%;}
}