html {
    margin: 10px;
    padding: 10px;
    color: #49274A;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont,
        'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans',
        'Helvetica Neue', sans-serif, sans-serif;
    margin: 10px;
    padding: 10px;
    display: flex;
    flex-direction: column;
}

main {
    margin-bottom: 15px;
    flex: 1;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 10px;
    background-color: #f9f9f9;

}

nav {
    background: #49274A;
    padding: 10px;
    display: flex;
    border-radius: 10px;
    justify-content: center;
    text-transform: uppercase;
}

nav ul {
    list-style: none;
    padding-left: 0px;
    display: flex;
    justify-content: center;
}

nav ul li {
    margin: 0px 20px;
    text-align: center;
    align-content: center;
}

nav ul li a {
    color: #f9efea;
    text-decoration: none;
}

nav ul li a.active {
    color: #94618E;
    font-weight: bold;
}

h1 {
    text-align: center;
}

a:hover {
    color: #94618E;
    transition: ease 0.5s;
}

form {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
}

form label {
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
    font-weight: bold;
}

form input,
form select {
    width: 100%;
    padding: 7px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-top: 5px;
}

form input[type="submit"] {
    width: auto;
    padding: 7px 15px;
    cursor: pointer;
    background-color: #49274A;
    color: white;
    border: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    margin-bottom: 25px;
}

form input[type="submit"]:hover {
    background-color: #94618E;
}

table {
    width: 100%;
}

th {
    height: 50px;
}

td {
    text-align: center;
    padding: 5px;
}

footer {
    background: #f8eee7;
    text-align: center;
    padding: 10px;
    border-radius: 10px;
}

/* Default text for large screens */
nav ul li a::after {
    content: attr(data-full-text);
}

/* Change text for smaller screens */
@media (max-width: 600px) {
    html {
        font-size: smaller;
    }

    nav ul li a::after {
        content: attr(data-short-text);
    }
}

/* Override the default form style for #searchForm */
#searchForm {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 10px;
    width: auto;
    flex-wrap: nowrap;
}

/* Ensure the label and select are aligned properly */
#searchForm label,
#searchForm input,
#searchForm select {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: auto;
    margin: 5px 10px;
}