/*=============== GOOGLE FONTS ===============*/
@import url("https://fonts.googleapis.com/css2?family=Dancing+Script:wght@700&family=Josefin+Sans:wght@500&family=Poppins:wght@400;500;600&family=Long+Cang&family=ZCOOL+XiaoWei&display=swap");

/*=============== LOCAL FONTS ===============*/
@font-face {
    font-family: "Impact";
    src: url(/fonts/IMPACT.TTF);
}

/*=============== VARIABLES CSS ===============*/
:root {
    --header-height: 3.5rem;
    --animate-snow-1: animate-snow-1 5s infinite ease-in-out;
    --animate-snow-2: animate-snow-2 5s infinite ease-in-out;

    /*========== Colors ==========*/
    /*Color mode HSL(hue, saturation, lightness)*/
    --first-color: hsl(210, 80%, 54%);
    --first-color-alt: hsl(210, 80%, 50%);
    --title-color: hsl(210, 24%, 90%);
    --text-color: hsl(210, 16%, 70%);
    --white-color: #fff;
    --body-color: hsl(210, 30%, 4%);
    --preloader-background-color: hsl(210, 30%, 10%);
    --preloader-text-color: hsl(210, 24%, 90%);

    /*========== Font and typography ==========*/
    /*.5rem = 8px | 1rem = 16px ...*/
    --body-font: "Poppins", sans-serif;
    --zh-body-font: "Long Cang", serif;
    --second-font: "Dancing Script", cursive;
    --zh-second-font: "ZCOOL XiaoWei", serif;
    --biggest-font-size: 2.5rem;
    --h1-font-size: 1.5rem;
    --h2-font-size: 1.25rem;
    --h3-font-size: 1rem;
    --normal-font-size: .938rem;
    --small-font-size: .813rem;
    --smaller-font-size: .75rem;

    /*========== Font weight ==========*/
    --font-medium: 500;
    --font-semi-bold: 600;
    --font-bold: 700;

    /*========== z index ==========*/
    --z-tooltip: 10;
    --z-fixed: 100;
}

/* Responsive typography */
@media screen and (min-width: 1024px) {
    :root {
        --biggest-font-size: 5rem;
        --h1-font-size: 2.25rem;
        --h2-font-size: 1.5rem;
        --h3-font-size: 1.25rem;
        --normal-font-size: 1rem;
        --small-font-size: .875rem;
        --smaller-font-size: .813rem;
    }
}

/*=============== BASE ===============*/
* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    font-size: var(--normal-font-size);
    background-color: var(--body-color);
    color: var(--text-color);
    overflow-x: hidden;
}

h1,
h2,
h3 {
    color: var(--title-color);
    font-weight: var(--font-medium);
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

/*=============== PRELOADER STYLE ===============*/
@media (max-width: 650px) {
    .ml13 {
        font-size: 3.5rem !important;
        /* Adjust this value as needed */
    }

}

@media (max-width: 410px) {
    .ml13 {
        font-size: 2.5rem !important;
        /* Adjust this value as needed */
    }

}

@media (max-width: 310px) {
    .ml13 {
        font-size: 1.8rem !important;
        /* Adjust this value as needed */
    }

}

.preloader {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    /* Tailwind 'gap-4' is 1rem */
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    /* 'h-screen' is 100% of the viewport height */
    background-color: var(--preloader-background-color);
    z-index: 1100;
    /* 'z-[1100]' sets the z-index */
    transition: opacity 0.2s ease-in-out;
}

.ml13 {
    font-size: 5.5rem;
    /* text-transform: uppercase; */
    color: var(--preloader-text-color);
    letter-spacing: -1px;
    font-weight: 900;
    font-family: "Dancing Script", cursive;
    text-align: center;
}

.ml13 .word {
    display: inline-flex;
    flex-wrap: wrap;
    white-space: nowrap;
}

.ml13 .letter {
    display: inline-block;
    line-height: 1em;
}

/*=============== FLIP COUNTER CUSTOMIZE ===============*/
.counter {
    margin-top: 3rem;
    max-width: 80%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.counter p {
    text-align: center;
    margin-bottom: 1rem;
    font-family: "Josefin Sans";
    color: var(--title-color);
    font-size: var(--h3-font-size);
}

.tick {
    width: 480px;
    max-width: 100%;
    font-size: 1rem;
    white-space: nowrap;
    font-family: arial, sans-serif;
}

.tick-flip,
.tick-text-inline {
    font-size: 2.5em;
}

.tick-label {
    margin-top: 1em;
    font-size: 1em;
    font-family: "Josefin Sans";
}

.tick-char {
    width: 1.5em;
}

.tick-text-inline {
    display: inline-block;
    text-align: center;
    min-width: 1em;
}

.tick-text-inline+.tick-text-inline {
    margin-left: -.325em;
}

.tick-group {
    margin: 0 .5rem;
    text-align: center;
}

.tick-text-inline {
    color: rgb(0, 0, 0) !important;
}

.tick-label {
    color: var(--title-color) !important;
    margin-top: .2rem;
}

.tick-flip-panel {
    color: #fff !important;
}

.tick-flip,
.splitter {
    font-family: "Impact", Charcoal, sans-serif !important;
}

.tick-flip-panel-text-wrapper {
    line-height: 1.45 !important;
}

.tick-flip-panel {
    background-color: #3c3e3c !important;
}

.tick-flip {
    border-radius: 0.16em !important;
}