body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: url('https://i.imgur.com/IuBXS4S.png') no-repeat center center fixed;
    background-size: cover;
    color: #333;
}
.hovercraft {
    text-align: center;
    margin: 20px;
}
.housing-option {
    margin-bottom: 20px; /* Add space between the housing options */
}
#confirmation-message {
    color: inherit !important; /* Let JavaScript dynamically control the color */
}
/* Center the buttons under the images */
.hovercraft {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
#hovercraft-details ul {
    list-style: none; /* Removes the bullet points */
    padding: 0; /* Removes extra padding */
    margin: 0; /* Removes extra margin */
}
.confirmation-message {
    margin-top: 20px;
    font-size: 1.2em;
    font-weight: bold;
    color:black; /* Change text color to black */
}

.hovercraft button {
    margin-top: 10px;
    align-self: center;
}

.housing-option h3 {
    margin: 0; /* Remove default margin */
    list-style-type: none; /* Remove bullet points */
}

.housing-option button {
    margin-top: 10px; /* Add space between the description and the button */
}
/* styles.css */
/* styles.css */
.info-icon {
    cursor: pointer;
    font-size: 1.2em;
    margin-left: 10px;
    color: #333;
}


.info-panel {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    border: 1px solid #ccc;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    z-index: 1002;  /* Increased z-index to be above overlay */
    max-width: 90%;
    width: 80%;
    max-height: 80%;
    overflow-y: auto;
    border-radius: 8px;
}

.info-content {
    position: relative;
    background-color: white;  /* Changed to white for better contrast */
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 1.5em;
    cursor: pointer;
    color: red;
}

.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1001;  /* Increased but still below info-panel */
}

.overlay.active {
    display: block;
}



/* Global Info Icon (If needed in the top-right corner) 
.info-icon {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    cursor: pointer;
}

.info-icon-img {
    width: 100%;
    height: auto;
    border-radius: 50%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.info-panel {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    max-width: 600px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    padding: 20px;
}

.info-content {
    position: relative;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    color: #333;
}
*/
/* Ensure consistent layout and positioning */
h2 {
    display: flex;
    align-items: center;
}

/* Adding space around the question mark icon */
.w4-info-icon {
    margin-left: 10px; /* Space between the header and the icon */
}

.hovercraft img {
    width: 200px;
    height: 150px; /* Standardize the height */
    margin-bottom: 10px;
    border: 1px solid black;
}

#events-panel {
    border: 2px solid #000;
    padding: 15px;
    margin-top: 20px;
    background-color: #f3f3f3;
    font-size: 1rem;
}

#hovercraft-selection {
    display: flex;
    justify-content: center;
    gap: 50px;
}

#hovercraft-details {
    text-align: center;
}

.container {
    display: grid;
    grid-template-columns: 1fr 2fr; /* 1/3 and 2/3 layout */
    gap: 20px;
    padding: 20px;
}

.personal-info {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    padding: 20px;
}

.main-content {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    padding: 20px;
}

h1, h2 {
    text-align: center;
}

button {
    font-size: 1rem;
    padding: 10px 15px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

button:hover {
    background-color: #0056b3;
}

.next-month-btn {
    margin-top: 20px;
    display: block;
    width: 100%;
    text-align: center;
}
/* Add these styles to your existing CSS */
.may-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.may-header {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.may-image {
    width: 150px;
    height: auto;
}

.investment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.investment-option {
    background: #f5f5f5;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #ddd;
}

.investment-option h3 {
    margin-top: 0;
    color: #333;
}

.investment-option input {
    width: 100%;
    padding: 8px;
    margin-top: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.invest-button {
    display: block;
    margin: 20px auto;
    padding: 10px 30px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

#investment-confirmation {
    text-align: center;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    margin-top: 20px;
}

.proceed-button {
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #007bff;  /* Changed from green to blue to match others */
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.investment-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.investment-option {
    background: #f5f5f5;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #ddd;
}

.investment-option h3 {
    margin: 0 0 10px 0;
    font-size: 1.1em;  /* Reduced heading size */
    color: #333;
}

.investment-option p {
    margin: 5px 0;  /* Reduced spacing between paragraphs */
    font-size: 0.95em;  /* Slightly smaller text */
}

.investment-option input {
    width: 200px;  /* Fixed width for inputs */
    padding: 8px;
    margin-top: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.may-header {
    margin-bottom: 15px;  /* Reduced margin to bring content up */
}

#investment-message {
    margin: 20px 0;
    font-size: 1.1em;
    line-height: 1.6;
}
.invest-button {
    display: block;
    margin: 20px auto;
    padding: 10px 20px;
}

/* ... existing styles ... */

/* Final Results Overlay */
#final-overlay {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    z-index: 1001;
    max-width: 400px;
    width: 90%;
}

#final-image {
    max-width: 100%;
    height: auto;
    margin: 10px 0;
    border-radius: 8px;
}

#final-message-overlay {
    font-size: 1.1em;
    margin: 15px 0;
    text-align: center;
    color: #333;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
}