/* All code is intellectual property belonging to Chris Bushelman */
/* Anchor Footer*/
html, body {
  height: 100%;
  margin: 0;
}

.wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main.content {
  flex: 1;
}


/* General Page Styling */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(to bottom, #006400, #000000);
    color: white;
    margin: 0;
    padding: 0;
}

/* Header Styling */
.header {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    background-color: #004d00;
    text-align: center;
}

.header img {
    max-height: 180px;
    width: auto;
    margin-bottom: 10px;
}

.header h1 {
    font-size: 2.5em;
    margin: 0;
    text-shadow: 2px 2px 5px #000000;
}

/* Content Layout */
.content {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}

/* Form Styling */
form {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
    max-width: 900px;
}

form label {
    font-weight: bold;
    align-self: center;
    color: #ffffff;
    margin-right: 5px;
}

form select,
form button {
    padding: 10px;
    font-size: 1em;
    border: none;
    border-radius: 5px;
    min-width: 150px;
    background-color: #ffffff;
    color: #000000;
}

form button {
    background-color: #008000;
    color: #ffffff;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

form button:hover {
    background-color: #005900;
}

.form-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    flex-direction: row;
    align-items: center;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 150px;
}

.form-group label {
    font-weight: bold;
    margin-bottom: 5px;
    color: white;
}

.form-group select,
.form-group button {
    width: 100%;
    padding: 10px;
    font-size: 1em;
    border: none;
    border-radius: 5px;
}

.form-group button {
    background-color: #008000;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.form-group button:hover {
    background-color: #005900;
}


/* Table Styling */
table {
    width: 90%;
    max-width: 900px;
    border-collapse: collapse;
    margin-top: 10px;
    background-color: #ffffff;
    color: #000000;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

table th, table td {
    border: 1px solid #ddd;
    padding: 12px;
    text-align: center;
    font-size: 1em;
}

table th {
    background-color: #004d00;
    color: #ffffff;
}

/* Animation */
table tbody tr {
    opacity: 0;
    transform: translateY(20px);
    transition: transform 0.3s ease-out, opacity 0.3s ease-out;
}

table tbody tr.show {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
    .header h1 {
        font-size: 1.8em;
    }

    form {
        flex-direction: column;
        gap: 10px;
    }

    form select, form button {
        width: 100%;
    }

    table th, table td {
        font-size: 0.9em;
        padding: 8px;
    }
}
