#preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--ai-bg);
    z-index: 1050;
    height: 100%;
    width: 100%;
}

#loader {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 120px;
    height: 120px;
    margin-left: -60px;
    margin-top: -60px;
    padding: 10px;
    border-radius: 100%;
    animation: loading 3s infinite;
}

#loader svg {
    display: block;
    max-width: 100%;
    animation: loading-icon 3s infinite;
    opacity: 0.9;
}

.pulse-loading svg path{
    fill: var(--ai-primary);
}

@keyframes loading {
    0% {
        transform: perspective(250px) rotateX(0deg) rotateY(0deg);
    }

    50% {
        transform: perspective(250px) rotateX(180deg) rotateY(0deg);
    }
}

@keyframes loading-icon {
    0% {
        transform: perspective(250px) rotateX(0deg);
    }

    50% {
        transform: perspective(250px) rotateX(180deg);
    }
}