/* Base reset for margin and padding */
body, html {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif; /* Modern, readable font */
    background-color: #f8f9fa; /* Light and neutral background */
    color: #333; /* Dark color for text for readability */
}

/* Styling for the container to center content and provide padding */
.container {
    max-width: 1200px;
    margin: 0 auto; /* Center the container */
    text-align: center;
    padding: 50px 20px; /* Spacing inside the container */
}

/* Header styling */
header {
    background-color: #007bff; /* Vibrant blue for header background */
    color: #fff; /* White text for contrast */
    padding: 40px 20px; /* Padding for spacing around the content */
}

h1 {
    font-size: 2.5rem; /* Large font size for the main heading */
    margin-bottom: 20px; /* Spacing below the heading */
}

/* Flexbox layout for buttons */
.buttons {
    display: flex;
    flex-direction: column; /* Stack buttons vertically */
    align-items: center; /* Center buttons horizontally */
    gap: 10px; /* Space between buttons */
}

/* Styling for buttons */
.buttons a {
    background-color: #0056b3; /* Button background color */
    color: #fff; /* Button text color */
    padding: 10px 30px; /* Padding for size of the button */
    text-decoration: none; /* Remove underline from links */
    border-radius: 5px; /* Rounded corners for buttons */
    transition: background-color 0.3s; /* Smooth transition for hover effect */
    display: inline-block; /* Necessary for applying padding and margins */
}

/* Hover effect for buttons */
.buttons a:hover {
    background-color: #004085; /* Darker shade on hover for feedback */
}

/* Tooltip container for positioning */
.button-tooltip-container {
    position: relative; /* Establishes a positioning context for tooltips */
    display: inline-block; /* Necessary for positioning child elements */
}

/* Tooltip text styling */
.tooltip-text {
    visibility: hidden; /* Hide tooltip by default */
    width: 220px;
    background-color: #fff; /* Background color for tooltip */
    color: #333; /* Text color for tooltip */
    text-align: center;
    border-radius: 6px;
    padding: 5px 0; /* Padding for tooltip content */
    position: absolute;
    z-index: 1;
    left: 105%; /* Position to the right of the button */
    top: 50%; /* Align to the middle vertically */
    transform: translateY(-50%); /* Center align tooltip */
    box-shadow: 0 2px 4px rgba(0,0,0,0.2); /* Shadow for depth */
}

/* Show tooltip on hover */
.button-tooltip-container:hover .tooltip-text {
    visibility: visible; /* Make tooltip visible */
}

@media (max-width: 768px) {
    .buttons {
        flex-direction: column; /* Stack buttons vertically on smaller screens */
    }
}

.animation-container {
    position: absolute; /* Changed from fixed to absolute */
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
    pointer-events: none;
}
/* Styling for each dot */
.dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #007bff; /* Customize the color */
    opacity: 0.5; /* Start with a lower opacity */
    margin: 0 5px; /* Space out the dots */
    animation: fadeWave 2.5s infinite ease-in-out;
}

/* Keyframes for the fading wave animation */
@keyframes fadeWave {
    0%, 100% { opacity: 0.2; }
    50% { opacity: 1; }
}

/* Delay the animation for each dot to create the wave effect */
.dot:nth-child(1) { animation-delay: 0s; }
.dot:nth-child(2) { animation-delay: 0.5s; }
.dot:nth-child(3) { animation-delay: 1s; }
.dot:nth-child(4) { animation-delay: 1.5s; }
.dot:nth-child(5) { animation-delay: 2s; }
