.page-grid-bg {
    position: relative;
}

.page-grid-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: linear-gradient(to right, #94a3b8 1px, transparent 1px),
        linear-gradient(to bottom, #94a3b8 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, #000 60%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, #000 60%, transparent 100%);
    opacity: 0.045;
    pointer-events: none;
    z-index: 0;
}

/* About Section Mobile Styling */
@media (max-width: 1023px) {
    #about {
        margin-top: 1.5rem;
    }
}

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

    50% {
        transform: rotate(-3deg);
    }

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

.pendulum-card {
    /* Gentle swinging animation by default */
    animation: pendulum 4s ease-in-out infinite;
}