body {
    font-family: 'VT323', monospace; /* Retro but legible */
    background-color: #1a1a2e;
    color: #fff;
    background-image: url('/images/background.jpg');
    background-size: cover;
    background-position: center center;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background: #16213e;
    border-radius: 10px;
    border: 2px solid #3a86ff;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.7);
}

.header {
    text-align: center;
    text-transform: uppercase;
    font-size: 1.5em;
}

.status {
    margin: 10px 0;
    padding: 10px;
    background: #0f3460;
    border: 2px dashed #1a73e8;
    border-radius: 5px;
    font-size: 1.2 em;
}

.event-log {
    background: #0f3460;
    border: 2px dashed #1a73e8;
    border-radius: 5px;
    padding: 10px;
    margin: 20px 0;
    height: 120px;
    overflow-y: auto;
    font-size: 1.2em;
}
p {
    font-size: 1.4em;
    padding: 0px;
    margin: 0px 0px 10px;
}
.sticky-header {
    position: sticky;
    top: 0;
    background: #0f3460;
    color: #fff;
    padding: 10px;
    text-align: center;
    border-bottom: 2px solid #1a73e8;
    z-index: 1000;
    font-family: 'Press Start 2P', monospace;
}

.latest-events {
    background: #0f3460;
    border: 2px solid #1a73e8;
    border-radius: 5px;
    padding: 10px;
    margin-bottom: 20px;
    font-size: 1.2em;
}

button {
    padding: 10px 20px;
    margin: 5px;
    border: none;
    background: #1a73e8;
    color: white;
    border-radius: 5px;
    cursor: pointer;
    font-family: 'Press Start 2P', monospace;
    text-transform: uppercase;
    font-size:.7em;
}

button:hover {
    background: #3a86ff;
    transform: scale(1.1);
    transition: 0.2s ease-in-out;
}
#amount {
    font-size: 1.2em;
    width: 100px;
    padding: 5px 10px;
    border-radius: 5px;
    border: 0px;
}
select {
    padding: 10px;
    margin: 5px;
    border-radius: 5px;
    border: 2px solid #1a73e8;
    background: #0f3460;
    color: #fff;
    font-family: 'Press Start 2P', monospace;
}

.planet-display {
    margin: 20px auto;
    text-align: center;
    padding: 20px;
}

.planet {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: 0 auto;
    position: relative;
}


.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    animation: fadeIn 0.5s ease-in-out;
}

.modal-content {
    background: #16213e;
    color: #fff;
    padding: 20px;
    border-radius: 8px;
    border: 2px solid #1a73e8;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.9);
    text-align: center;
    max-width: 400px;
    width: 90%;
    font-family: 'Press Start 2P', monospace;
}
.latest-events h3{
    text-transform: uppercase;
    font-size: 2em;
    padding: 0px;
    margin: 0px;

}

.actions h3{
    text-transform: uppercase;
    font-size: 2em;
    padding: 0px;
    margin: 0px;

}
.modal-content h3 {
    margin-bottom: 10px;
    font-size: 1.2em;
        line-height: 1.5em;

}
.resources {
    max-width: 500px;
    margin: 30px auto;
}
.resources h3 {
    font-size: 2em;
    margin: 0px 0px 10px;
}
.modal-content p {
    margin-bottom: 20px;
    font-size: 1em;
    line-height: 1.5em;
}

.modal-content button {
    padding: 10px 20px;
    margin: 5px;
    border: none;
    background: #1a73e8;
    color: white;
    border-radius: 5px;
    cursor: pointer;
    font-family: 'Press Start 2P', monospace;
    text-transform: uppercase;
}

.modal-content button:hover {
    background: #3a86ff;
    transform: scale(1.1);
    transition: 0.2s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
.latest-events img{
    border-radius:50px;
}

#planet-name {
    font-size: 2em;
    padding: 0px;
    margin: 0px;
}

.tabs {
    margin-top: 20px;
}

.tab-buttons {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.tab-buttons button {
    padding: 10px 20px;
    border: none;
    background-color: #333;
    color: #fff;
    cursor: pointer;
    flex: 1;
    margin: 0 5px;
}

.tab-buttons button:hover,
.tab-buttons button.active {
    background-color: #555;
}

.tab-content {
    display: none;
    padding: 15px;
}

#goals-sidebar {
    position: fixed;
    right: 20px;
    top: 80px;
    width: 250px;
    background: rgba(10, 10, 10, 0.9); /* Semi-transparent dark background */
    color: #fff; /* White text for readability */
    border: 1px solid #555; /* Subtle border */
    border-radius: 8px; /* Rounded corners */
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.5); /* Slight shadow for depth */
    padding: 15px; /* Inner padding */
    font-family: 'Press Start 2P', sans-serif; /* Consistent retro font */
    font-size: 14px; /* Readable size */
    overflow-y: auto; /* Scrollable if content overflows */
    max-height: 80%; /* Prevent box from being too tall */
}

#goals-sidebar h3 {
    margin-top: 0;
    font-size: 16px; /* Slightly larger for the heading */
    text-align: center; /* Center the heading */
    text-transform: uppercase; /* Add emphasis */
    color: #00ffcc; /* Bright color for focus */
}

#goals-sidebar ul {
    list-style: none; /* Remove default bullets */
    padding: 0; /* Remove padding */
    margin: 0; /* Remove margin */
}

#goals-sidebar li {
    display: flex; /* Align checkbox and text */
    align-items: center; /* Center vertically */
    margin: 8px 0; /* Add spacing between items */
}

#goals-sidebar li input[type="checkbox"] {
    margin-right: 10px; /* Space between checkbox and text */
    transform: scale(1.2); /* Slightly larger checkbox */
    cursor: pointer; /* Pointer cursor for clarity */
}

#goals-sidebar li input[type="checkbox"]:checked + label {
    text-decoration: line-through; /* Strike through completed goals */
    color: #999; /* Dim completed goals */
}

#goals-sidebar li label {
    cursor: pointer; /* Make label clickable */
    line-height: 1.5; /* Improve readability */
}

/* Add hover effect for list items */
#goals-sidebar li:hover {
    background: rgba(255, 255, 255, 0.1); /* Light hover effect */
    border-radius: 5px; /* Smooth edges */
}



@media only screen and (max-width: 600px) {
  .modal-content p {
    margin-bottom: 20px;
    font-size: .6em;
    line-height: 1.3em;
}
img{
    max-width:100% !important;
}
}



