body {
    font-family: 'Arial', sans-serif;
    background-color: #2d2d2d;
    color: #f5f5f5;
    margin: 0;
    padding: 0;
}

#app {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: #1a1a1a;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

h1, h2 {
    text-align: center;
}

#controls {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
}

    #controls input, #controls select, #controls button {
        padding: 8px;
        margin: 5px;
        background-color: #333;
        color: #f5f5f5;
        border: 1px solid #444;
        border-radius: 4px;
    }

    #controls button {
        background-color: #007bff;
        cursor: pointer;
    }

        #controls button:hover {
            background-color: #0056b3;
        }

#round-tracker {
    text-align: center;
    margin-bottom: 20px;
}

    #round-tracker button {
        padding: 8px;
        margin-top: 10px;
        background-color: #007bff;
        color: #f5f5f5;
        border: none;
        border-radius: 4px;
        cursor: pointer;
    }

        #round-tracker button:hover {
            background-color: #0056b3;
        }

#encounter {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

#monsters, #players {
    width: 100%;
    margin-bottom: 20px;
}

ul {
    list-style-type: none;
    padding: 0;
}

li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    margin: 5px 0;
    background-color: #333;
    border-radius: 4px;
    border: 1px solid #444;
}

    li input {
        width: 60px;
        padding: 5px;
        margin-left: 10px;
        background-color: #444;
        color: #f5f5f5;
        border: none;
        border-radius: 4px;
    }

    li button {
        background-color: #ff4d4d;
        border: none;
        cursor: pointer;
        padding: 5px;
        color: #f5f5f5;
        border-radius: 4px;
        margin-left: 10px;
    }

        li button:hover {
            background-color: #cc0000;
        }

@media (min-width: 768px) {
    #encounter {
        flex-direction: row;
    }

    #monsters, #players {
        width: 45%;
    }
}

.footer {
    max-width: 800px;
    margin: 10px auto;
    padding: 20px;
    background-color: #1a1a1a;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    text-align: center;
}

.body {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: #1a1a1a;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    text-align: center;
}