:root {
    --gradient-shadow: linear-gradient(45deg,
            #00ffea,
            #ff00d4);
}

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

html {
    background-color: #0C0C0C;
    background-image: linear-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
}

.top {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    color: white;
    height: 100vh;
    gap: 30px;
}

.top img {
    width: 200px;
    border-radius: 10px;
}

.top h1 {
    font-size: 20px;
    width: 175px;
}

.container {
    position: relative;
    text-align: center;
    color: white;
    transition: 500ms;
}

.container:hover {
    transform: scale(1.1);
    transition: 500ms;
}

.center-bottom {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
}

.image:before,
.image:after {
    content: "";
    position: absolute;
    top: -2px;
    left: -2px;
    background: var(--gradient-shadow);
    background-size: 100%;
    width: calc(100% + 4px);
    height: calc(100% + 4px);
    z-index: -1;
    animation: animate 20s linear infinite;
    background-size: 200% 200%;
}

.image:after {
    filter: blur(20px);
}

body {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background-image: radial-gradient(transparent, black);
}

@media screen and (max-width: 600px) {
    .top {
        flex-direction: column-reverse;
    }
}

.text {
    display: flex;
    align-items: center;
}

.rotating-bg {
    text-transform: uppercase;
    background-image: linear-gradient(90deg,
            #00ffea,
            #ff00d4,
            #00ffea);
    background-clip: border-box;
    background-size: 2000% auto;
    /* Increased from 200% to 300% */
    color: #fff;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textclip 70s linear infinite;
    display: inline-block;
}

@keyframes textclip {
    0% {
        background-position: 0% center;
    }

    100% {
        background-position: -2000% center;
        /* Adjusted to match the new background size */
    }
}

@keyframes animate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}