@tailwind base;
@tailwind components;
@tailwind utilities;


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: CCMaladroit;
    src: url(/assets/font/CCMaladroit\ W00\ Bold.ttf);
}

html {
    scroll-behavior: smooth;
}

h1 {
    font-family: font1;
}

body {
    font-family: "Urbanist", sans-serif;
    font-weight: 400;
    color: #fff;
    background-color: #9B66FA;

}

p {
    font-size: 1.5vw;
}

h2 {
    font-family: "Luckiest Guy", cursive;
}

h3 {
    font-family: CCMaladroit;
}

li {
    font-family: CCMaladroit;
}

.header {
    background-position: top center;
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
}

.header {
    background-image: url('/assets/images/header.png');
    height: 70vw;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: end;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    position: absolute;
    top: 2vw;
    left: 0;
    padding: 0vw 5vw;
}

nav .logo {
    width: 100%;
    max-width: 15vw;
}

nav .link a img {
    width: 100%;
    max-width: 15vw;
    transition: all 0.3s ease-in-out;
}

nav .link a img:hover {
    transform: scale(1.1);
}


.header_sec {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 5vw;
}

.header_sec .social {
    display: flex;
    align-items: center;
    gap: 1vw;
}

.header_sec .social img {
    width: 100%;
    max-width: 4vw;
    transition: all 0.3s ease-in-out;
}

.header_sec .social img:hover {
    transform: scale(1.1);
}

.header_sec .center h3 {
    font-size: 2vw;
    margin-bottom: 3vw;
}

.header_sec .center img {
    width: 100%;
    max-width: 15vw;
    margin: auto;
    transition: all 0.3s ease-in-out;
}


.header_sec .center img:hover {
    transform: scale(1.1);
}

.header_sec .right img {
    width: 100%;
    max-width: 15vw;
    transition: all 0.3s ease-in-out;
}

.header_sec .right img:hover {
    transform: scale(1.1);
}

marquee {
    background-color: #BF57FF;
    border-bottom: 4px solid #000;
    border-top: 4px solid #000;
    padding: 1vw 0vw;
    font-family: "Luckiest Guy", cursive;
    color: #000;
    font-size: 2vw;
}

/* about */
.about {
    padding: 6vw;
}

.about .box {
    border-radius: 2vw;
    border: 4px solid #000;
    padding: 2vw 0vw 0vw 2vw;
    display: flex;
    justify-content: end;
    align-items: end;
    background-color: #8A52EC;
}

.about .box .center h2 {
    font-size: 4vw;
    text-align: center;
}

.about .box .center h3 {
    font-size: 1.5vw;
    text-align: center;
    margin-bottom: 2vw;

}

.about .box .center img {
    width: 100%;
    max-width: 15vw;
    margin: auto;
}

.about_link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3vw;
}

.about_link img {
    width: 100%;
    max-width: 15vw;
}


.toknomics {
    background-color: #821C7F;
    padding: 5vw;
}

.toknomics h2 {
    font-size: 6vw;
    text-align: center;
    color: #F151FF;
    margin-bottom: 5vw;
}

.toknomics .left img {
    width: 100%;
    max-width: 30vw;
    margin-left: auto;
}

.toknomics .left a img {
    width: 100%;
    max-width: 15vw;
    margin: auto;
    margin-top: 5vw;
}

.toknomics .right .box {
    background-color: #ED78F7;
    color: #000;
    margin-bottom: 2vw;
    padding: 1vw 0vw;
}

.toknomics .right .box h2 {
    font-size: 3vw;
    margin-bottom: 0;
    color: #000;
}

.toknomics .right .box h3 {
    font-size: 1.2vw;
    text-align: center;

}

/* howtobuy  */
.howtobuy {
    background-color: #9B66FA;
    padding: 5vw;
}

.howtobuy h2 {
    font-size: 6vw;
    text-align: center;
    color: #5820A0;
    margin-bottom: 1vw;
}

.howtobuy h3 {
    font-size: 2vw;
    text-align: center;
    color: #fff;
    margin-bottom: 5vw;
}

.howtobuy .box {
    padding: 1vw 3vw;
    border: 0.3vw solid #000;
    background-color: #821C7F;
}

.howtobuy .box h2 {
    font-size: 2vw;
    margin-bottom: 0;
    text-align: left;
    color: #fff;
}

.howtobuy .box h3 {
    font-size: 1vw;
    text-align: left;
    margin-bottom: 0vw;
}

/* road map  */
.roadmap {
    background-image: linear-gradient(to bottom, #7638E4, #7638E4, #7638E4, #9C66FB, #9C66FB);
    padding: 5vw 10vw;
    position: relative;
}


.timeline_line {
    z-index: 2;
    background-color: transparent;
    justify-content: center;
    align-items: flex-start;
    /* Changed to flex-start */
    width: .3rem;
    display: flex;
    position: absolute;
    top: 20vw;
    left: 47vw;
    height: 105vw;
    text-transform: uppercase;
}

.timeline_line::before {
    content: '';
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle, red 15%, transparent 16%);
    background-size: 0.3rem 0.3rem;
    background-position: center;
    transition: background-color 0.3s ease;
}

.timeline_circle {
    border: .5rem solid #000;
    background-color: #fff;
    border-radius: 100%;
    width: 4rem !important;
    position: relative;
    top: 0;
    transition: top 0.1s ease;
    /* Smooth transition */
    padding: 1vw;
}


/* Animation for the first image */
.r-1 {
    position: absolute;
    animation: jumpLeftRight 1s infinite alternate ease-in-out;
    width: 100%;
    max-width: 15vw;
}

/* Animation for the second image */
.r-2 {
    position: absolute;
    animation: jumpLeftRight 1s infinite alternate ease-in-out;
    width: 100%;
    max-width: 15vw;
    bottom: -5vw;
    right: 50vw;
}



/* Keyframes for the jumping animation */
@keyframes jumpLeftRight {
    0% {
        left: 0;
    }

    50% {
        left: 20px;
    }

    100% {
        left: 0;
    }
}

.roadmap h2 {
    font-size: 6vw;
    text-transform: uppercase;
    text-align: center;
}

.roadmap .box_1 {
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.roadmap .box_1 h2 {
    font-size: 3vw;
    text-align: left;
}

.roadmap .box_1 ul {
    font-family: Wintermouse;
    font-size: 1.5vw;
}

.roadmap .box_2 img {
    width: 100%;
    max-width: 32vw;
}

li {
    font-size: 1.2vw;
}

.roadmap .box_2 h2 {
    font-size: 3vw;
    text-align: left;
}

/* footer */

footer {
    color: #000;
    padding-top: 5vw;
    background-color: #A678F7;
}

footer .center h2 {
    font-size: 6vw;
    color: #000;
    text-align: center;
}

footer .center h3 {
    font-size: 1.5vw;
    color: #000;
    text-align: center;
    margin: 3vw 0vw;
}

footer .center .social {
    display: flex;
    align-items: center;
    gap: 1vw;
    justify-content: center;
}

footer .center .social img {
    width: 100%;
    max-width: 4vw;
    transition: all 0.3s ease-in-out;
}

footer .center .social img:hover {
    transform: scale(1.1);
}

@media screen and (max-width: 480px) {

    p {
        font-size: 2.3vw;
    }

    .about .box {
        border-radius: 2vw;
        border: 2px solid #000;
        padding: 2vw 0vw 0vw 2vw;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }

    .about .box .center img {
        width: 100%;
        max-width: 20vw;
        margin: auto;
    }

    marquee {
        border-top: 2px solid #000;
        border-bottom: 2px solid #000;
        font-size: 3vw;
    }

    .about .box .center h3 {
        font-size: 2vw;
    }

    .about .box .center h2 {
        font-size: 8vw;
        text-align: center;
    }

    .about_link img {
        width: 100%;
        max-width: 25vw;
    }

    .toknomics .left img {
        margin: auto;
    }

    .howtobuy .box h2 {
        font-size: 2.5vw;

    }

    .howtobuy .box h3 {
        font-size: 1.3vw;

    }

    .timeline_line {
        z-index: 2;
        background-color: transparent;
        justify-content: center;
        align-items: flex-start;
        /* Changed to flex-start */
        width: .1rem;
        display: flex;
        position: absolute;
        top: 20vw;
        left: 48vw;
        height: 105vw;
        text-transform: uppercase;
    }

    .timeline_circle {
        border: .2rem solid #000;
        background-color: #fff;
        border-radius: 100%;
        width: 4rem !important;
        /* box-shadow: 0 0 0 .2rem #fff; */
        position: relative;
        top: 0;
        transition: top 0.1s ease;
        /* Smooth transition */
        padding: 1vw;
    }

    li {
        font-size: 1.5vw;
    }

}


@keyframes globeRotation {
    0% {
        transform: rotate(0deg) translateX(0) rotate(0deg);
    }

    25% {
        transform: rotate(90deg) translateX(20px) rotate(-90deg);
    }

    50% {
        transform: rotate(180deg) translateX(0) rotate(-180deg);
    }

    75% {
        transform: rotate(270deg) translateX(-20px) rotate(-270deg);
    }

    100% {
        transform: rotate(360deg) translateX(0) rotate(-360deg);
    }
}

.globe-animation {
    animation: globeRotation 3s infinite linear;
    display: inline-block;
}



.topbottom {
    position: relative;
    animation: moveTopToBottom 2s ease-in-out infinite;
}

@keyframes moveTopToBottom {
    0% {
        top: 0;
    }

    50% {
        top: 10px;
    }

    100% {
        top: 0;
    }
}