/* General Styles */
body, html {
    margin: 0;
    padding: 0;
    font-family: 'Press Start 2P', Arial, sans-serif;
    background: linear-gradient(to bottom, #3C763D, #2E4E24);
    color: #F3F3F3;
    text-align: center;
}

.container {
    max-width: 600px;
    margin: 50px auto;
    padding: 20px;
    background: rgba(0, 0, 0, 0.8);
    border: 3px solid #2E4E24;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
}

h1 {
    color: #8ABB3A;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    font-size: 24px;
    margin-bottom: 20px;
}

/* Form and Input Styles */
form {
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 10px 0;
}

label {
    display: block;
    font-size: 14px;
    flex: 1;
    text-align: left;
}

input[type="number"], input[type="text"] {
    width: 60%;
    padding: 12px;
    border: 3px solid #8ABB3A;
    border-radius: 4px;
    background: #1E3E1E;
    color: #F3F3F3;
    font-size: 16px;
    font-family: 'Press Start 2P', sans-serif;
    font-weight: normal;
}

button {
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    background: #8ABB3A;
    color: #F3F3F3;
    cursor: pointer;
    font-size: 16px;
    font-family: 'Press Start 2P', sans-serif;
    font-weight: normal;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

button:hover {
    background: #A6D54B;
    transform: translateY(-2px);
}

/* Table Styles */
table {
    width: 100%;
    margin-top: 20px;
    border-collapse: collapse;
}

table, th, td {
    border: 3px solid #8ABB3A;
}

th, td {
    padding: 8px;
    text-align: center;
    font-size: 14px;
}

th {
    background: #3C763D;
    color: #F3F3F3;
}

td input {
    text-align: center;
    width: 100%;
    border: none;
    background: #2E4E24;
    color: #F3F3F3;
}

td input:focus {
    outline: none;
    background: #3E8540;
}

/* Command Box Styles */
textarea#command {
    width: 100%;
    padding: 12px;
    margin-top: 10px;
    background: #1E3E1E;
    color: #F3F3F3;
    border: 3px solid #8ABB3A;
    border-radius: 4px;
    font-size: 14px;
    font-family: 'Press Start 2P', sans-serif;
    font-weight: normal;
}

textarea#command:hover {
    cursor: pointer;
    background: #3E8540;
}

/* Footer Styling */
footer {
    margin-top: 40px;
    font-size: 10px;
    color: #F3F3F3;
    text-align: center;
}

footer a {
    color: #8ABB3A;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Subtitle Styling (smaller font size) */
.subtitle {
    font-size: 0.75rem; /* Smaller font size */
    color: #aaa; /* Subtle text color */
    margin-top: 0;
    margin-bottom: 1rem;
}

/* Responsive Design for Smaller Screens */
@media (max-width: 600px) {
    .container {
        width: 90%;
    }

    form {
        margin: 0;
    }

    .form-group {
        flex-direction: column;
        align-items: flex-start;
    }

    input[type="number"], input[type="text"] {
        width: 100%;
    }

    button {
        width: 100%;
    }

    textarea#command {
        width: 100%;
    }
}