@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700&display=swap');

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

@font-face {
    font-family: "exo";
    src: url("../fonts/Exo2-Regular.ttf");
}

@font-face {
    font-family: "svn";
    src: url("../fonts/SVN-Avo.ttf");
}

@font-face {
    font-family: "stac";
    src: url("../fonts/00171-UTM-Staccato.ttf");
}

@font-face {
    font-family: "exo-bold";
    src: url("../fonts/Exo2-SemiBold.ttf");
}

@font-face {
    font-family: "boardcast";
    src: url("../fonts/VLBROADCASTMATTER.OTF");
}

@keyframes wave {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

@import url('https://fonts.googleapis.com/css2?family=Exo+2:wght@300&display=swap');

@keyframes zoom {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.13);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes lenxuong {
    0% {
        transform: translateX(0px);
    }

    25% {
        transform: translateY(10px);
    }

    50% {
        transform: translateY(15px);
    }

    50% {
        transform: translateY(10px);
    }

    100% {
        transform: translateY(0px);
    }
}


@keyframes hihi {
    0% {
        -webkit-transform: scale3d(1, 1, 1);
        -ms-transform: scale3d(1, 1, 1);
        transform: scaleZ(1);
    }

    10%,
    20% {
        -webkit-transform: rotate3d(0, 0, 1, -30deg);
        -ms-transform: rotate3d(0, 0, 1, -30deg);
        transform: rotate3d(0, 0, 1, -30deg);
    }

    30%,
    50%,
    70%,
    90% {
        -webkit-transform: rotate3d(0, 0, 1, 20deg);
        -ms-transform: rotate3d(0, 0, 1, 20deg);
        transform: rotate3d(0, 0, 1, 20deg);
    }

    40%,
    60%,
    80% {
        -webkit-transform: rotate3d(0, 0, 1, -10deg);
        -ms-transform: rotate3d(0, 0, 1, -10deg);
        transform: rotate3d(0, 0, 1, -10deg);
    }

    100% {
        -webkit-transform: scale3d(1, 1, 1);
        -ms-transform: scale3d(1, 1, 1);
        transform: scaleZ(1);
    }
}

@keyframes tada {
    0% {
        transform: scaleZ(1);
    }

    10%,
    20% {
        transform: scale3d(.9, .9, .9) rotate3d(0, 0, 1, -3deg);
    }

    20%,
    50%,
    70%,
    90% {
        transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg);
    }

    40%,
    60%,
    80% {
        transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg);
    }

    100% {
        transform: scaleZ(1);
    }
}

@keyframes shake {
    0% {
        -webkit-transform: scale3d(1, 1, 1);
        transform: scaleZ(1);
    }

    10%,
    20% {
        -webkit-transform: scale3d(.9, .9, .9) rotate3d(0, 0, 1, -3deg);
        transform: scale3d(.9, .9, .9) rotate3d(0, 0, 1, -3deg);
    }

    30%,
    50%,
    70%,
    90% {
        -webkit-transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg);
        transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg);
    }

    40%,
    60%,
    80% {
        -webkit-transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg);
        transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg);
    }

    100% {
        -webkit-transform: scale3d(1, 1, 1);
        transform: scaleZ(1);
    }
}

@keyframes rotateAnimation {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes rotate-shake {
    0% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(-7deg);
    }

    50% {
        transform: rotate(7deg);
    }

    75% {
        transform: rotate(-4deg);
    }

    100% {
        transform: rotate(0deg);
    }
}

@keyframes flip {
    0% {
        transform: rotateX(0);
    }

    50% {
        transform: rotateX(90deg);
        opacity: 0.5;
    }

    100% {
        transform: rotateX(0);
        opacity: 1;
    }
}

/* HEADER START */
.header {
    z-index: 2;
    position: absolute;
    top: unset;
    left: 0;
    right: 0;
}

.header .header_desk {
    background-position: center;
    background-repeat: no-repeat;
    background: rgba(255, 255, 255, 0.30);
}

.header .header_desk ul {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

.header .header_desk ul li {
    list-style: none;
    padding: 20px 0px 15px 0px;
}

.header .header_desk ul li a {
    margin-top: -8px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    font-family: exo-bold;
    color: #000;
    font-size: 20px;
}

.header .header_desk ul li a:hover {
    text-decoration: none;
}

.header .header_desk ul li a svg {
    /* margin: 0px 10px; */
    margin-right: 10px;
    width: 1.5vw;
    color: #000;
}

.header .header_mobile {
    display: none;
}

@media(max-width:767px) {
    .header .header_mobile {
        display: block;
    }

    .header .header_desk {
        display: none;
    }

    .header .header_mobile .menu_set {
        background-color: #27282A;
        padding: 10px 0px;
    }

    .header_mobile .menu_set .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0 5px !important;
    }

    .header .header_mobile .container .link_download {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .header .header_mobile .container .link_download a img {
        width: 28vw;
        margin: 0 5px;
    }

    .header .header_mobile .container .link_download a img.android {
        width: 22vw;
        margin: 0 5px;
    }

    .header_mobile .container .logo {
        margin-left: 10px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .header .header_mobile .logo .img_logo img {
        width: 11vw;
        border-radius: 13px
    }

    .header .header_mobile .logo .name_game p {
        font-weight: 700;
        color: white;
        font-family: 'exo';
        font-size: 3.2vw;
        margin-left: 7px;
        margin-bottom: 0;
    }

    .header .header_mobile .btn_menu_mobile .item_menu {
        background-color: white;
        width: 35px;
        height: 5px;
        margin: 5px 0px;
        border-radius: 15px;
    }

    .header .header_mobile .btn_menu_mobile {
        margin-right: 10px;
    }

    .header .header_mobile .btn_menu_mobile.active {
        position: relative;
        top: 10px;
        width: 35px;
        height: 35px;
    }

    .header .header_mobile .btn_menu_mobile.active .top {
        position: absolute;
        transform: rotate(45deg);
        transition: 0.8s ease-in-out;
    }

    .header .header_mobile .btn_menu_mobile.active .center {
        display: none;
    }

    .header .header_mobile .btn_menu_mobile.active .bottom {
        position: absolute;
        transform: rotate(134deg);
        transition: 0.8s ease-in-out;
    }

    .header .header_mobile .menu_move {
        background-color: black;
        padding: 10px;
        width: 140px;
        height: 150px;
        position: fixed;
        right: 0;
        z-index: 999;
        opacity: 0;
        border: 1px solid white;
        transform: translateX(130px);
        transition: 0.8s ease-in-out;
        border-radius: 10px;
    }

    .header .header_mobile .menu_move.active {
        transform: translateX(0);
        opacity: 1;
        transition: 0.8s ease-in-out;
    }

    .header .header_mobile .menu_move ul li {
        list-style: none;
    }

    .header .header_mobile .menu_move ul li a {
        font-weight: 700;
        text-decoration: none;
        font-size: 14px;
        color: white;
    }

    .header .header_mobile .menu_move ul li a svg {
        margin: 0px 5px;
        width: 15px;
    }

    .header .header_mobile .menu_move hr {
        background-color: white;
        margin: 1vw 0px;
    }
}

/* HEADER END */

/* Footer start */


.footer {
    position: relative;
    text-align: center;
    background-color: #472F00;
    color: white;
    padding: 15px 0px;
}

.footer p,
.footer a {
    font-family: "exo";
    margin: 0;
    font-size: 0.8vw;
}

.footer a:hover {
    color: white;
    text-decoration: none;
}

.footer .container {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 0px;
    flex-wrap: wrap;
}

.footer .logo {
    width: 10vw;
}

.footer a {
    text-decoration: none;
    color: white;
}

.footer .warring_desk {
    width: 3.5vw;
}

.footer .warring_mobile {
    display: none;
}

@media (max-width:767px) {

    .footer p,
    .footer a {
        font-size: 2.3vw;
    }

    .footer .warring_mobile {
        display: block;
        margin-left: 10px;
    }

    .footer .logo {
        margin: 15px 0px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .footer .logo {
        width: 100%;
    }

    .footer .warring_desk {
        display: none;
    }
}

/* FOOTER END */


/* LOADING  */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #D21E21;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.5s ease;
}

.loading .spinner {
    position: relative;
    border: 8px solid rgba(0, 0, 0, 0.1);
    border-top: 8px solid #FFF;
    border-radius: 50%;
    width: 180px;
    height: 180px;
    animation: spin 1s linear infinite;
}

.loading .logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.loading.hide {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

#content {
    visibility: hidden;
}

/* LOADING END  */

/* GENERAL SETTINGS */
body.active {
    overflow: hidden !important;
}

.landing {
    background-image: url("https://cdn.gzone.tech/website/cp38/landing2025-07-02/publics/images/background-desk-v2.webp");
    background-position: top;
    background-size: 100%;
    background-repeat: no-repeat;
    position: relative;
}

@media (max-width:767px) {
    .landing {
        background-image: url("https://cdn.gzone.tech/website/cp38/landing2025-07-02/publics/images/background-mobi.webp");
        background-position: top;
        margin-top: -2vw;
    }
}

::-webkit-scrollbar {
    display: none;
}

video.desk {
    display: block;
}

video.mob {
    display: none;
}

@media (max-width:767px) {
    video.desk {
        display: none;
    }

    video.mob {
        display: block;
    }
}

img.desk {
    display: block;
}

img.mob {
    display: none;
}

@media (max-width:767px) {
    img.desk {
        display: none;
    }

    img.mob {
        display: block;
    }
}

.desk {
    display: block;
}

.mob {
    display: none;
}

@media (max-width:767px) {
    .desk {
        display: none;
    }

    .mob {
        display: block;
    }
}

.title {
    margin: auto;
}

/* END GENERAL SETTINGS */

/* TAB 1  */
.tab1 {
    position: relative;
}

.tab1 .logo {
    width: 5%;
    position: absolute;
    top: 0%;
    left: 17%;
    z-index: 2;
}

.tab1 .slogan {
    width: 60%;
    position: absolute;
    top: 65%;
    left: 0;
    right: 0;
    margin: 0 auto;
}

.tab1 .btn-play {
    width: 6%;
    position: absolute;
    top: 69%;
    left: 55%;
    animation: zoom 1s infinite linear;
}

.tab1 .warning-tab1 {
    width: 8%;
    position: fixed;
    top: 12%;
    left: 0;
    z-index: 99;
}

.tab1 .background-dang-ky-truoc {
    width: 18%;
    position: absolute;
    top: 55%;
    left: 6%;
}


.tab1 .btn-dang-ky-truoc {
    width: 12%;
    position: absolute;
    bottom: 7%;
    left: 9%;
    cursor: pointer;
    z-index: 2;
}

.tab1 .list-btn-tab1 {
    width: 29%;
    position: absolute;
    bottom: 12%;
    left: 0;
    right: 0;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tab1 .list-btn-tab1 .item-btn {
    width: 46%;
    cursor: pointer;
    transition: 0.35s ease-in-out;
}

.tab1 .list-btn-tab1 .item-btn:hover {
    transform: scale(1.1);
}

.tab1 .list-item-gift {
    width: 45%;
    position: absolute;
    bottom: 13%;
    left: 0;
    right: 0;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tab1 .list-item-gift .item-gift {
    width: 13%;
    position: relative;
}

.tab1 .list-item-gift .item-gift .detail {
    width: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
}

.tab1 .list-item-gift .item-gift .detail .gift {
    width: 40%;
    margin: 0 auto;
}

.tab1 .list-item-gift .item-gift .detail .day {
    font-size: 0.8vw;
    font-weight: bold;
    color: #ffffff;
    text-shadow:
        2px 0 #005cbf,
        -2px 0 #005cbf,
        0 2px #005cbf,
        0 -2px #005cbf,
        1px 1px #005cbf,
        -1px -1px #005cbf,
        1px -1px #005cbf,
        -1px 1px #005cbf;
    text-align: center;
}

/* .tab1 .list-item-gift .item-gift .day{
    width: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
} */

@media(max-width:1440px) {
    .tab1 .container-gift {
        top: 44%;
    }
}

@media(max-width:1280px) {
    .tab1 .container-gift {
        top: 43%;
    }
}

@media(max-width:767px) {
    .tab1 {
        overflow: hidden;
        margin-top: 0vw;
    }

    .tab1 .logo {
        width: 30%;
        top: 13%;
        left: 0;
        right: 0;
        margin: 0 auto;
    }

    .tab1 .slogan {
        width: 100%;
        position: absolute;
        top: 85%;
        left: 0;
        right: 0;
        margin: 0 auto;
    }

    .tab1 .btn-dang-ky-truoc {
        width: 40%;
        position: absolute;
        bottom: 12%;
        left: 28%;
        cursor: pointer;
    }

    .tab1 .btn-play {
        width: 16%;
        position: absolute;
        top: 81%;
        left: 69%;
    }

    .tab1 .warning-tab1 {
        width: 20%;
        position: absolute;
        top: 15%;
    }
}

/* TAB 1 END  */

.chia-trang {
    width: 100%;
    position: absolute;
    top: -4vw;
}

/* TAB 2  */
.tab2 {
    position: relative;
    margin-bottom: 3vw;
    padding-top: 5vw;
}

.tab2 .content-tab2 {
    width: 33%;
    margin-left: 19%;
    margin-top: 5vw;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.tab2 .content-tab2 .tab2-left {
    width: 37%;
}

.tab2 .content-tab2 .tab2-right {
    width: 65%;
}

.tab2 .content-tab2 .dem-nguoc {
    text-align: center;
    width: 100%;
}

.tab2 .content-tab2 .dem-nguoc p {
    color: #FFF;
    font-family: 'exo';
    font-size: 1vw;
    margin-bottom: 0;
}

.tab2 .content-tab2 .list-bo-cau-hoi {
    width: 45%;
    display: flex;
    flex-direction: column;
    margin: 0 auto;
}

.tab2 .content-tab2 .list-bo-cau-hoi .item-cau-hoi {
    cursor: pointer;
    transition: 0.35s ease-in-out;
}

.tab2 .content-tab2 .list-bo-cau-hoi .item-cau-hoi:hover {
    transform: scale(1.1);
}


.tab2 .content-tab2 .tab2-right .phep-tinh {
    font-family: 'boardcast';
    color: #FFF;
    font-size: 4vw;
    text-align: center;
}

.tab2 .content-tab2 .tab2-right .input-value {
    width: 80%;
    margin: 0 auto;
}

.tab2 .content-tab2 .tab2-right .input-value p {
    font-family: 'exo';
    color: #FFF;
    font-size: 1vw;
    text-align: center;
}

.tab2 .content-tab2 .tab2-right .input-value .item-input {
    position: relative;
}

.tab2 .content-tab2 .tab2-right .input-value .item-input input[type='text'] {
    width: 87%;
    height: 100%;
    position: absolute;
    top: 0%;
    left: 13%;
    background-color: transparent;
    outline: none;
    border: none;
    font-size: 1.6vw;
    text-align: center;
    font-family: 'exo';
}

.tab2 .content-tab2 .tab2-right .btn-gui-dap-an {
    width: 60%;
    margin: 2vw auto;
    transition: 0.35s ease-in-out;
    cursor: pointer;
}

.tab2 .content-tab2 .tab2-right .btn-gui-dap-an:hover {
    transform: scale(1.1);
}

.item-btn {
    cursor: pointer;
    transition: 0.35s ease-in-out;
}

.item-btn:hover {
    transform: scale(1.05);
}

.item-btn img.active {
    display: none;
}

.item-btn:hover img.default {
    display: none;
}

.item-btn:hover img.active {
    display: block;
}

.item-btn img.active {
    display: none;
}
.item-btn img.default {
    display: block;
}

/* Khi có class is-active, đổi ảnh */
.btn-hoc-sinh.is-active img.active,
.btn-giao-vien.is-active img.active {
    display: block;
}

.btn-hoc-sinh.is-active img.default,
.btn-giao-vien.is-active img.default {
    display: none;
}

.tab2 .content-tab2 .tab2-right .row-2 {
    width: 73%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin: 0 auto;
}

.tab2 .content-tab2 .tab2-right .row-3 {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 20px;
}

.tab2 .count-point {
    font-size: 1vw;
    font-family: 'exo';
    color: #FFF;
    text-align: center;
    margin: 0 auto;
    margin-top: 10px;
}

.tab2 .content-bxh {
    width: 27%;
    position: absolute;
    top: 30%;
    left: 53%;
}

.tab2 .content-bxh .top-bxh {
    position: absolute;
    top: 10%;
    width: 80%;
    left: 0;
    right: 0;
    margin: 0 auto;
}

.tab2 .content-bxh .top-bxh .top-1 {
    width: 42%;
    height: 15%;
    position: absolute;
    top: 73%;
    left: 0;
    right: 0;
    text-align: center;
    margin: 0 auto;
    font-size: 0.7vw;
    font-weight: bold;

    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tab2 .content-bxh .top-bxh .top-2 {
    width: 26%;
    hegiht: 15%;
    position: absolute;
    top: 74%;
    left: 2%;
    font-size: 0.7vw;
    font-weight: bold;
    text-align: center;

    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tab2 .content-bxh .top-bxh .top-3 {
    width: 26%;
    height: 15%;
    position: absolute;
    top: 74%;
    right: 2%;
    font-size: 0.7vw;
    font-weight: bold;
    text-align: center;

    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tab2 .content-bxh .list-top-10 {
    background-color: #B4C8CC;
    width: 93%;
    height: 28vh;
    border-radius: 5px;
    position: absolute;
    top: 42%;
    left: 0;
    right: 0;
    margin: 0 auto;
    overflow: scroll;
}

.leaderboard-table {
    width: 95%;
    margin: 0 auto;
    border-collapse: separate;
    border-spacing: 0 10px;
}

.header-row {
    background: none;
}

.header-cell {
    color: #7a8471;
    font-size: 18px;
    font-weight: 600;
    padding: 5px 10px;
    text-align: center;
    font-family: 'svn';
}

.header-cell:first-child {
    text-align: center;
    width: 80px;
}

.header-cell:last-child {
    text-align: right;
    width: 120px;
}

.student-row {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
}

.student-row:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.student-row.current-user {
    border: 2px dashed #4a90e2;
    background: rgba(255, 255, 255, 0.95);
}

.rank-cell {
    width: 80px;
    text-align: center;
    padding: 5px 10px;
    font-size: 1vw;
    font-weight: bold;
    color: #333;
}

.student-cell {
    padding: 5px 10px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 3px solid #ff69b4;
    object-fit: cover;
}


.student-name {
    font-size: 0.9vw;
    font-weight: 600;
    color: #4a90e2;
}

.score-cell {
    width: 120px;
    text-align: right;
    padding: 5px 10px;
    font-size: 0.9vw;
    font-weight: bold;
    color: #4a90e2;
}

.student-row td:first-child {
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
}

.student-row td:last-child {
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
}

.leaderboard-title {
    color: #778554;
    font-size: 1vw;
    font-weight: 600;
    text-align: center;
    margin: 10px 0;
}

.tab2 .content-bxh .my-rank {
    background-color: #B4C8CC;
    width: 93%;
    height: 13vh;
    border-radius: 5px;
    position: absolute;
    bottom: 2%;
    left: 0;
    right: 0;
    margin: 0 auto;
    overflow: scroll;
}

.flip-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.digit {
    width: 75px;
    height: 95px;
    background: white;
    color: #333;
    font-size: 60px;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    position: relative;
    box-shadow: inset 0 -2px 0 #aaa, inset 0 2px 0 #aaa;
}

.flip {
    animation: flip 0.6s ease-in-out;
}

.chia-trang-2 {
    width: 100%;
    margin-top: 7vw;
}

@media(max-width:767px) {
    
    .tab2 {
        overflow: hidden;
        padding-top: 20vw;
    }

    .tab2 .content-tab2 {
        width: 100%;
        margin-left: 0;
        margin-top: 5vw;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .tab2 .content-tab2 .tab2-left {
        width: 30%;
        margin-top: 35px;
    }

    .tab2 .content-tab2 .tab2-right {
        width: 70%;
        margin-top: 10px;
    }

    .tab2 .content-tab2 .dem-nguoc p {
        font-size: 4.5vw;
    }

    .digit {
        width: 40px;
        height: 50px;
        font-size: 40px;
    }

    .tab2 .content-tab2 .list-bo-cau-hoi {
        width: 55%;
        margin: 5px auto;
    }

    .tab2 .content-tab2 .tab2-right .phep-tinh {
        font-size: 15vw;
    }

    .tab2 .content-tab2 .tab2-right .input-value p {
        font-size: 4vw;
        margin-bottom: 0;
    }

    .tab2 .content-tab2 .tab2-right .btn-gui-dap-an {
        width: 55%;
        margin: 5vw auto;
    }

    .tab2 .count-point {
        margin-top: 20px;
        font-size: 4vw;
    }

    .tab2 .content-tab2 .tab2-right .input-value .item-input input[type='text'] {
        font-size: 4vw;
    }

    .tab2 .content-tab2 .tab2-right .row-3 {
        margin-top: 10px;
    }

    .tab2 .content-bxh {
        position: relative;
        width: 82%;
        left: 0;
        right: 0;
        margin: 0 auto;
        margin-top: 4vw;
    }


    .tab2 .content-bxh .top-bxh .top-2,

    .tab2 .content-bxh .top-bxh .top-3 {
        font-size: 2.5vw;
        top: 75%;
    }

    .tab2 .content-bxh .top-bxh .top-1 {
        font-size: 2.7vw;
    }

    .avatar {
        /* width: 30px;
        height: 30px;
        border-radius: 50%;
        border: 2px solid #ff69b4;
        object-fit: cover; */
        display: none;
    }
    .student-cell {
        width: 160px;
        gap: 5px;
        padding: 5px;
    }
    .rank-cell,
    .student-name,
    .score-cell {
        font-size: 3vw;
        padding: 0 5px;
    }

    .header-cell {
        font-size: 3vw;
        padding: 0 10px;
    }

    .leaderboard-title {
        font-size: 3vw;
        margin: 0;
        margin-top: 10px;
    }

    .tab2 .content-bxh .list-top-10 {
        height: 40vw;
    }
    .tab2 .content-bxh .my-rank {
        height: 21vw;
    }
}

/* TAB 2 END  */

/* TAB 3  */
.tab3{
    position: relative;
    margin-top: -4vw;
}
.tab3 .content-tab3{
    width: 60%;
    margin: 0 auto;
    position: relative;
}
.tab3 .content-tab3 .btn-hoc-sinh{
    width: 10%;
    position: absolute;
    top: 14%;
    left: 11%;
    z-index: 2;
}
.tab3 .content-tab3 .btn-giao-vien{
    width: 10%;
    position: absolute;
    top: 20%;
    left: 11%;
    z-index: 2;
}
.swiperTab3{
    width: 100%;
    height: 100%;
    position: absolute !important;
    top: 0;
    left: 0;
}
.swiperTab3 .avatar-slide{
    width: 41%;
    position: absolute;
    top: 8%;
    left: 13%;
    z-index: 1;
}

.swiperTab3 .name-slide {
    width: 22%;
    font-size: 1vw;
    font-weight: 700;
    position: absolute;
    top: 20%;
    left: 67%;
    text-align: center;
    font-family: 'svn';
}

.swiperTab3 .desc-slide {
    width: 33%;
    font-size: 0.85vw;
    position: absolute;
    top: 28%;
    left: 61%;
    text-align: center;
    font-family:'svn';
}

.swiperTab3 .type-slide {
    width: 24%;
    font-size: 1vw;
    position: absolute;
    top: 53.5%;
    left: 65%;
    text-align: center;
    font-family: 'svn';
    font-weight: 600;
}

.swiperTab3 .list-skill-slide {
    width: 30%;
    font-size: 1vw;
    position: absolute;
    top: 65.5%;
    left: 62%;
    text-align: center;
    font-family: 'svn';
    font-weight: 600;
}
.swiperTab3 .list-skill-slide .item-skill{
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom:10px;
}
.swiperTab3 .list-skill-slide .item-skill img{
    width: 28%;
}

.swiperTab3 .list-skill-slide .item-skill img.ky-nang{
    width: 15%;
    margin-right: 5%;
}
.swiperTab3 .list-skill-slide .item-skill .name{
    font-size: 0.9vw;
    font-family: 'svn';
    font-weight: 400;
}

.tab3 .swiper-pagination-bullet {
    background-size: cover;
    width: 5vw;
    height: 5vw;
    background-color: transparent;
    opacity: 1;
    border-radius: 0;
    margin: 5px 0 !important;
}

.swiper-pagination-3 {
    display: flex;
    flex-wrap: wrap;
    width: 49% !important;
    bottom: 10% !important;
    left: 10% !important;
}

.swiper-pagination-3 span {
    width: 60px;
    height: 60px;
    overflow: hidden;
    border-radius: 10px;
    display: inline-block;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.swiper-pagination-3 .avatar-pagination {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

@media(max-width:767px){
    .tab3{
        margin: 0;
        padding-top: 15vw;
    }
    .tab3 .content-tab3{
        width: 100%;
    }
    .tab3 .content-tab3 .btn-hoc-sinh {
        width: 20%;
        position: absolute;
        top: 7%;
        left: 6%;
        z-index: 2;
    }
    .tab3 .content-tab3 .btn-giao-vien {
        width: 20%;
        position: absolute;
        top: 10%;
        left: 12%;
        z-index: 2;
    }
    .swiperTab3 .avatar-slide {
        width: 80%;
        position: absolute;
        top: 4%;
        left: 10%;
        z-index: 1;
    }
    .swiperTab3 .name-slide {
        width: 60%;
        font-size: 4vw;
        top: 59%;
        left: 20%;
    }
    .swiperTab3 .desc-slide {
        width: 70%;
        font-size: 3vw;
        top: 62.5%;
        left: 12%;
    }
    .swiperTab3 .type-slide {
        width: 45%;
        font-size: 4vw;
        top: 76%;
        left: 27%;
    }
    .swiperTab3 .list-skill-slide {
        width: 55%;
        font-size: 1vw;
        top: 82.5%;
        left: 20%;
    }
    .swiperTab3 .list-skill-slide .item-skill .name {
        font-size: 3vw;
    }
    
    .swiper-pagination-3 {
        display: flex;
        flex-wrap: wrap;
        width: 85% !important;
        bottom: 55% !important;
        left: 10% !important;
    }
    .tab3 .swiper-pagination-bullet {
        width: 17vw;
        height: 17vw;
    }
}

/* TAB 3 END  */

/* TAB 4  */
.tab4{
    position: relative;
    margin-top: 4vw;
    margin-bottom: 1vw;
}

.tab4 .content-tab4{
    width: 53%;
    margin: 0 auto;
}

.tab4 .art-tab4-left{
    width: 20%;
    position: absolute;
    bottom: 0;
    left: 2%;
}

.tab4 .art-tab4-left-1{
    width: 8%;
    position: absolute;
    bottom: 0;
    left: 23%;
    z-index: 10;
}

.tab4 .art-tab4-right{
    width: 35%;
    position: absolute;
    bottom: 0;
    right: 3%;
}

.tab4 .swiper{
    position: absolute;
    top: 20%;
    left: 29.2%;
    width: 40.5%;
}

.tab4 .swiper-button-next:after,
.tab4 .swiper-button-prev:after {
    content: "";
}

.tab4 .content-tab4 .swiper-button-next,
.tab4 .content-tab4 .swiper-button-prev {
    width: 2vw;
}

.tab4 .content-tab4 .swiper-button-next {
    top: 45% !important;
    right: 28% !important;
    opacity: 1;
}

.tab4 .content-tab4 .swiper-button-prev {
    top: 45% !important;
    left: 27% !important;
    opacity: 1;
}

@media(max-width:767px){
    .tab4{
        margin-top: 30vw;
    }
    .tab4 .content-tab4 {
        width: 100%;
    }
    .tab4 .content-tab4 .art{
        width: 85%;
        margin: 0 auto;
        margin-top: -15vw;
    }
    .tab4 .swiper {
        position: absolute;
        top: 16%;
        left: 6.5%;
        width: 89.5%;
    }
    .tab4 .content-tab4 .swiper-button-next, .tab4 .content-tab4 .swiper-button-prev {
        width: 6vw;
    }
    .tab4 .content-tab4 .swiper-button-prev {
        top: 38% !important;
        left: 2% !important;
        opacity: 1;
    }
    .tab4 .content-tab4 .swiper-button-next {
        top: 38% !important;
        right: -1% !important;
        opacity: 1;
    }
}


/* TAB 4 END  */

/* NAV RIGHT  */
.nav-right {
    position: fixed;
    top: 25%;
    right: 0%;
    width: 13%;
    transition: 0.35s ease-in-out;
    z-index: 99999;
}

.nav-right .list-item {
    width: 65%;
    position: absolute;
    top: 34.5%;
    left: 0;
    right: 0;
    margin: 0 auto;
    text-align: center;
}

.nav-right .btn-nap{
    width: 38%;
    position: absolute;
    left: 0;
    right: 0;
    margin: 0 auto;
    bottom: 5%;
}

.nav-right .list-item a {
    display: block;
    color: #0457C3;
    font-size: 0.9vw;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 0.5vw;
}

.nav-right.active {
    transform: translateX(225px);
    transition: 0.35s ease-in-out;
}

.nav-right.active .btn-nav img {
    transition: 0.35s ease-in-out;
}

.nav-right .content-nav-right .list-item a:hover,
.nav-right .content-nav-right .btn-nap a:hover {
    filter: brightness(120%);
    transform: scale(1.02);
    transition: 0.35s ease-in-out;
}


.nav-right .content-nav-right .btn-nav {
    width: 15%;
    position: absolute;
    top: 20%;
    left: -5%;
    cursor: pointer;
}

/* NAV RIGHT END  */

/* POPUP  */
.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -9995;
    display: flex;
    align-items: center;
    opacity: 0;
    transition: 0.75s ease-in-out;
}

.popup .background-pop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -9996;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(3px);
}

.content-popup {
    display: flex;
    position: relative;
    align-items: center;
    justify-content: center;
    margin: auto;
    /* height: 90%; */
}


.item-popup {
    position: absolute;
    z-index: 9997;
    opacity: 0;
    transform: scale(0);
    transition: 0.45s ease-in-out;
}

.popup .item-popup .content {
    position: absolute;
    top: 20%;
    max-height: 70%;
    bottom: 10%;
    left: 5%;
    right: 5%;
    color: #353252;
    text-align: left;
    overflow: auto;
    font-size: 15px;
}


/* close  */
.popup .item-popup .img-close {
    position: absolute;
    top: 7%;
    right: 10.5%;
    cursor: pointer;
    width: 5%;
}

/* active  */
.popup .item-popup.active {
    opacity: 1.2;
    transform: scale(1.3);
    transition: 0.5s ease-in-out;
}

.popup .item-popup.cap-nhat.active {
    opacity: 1.2;
    transform: scale(1);
    transition: 0.5s ease-in-out;
}

.popup.active {
    z-index: 9995;
    opacity: 1.2;
    transition: 0.5s ease-in-out;
}

.popup.active .background {
    z-index: 9996;
}

/* thong-bao  */
.popup .item-popup .thongbao-popup {
    font-size: 1vw;
    margin: 1.5vw 0;
    text-align: center;
    width: 70%;
    position: absolute;
    top: 33%;
    left: 0;
    right: 0;
    margin: 0 auto;
    color: #FFF;
}

/* dang-ky  */
.popup .item-popup .dangky-popup .btn-dang-ky-truoc-pu {
    width: 25%;
    position: absolute;
    top: 45%;
    left: 35%;
    cursor: pointer;
    transition: 0.35s ease-in-out;
}

.popup .item-popup .dangky-popup .btn-dang-ky-truoc-pu:hover {
    transform: scale(1.1);
}

/* the le  */
.popup .item-popup .thele-popup {
    font-size: 1vw;
    width: 75%;
    position: absolute;
    top: 20%;
    left: 0;
    right: 0;
    margin: 0 auto;
    color: #FFF;
    max-height: 42%;
}


.thele-popup p {
    font-family: 'exo';
    text-align: left;
    font-size: 1vw;
    margin-bottom: 0.5rem;
}

.thele-popup p.bold {
    font-weight: bold;
}

.thele-popup p span {
    color: #FFF;
    font-weight: bold;
}

.thele-popup ul li {
    font-size: 1vw;
    font-family: 'exo';
}

/* nhan luot  */
.popup .item-popup .nhanluot-popup {
    font-size: 1vw;
    margin: 1.5vw 0;
    text-align: center;
    width: 70%;
    max-height: 40%;
    position: absolute;
    top: 22%;
    left: 0;
    right: 0;
    margin: 0 auto;
}

.popup .item-popup .nhanluot-popup .item-nhan-luot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1vw;
}

.popup .item-popup .nhanluot-popup .item-nhan-luot .cot-1,
.popup .item-popup .nhanluot-popup .item-nhan-luot .cot-2 {
    font-family: 'svn';
    font-size: 0.9vw;
    text-align: left;
    color: #FFF;
}

.popup .item-popup .nhanluot-popup .item-nhan-luot .cot-1 {
    font-weight: bold;
    width: 30%;
}

.popup .item-popup .nhanluot-popup .item-nhan-luot .cot-2 {
    width: 30%;
}

.popup .item-popup .nhanluot-popup .item-nhan-luot .cot-3 {
    width: 20%;
    cursor: pointer;
}

/* lich su  */
.popup .item-popup .lichsu-popup {
    position: absolute;
    top: 20%;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 70%;
    max-height: 40%;
    text-align: center;
}

.popup .item-popup .lichsu-popup .title-lichsu {
    background-color: transparent;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-transform: uppercase;
    color: black;
    font-weight: 700;
}

.popup .item-popup .lichsu-popup .title-lichsu .title-history {
    border-right: 2px solid white;
    width: 50%;
}

.popup .item-popup .lichsu-popup .title-lichsu .title-history button {
    padding: 5px 0;
    color: #FFF;
    border: none;
    background-color: transparent;
    width: 100%;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    text-decoration: none;
    outline: none;
    display: block;
    font-size: 0.7vw;
}

.popup .item-popup .lichsu-popup table {
    width: 100%;
    text-align: center !important;
}

.popup .item-popup .lichsu-popup table th.out-game {
    color: white;
    background-color: transparent;
}

.popup .item-popup .lichsu-popup table th {
    color: #FFF;
    font-family: 'exo';
    background-color: transparent;
    border-right: 1px solid #fff;
    border-bottom: 1px solid #fff;
    border-left: 1px solid #fff;
    border-top: 1px solid #fff;
    font-size: 0.9vw;
}

.popup .item-popup .lichsu-popup table td {
    border-bottom: 1px solid #fff;
    border-left: 1px solid #fff;
    border-right: 1px solid #fff;
    color: #FFF;
    background-color: transparent;
    padding: 5px 1.7vw !important;
    font-size: 0.8vw;
    font-family: 'exo';
}

/* doi-thuong  */
.popup .item-popup .doithuong-popup {
    position: absolute;
    top: 22%;
    left: 0;
    right: 0;
    margin: 15px auto;
    width: 65%;
    height: 70%;
    text-align: center;
    color: #FFF;
}

.popup .item-popup .doithuong-popup .item-doithuong{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}
.popup .item-popup .doithuong-popup .item-doithuong .name{
    font-size: 1vw;
}
.popup .item-popup .doithuong-popup .item-doithuong .item-btn{
    width: 22%;
}

/* nhap ma  */
.popup .item-popup .nhapma-popup {
    position: absolute;
    top: 22%;
    left: 0;
    right: 0;
    margin: 15px auto;
    width: 65%;
    height: 70%;
    text-align: center;
    color: #FFF;
}

.popup .item-popup .nhapma-popup p{
    font-size: 0.9vw; 
}

.popup .item-popup .nhapma-popup input[type='text'] {
    width: 55%;
    height: 35px;
    border-radius: 5px;
    border: none;
    outline: none;
    padding: 0 10px;
    font-size: 0.85vw;
    background-color: #D9D9D9;
}

.popup .item-popup .nhapma-popup .btn-nhap-ma{
    width: 25%;
    margin: 20px auto;
    cursor: pointer;
}

.popup .item-popup .xacnhan-popup {
    position: absolute;
    top: 25%;
    left: 0;
    right: 0;
    margin: 15px auto;
    width: 65%;
    height: 70%;
    text-align: center;
    color: #FFF;
}

.popup .item-popup .xacnhan-popup p {
    font-size: 0.9vw;
    margin-bottom: 40px;
}

.popup .item-popup .xacnhan-popup .list-btn{
    width: 70%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap:20px;
    margin: 0 auto;
}
.popup .item-popup .xacnhan-popup .list-btn .item-btn{
    width: 40%;
}

/* dang nhap  */
.popup .item-popup .dangnhap-popup {
    position: absolute;
    top: 25%;
    left: 0;
    right: 0;
    margin: 15px auto;
    width: 50%;
    height: 70%;
    text-align: center;
    color: #FFF;
}
.popup .item-popup .dangnhap-popup .content-input{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.popup .item-popup .dangnhap-popup .content-input .name{
    font-size: 1vw;
    font-weight: 100;
}

.popup .item-popup .dangnhap-popup .content-input input[type='text']{
    width: 55%;
    height: 35px;
    border-radius: 5px;
    border: none;
    outline: none;
    padding: 0 10px;
    font-size: 0.85vw;
    background-color: #D9D9D9;
}

.popup .item-popup .dangnhap-popup .btn-dang-nhap{
    width: 30%;
    cursor: pointer;
    margin: 0 auto;
}
@media(max-width:767px) {

    /* active  */
    .popup .item-popup.active {
        transform: scale(1.3);
    }

    .popup .item-popup .img-close {
        top: -2%;
        right: 1.5%;
        width: 6%;
    }
    /* dang-ky-truoc  */
    .popup .item-popup .dangky-popup .btn-dang-ky-truoc-pu {
        top: 65%;
    }

    /* thong-bao  */
    .popup .item-popup .thongbao-popup {
        font-size: 3vw;
        width: 70%;
        top: 33%;
        left: 0;
        right: 0;
        margin: 0 auto;
    }

    .popup .item-popup .thongbao2-popup {
        top: 55%;
    }

    .popup .item-popup .thongbao2-popup p {
        font-size: 3vw;
    }

    .popup .item-popup .thongbao-nhancode-popup {
        font-size: 3vw;
    }

    .popup .item-popup .thongbao-daily-popup {
        font-size: 2vw;
        margin: 1.5vw 0;
        width: 55%;
        position: absolute;
        top: 43%;
        left: 10%;
        color: #FFF;
    }

    /* the le  */
    .popup .item-popup .thele-popup {
        width: 85%;
        max-height: 70%;
    }
    .thele-popup p {
        font-family: 'exo';
        text-align: left;
        font-size: 2.7vw;
        margin-bottom: 0.3rem;
    }

    .thele-popup ul li {
        font-size: 2.5vw;
    }

    /* lich su  */
    .popup .item-popup .lichsu-popup {
        width: 90%;
	max-height: 65%;
    }

    .popup .item-popup .lichsu-popup table th {
        font-size: 2.3vw;
    }

    .popup .item-popup .lichsu-popup table td {
        font-size: 2vw;
    }

    .popup .item-popup .lichsu-popup .title-lichsu .title-history button {
        font-size: 2vw;
    }

    /* nhan luot  */
    .popup .item-popup .nhanluot-popup {
        top: 25%;
        width: 80%;
        max-height: 60%;
    }

    .popup .item-popup .nhanluot-popup .item-nhan-luot {
        margin-bottom: 1.9vw;
    }

    .popup .item-popup .nhanluot-popup .item-nhan-luot .cot-1,
    .popup .item-popup .nhanluot-popup .item-nhan-luot .cot-2 {
        font-size: 2vw;
    }

    .popup .item-popup .nhanluot-popup .item-nhan-luot .cot-1 svg {
        width: 7px;
    }

    .popup .item-popup .nhanluot-popup .line {
        margin: 1vw 0;
    }

    .popup .item-popup .nhanluot-popup .item-nhan-luot .cot-1 {
        font-weight: bold;
        width: 30%;
    }

    .popup .item-popup .nhanluot-popup .item-nhan-luot .cot-2 {
        width: 35%;
    }

    .popup .item-popup .nhanluot-popup .item-nhan-luot .cot-2 {
        width: 25%;
    }

    /* doi-thuong  */
    .popup .item-popup .doithuong-popup {
        top: 20%;
        width: 70%;
    }
    
    .popup .item-popup .doithuong-popup .item-doithuong .name{
        font-size: 3vw;
    }
    .popup .item-popup .doithuong-popup .item-doithuong .item-btn{
        width: 30%;
    }

    /* nhap ma  */
    .popup .item-popup .nhapma-popup {
        position: absolute;
        top: 22%;
        left: 0;
        right: 0;
        margin: 15px auto;
        width: 65%;
        height: 70%;
        text-align: center;
        color: #FFF;
    }
    
    .popup .item-popup .nhapma-popup p{
        font-size: 2.5vw; 
    }
    
    .popup .item-popup .nhapma-popup input[type='text'] {
        width: 100%;
        height: 25px;
        font-size: 3vw;
    }
    
    .popup .item-popup .nhapma-popup .btn-nhap-ma{
        width: 40%;
        margin: 10px auto;
    }

    /* xac nhan  */
    .popup .item-popup .xacnhan-popup {
        width: 70%;
    }
    .popup .item-popup .xacnhan-popup .list-btn {
        width: 80%;
    }
    .popup .item-popup .xacnhan-popup .list-btn .item-btn{
        width: 45%;
    }
    .popup .item-popup .xacnhan-popup p{
        font-size: 2.5vw; 
        margin-bottom: 20px;
    }

    /* dang nhap  */
    .popup .item-popup .dangnhap-popup {
        position: absolute;
        top: 25%;
        left: 0;
        right: 0;
        margin: 15px auto;
        width: 60%;
        height: 70%;
    }
    .popup .item-popup .dangnhap-popup .content-input{
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 10px;
    }
    
    .popup .item-popup .dangnhap-popup .content-input .name{
        font-size: 2.5vw;
    }
    
    .popup .item-popup .dangnhap-popup .content-input input[type='text']{
        width: 55%;
        height: 20px;
        font-size: 2.5vw;
    }
    
    .popup .item-popup .dangnhap-popup .btn-dang-nhap{
        width: 45%;
    }
    
}




//flipdown
.flip-timer-container {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 8px;
            font-family: 'Arial', sans-serif;
            padding: 10px;
        }

        .flip-card {
            position: relative;
            width: 80px;
            height: 100px;
            perspective: 1000px;
        }

        .flip-card-inner {
            position: relative;
            width: 100%;
            height: 100%;
            transition: transform 0.3s ease-in-out;
            transform-style: preserve-3d;
        }

        .flip-card.flipping .flip-card-inner {
            transform: rotateX(-180deg);
        }

        .flip-card-front,
        .flip-card-back {
            position: absolute;
            width: 100%;
            height: 100%;
            background: white;
            border-radius: 12px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 48px;
            font-weight: bold;
            color: #333;
            backface-visibility: hidden;
            overflow: hidden;
        }

        .flip-card-front::before,
        .flip-card-back::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 0;
            right: 0;
            height: 1px;
            background: #ddd;
            transform: translateY(-0.5px);
        }

        .flip-card-back {
            transform: rotateX(180deg);
        }
        @media(max-width:767px){
            .flip-card {
                width: 50px;
                height: 60px;
            }
            .flip-timer-container {
                padding: 5px;
            }
            .flip-card-front, .flip-card-back {
                font-size: 42px;
            }
        }