.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--blk-clr);
    z-index: 99999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: transform 1s cubic-bezier(0.6, 0, 0.4, 1);
}

.preloader__text {
    color: var(--wht-clr);
    font-size: 1.5rem;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.8;
}

.preloader__progress {
    position: absolute;
    bottom: 20%;
    left: 50%;
    transform: translateX(-50%);
    color: var(--accent-clr);
    font-size: 0.9rem;
}

.trail-image {
    position: fixed;
    width: 100px;
    aspect-ratio: 1 / 1;
    pointer-events: none;
    border-radius: 0;
    object-fit: cover;
    transition: opacity 0.5s ease;
    transform: translate(-50%, -50%);
    animation: photo 2s alternate infinite;
}

@keyframes photo {
    50% {
        transform: translate(-50%, -50%) scale(1.1) rotate(24deg);
    }
}