@font-face {
    font-family: "SVN-Avo";
    src: url("../fonts/SVN-Avo.ttf");
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes lightSweep {
    0% {
        -webkit-mask-position: 150% 0;
        mask-position: 150% 0;
    }

    100% {
        -webkit-mask-position: 0 0;
        mask-position: 0 0;
    }
}

@keyframes upDown {

    0%,
    100% {
        transform: translateY(4%);
    }

    50% {
        transform: translateY(-10%);
    }
}

@keyframes bounceText {

    0% {
        transform: translate(-50%, -50%);
    }

    30% {
        transform: translate(-50%, -70%);
    }

    60% {
        transform: translate(-50%, -45%);
    }

    100% {
        transform: translate(-50%, -50%);
    }
}

@keyframes strong-sway {
    0% {
        transform: rotate(-3deg) scale(1);
    }

    25% {
        transform: rotate(0deg) scale(1.03);
    }

    50% {
        transform: rotate(3deg) scale(1);
    }

    75% {
        transform: rotate(0deg) scale(1.03);
    }

    100% {
        transform: rotate(-3deg) scale(1);
    }
}

@keyframes strong-sway2 {
    0% {
        transform: rotate(3deg) scale(1);
    }

    25% {
        transform: rotate(0deg) scale(1.03);
    }

    50% {
        transform: rotate(-3deg) scale(1);
    }

    75% {
        transform: rotate(0deg) scale(1.03);
    }

    100% {
        transform: rotate(3deg) scale(1);
    }
}

.lightSweep {
    position: absolute;
    animation: lightSweep 3s linear 1s infinite;
    inset: 0;
    filter: brightness(2);
    margin: auto;
    -webkit-mask-image: -webkit-linear-gradient(-45deg, #fff0 40%, #fff 50%, #fff0 60%);
    mask-image: -webkit-linear-gradient(-45deg, #fff0 40%, #fff 50%, #fff0 60%);
    -webkit-mask-size: 300% 200%;
    mask-size: 300% 200%;
    z-index: 1;
    position: absolute;
    overflow: hidden;
}

.animation-strongSway {
    /* animation: strong-sway 4s ease-in-out infinite; */
}

.animation-strongSway2 {
    /* animation: strong-sway2 4s ease-in-out infinite; */
}

* {
    box-sizing: border-box;
    font-family: "SVN-Avo";
}

body, ul,
li, p{
    margin: 0;
}

::-webkit-scrollbar {
    display: none;
}

img {
    vertical-align: middle;
    border-style: none;
    height: 100%;
}

img.mobi{
    display: none;
}

@media (max-width: 767px) {
    img.desk {
        display: none;
    }

    img.mobi {
        display: block;
    }
}

li{
    list-style: none;
}

.transform-center {
    position: absolute !important;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

/* LOADING */

#loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #d21e21;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
}

#loading.hide {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

#loading {
    opacity: 1;
    transition: opacity 0.5s ease;
}

#loading .spinner {
    animation: spin 1s linear infinite;
    position: relative;
    border: 8px solid rgba(0, 0, 0, 0.1);
    border-top-color: #fff;
    border-radius: 50%;
    width: 180px;
    height: 180px;
}

#loading img.logo {
    height: 30px !important;
    position: absolute !important;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

/* HEADER */

header .main-header {
    position: absolute;
    top: unset;
    width: 100%;
    z-index: 3;
}

header .desk {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5.8vw;
    color: #fff;
    text-transform: capitalize;
    font-size: 1.2vw;
    font-weight: 700;
    background-color: #000;
    padding-block: 0.38vw;
}

header .desk p:first-child {
    text-decoration: underline;
}

header .desk p {
    text-underline-offset: 4px;
    margin: 0;
    /* padding-inline: 1vw; */
}

header .desk p:hover {
    cursor: pointer;
    text-decoration: underline;
}

header .mobi {
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 1.5vw;
    padding-inline: 2vw;
    padding-block: 1vw;
    background-color: #000;
}

@media (max-width: 767px) {
    header .main-header {
        position: fixed;
    }

    header .desk {
        display: none;
    }

    header .mobi {
        display: flex;
    }
}

header .mobi .logo {
    display: flex;
    align-items: center;
    gap: 2vw;
    line-height: 4vw;
}

header .mobi .logo img {
    height: 13.4vw !important
}

header .mobi .logo p {
    color: #FFC971;
    font-size: 2.4vw;
    white-space: nowrap;
    font-weight: 600;
    font-family: 'SVN-Avo' !important;
}

header .mobi .main-content {
    display: flex;
    align-items: center;
    gap: 3vw;
    justify-content: flex-end;
}

header .mobi .main-content .link_dowload {
    display: flex;
    align-items: center;
    gap: 3vw;
    width: 60%;
}

ul#ul-menu_mobile {
    opacity: 0;
    transition: 0.5s ease-in-out;
    transform: translateX(26vw);
    background-color: #000;
    padding-block: 2vw;
    padding-inline: 3vw;
    position: fixed;
    right: 0.5vw;
    margin-top: 0.5vw;
    z-index: 4;
    border-radius: 2vw;
    color: #fff;
    display: none
}


@media (max-width: 767px) {
    ul#ul-menu_mobile {
        display: block;
    }
}

ul#ul-menu_mobile.active {
    transform: translateX(0);
    opacity: 1;
    transition: 0.5s ease-in-out;
}

ul#ul-menu_mobile hr {
    margin: 4px 0;
}

ul#ul-menu_mobile li a {
    font-weight: 700;
    text-decoration: none;
    font-size: 14px;
    color: white;
    display: flex;
    align-items: center;
    cursor: pointer;
}

ul#ul-menu_mobile li a svg {
    margin: 0px 5px;
    width: 15px;
}

#btn-menu_mobile {
    cursor: pointer;
    z-index: 1;
}

#btn-menu_mobile.active {
    position: relative;
    top: 0vw;
    width: 8vw;
    height: 8vw;
}

#btn-menu_mobile .item_menu {
    background-color: white;
    width: 8vw;
    height: 1.2vw;
    margin: 1vw 0vw;
    border-radius: 15px;
}

#btn-menu_mobile.active .top {
    position: absolute;
    top: 26%;
    transform: rotate(45deg);
    transition: 0.5s ease-in-out;
}

#btn-menu_mobile.active .center {
    display: none;
}

#btn-menu_mobile.active .bottom {
    position: absolute;
    top: 26%;
    transform: rotate(134deg);
    transition: 0.5s ease-in-out;
}

/* TAB 1 */

.tab1 {
    position: relative;
    overflow: hidden;
}

.tab1 .background img.desk {
    display: block;
    width: 100%;
}

.tab1 .background img.mobi {
    display: none;
    width: 100%;
}

.tab1 .logo-main {
    position: absolute;
    display: flex;
    justify-content: center;
    width: 15.8%;
    top: 7.6%;
    left: 1%;
}

.tab1 .warning {
    width: 12%;
    top: 21%;
    position: fixed;
    left: 0;
    z-index: 3
}

.tab1 .warning img.desk {
    display: block;
    width: 100%;
}

.tab1 .warning img.mobi {
    display: none;
    width: 100%;
}

.tab1 .slogan {
    position: absolute;
    width: 64.4%;
    top: 19.6%;
    z-index: 2;
    left: 50%;
    transform: translate(-50%, -50%);
}

.tab1 .list-nv img {
    width: 100%
}

.tab1 .list-nv .nv-1{
    position: absolute;
    width: 83%;
    bottom: -22.4vw;
    left: -21.2vw;
    z-index: 1;
}

.tab1 .list-nv .nv-2 {
    position: absolute;
    width: 58.8%;
    bottom: -16.6vw;
    right: -15vw;
    z-index: 2;
}

.tab1 .list-btn {
    display: flex;
    align-items: center;
    flex-direction: column;
    position: absolute;
    transform: translate(-50%, -50%);
    left: 50%;
    bottom: -12.8%;
    z-index: 3;
    width: 29.6%;
    gap: 1.8vw;
}

.tab1 .list-btn img{
    width: 100%;
}

.tab1 .list-btn .btn-big {
    display: flex;
    align-items: center;
    justify-content: center;
}

.tab1 .list-btn .text {
    position: absolute;
    display: flex;
    align-items: center;
    flex-direction: column;
    width: 100%;
    animation: 1s ease-in-out infinite upDown;
}

.tab1 .list-btn p {
    text-transform: capitalize;
    font-weight: 700;
}

.tab1 .list-btn .btn-big p:first-child {
    font-size: 2.6vw;
    line-height: 1.2;
}

.tab1 .list-btn .btn-big p:last-child {
    font-size: 1.5vw;
}

.tab1 .list-btn .list-btn-small{
    display: flex;
    align-items: center;
    width: 94%;
    gap: 1.6vw;
}

.btn-small{
    cursor: pointer;
    position: relative;
}

.btn-small p{
    position: absolute;
    font-size: 1vw;
    left: 50%;
    top: 46%;
    transform: translate(-50%, -50%);
    white-space: nowrap;
    font-weight: bold;
}

.btn-small:hover > p {
    animation: bounceText 0.6s ease;
}

.btn-lichsu{
    width: 44.3%!important;
    margin-top: -1vw;
}

@media (max-width:767px) {
    .tab1 .background img.desk {
        display: none;
    }

    .tab1 .background img.mobi {
        display: block;
    }

    .tab1 .logo-main {
        display: none;
    }

    .tab1 .warning {
        width: 13%;
    }

    .tab1 .warning img.desk {
        display: none;
    }

    .tab1 .warning img.mobi {
        display: block;
    }

    .tab1 .slogan {
        position: absolute;
        width: 95.6%;
        top: 16%;
        z-index: 2;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .tab1 .list-nv .nv-1 {
        width: 250%;
        bottom: -57.3vw;
        left: -114.2vw;
    }

    .tab1 .list-nv .nv-2 {
        width: 176%;
        bottom: -43.6vw;
        right: -101vw;
    }

    .tab1 .list-btn {
        width: 88.8%;
        gap: 5vw;
        bottom: -13%;
    }

    .tab1 .list-btn .btn-big p:first-child {
        font-size: 8.4vw;
        line-height: 1.1;
    }

    .tab1 .list-btn .btn-big p:last-child {
        font-size: 4.5vw;
    }

    .tab1 .list-btn .list-btn-small {
        width: 96%;
        gap: unset
    }

    .btn-small p {
        font-size: 3vw;
    }

    .btn-lichsu {
        width: 48% !important;
        margin-top: -2vw;
    }
}

.line-pagi{
    width: 100%;
    display: flex;
}

.line-pagi img{
    width: 100%;
}

/* FOOTER */

footer.footer {
    position: relative;
    overflow-x: hidden;
}

footer.footer .content {
    background-color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2vw;
    padding-top: 1.4vw;
    padding-bottom: 1.4vw;
}

footer.footer .content .logo {
    align-items: center;
    justify-content: center;
    gap: 8vw;
    width: 100%;
    text-align: right;
}

footer.footer .content .logo img.logo-gzone {
    width: 20% !important;
}

footer.footer .content .logo img.footer-warning {
    display: none;
}

footer.footer .content .logo a {
    width: 30% !important;
    display: none;
}

footer.footer .content .main-content {
    font-size: 0.8vw;
    text-align: center;
    width: 100%;
}

footer.footer .content .main-content a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    outline: none
}

footer.footer .content .main-content p {
    color: #fff;
    text-decoration: none;
    margin-bottom: 4px;
    font-weight: 500;
}

footer.footer .content .warning {
    display: flex;
    align-items: center;
    width: 100%;
}

footer.footer .content .warning img.img-warning{
    width: 8%;
}

footer.footer .content .warning a {
    width: 18%;
}

@media (max-width: 767px) {

    footer.footer .content {
        display: block;
        padding-left: 0.4vw;
        padding-right: 0.4vw;
        padding-top: 6vw;
        padding-bottom: 6vw;
    }

    footer.footer .content .logo {
        display: flex;
        margin-bottom: 4vw !important;
        margin-left: 4vw;
    }

    footer.footer .content .logo img.footer-warning {
        display: block;
        width: 10%;
    }

    footer.footer .content .logo a {
        display: block;
    }

    footer.footer .content .main-content {
        width: 100%
    }

    footer.footer .content .main-content a,
    footer.footer .content .main-content p {
        font-size: 2.5vw;
    }

    footer.footer .content .warning {
        display: none;
    }
}

/* SIDEBAR */

#sidebar-container .list-btn img {
    width: 100%;
}

#sidebar-container {
    position: fixed;
    width: 10.8%;
    top: 19.9%;
    right: -1.4%;
    z-index: 2;
    transition-duration: 700ms;
}

#sidebar-container.active {
    transform: translateX(76%);
}

#sidebar-container .background {
    position: relative;
    z-index: 2;
}

#sidebar-container .nv-sidebar {
    position: absolute;
    width: 119%;
    top: -12.7%;
    z-index: 10;
    left: -12%;
}

#sidebar-container #btn-hide {
    position: absolute;
    width: 34%;
    top: 29%;
    left: -9%;
    cursor: pointer;
    z-index: 11;
}

#sidebar-container #btn-hide img.active {
    transform: scaleX(-1);
    left: 0.5vw;
}

#sidebar-container .main-content {
    position: absolute;
    width: 100%;
    top: 15.23%;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 10;
}

#sidebar-container .logo-main {
    position: relative;
    z-index: 4;
    width: 63%;
}

#sidebar-container .list-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 82%;
    position: relative;
    z-index: 4;
    margin-top: 9%;
    gap: 0.3vw;
}

#sidebar-container .list-btn a{
    width: 100%;
    cursor: pointer;
    transition: .3s ease-in-out;
}

#sidebar-container .list-btn a:hover {
    transform: scale(1.06);
    filter: brightness(110%);
}

#sidebar-container #btn-scrollTop {
    position: relative;
    width: 74%;
    margin-top: 1vw;
    cursor: pointer;
    transition-duration: 300ms;
    z-index: 2;
}

#sidebar-container #btn-scrollTop:hover {
    filter: brightness(1.25);
}

@media (max-width: 767px) {
    #sidebar-container {
        display: none;
    }

}

/* POPUP */

#backdrop {
    background-color: rgb(0 0 0 / 72%);
    backdrop-filter: blur(3px);
    position: fixed;
    inset: 0;
    z-index: 13;
}

#popup {
    transition: 0.3s ease-in-out;
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    z-index: -9;
    width: 100%;
}

#popup.active {
    opacity: 1 !important;
    z-index: 15 !important;
}

#popup .main-popup {
    position: relative;
    z-index: 13;
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

#popup .item-popup {
    position: relative;
    opacity: 0;
    display: flex;
    transform: scale(0);
    transition: 0.45s ease-in-out;
    position: absolute;
}

#popup .item-popup.active {
    opacity: 1;
    justify-content: center;
    transition: 0.5s ease-in-out;
    transform: scale(1.05);
}

#popup .bg-popup {
    width: 100%;
}

#popup .btn-close {
    position: absolute;
    top: 8%;
    right: 3%;
    z-index: 2;
    cursor: pointer;
    width: 3.2%;
}

#popup .main-content {
    position: absolute;
    top: 20%;
    bottom: 18%;
    width: 100%;
    text-align: center;
}

#popup .main-content .title p {
    color: #fff;
    font-size: 1.1vw;
}

/* ĐĂNG KÝ TRƯỚC */

#popup .main-content_layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    height: 100%;
    width: 74%;
    margin-left: auto;
    margin-right: auto;
}

#popup .content-popup {
    width: 100%;
}

#popup-dang-ky-truoc .main-content_layout .content-popup p.text {
    text-align: center;
    font-size: 0.9vw;
    color: #fff;
    margin-top: 0.2vw;
}

#popup-dang-ky-truoc .main-content_layout .content-popup .popup-gift{
    width: 66%;
    margin: 1.2vw auto 0.7vw;
}

#popup-dang-ky-truoc .main-content_layout .content-popup .list-input {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 0.4vw;
}

#popup-dang-ky-truoc .main-content_layout .content-popup .list-input input, #popup-nhan-qua .main-content_layout .content-popup .list-input input{
    background-color: #000;
    color: #fff;
    border: none;
    outline: none;
    margin: 0;
    width: 60%;
    text-align: center;
    padding-block: 0.36vw;
    height: 2.6vw;
    font-size: 1vw;
}

#popup-dang-ky-truoc .main-content_layout .content-popup .btn-small {
    width: 39%;
    margin: auto;
    margin-top: 1vw;
}

@media (max-width: 767px) {
    #popup .main-popup {
        position: relative;
        z-index: 13;
        width: 100%;
    }

    #popup .btn-close {
        top: 4%;
        right: 4%;
        width: 4.2%;
    }

    #popup .main-content .title p {
        font-size: 2.8vw;
    }

    #popup-dang-ky-truoc .main-content_layout .content-popup p.text {
        font-size: 1.8vw;
        margin-top: 0;
    }

    #popup-dang-ky-truoc .main-content_layout .content-popup .popup-gift {
        width: 66%;
        margin: 2vw auto 0.4vw;
    }

    #popup-dang-ky-truoc .main-content_layout .content-popup .list-input {
        gap: 1vw;
    }

    #popup-dang-ky-truoc .main-content_layout .content-popup .list-input input, #popup-nhan-qua .main-content_layout .content-popup .list-input input {
        padding-block: 0.36vw;
        height: 5.8vw;
        font-size: 2.2vw;
    }

    #popup-dang-ky-truoc .main-content_layout .content-popup .btn-small {
        margin-top: 1.2vw;
    }

    #popup-dang-ky-truoc .main-content_layout .content-popup .btn-small p{
        font-size: 2.2vw!important;
        margin-top: 0.4vw;
    }
}

/* NHẬN QUÀ */

#popup-nhan-qua .main-content_layout {
    justify-content: space-between;
}

#popup-nhan-qua .main-content_layout .content-popup p.text {
    text-align: center;
    font-size: 1.1vw;
    color: #fff;
}

#popup-nhan-qua .main-content_layout .content-popup .list-input p {
    text-align: center;
    font-size: 1.1vw;
    color: #fff;
    margin: 2vw 0 1vw;
}

#popup-nhan-qua .main-content_layout .btn-small {
    visibility: hidden;
}

#popup-nhan-qua .content-popup {
    margin-top: -5vw;
}

@media (max-width: 767px) {
    #popup-nhan-qua .content-popup {
        margin-top: -6vw;
    }
    #popup-nhan-qua .main-content_layout .content-popup p.text {
        text-align: center;
        font-size: 2.8vw;
        color: #fff;
    }

    #popup-nhan-qua .main-content_layout .content-popup .list-input p {
        text-align: center;
        font-size: 2.8vw;
        color: #fff;
        margin: 3vw 0 2vw;
    }
                
}

/* LICH-SU */

#popup-lich-su .main-content_layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    height: 100%;
    width: 74%;
    margin-left: auto;
    margin-right: auto;
}


#popup-lich-su .main-content_layout .content-popup {
    width: 94%;
    height: 100%;
    margin-top: 1vw;
}

#popup-lich-su .main-content_layout .content-popup .content-lichsu {
    overflow-y: scroll;
    height: 78%;
}

#popup-lich-su table {
    width: 100%;
    text-align: center !important;
    border-collapse: collapse;
}

#popup-lich-su table th,
#popup-lich-su table td {
    color: #fff;
    background-color: transparent;
    font-size: 0.8vw;
    font-family: 'SVN-Avo' !important;
    border-right: 1px solid #000;
    border-left: 1px solid #000;
    border-bottom: 1px solid #000;
}

#popup-lich-su table th {
    border-top: 1px solid #000;
    padding: 0.4vw 0;
}

#popup-lich-su table td {
    padding: 0.4vw 1.7vw !important;
}

#popup-lich-su .title-lichsu {
    background-color: transparent;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-transform: uppercase;
    color: #fff;
    font-weight: 700;
}

#popup-lich-su .title-lichsu .title-history {
    border: 1px solid #000;
    border-bottom: none;
    width: 100%;
}

#popup-lich-su .title-lichsu .title-history button {
    padding: 0.4vw 0;
    color: #fff;
    border: none;
    background-color: #929292;
    width: 100%;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    text-decoration: none;
    outline: none;
    display: block;
    font-size: 1vw;
    cursor: pointer;
    font-family: 'SVN-Avo' !important;
}

@media (max-width: 767px) {
    #popup-lich-su .main-content_layout .content-popup {
        margin-top: 2vw;
    }

    #popup-lich-su .title-lichsu .title-history button {
        font-size: 2.2vw;
    }

    #popup-lich-su table th {
        font-size: 2.2vw;
        padding: 1vw 0;
    }

    #popup-lich-su table td {
        font-size: 2.2vw;
        padding: 0.8vw 2.6vw !important;
    }
}