html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background: url('CosmosBackground.png'); /* Use only the background image */
    background-size: cover; /* Ensure the image covers the viewport */
    background-repeat: no-repeat; /* Prevent repetition */
    background-attachment: fixed; /* Keep the background fixed during scrolling */
    color: #000000;
    overflow-y: auto; /* Enable vertical scrolling */
}

body {
    padding: 20px;
    padding-bottom: 60px; /* Add padding to the bottom to create extra space */
    display: flex;
    justify-content: center;
    align-items: flex-start; /* Align items to the start to allow scrolling */
}

.container {
    max-width: 800px;
    width: 100%;
    margin: 20px 0; /* Add margin to the top and bottom */
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.8); /* Semi-transparent white background */
    border-radius: 15px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

h1 {
    font-size: 32px; /* Increase the font size for the main heading */
    font-weight: bold; /* Make the main heading bold */
    margin-bottom: 10px; /* Reduce the bottom margin */
    color: #333; /* Darker color for contrast */
}

h2 {
    font-size: 24px; /* Adjust the font size for the subheading */
    font-weight: normal; /* Normal weight for the subheading */
    line-height: 1.4; /* Increase line height for better readability */
    margin-bottom: 20px; /* Add some space below the subheading */
    color: #333; /* Darker color for contrast */
}

.description {
    font-size: 16px;
    margin-bottom: 20px;
}
.form-group {
    margin-bottom: 20px;
}
label {
    display: block;
    margin-bottom: 10px;
    font-size: 18px;
    font-weight: bold;
}
.search-button-group {
    display: flex;
    align-items: start;
}
.search-button-group input[type="text"] {
    flex: 1;
    margin-right: 20px;
}
input[type="text"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 25px;
    box-sizing: border-box;
    margin-bottom: 20px;
    font-size: 16px;
}
button {
    padding: 12px 20px;
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 16px;
}
button:hover {
    background-color: #0056b3;
}
#randomLocationButton {
    padding: 12px 20px;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 16px;
    line-height: normal; /* Ensure the line-height is consistent */
    display: flex;
}
#randomLocationButton:hover {
    background-color: #218838;
}
.output {
    margin-top: 20px;
}
.output pre {
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 15px;
    white-space: pre-wrap;
}

/* Existing styles for general activity buttons */
.activity-button {
    display: inline-block;
    margin: 5px;
    padding: 10px 15px;
    background-color: white;
    color: #28a745;
    border: 2px solid #28a745;
    border-radius: 25px;
    cursor: pointer;
    font-size: 12px;
}

.activity-button:hover {
    background-color: #e8f5e9;
}

.activity-button.active {
    background-color: #28a745;
    color: white;
}

/* New styles for specific activity buttons */
.specific-activity-button {
    display: inline-block;
    margin: 5px;
    padding: 10px 15px;
    background-color: white;
    color: #ff5733; /* Complementary color (red) */
    border: 2px solid #ff5733; /* Complementary color (red) */
    border-radius: 25px;
    cursor: pointer;
    font-size: 12px;
}

.specific-activity-button:hover {
    background-color: #ffe6e6; /* Light red for hover effect */
}

.specific-activity-button.active {
    background-color: #ff5733;
    color: white;
}

.hidden {
    display: none;
}
.general-info {
    background-color: #007BFF;
    color: white;
    padding: 15px;
    border-radius: 15px;
    margin-bottom: 20px;
}
.optional-note {
    font-size: 14px;
    color: #666;
    margin-top: -10px;
    margin-bottom: 10px;
}
.loading-message {
    color: #007BFF;
    font-size: 20px;
    margin-top: 20px;
    text-align: center;
}

/* Media query to change placeholder text for mobile devices */
@media only screen and (max-width: 768px) {
    #activityLocation::placeholder {
        content: "Enter a location";
    }
}
 

body {
    font-family: Arial, sans-serif;
    background: url('CosmosBackground.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: #000000;
    overflow-y: auto;
    padding: 20px;
    padding-bottom: 60px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.container {
    max-width: 800px;
    width: 100%;
    margin: 20px 0;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 15px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.popup {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
}

.popup-content {
    background-color: rgba(255, 255, 255, 1);
    margin: 15% auto;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 80%;
    max-width: 600px;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}
