* {
    margin: 0;
    padding: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 1rem;
    box-sizing: border-box;
}


body {
    background-color: #242424;
    color: aliceblue;
}

::placeholder {
    color: rgb(179, 176, 176);
}

/* header styles */
header {
    display: flex;
    justify-content: space-between;
    background-color: #801e1e;
    box-shadow: 0 0 0 2px rgba(248, 0, 0, 0.1);
}

.character-info {
    margin: 10px 5px;
    text-align: end;
}

.character-info input {
    text-align: end;
    width: fit-content;
    min-width: 0;
    font-weight: 700;
    font-size: 1.5rem;
}


/* xp bar styles */
.xp-container {
    width: 80vw;
    margin: auto;
}

.xp-bar {
    text-align: center;
    margin: 10px;
}

#xp-prog {
    width: 100%;
}

.xp-text {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* hr styles */
hr {
    margin: 10px auto;
    border: 1px solid #414141;
}

/* main display styles */
.display {
    margin: auto;
    width: 90%;
    max-width: 700px;
}

/* todo list styles */
input, button {
    border: none;
    outline: none;
    background: transparent;
    color: aliceblue;
}


.new-todo-input {
    background-color: #414141;
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
    border-radius: 5px;
    height: 2rem;
    padding-left: 10px;
    margin-bottom: 10px;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1);
    width: 100%;
}

.new-todo-input input[type=text] {
    flex: 1 1 0%;
}

.new-todo-input input[type=submit] {
    background-color: #801e1e;
    border-radius: 5px;
    height: 2rem;
    width: 5rem;
    cursor: pointer;
}

.todo-item {
    display: flex;
    align-items: center;
    padding: 1rem ;
    margin: 1rem auto;
    background-color: #414141;
    border-radius: 5px;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1);
}

.todo-item input[type=text] {
    flex: 1 1 0% ;
}

.todo-item input[type=text]:not(:read-only):focus {
    border-bottom: 1px solid aliceblue;
}

.todo-item input[type=checkbox] {
    margin-right: 0.5rem;
}

.fa-minus, .fa-hand-fist {
    color: #ff5d5d;
}

.fa-square-plus {
    color: rgb(192, 192, 82);
}

.fa-book {
    color: rgb(141, 141, 235);
}

.todo-item-btn {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-around;
    align-items: center;
}

.todo-item-btn button {
    display: block;
    padding: 0.5rem;
    cursor: pointer;
}

.task-type-icon {
    padding-right: 0.5rem;
}

.todo-item.done {
    text-decoration: line-through;
}