.main-content,
.main-content.about {
    width: 100%;
    display: flex;
    margin: 1vw;
    text-align: center
}

footer,
header {
    background-color: #333;
    padding: 10px 20px;
    align-content: center;
    height: 5vh
}

footer,
header,
select {
    height: 5vh
}

body,
button {
    color: #fff;
    font-size: 16px
}

#errorpopup,
.main-content,
.main-content.about,
footer,
h2,
select {
    text-align: center
}

#areaPopup,
#errorpopup,
#invPopup,
#shopPopup {
    position: absolute;
    width: 98vw;
    background-color: rgba(0, 0, 0, .5);
    color: #000;
    z-index: 9999;
    padding: 20px;
    height: 100%
}

#errorpopup,
#mapimg {
    height: 100%
}

body {
    min-height: 100vh;
    overflow: hidden;
    font-family: Arial, sans-serif;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-content: space-between;
    margin: 0;
    background-color: #000;
    overflow-y: hidden
}

#main-container,
#main-container-settings {
    display: flex;
    flex-wrap: wrap;
    overflow-y: scroll;
    width: 90vw;
    height: 10px;
    min-height: 85.8vh;
    background-color: #333
}

#main-container-app {
    display: flex;
    width: 90vw;
    height: 10px;
    min-height: 85.8vh;
    background-color: #333
}

#main-container::-webkit-scrollbar {
    display: none
}

#main-container-settings::-webkit-scrollbar {
    display: none
}

.main-content {
    flex: 2;
    padding: 20px;
    background-color: #222;
    border-radius: 25px;
    height: auto;
    align-items: center;
    justify-content: center;
    flex-direction: column
}

.left-column,
.main-content-app,
.main-content-settings {
    padding: 2vmax;
    background-color: #222;
    border-radius: 25px;
    height: auto
}

.main-content.about {
    flex: 2;
    padding: 20px;
    background-color: #222;
    border-radius: 25px;
    height: auto;
    flex-wrap: nowrap;
    align-items: center
}

.main-content-app {
    overflow-y: scroll;
    margin: 1vw;
    width: 75%
}

.main-content-settings {
    margin: 1vmax;
    width: 100%
}

.main-content-app::-webkit-scrollbar {
    display: none
}

#invList,
#selectedItem,
.groupHeader,
.itemRow,
.itemlist,
.placeholderBtn,
footer,
footer ul,
header,
nav ul {
    display: flex
}

.left-column {
    overflow-y: scroll;
    margin: 1vw 0 1vw 1vw;
    width: 27.4%
}

#mapimg,
.itemlist,
.openGroupImg,
button,
footer,
header,
hr {
    width: 100%
}

.left-column.settings-column {
    display: flex;
    width: 30.3%;
    flex-direction: column;
    justify-content: space-evenly
}

.left-column::-webkit-scrollbar {
    display: none
}

header {
    color: #fff;
    border-bottom-left-radius: 40px;
    border-bottom-right-radius: 40px;
    flex-wrap: wrap;
    justify-content: center
}

nav ul {
    list-style: none;
    justify-content: space-evenly;
    align-items: center;
    padding: 0;
    width: auto
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    padding: 10px 20px
}

nav ul li a:hover {
    background-color: #444
}

footer {
    border-top-left-radius: 40px;
    border-top-right-radius: 40px;
    color: #fff;
    flex-wrap: wrap;
    justify-content: center
}

footer ul {
    justify-content: center;
    align-items: center;
    padding: 0
}

.itemRow.skills,
.itemlist {
    flex-direction: column
}

footer ul a {
    color: #88b8ff;
    text-decoration: none
}

footer ul a:hover {
    text-decoration: underline;
    color: #6ea8ff
}

h2 {
    color: #fff;
    margin-bottom: 20px
}

input[type=password],
input[type=text] {
    width: 100%;
    padding: 12px 20px;
    margin: 8px 0;
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    text-align: center
}

select {
    width: 20vw;
    border-radius: 4px;
    border: 1px solid #ccc;
    margin: 8px 0
}

button {
    background-color: #4caf50;
    padding: 12px 20px;
    margin: 8px 0;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color .3s
}

button:hover {
    background-color: #3e8e41
}

#areaPopup h2,
#errorpopup h2,
#invPopup h2,
#shopPopup h2 {
    color: #000
}

#popup-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 25px;
    box-shadow: 0 0 10px rgba(0, 0, 0, .5)
}

.stats {
    text-align: justify
}

.itemlist {
    text-align: center;
    margin: 2vmin
}

.groupHeader {
    background-color: #3a3a3a;
    padding: 2vmin;
    border-radius: 3vmin;
    justify-content: space-between;
    align-items: center
}

.openGroupBtn,
.openGroupBtn:hover {
    background-color: #2e2e2e00
}

.groupHeader.listClosed {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    padding-bottom: 0
}

.openGroupBtn {
    width: 8vmin;
    height: 8vmin;
    padding: 0;
    margin: 0;
    border: none;
    border-radius: 0;
    cursor: pointer
}

.itemGroup {
    background-color: #3a3a3a;
    padding: 0 2vmin 2vmin;
    border-bottom-left-radius: 3vmin;
    border-bottom-right-radius: 3vmin
}

.itemGroup.listClosed {
    display: none
}

.itemRow {
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-around;
    align-items: center;
    background-color: #272727;
    border-radius: 25px;
    padding: 2vmin;
    margin-bottom: 2vmin
}

.itemRow.character {
    flex-wrap: wrap
}

.placeholderBtn {
    width: 20%;
    height: 10vmin;
    padding: 1vmin;
    background-color: #737373;
    border: 2px solid #000;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center
}

.itemBox:hover,
.placeholderBtn:hover {
    background-color: #656464
}

.placeholderImg {
    width: 35%;
    opacity: .25
}

.itemDescrip {
    width: 80%;
    text-align: center
}

#areaPopup,
#invPopup,
#shopPopup {
    display: none;
    text-align: center
}

#area-popup-content,
#inv-popup-content,
#shop-popup-content {
    height: 90vh;
    background-color: #424242;
    padding: 20px;
    border-radius: 25px;
    box-shadow: 0 0 10px rgba(0, 0, 0, .5)
}

#selectedItem {
    height: 30%;
    justify-content: space-evenly;
    align-items: center
}

#invList,
#shopList {
    height: 40%;
    flex-wrap: wrap
}

#selectedItem img {
    width: 10%
}

#invList {
    background-color: #383939;
    border-radius: 20px;
    justify-content: center;
    padding: 5vmin;
    margin-bottom: 8vmin;
    overflow-y: scroll
}

#invList::-webkit-scrollbar {
    display: none
}

.itemBox {
    width: 12vmin;
    height: 12vmin;
    margin: 1vmin;
    border: 2px solid #000;
    background-color: #6c6c6c;
    background-size: 90%;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 15px
}

#interactionList,
#shopList {
    background-color: #383939;
    border-radius: 20px;
    display: flex;
    padding: 5vmin;
    overflow-y: scroll
}

#map {
    width: 95%;
    height: 95%;
    max-height: 700px
}

#shopList {
    justify-content: center;
    margin-bottom: 6vmin
}

#shopList::-webkit-scrollbar {
    display: none
}

#interactionList {
    height: 80%;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 2vmin
}

#interactionList::-webkit-scrollbar {
    display: none
}