/* General Reset and Body Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #2c2f33; /* Dark background for serious tone */
    color: #e0e0e0; /* Light text color for contrast */
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    padding: 20px;
    flex-direction: column;
    text-align: center;
    line-height: 1.6; /* Add line height for spacing */
}

/* Container for the entire war data display */
.container {
    background-color: #3c4248; /* Darker container background */
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3); /* Darker shadow for depth */
    width: 100%;
    max-width: 600px;
}

/* War name header */
h2#war-name {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #e0e0e0;
    line-height: 1.4; /* Add line height for spacing */
}

/* Death counter display */
#counter {
    font-size: 22px;
    margin: 15px 0;
    color: #ff5555; /* Bright red for emphasis on death counter */
    font-weight: bold;
    line-height: 1.4; /* Add line height for spacing */
}

/* Combatants display */
#combatants {
    font-size: 20px;
    margin: 15px 0;
    color: #6fb1ff; /* Muted blue for combatants */
    line-height: 1.4; /* Add line height for spacing */
}

/* Dropdown menu styling */
#war-select {
    padding: 10px;
    font-size: 18px;
    border-radius: 5px;
    border: 1px solid #555; /* Darker border */
    background-color: #444; /* Darker background */
    color: #e0e0e0; /* Light text color */
    margin-bottom: 20px;
    width: 100%;
    max-width: 300px;
}

/* Button Styling */
button {
    background-color: #4caf50; /* Muted green */
    color: white;
    font-size: 18px;
    padding: 10px 20px;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
}

/* Button Hover Effect */
button:hover {
    background-color: #45a049;
}

/* Responsive design for smaller screens */
@media (max-width: 768px) {
    body {
        padding: 15px;
    }

    .container {
        padding: 30px;
    }

    h2#war-name {
        font-size: 24px;
    }

    #counter, #combatants {
        font-size: 18px;
    }

    #war-select {
        font-size: 16px;
        max-width: 100%;
    }

    button {
        font-size: 16px;
    }
}
