html, body {
    scroll-behavior: smooth;
    position: relative; /* Ensure proper stacking */
    z-index: 0; /* Higher than -1 */
}

.dots-container {
    position: fixed; /* Ensures it covers the entire viewport */
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: grid;
    grid-template-columns: repeat(auto-fill, 20px);
    grid-template-rows: repeat(auto-fill, 20px);
    gap: 20px;
    pointer-events: none;
    z-index: -1;
}

@keyframes blinkDots {
    0% { opacity: 1; }
    50% { opacity: 0; }
    100% { opacity: 1; }
}

.dot {
    width: 5px;
    height: 5px;
    background-color: rgb(70, 70, 70);
    border-radius: 50%;
    transition: opacity 0.5s ease-in-out;
}

.dots-container {
    background-color: rgba(0, 0, 0, 0.1); /* Light tint */
}

/* Blinking effect */
@keyframes blinkDots {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.2; } /* Instead of white, make dots nearly disappear */
}


.card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
}

.skill-tag {
    background: rgba(255, 255, 255, 0.05);
}

#experience{
    scroll-margin-top: 10px;
}

#projects{
    scroll-margin-top: 10px;
}

#contact{
    scroll-margin-top: 10px;
}