body {
    background-color: rgb(250, 248, 238);
    padding: 20px;
}

h2 {
    font-size: large;
    color: #922610;
    font-variant: small-caps;
}

li {
    margin-bottom: 10px;
    list-style-type: none;
}

ul {
    list-style-type: none;
    padding-left: 0;
    margin-left: 0;
}

button {
    background-color: #922610;
    color: #f5e8ce;
}

input.small {
    width: 25px;
}

input.medium {
    width: 50px;
}

input.transparent {
    background-color: #fdf1dc66;
    border-color: white;
}

.change-button {
    min-width: 30px;
}

.dividers {
    border-bottom: 2px solid #922610;
    margin: 10px 0 10px 0;
}

.dividers:empty {
    border: none;
}

.header {
    font-weight: bold;
}

.hidden {
    display: none;
}

.input {
    background-color: #f5e8ce;
    display: block;
    margin: 20px auto;
    width: 400px;
    box-sizing: border-box;
}

.monster-button {
    min-width: 30px;
    flex-shrink: 0;
    text-align: center;
}

.monster-encounter {
    padding-bottom: 15px;
    padding-left: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.secret-link {
    text-decoration: underline dotted #922610;
    cursor: pointer;
}

.secret-link:hover {
    color: #922610;
}

.action-link {
    text-decoration: underline dotted #922610;
    cursor: pointer;
}

.action-link:hover {
    color: #922610;
}

.monster-link {
    text-decoration: underline dotted #922610;
    cursor: pointer;
}

.monster-link:hover {
    color: #922610;
}

.small-header {
    font-weight: bold;
    font-size: small;
}

.stats-header {
    text-decoration: underline;
}

#app-container {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    flex: 1;
    justify-content: center;
    margin: 0 auto;
}

#compendium-column {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#encounter-sidebar {
    background-color: #f5e8ce;
    border-style: 2px solid #58180d;
    width: 300px;
    display: flex;
    flex-direction: column;
}

#dice-roller {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 5px;
}

#monster-list {
    flex: 1;
}

#monster-stats {
    background-color: #f5e8ce;
    border-style: 2px solid #58180d;
    max-width: 400px;
    padding: 15px;
    font-family: Georgia, 'Times New Roman', Times, serif;
    margin: 0 auto;
}

#stats-box {
    display: flex;
    justify-content: space-between;
    text-align: center;
}

#dice-result-dialog {
    position: fixed 0 0 0 0;
    background: rgba(0, 0, 0, 0.5);
    justify-content: center;
}

#info-dialog {
    position: fixed 0 0 0 0;
    background: rgba(0, 0, 0, 0.5);
    justify-content: center;
    color: white;
}

#dice-result {
    justify-content: center;
    background: #fdf1dc;
    border-style: 2px solid #58180d;
}

@media (max-width: 768px) {
    #stats-box {
        flex-direction: column;
    }

    #encounter-sidebar {
        flex-direction: column;
        width: 100%;
    }

    .input {
        width: 100%;
    }

    #monster-stats {
        width: 100%;
    }
}