body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f9;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

h1 {
    background-color: #333;
    color: white;
    width: 100%;
    text-align: center;
    padding: 20px 0;
    margin: 0;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.container {
    display: flex;
    justify-content: space-between;
    margin-top: 100px; /* To avoid content being hidden under fixed navbar */
    width: 90%;
    max-width: 1200px;
    background-color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    box-sizing: border-box;
    padding: 20px;
}

.section {
    width: 30%;
    padding: 10px;
    box-sizing: border-box;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #333;
}

select, input[type="checkbox"] {
    margin-top: 5px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 100%;
    box-sizing: border-box;
    font-size: 16px;
}

.special-abilities {
    display: flex;
    flex-wrap: wrap;
}

.special-ability {
    margin-right: 15px;
    margin-bottom: 10px;
    width: 100%;
    box-sizing: border-box;
}

.special-ability input {
    width: auto;
    margin-right: 5px;
    margin-top: 3px;
}

#results {
    padding: 10px;
    background-color: #e9ecef;
    border-radius: 4px;
    text-align: center;
}

p {
    margin: 10px 0;
    font-size: 18px;
    color: #333;
}

.invalid {
    color: red;
    font-weight: bold;
}

#inv-reason {
    color: red;
    font-weight: bold;
}