body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow: hidden; 
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #1a1a2e; 
}

/* Style for the new fixed top bar */
#top-bar {
    position: fixed; /* Keep it fixed at the top */
    top: 0;
    left: 0;
    width: 100vw;
    height: 50px; /* Fixed height for the bar */
    background-color: white; /* White color as requested */
    z-index: 100; /* Ensure it is on top of everything */
}

#container {
    /* The container now takes up the remaining height of the viewport */
    position: static;
    width: 100vw;
    height: calc(100vh - 50px); /* Subtract the height of the top bar */
    margin-top: 50px; /* Push it down below the top bar */
}

/* Base style for all circles */
.circle {
    border-radius: 50%;
    position: absolute; 
    /* Centers the element itself based on its size */
    transform: translate(-50%, -50%); 
}

/* Style for the central, fixed object */
#center-object {
    /* Use vmin for responsive sizing (30vmin is 30% of the viewport's smallest dimension) */
    width: 50vmin;
    height: 50vmin;
    /*background-color: rgb(57, 243, 25); */
    /* Position fixed to the center of the viewport */
    top: 50%;
    left: 50%;
    z-index: 10;
    box-shadow: 0 0 20px rgba(57, 243, 25, 0.7);
	background-image: url("/Star.png") ;
	background-position-x: 8vmin ;
	background-position-y: 1vmin;
	background-size: contain;
	background-repeat: no-repeat;
	transition: background-image 2s ease-in-out;
}

.image-2 {
    background-image: url('/Logo.png')!important;
	background-position-x: 3vmin !important;
	background-position-y: 7vmin !important;
}

/* Style for the gravitating elements */
.orbiter {
    width: 20vmin; 
    height: 20vmin;
    background-image: radial-gradient( at 30% 107%, #e0fbfc 0%, #c2dfe3 5%, #69a2a2 35%, #254b52 60%, #1d2c34 90% ); 
    border-radius: 50%;
    cursor: pointer; 
    position: absolute;
    box-shadow: 0 0 10px rgba(15, 76, 117, 0.9);
    transition: background-color 0.2s;
    
    /* --- NEW STYLES FOR TEXT --- */
    color: white; /* White text color */
    font-size: 3vmin;
    font-weight: bold;
    
    display: flex; /* Enable Flexbox */
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    user-select: none; /* Prevent text selection on mobile/desktop */

	text-align: center;
}

/* Style change when an orbiter is clicked/held */
.orbiter:active, .orbiter.paused {
    background-color: #e53935; 
    box-shadow: 0 0 15px #e53935;
}

.card-container {
    width: 100%; /* Take full width of parent */
    padding: 20px; /* Add some padding around the card */
    box-sizing: border-box; /* Include padding in the element's total width and height */
	z-index: 100;
  	position: fixed;
  	top: 0px;
	overflow: scroll;
  	height: 95vh;
}

.card-container-hidden{
	display:none;
}

.card-container-visible{
	display:block;
}

/* 3. The Card Element with Floating Effect and Responsiveness */
.card {
    /* Responsiveness: Never exceed 90% of the screen width/height */
    max-width: 500px; /* Optional: Set a reasonable absolute max-width for desktop */
    width: 90%; 
    margin: 0 auto; /* Center the card horizontally */
    
    background-color: white;
    border-radius: 12px; /* Smooth rounded corners */
    
    /* The Floating Effect: Multi-layered, subtle box-shadow */
    box-shadow: 
        0 4px 8px rgba(0, 0, 0, 0.1), /* Near shadow */
        0 10px 20px rgba(0, 0, 0, 0.08); /* Further, softer shadow */
    
    overflow: hidden; /* Important to keep header corners rounded */
    transition: transform 0.3s, box-shadow 0.3s; /* Smooth transition for hover effect */
}


/* Optional Hover Effect for the Floating Card */
.card:hover {
    transform: translateY(-5px); /* Lift the card slightly */
    box-shadow: 
        0 8px 16px rgba(0, 0, 0, 0.15),
        0 20px 40px rgba(0, 0, 0, 0.1);
}

/* 4. Card Header Styling */
.card-header {
    background-image: radial-gradient( at 30% 107%, #e0fbfc 0%, #c2dfe3 5%, #69a2a2 35%, #254b52 60%, #1d2c34 90% );
    color: white;
    padding: 15px 20px;
    border-bottom: 1px solid #ddd;
}

/* 5. Card Content Styling */
.card-content {
    padding: 20px;
    text-align: center; /* Center the button and potentially the text */
	
}

/* 6. Text Styling */
.card-content p {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 25px; /* Space between text and button */
    text-align: left; /* Keep body text left-aligned for readability */
}

/* 7. Button Styling */
.action-button {
    background-color: black; /* Yellow/Gold button color */
    color: white; /* Dark text for contrast */
    border: none;
    padding: 10px 25px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.2s;
    text-transform: uppercase;
}

.action-button:hover {
    background-color: #69a2a2;
}