/* Reset default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body with properly zoomed-out Stars Galaxy GIF background */
body {
    font-family: 'Verdana', sans-serif;
    background: url('stars-galaxy.gif') no-repeat center center fixed;
    background-size: cover; /* Fills the viewport proportionally */
    background-position: center center;
    color: #fff; /* White text for contrast */
    min-height: 100vh;
}

/* Fixed, scrollable white container */
.container {
    position: fixed; /* Keeps the box in the center of the screen */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(255, 255, 255, 0.95);
    padding: 30px;
    border-radius: 15px;
    max-width: 800px;
    width: 90%;
    max-height: 80vh; /* Limit height */
    overflow-y: auto; /* Makes content scrollable if it overflows */
    box-shadow: 0 0 20px rgba(0,0,0,0.2);
    color: #000; /* Keep container text dark for readability */
}

/* Header styling */
h1 {
    font-family: 'Courier New', monospace;
    font-size: 2rem;
    margin-bottom: 15px;
    text-align: center;
}

h2 {
    font-family: 'Courier New', monospace;
    font-size: 1.5rem;
    margin-top: 20px;
    margin-bottom: 10px;
}

/* Paragraphs */
p {
    margin-bottom: 15px;
    line-height: 1.6;
}

/* Links */
a {
    color: #0000ee;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Lists */
ul {
    list-style-type: disc;
    margin-left: 20px;
    margin-bottom: 15px;
}

/* Footer styling */
footer {
    text-align: center;
    margin-top: 20px;
    font-size: 0.9rem;
}

/* Custom grey scrollbar for container */
.container::-webkit-scrollbar {
    width: 12px; /* Width of the scrollbar */
}

.container::-webkit-scrollbar-track {
    background: #e0e0e0; /* Light grey track */
    border-radius: 10px;
}

.container::-webkit-scrollbar-thumb {
    background-color: #a0a0a0; /* Medium grey thumb */
    border-radius: 10px;
    border: 3px solid rgba(255, 255, 255, 0.8); /* Padding around thumb */
}

.container::-webkit-scrollbar-thumb:hover {
    background-color: #808080; /* Darker grey on hover */
}

/* Button group */
.button-group {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 20px 0;
}

/* Button styles */
.btn {
    background-color: #ff6f61; /* Cute coral color */
    color: #fff;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 25px; /* Rounded edges */
    font-family: 'Verdana', sans-serif;
    font-weight: bold;
    transition: all 0.3s;
    box-shadow: 0 3px 6px rgba(0,0,0,0.2);
}

.btn:hover {
    background-color: #ff3b2f; /* Darker on hover */
    transform: translateY(-2px); /* Slight lift on hover */
    box-shadow: 0 5px 10px rgba(0,0,0,0.25);
}

/* Animated glowing background behind main heading */
.header-bg {
    background: linear-gradient(270deg, #ffb6c1, #ffe4e1, #ffd1dc, #ffb6c1); /* Soft pastel gradient */
    background-size: 800% 800%; /* Makes the animation smooth */
    display: inline-block;
    padding: 10px 20px;
    border-radius: 15px;
    margin-bottom: 20px;
    text-align: center;
    animation: gradientGlow 10s ease infinite; /* Infinite gradient animation */
}

/* Remove margin from h1 inside header-bg */
.header-bg h1 {
    margin: 0;
}

/* Gradient animation */
@keyframes gradientGlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
