@tailwind base;
@tailwind components;
@tailwind utilities;


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: font1;
    src: url(/assets/font/NeueMontreal-Bold.otf);
}

body {
    font-size: 16px;
    font-weight: 400;
    font-family: "Margarine", sans-serif;
    background-color: #4A356D;
}

span {
    display: inline-block;
}


p {
    font-family: "Nanum Pen Script", cursive;
}


.header {
    background-image: url(/assets/images/header.png);
    background-position: top center;
    background-size: cover;
    background-repeat: no-repeat;
    width: 100%;
    height: 90vw;
    color: #fff;
}

.avatar {
    position: absolute;
    top: 25%;
    right: 10%;
    transform: translateY(-50%);
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2vw;
}

.logo {
    display: flex;
    align-items: center;
}

.links {
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.5s ease-in-out;
}

.links a img {

    transition: all 0.5s ease-in-out;
}

.links a img:hover {
    transform: scale(1.1);

}

.about {
    background: #6B4AA2;
    padding: 2vw;
    border: 3px solid #000;
    color: #fff;
    position: relative;
}

.about .About-heading {
    position: absolute;
    top: -5vw;
    left: 50%;
    transform: translateX(-50%);
}

.about .iner {
    background-color: #8E6BC9;
    padding: 0 4vw;
}

.about .about-monky {
    position: absolute;
    top: 8vw;
    right: 0%;
    transform: translateX(0%);
}


.layr {
    background-image: url(/assets/images/Union.png);
    background-position: top center;
    background-size: cover;
    background-repeat: no-repeat;
    width: 100%;
    height: 22vw;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20vw;
    margin: 10vw 0;
}

.layr .iner-img {
    background-image: url(/assets/images/shape.png);
    background-position: top center;
    background-size: cover;
    background-repeat: no-repeat;
    padding: 2vw 10vw;

}

.how-to {
    background-image: url(/assets/images/roadmap.png);
    background-position: top center;
    background-size: cover;
    background-repeat: no-repeat;
    width: 100%;
    height: 125vw;
    color: #fff;
}

footer {
    background-image: url(/assets/images/footer.png);
    background-position: top center;
    background-size: cover;
    background-repeat: no-repeat;
    width: 100%;
    height: 75vw;
    color: #fff;
    padding-top: 62vw;
    margin-top: -8vw;
    position: relative;
    z-index: 99;
}


@keyframes rotateAnimation {
    0% {
        transform: rotate(20deg);
    }

    50% {
        transform: rotate(-20deg);
    }

    100% {
        transform: rotate(20deg);
    }
}

.avatar {
    display: inline-block;
    animation: rotateAnimation 2s ease-in-out infinite;
}


.leftright {
    animation: rotateAnimation 2s ease-in-out infinite;
}

@keyframes moveRight {
    from {
        left: 0;
    }

    to {
        left: 10%;
    }
}


.box {
    animation: rotateLeftRight 5s infinite alternate;
}

@keyframes rotateLeftRight {
    0% {
        transform: rotate(0deg);
    }

    50% {
        transform: rotate(-30deg);
    }

    100% {
        transform: rotate(30deg);
    }
}


.rocket {

    top: 50%;
    transform: translate(-50%, -50%);
    left: 30%;
}



.updown {

    animation: flyUpDown 3s ease-in-out infinite alternate;
}

@keyframes flyUpDown {
    0% {
        transform: translate(-50%, 0);
    }

    100% {
        transform: translate(-50%, -100px);
    }
}

@media screen and (max-width: 480px) {

    .header {
        height: 90vw;

    }

    .links {
        gap: 6px;
    }

    .about {

        padding: 5vw;

    }

    .about .About-heading {
        position: absolute;
        top: -10vw;
        left: 50%;
        transform: translateX(-50%);
    }

    .about .iner {
        padding: 10vw 4vw;
    }

    .layr {
        padding: 20vw 10vw;
    }

    .layr .iner-img {

        padding: 1.8vw 10vw;

    }

    .about .about-monky {
        position: absolute;
        top: -30vw;
        right: 0%;
        transform: translateX(0%);
    }

    .how-to {
        background-image: url(/assets/images/road-mobile.png);
        width: 100%;
        height: 180vw;
        color: #fff;
        padding-top: 25vw;
    }

    footer {
        padding-top: 60vw;
    }

    @keyframes flyUpDown {
        0% {
            transform: translate(-50%, 0);
        }

        100% {
            transform: translate(-50%, -20px);
        }
    }
}