/* ! Cursor ball for pages */

.cursor--pages { /* pages cursor */
    position: absolute;
    z-index: 9999;
    width: 20px;
    height: 20px;
    background-color: rgba(43, 48, 53, 0.5);
    /* background-color: red; */
    border-radius: 50%;
    transition: transform 0.05s ease-out;
    /* to have smooth movement effect */
    /* ? to continue using */
    pointer-events: none;
}
.cursor--pages--pointer {
    /* class for JS */
    animation: ballZoom 0.3s ease-in-out forwards;
    background-color: rgba(163, 137, 123, 0.8);
    box-shadow: 2px 2px 5px rgba(163, 137, 123, 0.1);
}
.cursor--pages--dnone{
    height: 10px;
}
.cursor--pages--dyes{
    height: 10px;
}
.cursor-pages--top{
    visibility: hidden;
    position: fixed;
    top: 0px;
}

@keyframes ballZoom {
    from {
        height: 20px;
        width: 20px;
    }

    to {
        height: 30px;
        width: 30px;
    }
}

.cursor--pages--normal {
    /* class for JS */
    animation: ballZoomOut 0.3s ease-in-out forwards;
    background-color: rgba(215, 211, 204, 0.8);
    box-shadow: 2px 2px 5px rgba(215, 211, 204, 0.1);
}

@keyframes ballZoomOut {
    from {
        height: 30px;
        width: 30px;
    }

    to {
        height: 20px;
        width: 20px;
    }
}

/* * hide on mobile */
@media (max-width: 1199px) {
    .cursor--pages{
        display: none;
    }
}