@font-face {
    font-family: "SVN-Avo";
    src: url("../fonts/SVN-Avo.ttf");
}

@font-face {
    font-family: "SVN-Black-Stufff";
    src: url("../fonts/SVN-Black-Stufff.otf");
}

@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 lightBlink {
    0% {
        filter: brightness(1);
    }

    50% {
        filter: brightness(1.24);
    }

    100% {
        filter: brightness(1);
    }
}

@keyframes zoomBtn {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(0.94);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes jelly {

    0%,
    100% {
        transform: scale(1, 1);
    }

    25% {
        transform: scale(0.9, 1.1);
    }

    50% {
        transform: scale(1.1, 0.9);
    }

    75% {
        transform: scale(0.95, 1.05);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

@keyframes float-delayed {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

.btn-zoom {
    animation: zoomBtn 1s ease-in-out infinite;
}

.animation-blink {
    animation: lightBlink 2s ease-in-out infinite;
}

.animation-jelly {
    animation: jelly 0.5s ease-in-out infinite;
}

.btn-join:hover,
.btn-follow:hover,
.btn-history:hover img,
.btn-tab1:hover img {
    animation: jelly 0.5s ease-in-out infinite;
}

.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;
    overflow: hidden;
}

* {
    box-sizing: border-box;
    font-family: "SVN-Avo";
}

.font-black-stuff {
    font-family: "SVN-Black-Stufff" !important;
}

li {
    list-style: none;
}

::-webkit-scrollbar {
    display: none;
}

img {
    vertical-align: middle;
    border-style: none;
    height: 100%;
}

img.desk,
img.default {
    display: block;
    width: 100%;
}

img.mobi,
img.active {
    display: none;
    width: 100%;
}

@media (max-width: 767px) {
    img.desk {
        display: none;
    }

    img.mobi {
        display: block;
    }
}

.btn {
    cursor: pointer;
}

.btn img {
    width: 100%;
}

.btn:hover img.default,
.btn.active img.default {
    display: none;
}

.btn:hover img.active,
.btn.active img.active {
    display: block;
}

.transform-center {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

/* LOADING */

#loading {
    transition: opacity 0.5s ease;
}

#loading.hide {
    opacity: 0;
    pointer-events: none;
    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;
}

/* LOADER */

.load-api {
    display: none;
    overflow: hidden;
    width: 100%;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    align-items: center;
    align-content: center;
    justify-content: center;
    z-index: 1000000;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(4px);
}

.load-api .element {
    border-radius: 100%;
    border: 5px solid #FFF;
    margin: 10px;
}

.load-api .element:nth-child(1) {
    animation: preloader 0.6s ease-in-out alternate infinite;
}

.load-api .element:nth-child(2) {
    animation: preloader 0.6s ease-in-out alternate 0.2s infinite;
}

.load-api .element:nth-child(3) {
    animation: preloader 0.6s ease-in-out alternate 0.4s infinite;
}

@keyframes preloader {
    100% {
        transform: scale(2);
    }
}

header #menu_mobile {
    opacity: 0;
    transition: 0.5s ease-in-out;
    transform: translateX(26vw);
    background-color: #000;
    padding-block: 1.2vw;
    padding-inline: 3vw;
    position: fixed;
    right: 0.5vw;
    margin-top: 0.5vw;
    z-index: 4;
    border-radius: 2vw;
    color: #fff;
    display: none;
}

header #menu_mobile.active {
    transform: translateX(0);
    opacity: 1;
    transition: 0.5s ease-in-out;
}

header #menu_mobile a img {
    width: 100%;
}

header #menu_mobile a {
    font-weight: 700;
    text-decoration: none;
    font-size: 2.8vw;
    color: white;
    display: flex;
    align-items: center;
    cursor: pointer;
    width: 100%;
    white-space: nowrap;
    gap: 1.4vw;
    border-bottom: 1px solid #fff;
    padding-block: 1.8vw;
}

header #menu_mobile a:last-child {
    border-bottom: none !important;
}

header #menu_mobile a span {
    width: 14%;
    margin-left: 1vw;
}

@media (max-width: 767px) {
    header #menu_mobile {
        display: block;
    }
}

#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,
.tab2,
.tab3 {
    position: relative;
    overflow: hidden;
}

/* TAB 2 */



@media (max-width: 767px) {}

/* FOOTER */

footer .content .main-content a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    outline: none;
}

footer .content .main-content p {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    line-height: 1.2vw;
}

@media (max-width: 767px) {

    footer .content .main-content a,
    footer .content .main-content p {
        font-size: 3vw;
        line-height: 4.6vw;
    }
}

/* 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: 100%;
    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;
    width: 50%;
}

#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 .bg-popup img {
    width: 100%;
}

#popup .btn-close {
    position: absolute;
    top: 5%;
    right: 3%;
    z-index: 2;
    cursor: pointer;
    width: 6%;
}

#popup .btn-close img {
    transition: .2s ease-out;
    width: 100%;
}

#popup .btn-close:hover img {
    transform: scale(1.1);
}

#popup .img-pet {
    position: absolute;
    bottom: -12.2%;
    left: -13%;
    z-index: 2;
    width: 34%;
    animation: petBounce 3s ease-in-out infinite;
}

@keyframes petBounce {

    0%,
    100% {
        transform: translateY(0) rotate(0deg) scale(1);
    }

    25% {
        transform: translateY(-8px) rotate(-2deg) scale(1.02);
    }

    50% {
        transform: translateY(-3px) rotate(0deg) scale(1.01);
    }

    75% {
        transform: translateY(-8px) rotate(2deg) scale(1.02);
    }
}

#popup .main-content {
    position: absolute;
    top: 2%;
    bottom: 3%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* justify-content: center; */
}

#popup .main-content .title p {
    font-size: 2vw;
    text-transform: uppercase;
    font-weight: 700;
    font-family: "SVN-Black-Stufff";
    color: #000;
}

#popup .main-content .content-popup {
    color: #fff;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#popup .main-content .content-popup p#popup_mess-noti {
    color: #fff;
    font-size: 1.2vw;
}

#popup .main-content .content-popup p.popup_mess-noti {
    color: #fff;
    font-size: 1.2vw;
}

#popup .main-content .content-popup #popup_img-gift {
    width: 52%;
}

@media (max-width: 767px) {

    #popup .main-popup {
        position: relative;
        z-index: 13;
        width: 88%;
    }

    #popup .main-content {
        top: 1%;
    }

    #popup .btn-close {
        top: -6%;
        right: -3%;
        width: 7%;
    }

    #popup .img-pet {
        width: 40%;
    }

    #popup .main-content .content-popup p#popup_mess-noti,
    .invisible {
        font-size: 2.6vw;
    }

    #popup .item-popup {
        width: 100%;
    }

    #popup .main-content .title p {
        font-size: 4.2vw;
    }
}

/* LỊCH SỬ */

#popup-lich-su table {
    width: 100%;
    text-align: center !important;
    border-collapse: collapse;
}

#popup-lich-su table th,
#popup-lich-su table td {
    color: #000;
    background-color: transparent;
    font-size: 1vw;
    font-family: 'SVN-Avo' !important;
    border-right: 1px solid #fff;
    border-left: 1px solid #fff;
    border-bottom: 1px solid #fff;
}

#popup-lich-su table th {
    border-top: 1px solid #fff;
    padding: 0.4vw 0;
}

#popup-lich-su table td {
    padding: 0.4vw 1.7vw !important;
}

#popup-lich-su .title-lichsu .title-history button {
    padding: 0.4vw 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: 1vw;
    cursor: pointer;
    font-family: 'SVN-Avo' !important;
}

@media (max-width: 767px) {

    #popup-lich-su .title-lichsu .title-history button {
        font-size: 2.2vw;
        padding: 0.8vw 0;
    }

    #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;
    }
}