@font-face {
    font-family: "SVN-Avo";
    src: url("../fonts/SVN-Avo.ttf");
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes zoomBtn1 {

    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.17);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes zoomBtn2 {

    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes lightSweep {
    from {
        background-position: 150% 0;
    }

    to {
        background-position: 0% 0;
    }
}

@keyframes lightBlink {
    0% {
        filter: brightness(1);
    }

    50% {
        filter: brightness(1.4);
    }

    100% {
        filter: brightness(1);
    }
}

* {
    margin: 0;
    box-sizing: border-box;
    user-select: none;
    font-family: "SVN-Avo";
}

::-webkit-scrollbar {
    display: none;
}

img {
    vertical-align: middle;
    border-style: none;
    height: 100%;
}

table {
    border-collapse: collapse;
}

.transform-center {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.btn-zoom1 {
    animation: zoomBtn1 .6s ease-in-out infinite;
}

.btn-zoom2 {
    animation: zoomBtn2 .6s ease-in-out infinite;
}

.lightSweep::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 2;
    background: linear-gradient(-45deg,
            rgba(255, 255, 255, 0) 40%,
            rgba(255, 255, 255, 0.8) 50%,
            rgba(255, 255, 255, 0) 60%);

    background-size: 300% 200%;
    animation: lightSweep 2.5s ease-in-out infinite;
}

.animation-blink {
    animation: lightBlink .8s ease-in-out infinite;
}

.btn-main {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 4.8vw;
    cursor: pointer;
    width: fit-content;
    transition: 0.35s ease-in-out;
}

.btn-main:hover {
    filter: brightness(1.2);
    /* opacity: .80; */
}

.btn-main .text {
    position: absolute;
    font-size: 1vw;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 0.4vw;
    /* transition-duration: 150ms; */
    font-weight: 500;
    text-transform: capitalize;
    font-weight: bold;
}

.btn-main .text img {
    height: 1.4vw;
}

@media (max-width: 768px) {
    .btn-main {
        height: 14.4vw;
    }

    .btn-main .text {
        font-size: 3vw;
        gap: 1.2vw;
    }

    .btn-main .text img {
        height: 3.6vw;
    }
}

/* LOADING */

.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;
}

/* HEADER */

header .desk p:hover {
    cursor: pointer;
}

ul#ul-menu_mobile {
    opacity: 0;
    transition: 0.5s ease-in-out;
    transform: translateX(26vw);
}

ul#ul-menu_mobile.active {
    transform: translateX(0);
    opacity: 1;
    transition: 0.5s ease-in-out;
}

/* ul#ul-menu_mobile li {
    cursor: pointer
} */

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.active {
    position: relative;
    top: 0vw;
    width: 8vw;
    height: 8vw;
}

#btn-menu_mobile .item_menu {
    background-color: black;
    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;
}

/* LANDING */

.landing {
    background-image: url(../images/bg-desk.webp);
    background-position: top;
    background-size: 100%;
    background-repeat: no-repeat;
    position: relative;
    /* height: 500vh; */
    margin-top: -12.8vw;
    padding-bottom: 19vw;
}

@media (max-width: 768px) {
    .landing {
        background-image: url(../images/bg-mobi.webp);
        background-position: top;
        margin-top: -39vw;
        padding-bottom: 62vw;
    }
}

/* TAB 2 */
.tab2 .content .list-gifts .item-gift {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    filter: grayscale(1);
    pointer-events: none;
}

.tab2 .content .list-gifts .item-gift.active {
    filter: grayscale(0);
    pointer-events: unset;
}

.tab2 .content .list-gifts .item-gift .bg p {
    position: absolute;
    left: 50%;
    top: 78%;
    transform: translate(-50%, -50%);
    white-space: nowrap;
    font-size: 1.2vw;
    color: #EA8345;
    font-weight: bold;
}

@media (max-width: 768px) {
    .tab2 .content .list-gifts .item-gift .bg p {
        top: 79%;
        font-size: 3.6vw;
    }
}

/* FOOTER */

footer.footer .content .main-content a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-family: 'SVN-Avo' !important;
}

footer.footer .content .main-content p {
    color: #fff;
    text-decoration: none;
    margin-bottom: 8px;
    font-weight: 500;
    font-family: 'SVN-Avo' !important;
}

@media (max-width: 756px) {

    footer.footer .content .main-content a,
    footer.footer .content .main-content p {
        font-size: 2.5vw;
    }
}

/* SIDEBAR */

#sidebar-container.active {
    transform: translateX(56%);
}

#sidebar-container #btn-nap-tien {
    transition-duration: 250ms;
}

#sidebar-container #btn-nap-tien:hover {
    transform: scale(1.05)
}

/* POPUP */

#backdrop {
    background-color: rgb(0 0 0 / 38%);
    backdrop-filter: blur(3px);
}

#popup {
    transition: 0.3s ease-in-out;
}

#popup.active {
    opacity: 1 !important;
    transition: 0.3s ease-in-out;
    z-index: 11 !important;
}

#popup .item-popup.active {
    display: block !important;
}

/* POPUP LỊCH SỬ */

#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: 50%;
}

#popup-lich-su .title-lichsu .title-history button {
    padding: 5px 0;
    color: #fff;
    border: none;
    background-color: #b30024;
    width: 100%;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    text-decoration: none;
    outline: none;
    display: block;
    font-size: 16px;
    cursor: pointer;
}

#popup-lich-su table {
    width: 100%;
    text-align: center !important;
}

#popup-lich-su table th {
    color: #000;
    background-color: transparent;
    border-right: 1px solid #000;
    border-bottom: 1px solid #000;
    border-left: 1px solid #000;
    border-top: 1px solid #000;
    font-size: 16px;
}

#popup-lich-su table td {
    border-bottom: 1px solid #000;
    border-left: 1px solid #000;
    border-right: 1px solid #000;
    color: #000;
    background-color: transparent;
    padding: 5px 1.7vw !important;
    font-size: 16px;
}

@media (max-width: 756px) {

    #popup-lich-su .title-lichsu .title-history button {
        padding: 0.8vw 0;
        font-size: 1.8vw;
    }

    #popup-lich-su table th,
    td {
        font-size: 2vw;
    }
}