@font-face {
    font-family: "Metropolis";
    src:
        url(../fonts/Metropolis-Black.woff2) format("woff2"),
        url(../fonts/Metropolis-Black.woff) format("woff");
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Metropolis";
    src:
        url(../fonts/Metropolis-ExtraBold.woff2) format("woff2"),
        url(../fonts/Metropolis-ExtraBold.woff) format("woff");
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Metropolis";
    src:
        url(../fonts/Metropolis-Bold.woff2) format("woff2"),
        url(../fonts/Metropolis-Bold.woff) format("woff");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Metropolis";
    src:
        url(../fonts/Metropolis-Medium.woff2) format("woff2"),
        url(../fonts/Metropolis-Medium.woff) format("woff");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Metropolis";
    src:
        url(../fonts/Metropolis-Regular.woff2) format("woff2"),
        url(../fonts/Metropolis-Regular.woff) format("woff");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

body {
    font-family: "Metropolis";
    font-weight: 500;
    background: #AB090D;
    color: #fff;
}

p {
    font-size: 1.05rem;
}

.masthead-img {
    width: 35vw;
    display: block;
    margin: auto;
    margin-bottom: 1.5rem;
}

p.main-subtxt {
    max-width: 59ch;
    margin: auto;
    text-align: center;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

main {
    margin-top: 95px;
    color: #fff;
}

.pos-cont {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding-top: 3.12dvi;
    z-index: 4;
}

.cta_basic {
    color: #FFE088;
    text-align: center;
    font-size: 1.16vw;
    font-weight: 700;
    position: relative;
    padding: 1vw 2.5vw;
    position: relative;
    width: fit-content;
    margin: auto;
    display: block;
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.35);
    border-radius: 9dvi;
    line-height: normal;
    transition: transform 0.3s ease, background 0.3s ease;
}

.cta_basic::before {
    content: "";
    position: absolute;
    inset: 0;
    padding: 2px;
    border-radius: 9dvi;
    background: linear-gradient(92deg, #EAC27E 2.24%, #F2E5D4 42.26%, #C48B38 61.7%, #EABE80 101.34%);
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;

}

.cta_basic.custom_sm {
    padding: 0.75vw 2.8vw;
    font-size: 1.1vw;
    line-height: normal;
}

h1,
h2 {
    background: var(--Gold-Gradient, linear-gradient(92deg, #EAC27E 2.24%, #F2E5D4 42.26%, #C48B38 61.7%, #EABE80 101.34%));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
    font-family: "Metropolis";
    text-align: center;
    font-size: 2vw;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.35));



}

.maincont::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 10dvi;
    background: linear-gradient(180deg, rgba(171, 9, 13, 0.00) 8.48%, #AB090D 92.29%);
    pointer-events: none;
}

.flower-asset {
    position: absolute;
}

.r1 {
    width: 12dvi;
    height: 12dvi;
    object-fit: contain;
    bottom: -4dvi;
    left: -3.4dvi;
}

.r2 {
    width: 9dvi;
    height: 9dvi;
    object-fit: contain;
    bottom: -3%;
    left: 9.1%;
}

.flower-g1 {
    position: absolute;
    left: 0;
    bottom: -12%;
    width: 26dvi;
    object-fit: contain;
}

.flower-g2 {
    position: absolute;
    right: 0;
    bottom: -12%;
    width: 17dvi;
    object-fit: contain;
}

.fticons {
      width: 6.2dvi;
    height: 6.2dvi;
    display: block;
    margin: auto;
    object-fit: contain;
}

p.ftdesc span {
    color: #FFE088;
}

p.ftdesc {
    margin: 0;
    max-width: 18ch;
    /* min-height: 200px; */
    text-align: center;
    font-size: 0.94vw;
    line-height: 1.15;
    font-weight: 700;

}

.custom_cont {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 4.5vw;
}

.g_item {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    justify-content: center;
    overflow: hidden;

}

.flowerfloat,
.flowerfloatbtm {
    will-change: transform;
    /* pointer-events: none; */
}

.township_celebration {
    position: relative;
    background: #801212;
    background-size: cover;
}

.township_celebration>* {
    position: relative;
    z-index: 4;
}

.township_celebration::after {
    content: "";
    position: absolute;
    display: block;
    /* top: 0; */
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: url(https://imagedelivery.net/TdjZsXzzZt_je48pBzV3SA/0d400330-f5d3-44fa-2353-2a060c54a700/1920);
    background-size: cover;
    z-index: 1;
    opacity: 0.6;

}

.celebration_date {
    background: url(https://imagedelivery.net/TdjZsXzzZt_je48pBzV3SA/58bb5dc4-94e8-43cb-442a-e0aefae7e200/400);
    display: block;
    width: 7vw;
    height: 7vw;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    font-family: "Metropolis";
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.1;
    font-size: 1dvi;
    border: 0;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.celebration_date span {
    font-size: 2dvi;
}

.township_celebration {
    padding-top: 8dvi;
}

.featuredimg {
    width: 15vw;
    object-fit: contain;
    transition: transform 1s ease;
}

.celebration_date {
    position: relative;

}

.celebration_date.this_active {
    transform: translateY(-10px);
    color: #6B1212;
    filter: drop-shadow(0 13px 10px rgba(0, 0, 0, 0.25));
    background: none;
}

/* Rotating background */
.celebration_date.this_active::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url(https://imagedelivery.net/TdjZsXzzZt_je48pBzV3SA/894403d1-ef40-40d7-4430-ffffa64ca100/400) no-repeat center / contain;
    animation: spin 12s linear infinite;
    z-index: -1;
    /* keeps it behind text */
}

/* Rotation animation */
@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}


.ct-wrapper {
    /* display: flex; */
    flex-direction: row;
    justify-content: center;
    gap: 4dvw;
}

.ct-wrapper {
    display: none;
}

.ct-wrapper.active {
    display: flex;
}

.switches-container {
    display: flex;
    justify-content: center;
    background: #801212;
    width: fit-content;
    margin: auto;
    padding: 8px;
    border-radius: 30px;

}

.switch button {
    position: relative;
    padding: 10px 1.8rem;
    border: 0;
    background: transparent;
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
    text-align: center;
    border-radius: 30px;
    z-index: 1;
}

/* ACTIVE BUTTON */
.switch button.actives {
    background: #801212;
    color: #fff;
    -webkit-text-stroke-color: #fff;
}

/* GRADIENT BORDER */
.switch button.actives::before {
    content: "";
    position: absolute;
    inset: 0;
    padding: 2px;
    /* border thickness */
    border-radius: 30px;
    background: linear-gradient(92deg,
            #EAC27E 2.24%,
            #F2E5D4 42.26%,
            #C48B38 61.7%,
            #EABE80 101.34%);
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.line-title {
    position: relative;
    text-align: center;
    font-size: 1.32vw;
    font-weight: 700;
    font-family: "Metropolis";
    color: #fff0f0;
    margin-bottom: 1.5rem;
}

.line-title::before,
.line-title::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 14dvw;
    height: 3px;
    background: linear-gradient(92deg, #EAC27E 2.24%, #F2E5D4 42.26%, #C48B38 61.7%, #EABE80 101.34%);
}

.line-title::before {
    left: 0;
}

.line-title::after {
    right: 0;
    background: linear-gradient(92deg, #EAC27E 2.24%, #F2E5D4 42.26%, #C48B38 61.7%, #EABE80 101.34%);

}

.line-title span {
    padding: 0 1.5rem;
    position: relative;
    z-index: 1;
    background: linear-gradient(92deg, #EAC27E 2.24%, #F2E5D4 42.26%, #C48B38 61.7%, #EABE80 101.34%);

    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.mall_cont_wrapper .mcw {
    display: flex;
    flex-direction: row;
    max-width: 80vw;
    margin: auto;
    gap: 3rem;
    align-items: flex-start;
}

.mallDetails {
    width: 60vw;
}

.mallThumb {
    width: 35%;
}

.fhCarousel01 .splide__arrow--next {
    right: 0;
}

.fhCarousel01 .splide__arrow--prev {
    left: 0;
}

.splide .splide__arrow {
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    opacity: 1;
}

.splide .splide__arrow svg {
    display: none;
    /* hide default SVG */
}

/* PREV */
.splide .splide__arrow--prev {
    background: url("../images/golden-prev.png") center / contain no-repeat;
}

/* NEXT */
.splide .splide__arrow--next {
    background: url("../images/golden-next.png") center / contain no-repeat;
}

.frame-top {
    position: absolute;
    top: 1dvi;
    left: 0;
    right: 0;
    width: 98%;
    margin: auto;
    pointer-events: none;
}

.frame-bottom {
    position: absolute;
    bottom: 1dvi;
    left: 0;
    right: 0;
    width: 98%;
    margin: auto;
    pointer-events: none;
}

/* .angpow-head {
    background: url(../images/angpow-head.png);
    width: 100%;
    height: 13dvi;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: bottom;
} */
.angpow-body {
    position: relative;
    width: 100%;
    min-height: 13dvi;
    background: linear-gradient(180deg, #BF0000 4.49%, #8C0909 80.13%);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: bottom;
    z-index: 2;
}

.angpow-body>* {
    z-index: 2;
    position: relative;
}

.angpow-body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: url(../images/angpow-pattern.png);
    background-size: cover;
    pointer-events: none;
    z-index: 0;
}

.share_cont h2 {
    margin-top: 6dvi;
}

.share-icons {
    width: 2.2dvi;
    height: 2.2dvi;
    object-fit: contain;
}

.actImg2,
.actImg {
    width: 100%;
}

.pos-top-hd {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.flowerfloat {
    position: absolute;
}

.flowerfloatbtm {
    position: absolute;
}

.fg1 {
    top: 32%;
    right: 4%;
    width: 8dvi;
    height: 8dvi;
    object-fit: contain;
}

.fg2 {
    top: 55%;
    left: 36%;
    width: 4dvi;
    height: 4dvi;
    object-fit: contain;
}

.fg3 {
    top: 68%;
    left: 20%;
    width: 4dvi;
    height: 4dvi;
    object-fit: contain;
}

.fg4 {
    top: 72%;
    left: 27%;
    width: 6.1dvi;
    height: 6.1dvi;
    object-fit: contain;
}

.fr1 {
    top: 49%;
    left: 1.3%;
    width: 8dvi;
    height: 8dvi;
    object-fit: contain;
}

.fr2 {
    top: 63%;
    left: 25.3%;
    width: 3dvi;
    height: 4dvi;
    object-fit: contain;
}

.fr3 {
    top: 53%;
    right: 18%;
    width: 3dvi;
    height: 4dvi;
    object-fit: contain;
}

.fr4 {
    top: 65%;
    right: 30.3%;
    width: 5.9dvi;
    height: 5.9dvi;
    object-fit: contain;
}

.cny-happenings {
    min-height: 55dvi;
}

.angpow-cont {
    max-width: 49dvw;
    margin: auto;
}

.outfg1 {
    width: 10.7dvi;
    height: 10.7dvi;
    top: 82.6%;
    object-fit: contain;
    left: 10%;
}

.outfr1 {
    width: 14dvi;
    height: 15dvi;
    top: 82.5%;
    object-fit: contain;
    left: -4.2%;
}

.outfr2 {
    width: 6dvi;
    height: 6dvi;
    top: 87.8%;
    object-fit: contain;
    left: 20.3%;

}

.outfg2 {
    width: 12dvi;
    height: 12dvi;
    top: 86.6%;
    object-fit: contain;
    right: -5%;
}

.outfr3 {
    width: 15dvi;
    height: 14dvi;
    top: 78%;
    object-fit: contain;
    right: 2.3%;

}

.main-wrapper {
    padding-bottom: 6.5dvi;
}

.angf1 {
    position: absolute;
    bottom: -28%;
    width: 16dvi;
    height: 17dvi;
    left: -21%;
    object-fit: contain;
}

.angf2 {
    position: absolute;
    bottom: -31%;
    width: 18dvi;
    height: 18dvi;
    right: -23%;
    object-fit: contain;
}

.celebration_date.expired {
    opacity: 0.6;
}
p.sm_caption {
        text-align: center;
    font-size: 0.74vw;
}
@media screen and (min-width: 1024px) {
    p.ftdesc {
        min-height: 7dvi;
    }
}

@media screen and (max-width: 1024px) {
    main {
        margin-top: 120px;
    }




    p.main-subtxt {
        max-width: 37ch;
    }

    .cta_basic {
        font-size: 1rem;
        padding: 3vw 6.5vw;
    }

    h1,
    h2 {
        font-size: 2rem;
    }

    .custom_cont {
        display: grid;
        justify-content: center;
        gap: 0;
        grid-template-columns: repeat(12, 1fr);
    }

    .g_item {
        grid-column: span 4;
        justify-content: flex-start;
        gap: 1.2rem;
    }

    p {
        font-size: 1rem;
    }

    p.ftdesc {
        font-size: 1.2rem;
        max-width: 27ch;
        min-height: 9em;
        margin: auto;
    }

    .fticons {
        width: 15dvi;
        height: 14dvi;
    }

    .g_item:nth-child(4) {
        grid-column-start: 2;
        grid-column-end: 7;

    }

    .g_item:nth-child(5) {
        grid-column-start: 7;
        grid-column-end: 12;

    }

    .cta_basic.custom_sm {
        padding: 1.8vw 6vw;
        font-size: 3.5vw;
    }

    .celebration_date {
        width: 14vw;
        height: 14vw;
        font-size: 2.4dvi;
    }

    .celebration_date span {
        font-size: 5dvi;
    }

    .ct-wrapper {
        flex-direction: column;
    }

    .featuredimg {
        width: 43vw;
        display: block;
        margin: auto;
    }

    .switch button {
        padding: 0.4em 1em;
        font-size: 1.3rem;
    }

    .mall_cont_wrapper .mcw {
        flex-direction: column;
        max-width: 100%;
        gap: 2rem;
    }

    .mallThumb {
        width: 55%;
        margin: auto;
    }

    .mallDetails {
        width: 100%;
        padding: 0 1.5rem;
    }

    .line-title {
        font-size: 4.2vw;

    }

    .actImg2,
    .actImg {
        width: 56vw;
        margin: auto;
        display: block;
    }

    .angpow-cont {
        max-width: 100%;
        margin: auto;
    }

    .share-icons {
        width: 2rem;
        height: 2rem;
    }

    .pos-top-hd {
        top: unset;
        bottom: 0;
        padding-bottom: 8dvi;
    }

    .pos-top-hd p {
        max-width: 28ch;
        margin: auto;
    }

}

@media screen and (min-width: 768px) {

    .outfg3,
    .outfg4,
    .outfr4 {
        display: none;
    }

    .celebration_date:hover {
        transform: scale(1.1) rotate(5deg);
    }

    .cta_basic:hover {
        background: linear-gradient(45deg, #ff0000, transparent);
        filter: brightness(1);
    }

    .featuredimg:hover {
        transform: translateY(-10px);
    }
}

@media screen and (max-width: 767px) {

    .pos-cont {
        padding-top: 20.12dvi;
    }

    .masthead-img {
        width: 88%;
    }

    .fg1 {
        top: 59.8%;
        right: -3%;
        width: 18dvi;
        height: 18dvi;
    }

    .fg2 {
        top: 74%;
        left: 12%;
        width: 7dvi;
        height: 7dvi;
    }

    .fr1 {
        top: 65%;
        left: -3%;
        width: 14dvi;
        height: 14dvi;
    }

    .fr2 {
        top: 78%;
        right: 13%;
        width: 9dvi;
        height: 9dvi;
        left: auto;
    }

    .outfg1 {
        width: 10.5dvi;
        height: 10.5dvi;
        top: 96%;
        left: 18%;
    }

    .outfr1 {
        width: 9dvi;
        height: 9dvi;
        top: 94%;
        left: 12.8%;
    }

    .outfr2 {
        width: 12dvi;
        height: 12dvi;
        top: 93%;
        left: -5%;
    }

    .outfg2 {
        width: 14dvi;
        height: 14dvi;
        top: 95.6%;
        left: 3%;
    }

    .outfr3 {
        width: 18dvi;
        height: 18dvi;
        top: 91%;
        object-fit: contain;
        right: 6.3%;
    }

    .outfr4 {
        width: 11dvi;
        height: 11dvi;
        top: 95.5%;
        object-fit: contain;
        right: 23.3%;

    }

    .outfg3 {
        width: 12dvi;
        height: 12dvi;
        top: 94.6%;
        right: -3%;
        object-fit: contain;

    }

    .outfg4 {
        width: 8dvi;
        height: 8dvi;
        top: 92.6%;
        right: 20%;
        object-fit: contain;
    }

    .main-wrapper {
        padding-bottom: 7dvi;
    }

    .township_celebration::after {
        background-size: 196%;

    }

    p.ftdesc {
        font-size: 2.7vw;
        min-height: 8em;
        max-width: 18ch;
        margin: auto;
    }

    .cta_basic.custom_sm {
        padding: 3vw 7vw;
        font-size: 3.5vw;
    }

    .cta_basic {
        font-size: 4vw;
    }

    .line-title::before,
    .line-title::after {
        width: 19dvw;
    }

    .content_Malls {
        min-height: 56dvi;
    }

    p.main-subtxt {
        font-size: 0.8rem;
    }

    .featuredimg {
        width: 52vw;
        margin: auto;
        display: block;
    }

    h1,
    h2 {
        font-size: 5.5dvi;
    }

    .share-icons {
        width: 9dvi;
        height: 9dvi;
    }

    .switch button {
        padding: 1.8vw 2.5vw;
        font-size: 3.2vw;
    }

    p {
        font-size: 0.8rem;
    }

    .angf1,
    .angf2 {
        display: none;
    }
    .switches-container {
        width: 70%;
    }
    .switch-wrapper {
        width: 100%;
    }
    .switch-wrapper::after {
       content: "";
        display: inline-block;
        width: 1.3em;
        /* height: 100%; */
        margin-left: 10px;
        background-size: 3dvi;
        background-repeat: no-repeat;
        transition: transform 0.3s ease;
        background-image: url(https://imagedelivery.net/TdjZsXzzZt_je48pBzV3SA/9972d805-347f-46ea-2d27-da4d1d475000/400);
        display: flex;
        position: absolute;
        right: 1em;
        top: 0;
        bottom: 0;
        justify-content: center;
        align-content: center;
        background-position: center;
        pointer-events: none;
        padding-left: 1rem;
    }
    p.sm_caption {
    font-size: 0.6rem;
}
.g_item:nth-child(4) > p.ftdesc, .g_item:nth-child(5) > p.ftdesc{
           min-height: 18dvi;
}

}