body {
    font-family: Arial, sans-serif;
    background-image: url("/static/images/galaxy.jpg");
    background-size: cover;
    background-position: center;
    ackground-attachment: fixed;
    color: white;
    text-align: center;
    margin: 0;
    padding: 8px;
}

h1 {
    color: #ffd700;
    font-size: 20px;
    margin-bottom: 10px;
}

h2 {
    color: #87ceeb;
    margin-top: 30px;
}

form {
    margin: 8px 0;
}

form label {
    display: block;
    width: 220px;
    margin: 10px auto 4px auto;
    text-align: left;
    font-size: 24px;
    font-weight: bold;
}

input, select {
    padding: 6px;
    font-size: 20px;
    margin-top: 3px;
    width: 220px;
    text-align: center;
}

button {
    background-color: #5ca3f3;
    color: black;
    font-size: 16px;
    padding: 8px 14px;
    border: none;
    cursor: pointer;
    margin-top: 8px;
    border-radius: 12px;
}

button:hover {
    background-color: #ffcc00;
}

a {
    color: #87ceeb;
    font-size: 18px;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.result-box {
    border: 2px solid #ffd700;
    padding: 12px;
    margin: 15px auto;
    width: 60%;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
}

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

.modal-content {
    background-color: #0b1d3a;
    margin: 5% auto;
    padding: 20px;
    width: 70%;
    max-height: 80vh;
    overflow-y: auto;
    border-radius: 12px;
    color: white;
    text-align: left;

    word-wrap: break-word;
    white-space: pre-wrap;
    line-height: 1.6;
}

.close {
    float: right;
    font-size: 28px;
    cursor: pointer;
}

.help-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 40px;
    gap: 12px;
}

.help-buttons button {
    background-color: #ffcc00;
    color: black;
}

.help-buttons button:hover {
    background-color: #87ceeb;
}

.main-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 30, 0.55);
    z-index: -1;
}

.footer {
    margin-top: 40px;
    padding: 15px;
    text-align: center;
    color: #cccccc;
    font-size: 14px;
}