@import url('https://fonts.cdnfonts.com/css/trajan-pro');
@import url('https://fonts.cdnfonts.com/css/anek-latin');

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
}

.bg {
    background-image: url('../../assets/desktop/BG VIP.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: -1;
}

#carouselhadiah .carousel-inner {
    width: 50%;
    max-width: 500px;
    min-width: 300px;
}

body {
    background-image: url('../../assets/desktop/BG VIP.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    font-family: 'Anek Latin', sans-serif;
}

.ard-sosmed {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 15px;
    position: fixed;
    bottom: 45%;
    left: 1%;
    transform: translate(0, 50%);
    z-index: 1;
}

.ard-sosmed a {
    width: 60px;
    filter: drop-shadow(0px 0px 10px #ffdb6375);
}

.ard-sosmed a:hover {
    filter: drop-shadow(0px 0px 10px #ffdb63b7);
}

.mobile {
    display: none !important;
}

.ardframe {
    border: 5px #E8BC63 groove;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    margin: 15px auto;
    backdrop-filter: blur(5px) brightness(.5);
    -webkit-backdrop-filter: blur(5px) brightness(.5);
    color: whitesmoke;
    padding: 15px;
    transition: all .2s ease;
}

.checkpoin {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.search {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 15px;
    width: 95%;
}

.search div[role="button"] {
    max-width: 150px;
    min-width: 80px;
    width: 40%;
}

#user {
    background-color: rgba(0, 0, 0, 0.123);
    font-size: large;
    padding: 5px 7px;
    width: 60%;
}

.checkpoin1 {
    width: 70%;
    min-width: 300px;
    min-height: 300px;
    max-width: 1000px;
}

.content-text {
    padding: 10px;
}

.content-text li {
    list-style-type: decimal;
}

.ardframe.rsive {
    width: 90%;
    max-width: 1000px;
    margin-bottom: 50px;
}

.ardcontainer {
    width: 90%;
    max-width: 1000px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    overflow-x: hidden;
    margin: auto;
}

.ardframe.xxx {
    width: 0;
    height: 0;
    border: unset;
    margin: unset;
    padding: unset;
    opacity: 0;
}

.ardframe.xxx>* {
    display: none;
}

.ardframe.yyy {
    width: 100%;
    min-height: 500px;
    margin-bottom: 100px;
}

.ardframe.hadiah.yyy {
    min-height: unset;
}

*[role="button"] {
    cursor: pointer;
    user-select: none;
}

*[role="button"]:active {
    transform: translate(1px, 1px);
}

.menu-btn {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    gap: 25px;
    width: 50%;
    margin: auto;
}

.menu-btn>div {
    width: 200px;
}

img {
    width: 100%;
    user-select: none;
}

.logo {
    width: 30%;
    max-width: 135px;
    min-width: 70px;
    transition: all .3s ease-out;
}

.header img {
    filter: drop-shadow(0px 0px 10px #ffdb63);
}

.logo:hover {
    filter: drop-shadow(0 5px 15px rgba(255, 255, 255, 0.4));
}

.title-container {
    display: flex;
    flex-direction: column-reverse;
    gap: 50px;
    margin: 20px auto;
    justify-content: center;
    align-items: center;
}

.title {
    width: 30%;
}

.title.rsive {
    width: 20%;
    max-width: 260px;
    min-width: 175px;
}

.title.rsive.sizing1 {
    min-width: 320px;
}

.title.rsive.sizing2 {
    min-width: 380px;
}

.title img[alt="title-mobile"] {
    display: none;
}

.banner {
    width: 80%;
    max-width: 1400px;
}

.banner img[alt="banner-mobile"] {
    display: none;
}

.banner img[alt="title-mobile"] {
    display: none;
}

.header {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 30px;
    padding: 15px;
    margin-top: 5px;
}

.nav-bar-mobile {
    display: none;
}

.nav-bar-desktop {
    display: flex;
    justify-content: space-around;
    flex-wrap: nowrap;
    align-items: center;
    width: 50%;
    gap: 10px;
    padding: 7px 35px;
    border: 5px #E8BC63 groove;
    background-color: rgba(0, 0, 0, 0.836);
}

.nav-bar-desktop div {
    transition: filter .2s ease-out;
    text-align: center;
}

.nav-bar-desktop div span {
    font-family: 'Trajan Pro', sans-serif;
    color: #fff0c8;
    font-size: larger;
    font-weight: bold;
    text-align: center;
    -webkit-text-stroke: .5px #8f711f;
    filter: drop-shadow(0px 0px 10px #ffdb63);
}

.nav-bar-desktop div:hover {
    filter: drop-shadow(0 5px 15px rgba(255, 255, 255, 0.7));
    /* text-shadow: 0 0 10px rgba(255, 255, 255, 0.7); */
}

main.ardboard {
    width: 100%;
    font-family: 'Poppins', sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 5px;
}

#klasemen {
    display: flex;
    overflow-x: hidden;
    overflow-y: scroll;
    width: 80%;
    height: 64vh;
    scrollbar-width: none;
}

@media screen and (max-height: 780px) {
    #klasemen {
        height: 55vh;
    }
}

@media screen and (max-height: 625px) {
    #klasemen {
        height: 48vh;
    }
}

@media screen and (max-height: 550px) {
    #klasemen {
        height: 40vh;
    }
}

.card-body.p-1.p-lg-3.rankto,
.card-body.p-1.p-lg-3.rankdepo {
    width: 0;
    height: 0;
    min-width: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    opacity: 0;
    transition: all .3s ease;
}

.rankto>*,
.rankdepo>* {
    text-wrap: nowrap;
}

.card-body.p-1.p-lg-3.rankto.onn,
.card-body.p-1.p-lg-3.rankdepo.onn {
    width: 100%;
    height: 100%;
    min-width: unset !important;
    min-height: unset !important;
    padding: unset !important;
    margin: unset !important;
    opacity: 1;
    transition: all .3s ease;
}

.btn-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    position: relative;
    z-index: 1;
    bottom: 0;
    width: 50%;
    font-weight: bold;
    margin: 15px auto;
}

.btn-to,
.btn-depo {
    text-wrap: nowrap;
}

.table-ard {
    z-index: 99;
    width: 100%;
    text-align: center;
    height: auto;
    border-spacing: 2px;
    border-collapse: unset;
    color: white;
}

.table-ard thead tr>th {
    padding: 8px;
    color: white;
    border-radius: 10px;
    text-transform: uppercase;
    font-weight: 900;
}

.table-ard-tr {
    width: 100%;
}

.table-ard-rank {
    width: 17%;
    font-weight: 600;
}

.table-ard-username {
    width: 58%;
    padding: 11px 0;
    font-weight: 600;
}

.table-ard-point {
    width: 25%;
}

input.ardframe {
    margin: 15px;
}

.layer2 {
    position: fixed;
    z-index: 2;
    bottom: -100%;
    width: 100vw !important;
    height: 100vh !important;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    transition: all .2s ease-in;
    opacity: 0;
}

.layer2.activex {
    bottom: 0;
    opacity: 1;
    transition: all .2s ease-out;
}

html.activex2 {
    overflow-y: hidden;
}

.ardframe.reward {
    display: flex;
    flex-direction: column;
    position: fixed;
    transform: translate(50%, -50%);
    transition: all .2s ease-in;
    transition-delay: 50ms;
    width: 90%;
    max-width: 900px;
    right: 50%;
    top: 45%;
    z-index: 3;
    background-color: #000000;
    opacity: 1;
    overflow: hidden;
}

.ard-close {
    border-radius: 10px;
    padding: 8px;
    text-shadow: 0 0 3px #000000, 0 0 5px #000000;
    border-color: #d0a859;
    color: #fff;
    border: 3px #FF920C groove;
    text-align: center;
    font-size: x-large;
    font-weight: bold;
    font-family: 'Poppins', sans-serif;
    margin-top: 20px;
}

.carousel-item {
    transition-duration: .3s !important;
}

@media screen and (max-width: 600px) {

    body,
    .bg {
        background-image: url('../../assets/mobile/BG VIP.webp');
    }

    .ardframe {
        padding: 8px;
    }

    input.ardframe {
        margin: 15px auto;
    }

    .header {
        align-items: center;
        justify-content: center;
    }

    .nav-bar-desktop {
        display: none;
    }

    .ard-close {
        font-size: large;
    }

    .title-container {
        flex-direction: column;
        gap: 20px;
    }

    .title img[alt="title-desktop"] {
        display: none;
    }

    .title img[alt="title-mobile"] {
        display: unset;
    }

    .title {
        width: 75%;
    }

    .banner img[alt="banner-desktop"] {
        display: none;
    }

    .banner img[alt="banner-mobile"] {
        display: unset;
    }

    .banner {
        width: 90%;
    }

    #klasemen {
        width: 100%;
    }

    main.ardboard {
        padding: 0;
    }

    .ardboard span {
        font-size: x-large !important;
    }

    .menu-btn {
        width: 90%;
        gap: 15px;
    }

    .desktop {
        display: none !important;
    }

    .mobile {
        display: flex !important;
    }

    .nav-bar-mobile {
        display: block;
        position: absolute;
        right: 2%;
        top: 3%;
    }

    .nav-bar-mobile div[role="button"] {
        width: 70px;
    }

    .navbar-menu {
        display: flex;
        flex-direction: column;
        justify-content: space-evenly;
        position: fixed;
        transform: translate(50%, -50%);
        transition: all .2s ease-in;
        transition-delay: 50ms;
        width: 90% !important;
        right: 50%;
        top: 0;
        height: 0;
        z-index: 3;
        background-color: #0000008a;
        padding-left: 30px;
        opacity: 0;
        overflow: hidden;
    }

    .nav-bar-mobile:has(.layer.activex) .navbar-menu {
        height: 50%;
        width: 90% !important;
        top: 45%;
        opacity: 1;
        transition: all .4s ease-out;
    }

    .close-menu {
        margin-top: 20px;
        text-align: center;
    }

    .navbar-menu a i {
        width: 30px;
        text-align: center;
    }

    .navbar-menu a,
    .navbar-menu span {
        text-decoration: none;
        height: 10%;
        font-family: 'Trajan Pro', sans-serif;
        font-weight: bolder;
        font-size: x-large;
        color: #ffe48a;
        filter: drop-shadow(0px 0px 10px #ffdb63);
        text-wrap: nowrap;
    }

    .navbar-menu.closex {
        transform: translate(150%, 0);
    }

    .layer {
        position: fixed;
        z-index: 2;
        right: 0;
        top: 0;
        width: 0 !important;
        height: 100vh !important;
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
        transition: all .2s ease-in;
        opacity: 0;
    }

    .layer.activex {
        width: 100vw !important;
        height: 100vh !important;
        opacity: 1;
        transition: all .2s ease-out;
    }

    .title.rsive.sizing1,
    .title.rsive.sizing2 {
        min-width: 250px;
    }

    html.activex {
        overflow-y: hidden;
    }
}