﻿/* Set padding to keep content from hitting the edges */
.body-content {
    margin-top: 15px;
    padding-left: 15px;
    padding-right: 15px;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    /*max-width: 300px;*/
}
/* Loader overlay che toàn màn hình */
.loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.7);
    display: none; /* ẩn mặc định */
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* Hình xoay tròn */
.loader {
    border: 8px solid #f3f3f3;
    border-top: 8px solid #3498db;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes blinking {
    0% {
        opacity: 1;
    }
    /* Bắt đầu với trạng thái hiển thị đầy đủ */
    50% {
        opacity: 0;
    }
    /* Giữa hoạt ảnh, ẩn đi */
    100% {
        opacity: 1;
    }
    /* Kết thúc với trạng thái hiển thị đầy đủ */
}

@keyframes glowing {
    0% {
        /*background-color: #0091b2;*/
        box-shadow: 0 0 3px red;
    }

    50% {
        /*background-color: #21c7ed;*/
        box-shadow: 0 0 15px red;
    }

    100% {
        /*background-color: #0091b2;*/
        box-shadow: 0 0 3px red;
    }
}
/* 1. Pulse Animation */
.btn-pulse {
    color: white;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}


html, body {
    height: 100%;
    margin: 0;
}

body {
    font-family: Montserrat, sans-serif;
    background-image: url(/Image/PC_1920-x-970.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: bottom;
    position: relative;
}

.pc {
    display: block;
}

.mobile {
    display: none;
}

.home {
    height: 100%;
    background-image: url(/Image/PC_1920-x-970.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: bottom;
    position: relative;
}

.start {
    height: 100%;
    background-image: url(/Image/bg-start.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: bottom;
    position: relative;
}

.play {
    height: 100%;
    background-image: url(/Image/bg-play.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: bottom;
    position: relative;
}

.btn {
    width: 100%;
}

.box-button {
    display: flex;
    justify-content: end;
    align-items: end;
    height: 100%;
    padding-right: 17%;
    padding-bottom: 2%;
}

    .box-button a {
        display: block;
    }

        .box-button a img {
            width: 100%;
        }

    .box-button .btn {
        width: auto;
        margin: 0;
        padding: 0;
    }

.menu {
    position: absolute;
    bottom: 0;
    width: 100%;
    z-index: 10;
    font-size: 11px;
    overflow: hidden;
    display: none;
}

    .menu ul {
        display: flex;
        justify-content: center;
        list-style-type: none;
        margin: 0;
        padding: 0;
        /*background-color: rgba(255, 255, 255, 0.7);*/
        background-color: #28a745;
    }

        .menu ul li {
            display: flex;
            align-items: flex-end;
            padding: 5px 5px 10px 5px;
            background-color: rgba(255, 255, 255, 0.1);
            margin: 1px;
            border-radius: 5px;
            /*border-radius: 5px 5px 0 0;*/
        }

            .menu ul li a {
                color: black;
                text-decoration: none;
                color: #fff;
                font-weight: bold;
            }

.formS {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.box-game {
    display: flex;
    justify-content: center;
    align-items: center;
    align-content: center;
    height: 100%;
    min-width: 100%;
}

.box-gamex {
    /*background-color: rgba(255, 255, 255, 0.8);
    padding: 20px 10px;*/
    /*border-radius: 5px;*/
    /*box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);*/
    /*min-width: 360px;*/
}

#formStart {
    background-color: rgba(255, 255, 255, 0.8);
    border: 0px solid #fff;
    border-radius: 5px;
    padding: 50px 25px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
    height: 85%;
}

.box-ic {
    position: absolute;
    bottom: 30px;
}

    .box-ic img {
        width: 75%;
    }


#Captcha {
    width: 120px;
}

#btnRefreshCaptcha {
    width: 33px;
    border: none;
}

.box-title {
    position: absolute;
    right: 5%;
    top: 20%;
}

    .box-title .box-table {
        background-color: rgba(255, 255, 255, 0.5);
        width: 100%;
        margin: auto;
        width: 414px;
        border: 1px solid #fff;
        border-radius: 15px;
        padding: 20px 5px;
    }

.box-table table tr td p {
    font-size: 16px;
}

h4 {
    font-size: 18px;
    font-weight: bold;
}

table tr td {
    /*font-weight: bold;
    font-size: 16px;
    color: #0150c3;*/
}

table thead tr th {
    /*color: #fff;*/
    text-align: center;
}

table tr td:first-child {
}

.box-btn-db {
    width: fit-content;
    text-align: center;
    margin: auto;
    margin-top: -25px;
}

table p {
    margin: 0;
    font-weight: bold;
}

.policy {
    margin-right: 5px;
}

.help {
    margin-left: 5px;
}

.de {
    position: absolute;
    bottom: 0;
}

    .de img {
        width: 80%;
    }

.db-note {
    margin-top: 25px;
    font-size: 16px;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 5px;
    border-radius: 5px;
}

.btn-home {
    background-color: rgba(255, 255, 255, 0.5);
    padding: 10px;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
    border: 1px solid #fff;
    color: #fff;
    position: absolute;
    top: 10px;
    left: 10px;
    width: fit-content;
}

@media(max-width: 1680px) {
    .box-title {
        right: 0;
    }
}

@media (max-width: 1440px) {
    .box-title {
        right: 0;
        zoom: 0.8;
    }

    .mb-3 {
        margin-bottom: 3px !important;
    }

    .box-ic img {
        width: 65%;
    }
}

@media (max-width: 1366px) {
    .hc-luckywheel {
        zoom: 70%;
    }

    .box-button {
        padding-right: 10%;
    }

    .box-title {
    }

    .box-ic img {
        width: 65%;
    }
}

@media (max-width: 1280px) {
    .box-title {
    }
}

@media (max-width: 1024px) {
    .box-title {
        zoom: 0.6;
    }

    #formStart {
        padding: 10px 10px;
    }

    .mb-3 {
        margin-bottom: 3px !important;
    }

    .box-ic {
        bottom: 50px;
    }

        .box-ic img {
            width: 45%;
        }
}

@media(max-width: 960px) {
    .hc-luckywheel {
        zoom: 60%;
    }
}

@media(max-width: 500px) {
    body {
    }

    h4 {
        font-size: 16px;
    }

    .pc {
        display: none;
    }

    .mobile {
        display: block;
    }

    .hc-luckywheel {
        zoom: 55%;
    }

    .menu {
        display: block;
    }

    .box-button {
        justify-content: center;
        padding-right: 0;
        padding-bottom: 5%;
    }

        .box-button a {
            /*display: none;*/
            width: 40% !important;
        }

    .home {
        background-image: url(/Image/bg-mb-1242.png);
    }

    .start {
        background-image: url(/Image/bg-start-mb.png);
        background-position: top;
        background-position-y: -30px;
    }

    .play {
        background-image: url(/Image/bg-play-mb-1242.png);
    }

    .formS {
        padding-bottom: 5%;
        align-items: end;
    }

    #formStart {
        height: auto;
        justify-content: end;
        padding: 10px 15px;
        padding-bottom: 0;
    }

    .mb-3 {
        margin-bottom: 0.3rem !important;
    }

    .box-title {
        position: unset;
    }

        .box-title img {
            width: 100%;
        }

    .box-table {
        /*display: none;*/
    }

    .box-btn-db {
        /*display: none;*/
    }

    .box-game {
        height: auto;
    }

    .btn {
        opacity: 1 !important;
    }

    table tr td {
        padding: 0.1rem 0.1rem !important;
    }

    .box-title-db {
        scale: none;
        width: 80%;
        margin: auto;
    }
    /*.btn{
        font-size: 11px;
        padding: 2px 2px;
    }
    .form-control{
        font-size: 11px;
        padding: 2px 8px;
    }*/
    /*.box-ic img{
        width:55%;
    }*/
    .box-ic {
        bottom: 20px;
    }

        .box-ic img {
            width: 55%;
        }
    .db-note {
        font-size: 14px;
    }
}

@media (max-height: 844px) and (max-width: 500px) {
    .box-title img {
        width: 80%;
    }
}

@media(max-width: 395px) {
    .hc-luckywheel {
        zoom: 50%;
    }

    .menu {
        font-size: 10px;
    }
}

@media(max-width: 360px) {

    @media (max-height: 880px) {
        .hc-luckywheel {
            zoom: 55%;
        }
    }

    @media (max-height: 780px) {
        .hc-luckywheel {
            zoom: 48%;
        }
    }
}
