@tailwind base;
@tailwind components;
@tailwind utilities;


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: go3v2;
    src: url("../font/go3v2.ttf");
}

@font-face {
    font-family: Gloss_And_Bloom;
    src: url(/assets/font/Gloss_And_Bloom.ttf);
}

html {
    scroll-behavior: smooth;
}


h2 {
    font-family: Gloss_And_Bloom;
}

body {
    font-family: go3v2;
    color: #fff;
    background-color: #0E0F13;
    overflow-x: hidden;

}

p {
    font-size: 1.5vw;
    font-family: "Single Day", cursive;
}

.header,
.both_sec,
.about,
.join,
.footer {
    background-position: top center;
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;

}

.header {
    position: relative;
    background-image: url("../images/header.gif");
    height: 72vw;
    padding: 2vw 5vw;
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

nav a {
    font-family: "Single Day", cursive;
    font-size: 1.5vw;
}


nav .right {
    display: flex;
    align-items: center;
    gap: 6vw;
}

nav .right a img {
    width: 13vw;
}

.main {
    position: absolute;
    top: 25vw;
    left: 50%;
    transform: translateX(-50%);
}

.main .action {
    display: flex;
    align-items: center;
    gap: 2vw;
    justify-content: center;
}

.main .action a img {
    width: 15vw;
    margin-top: 1vw;
}

a img {
    transition: all 0.3s ease-in-out;
}

a img:hover {
    transform: scale(1.1);
}

.link {
    position: absolute;
    right: 5vw;
    top: 30vw;
}

.link a img {
    width: 5vw;
    margin-top: 1vw;
}


/* both_sec  */

.both_sec {
    position: relative;
    background-image: url("../images/bg.png");
    height: 100%;
    padding: 0vw 0vw;
}

.about {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-image: url("../images/about-bg.png");
    height: 50vw;
    padding: 0 35vw;
}

.about h1 {
    text-align: center;
    font-size: 10vw;
}

.about h2 {
    font-size: 3vw;
    text-align: center;
    margin-top: -7vw;
    color: #FF3B27;
}

.about p {
    text-align: center;
    margin-top: 3vw;
    margin-bottom: 3vw;
}

.about a img {
    margin: auto;
    width: 15vw;
}


/* slider_1  */
.slider_1,
.slider_2 {
    background-color: #FF1848;
}

.slider_1 img,
.slider_2 img {
    width: 20vw;
}

.slider_2 {
    transform: rotate(-3deg);
    margin-top: -2vw;
    position: relative;
    z-index: 999;
    border: 1px solid #000;
}

/* join  */

.join {
    position: relative;
    background-image: url("../images/join.gif");
    height: 63vw;
    padding: 2vw;
    margin-top: -5vw;
    display: flex;
    align-items: center;
    z-index: 99;
}

.join .iner {
    width: 35vw;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
}

.join h1 {
    font-size: 10vw;
}

.join h2 {
    font-size: 3vw;
    margin-top: -7vw;
    color: #FF3B27;
    text-align: center;
}

.join p {
    margin-top: 3vw;
    margin-bottom: 3vw;
    text-align: center;
}

.join a img {
    width: 15vw;
}


.footer {
    position: relative;
    background-image: url("../images/footer-bg.png");
    height: 100%;
    padding: 10vw 5vw 2vw 5vw;
    margin-top: -6vw;
}

.footer .links {
    display: flex;
    align-items: center;
    gap: 2vw;
    position: absolute;
    right: 3vw;
    top: 30vw;
}

.footer .links img {
    width: 5vw;

}

.footer h1 {
    font-size: 15vw;
    text-align: center;
}

.footer p {
    text-align: center;
    color: #000;
    transform: translateY(1vw);
    text-transform: uppercase;
}

/* animations  */

.top_bottom {
    animation: topbuttom 1s ease-in-out infinite alternate;
}


@keyframes topbuttom {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(10px);
        /* Adjust the value to control the distance */
    }
}



/* - ======================== Loading overlay ============================*/
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

/* Loader animation */
.loader {
    border: 8px solid #f3f3f3;
    border-top: 8px solid #3498db;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@media screen and (max-width: 780px) {

    body,
    html {
        overflow-x: hidden;
    }
}

@media screen and (max-width: 480px) {

    body,
    html {
        overflow-x: hidden;
    }

    p,
    a {
        font-size: 3vw;
    }



    nav a {
        font-family: "Single Day", cursive;
        font-size: 2.5vw;
    }


    nav .right a img {
        width: 18vw;
    }

    

    .main .action {
        display: flex;
        align-items: center;
        gap: 2vw;
        justify-content: center;
    }

    .main .action a img {
        width: 20vw;
    }



    .link {
        top: 25vw;
    }

    .about {
        height: 55vw;
        padding: 0 30vw;
    }


    .about h2 {
        margin-top: -5vw;
    }

    .join h2 {
        margin-top: -5vw;
    }

    .about p {
        text-align: center;
        margin-top: 3vw;
        margin-bottom: 3vw;
        font-size: 2.3vw;
    }

    .about a img {
        width: 20vw;

    }

    .join a img {
        width: 20vw;

    }

    .footer .links img {
        width: 8vw;

    }
}