@tailwind base;
@tailwind components;
@tailwind utilities;

.bg-animation {
    position: relative;
}

.bg-animation::before {
    content: "It's time to explore!";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    color: white;
    font-size: 1.2rem;
    padding-top: 3%;
}

.bg-animation::after {
    content: "Let's enjoy the Tech Learn";
    position: absolute;
    z-index: 1;
    color: white;
    font-size: 1.5rem;
    --angle: 0deg;
    border-radius: 0.6rem;
    padding-top: 2%;
    animation: rotate-animation 5s linear infinite;
    background: linear-gradient(var(--angle), #5b58b4, #407cff, #a34c77, #5355ba);
}

@keyframes rotate-animation {
    to {
        --angle: 360deg;
    }
}
