@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;1,200&display=swap');

* {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;

}

/* Set background image */
body {
    margin: 0;
    padding: 0;
    background-image: url("assets/bgg.png"); /* Replace with your image filename */
    background-size: cover;  /* Makes the image cover the screen */
    background-position: center; /* Centers the image */
    background-repeat: no-repeat; /* Prevents tiling */
    height: 100vh;
    overflow: hidden;
}

/* Content styling */
.content {
    text-align: center;
    color: white;
    background: rgba(0, 0, 0, 0); /* Adds transparent overlay for readability */
    padding: 50px;
    border-radius: 15px;
    margin: 20vh auto;
    width: 60%;
}


.rightarr-img {
    width: 1200px;       /* arrow size */
    position: absolute;
    top: 50%;
    right: 330px;        /* move it to the right side */
    transform: translateY(-50%);
    animation: moveRightArrow 1s infinite ease-in-out;
}

.leftarr-img {
    width: 1200px;
    position: absolute;
    top: 50%;
    left: 330px;         /* move it to the left side */
    transform: translateY(-50%);
    animation: moveLeftArrow 1s infinite ease-in-out;
}

.rightarr-img,
.leftarr-img {
    z-index: 1; /* keep them behind */
}


.signin-img {
    width: 450px;
    position: absolute;
    top: 43%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: pulseSignin 2s infinite ease-in-out;
    cursor: pointer; /* pointer when hovering */
    z-index: 10; /* put it above the arrows */
}

/* Stop animation on hover */
.signin-img:hover {
    animation-play-state: paused;
}


/* Keyframes for pulsing effect */
@keyframes pulseSignin {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.05);
    }
}


@keyframes moveRightArrow {
    0%, 100% {
        transform: translateY(-50%) translateX(0);
    }
    50% {
        transform: translateY(-50%) translateX(20px); /* moves slightly right */
    }
}

/* Keyframes for left arrow */
@keyframes moveLeftArrow {
    0%, 100% {
        transform: translateY(-50%) translateX(0);
    }
    50% {
        transform: translateY(-50%) translateX(-20px); /* moves slightly left */
    }
}

@keyframes pulseSignin {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.05); /* zooms in slightly */
    }
}

.fade-out {
    opacity: 0;
    transition: opacity 0.8s ease;
}