﻿body {
    background: url("/images/bgRS.png") no-repeat top center;
    background-size: cover;
}

.table {
    text-align: center;
}

.row {
    align-items: center;
}

.container-fluid {
    /*position: fixed;
    top: 0;
    z-index:99999;*/

    transition: top 0.5s ease;
}

.fixed-header {
    background-color: #f7cc6cf5;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 99999;
    transition: all 0.5s ease;
}
.pagination-container {
    text-align: right;
    margin-top: 10px;
}

.pagination-link {
    display: inline-block;
    margin: 0 5px;
    padding: 5px 12px;
    border-radius: 30px;
    background: #112CAA;
    color: white;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
}

    .pagination-link:hover {
        background: #006699;
        color: white;
    }


.form-container-content
{
    /*padding: 10px;*/
    /*padding-top:55px;*/
}
.form-container-close{
    text-align: right;
    margin-top: -10px;
    margin-right: -10px;
    height: 10px;
}
.form-close{
    background: #ff000000;
    border: none;
    color: #d7c319;
    border-radius: 3px;
    font-weight: bold;
    padding: 3px 12px;
    z-index: 10000;
    width: 50px;
    font-size: 30px;
    position: relative;
    top: -2px;
    right: -9px;
    cursor:pointer;
}
.form-popup {
    display: none;
    z-index: 999999;
    position: fixed;
    width: 100vw;
    height: 100vh;
    background: #00000061;
    top: 0px;
    left: 0px;
    overflow: auto;
}
/* Add styles to the form container */
.form-container {
    margin: auto;
    /*width: 450px;*/
    /*margin-top: 7%;*/
    border-radius: 10px;
    background-color: white;
    padding: 10px;
}

    /* Full-width input fields */
    .form-container input[type=text], .form-container input[type=password] {
        width: 100%;
        padding: 7px 15px;
        margin: 5px 0 22px 0;
        border: none;
        background: #f1f1f1;
        font-weight:bold;
    }
        /* When the inputs get focus, do something */
        .form-container input[type=text]:focus, .form-container input[type=password]:focus {
            background-color: #ddd;
            outline: none;
        }
    /* Set a style for the submit/login button */
    .form-container .btn {
        background-color: #FFC107;
        color: #171717;
        padding: 7px 20px;
        border: none;
        cursor: pointer;
        width: 100%;
        margin-bottom: 10px;
        opacity: 0.8;
        font-weight: bold;
    }
    /* Add a red background color to the cancel button */
    .form-container .cancel {
        background-color: red;
    }
    /* Add some hover effects to buttons */
    .form-container .btn:hover, .open-button:hover {
        opacity: 1;
    }

#the-le {
    scroll-margin-top: 200px;
}

#danh-sach {
    scroll-margin-top: 150px;
}

.mt100 {
    margin-top: 10px;
}
.mt50{
    margin-top: 50px;
}

.logo img {
    width: 100%;
}

.menu a {
    margin-left: 20px;
    text-decoration: none;
    color: #000;
    font-weight: 500;
    text-align:center;
}

.image-box img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.btn-start {
    width: 100%;
}

.dvText {
    font-size: 28px;
    text-align: center;
    color: brown;
}

.dvLink {
    white-space: nowrap;
}

    .dvLink > a {
        background: linear-gradient(to right, #FFEB82, #fff8dc, #FFEB82);
        color: blue;
        margin-left: 10px;
        padding: 2px 20px 5px;
        border: 1px solid blue;
        border-radius: 10px;
    }

.dvXT > div {
    padding-right: 0;
}

#btnQS,
.dvDS {
    text-align: center;
    margin-top: 15px;
}

    .img-btnQS,
    .dvDS > img {
        cursor: pointer;
        max-width: 100%;
        height: auto;
    }

.img-btnKT {
    max-height: 70px;
}

.btnQuay {
    font-size: 25px;
    font-weight: bold;
    color: gold;
    padding: 10px 0;
}

.dvTL {
    background-color: antiquewhite;
    padding: 30px;
    border: 3px solid #9c6969de;
    border-radius: 30px;
}

    .dvTL > h2 {
        color: blue;
        font-weight: bold;
    }

    .dvTL .text {
        color: #000;
        text-align: left;
    }

/*.dvDS {
            background: linear-gradient(to right, blue, #0066cc, blue, #0066cc);
            border: 2px solid #005bb5;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        }*/

.dvDSText {
    background: linear-gradient(to right, gold, #fff8dc, gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: bold;
    font-size: 28px;
}

.dvTLText {
    margin-top: 30px;
    max-height: 50vh;
    overflow: auto;
}

    .dvTLText::-webkit-scrollbar {
        width: 8px;
    }

    .dvTLText::-webkit-scrollbar-track {
        background: #f3e5d0;
        border-radius: 10px;
    }

    .dvTLText::-webkit-scrollbar-thumb {
        background: brown;
        border-radius: 10px;
    }

        .dvTLText::-webkit-scrollbar-thumb:hover {
            background: #5a2d0c;
        }

.dvFT > p {
    margin-bottom: 0;
}

.dvFTsm > p {
    font-size: 0.75em;
    margin-bottom: 0;
}

.dvCT {
    background: linear-gradient(to right, #FDC954, #FADB80, #FFD04E); */
    /* height: 16vw; */
    margin-right: calc(var(--bs-gutter-x) * .1);
    margin-left: calc(var(--bs-gutter-x) * .1);
    border-radius: 10px;
    /* border: 0.3rem solid #D79828; */
    font-size: 25px;
    background-image: url(/images/bgBottom.png);
    background-size: 100% 100%;
    padding: 10px;
}
.dvCTlink {
    white-space:nowrap
}

.dvCTlink > div > img {
    width: 32px;
}
.gradient-text {
    background: linear-gradient(to right, #112CAA, #486BE9, #112CAA); /* xanh dương - trắng - xanh dương */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text; /* fallback cho các trình duyệt mới hơn */
    text-fill-color: transparent; /* fallback */
}

/* Desktop */
@media (min-width: 1131px) {
    .logo img {
        max-width: 100%;
    }

    .ifr {
        height: 513px;
    }
    .col-1130 {
                flex: 0 0 auto;
                width: 33.33333333%;
            }
}

/* Tablet */
@media (max-width: 1130px) {
    
    #mobileMenu {
        display: none;
        margin-top: 10px;
    }

    .menu a {
        display: block;
        margin: 10px 0;
        text-align:center;
    }
    .dvText {
        font-size: 24px;
    }

    .ifr {
        height: 430px;
    }

    .dvCT {
        font-size: 20px;
    }

    .dvCTlink > div > img {
        width: 22px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    #logoHD {
        height: 50px;
        width: auto !important;
    }


    .dvCT {
        font-size: 12px;
        align-items: start;
    }

    .dvCTlink {
        padding-top: 2%;
    }

        .dvCTlink > div > img {
            width: 16px;
        }

    .logo img {
    }

    .dvText {
        font-size: 20px;
    }

    .btnQuay {
        font-size: 20px;
    }

    .ifr {
        height: 313px;
    }
}

@media (max-width: 380px) {
    .dvCT {
        font-size: 7.5px;
    }

    .dvCTlink > div > img {
        width: 10px;
    }

    .dvCTsocial .col-4 {
        padding: 0 3%;
    }
}
