h2,
h3,
h4 {
    width: 100%;
}

#title-search {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    gap: 10rem;
}

#wiki-search {
    display: flex;
    flex: 1;
    flex-wrap: wrap;
    height: 4rem;
    z-index: 5;
}

#wiki-search-button {
    width: 7rem;
    height: 100%;
    border: none;
    cursor: pointer;
    background: var(--wp--custom--button--color--background);
    color: var(--wp--custom--button--color--text);
    padding: 0 1rem;
}

#wiki-search-input {
    flex: 1;
    height: 100%;
    background: white;
    border: none;
    padding-left: 1rem;
    font-size: 1.5rem;
}

#wiki-search-results {
    width: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--wp--custom--button--color--background);
    border-top: none;
}

.wiki-search-result {
    display: flex;
    border-bottom: 1px solid var(--wp--custom--button--color--background);
    text-decoration: none;
    align-items: center;
    background-color: var(--wp--preset--color--background);
}

.wiki-search-result:hover {
    background-color: var(--wp--custom--button--color--background);
    color: var(--wp--custom--button--color--text);
}

.wiki-search-thumbnail {
    background-color: var(--wp--preset--color--background);
    background-size: 200%;
    background-position: center;
    background-repeat: no-repeat;
    height: 4rem;
    width: 4rem;
    margin-right: 1rem;
}

#wiki-container-outer {
    display: flex;
    flex-direction: column;
}

#wiki-stats-image {
    border-left: 1px solid var(--wp--custom--button--color--background);
    border-top: 1px solid var(--wp--custom--button--color--background);
    background-size: 100%;
    background-position: center;
    background-repeat: no-repeat;
    height: 14rem;
    width: 14rem;
}

#wiki-short-stats-table {
    width: 100%;
}

td.center {
    text-align: center;
}

td.worldly {
    background-color: #800000;
    color: white;
    text-shadow: 0 0 2px black;
}

td.cursed {
    background-color: #703080;
    color: white;
    text-shadow: 0 0 2px black;
}

td.holy {
    background-color: gold;
    color: white;
    text-shadow: 0 0 2px black;
}

td.sorcery {
    background-color: #59d0ff;
    color: white;
    text-shadow: 0 0 2px black;
}

td.archery {
    background-color: #8db800;color: white;
        text-shadow: 0 0 2px black;
}

td.warrior {
    background-color: orange;
    color: white;
    text-shadow: 0 0 2px black;
}

td.neutral {
    background-color: #808080;
    color: white;
    text-shadow: 0 0 2px black;
}

.wiki-block {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
}

table {
    border-collapse: collapse;
    border: 1px solid var(--wp--custom--button--color--background);
}

th, td {
    padding: 0.5rem;
    border: 1px solid var(--wp--custom--button--color--background);
}

.npc-image {
    background-size: 200%;
    background-position: center;
    background-repeat: no-repeat;
    height: 4rem;
    width: 4rem;
}