﻿/* Reset styles for the body */
/*body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-color: #f5f5f5;
}*/

/* Semi-transparent background overlay */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Black background at 50% opacity */
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: auto; /* Allows interaction with the overlay while disabling other page elements */
    z-index: 999; /* Ensure it appears above the rest of the content */
}

/* Progress dots container */
.dot-progress {
    display: flex;
    gap: 12px; /* Space between dots */
}

/* Individual dot styles */
.dot {
    width: 16px;
    height: 16px;
    background-color: #ffffff; /* White dots */
    border-radius: 50%; /* Makes the dot circular */
    animation: dotPulse 1.5s infinite ease-in-out;
}

    /* Animation stagger for each dot */
    .dot:nth-child(1) {
        animation-delay: 0s; /* First dot starts animation */
    }

    .dot:nth-child(2) {
        animation-delay: 0.3s; /* Second dot starts slightly later */
    }

    .dot:nth-child(3) {
        animation-delay: 0.6s; /* Third dot starts even later */
    }

/* Keyframe for the dots' animation */
@keyframes dotPulse {
    0%, 100% {
        transform: scale(1); /* Original size */
        opacity: 0.6; /* Semi-transparent dots */
    }

    50% {
        transform: scale(1.5); /* Enlarged size */
        opacity: 1; /* Fully visible at peak */
    }
}

/* Disabling page scrolling while the overlay is active */
body.disable-scroll {
    overflow: hidden;
}
