body {
    font-family: monospace, sans-serif;
    background-color: #292C34;
    color: white;
    margin: 0;
}


#header{
	display: flex;
	flex-direction: row;
	align-items: stretch;
	justify-content: space-between;
	background-color: rgba(0,0,0,.5);
	padding: 10px;
	gap: 20px;
	margin: 10px;
	border: .5px solid rgba(255,255,255,.5);
}

.nav-box{
	display: flex;
	flex-direction: row;
	align-items: space-between;
	gap: 15px;
}

.nav-item{
	background-color: #292C34;
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	padding: 10px;
}

@media (max-width: 800px) {
  #header {
    flex-direction: column;
    gap: 10px;
  }
  .nav-box{
  	height: 40px;
  	gap: 10px;
  	justify-content: center;
  }
  #selected-editor{
  	display: none;
  }
}

#logo-box{
	background-color: #292C34;
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	padding: 10px 20px 10px 20px;
}

.nav-button{
    border: none;
    padding: 0px 10px 0px 10px;
    background-color: #8E9C89;
    color: white;
    cursor: pointer;
    font-family: monospace, sans-serif;
}

button{
	font-family: monospace, sans-serif;
}

button:hover {
    background-color: #c14d30;
}


#inventory-container {
	background-color: rgba(0,0,0,.2);
    display: flex;
	flex-direction: column;
	align-items: stretch;
	justify-content: space-between;
	gap: 20px;
	margin: 10px;
	padding: 20px;
	border: .5px solid rgba(255,255,255,.5);
}

.inventory-table {
	background-color: #292C34;
    border: 1px solid #ccc;
    border-collapse: collapse;
    width: 100%;
    margin-bottom: 20px;
}

.inventory-table th,
.inventory-table td {
    border: 1px solid #ccc;
    padding: 8px 12px;
    text-align: left;
}

.inventory-table th {
}

.inventory-table input[type="text"] {
    width: 100%;
    border: none;
    background: none;
    padding: 0;
    margin: 0;
    font-family: monospace, sans-serif;
    color: white;
}

.inventory-table input[data-key="name"] {
	font-size: 25px;
}

.inventory-table input[type="text"]:focus {
    outline: none;
    border: none;
}

.inner-table {
    margin-top: 10px;
    width: 100%;
    border-collapse: collapse;
    border: none;
}

.inner-table td {
    padding-left: 20px;
    border: none;
}


.add-button, .delete-button, .add-root-button {
    margin-top: 10px;
    padding: 5px 10px;
    color: white;
    border: none;
    cursor: pointer;
}

.add-button, .add-root-button{
	background-color: #8E9C89;
}

.delete-button{
	background-color: #c14d30;
}

.category-row, .status-row, .contents-row{
	border: 1px solid #ccc;
}

.contents-row{
    background-color: #292C34;
}

.category-row, .status-row{
	background-color: rgba(0,0,0,.5);
}

.delete-row{
    background-color: #292C34;
	border: none;
}

.name-row{
	background-color: rgba(0,0,0,.5);
	border: 1px solid #ccc;
}

.id-cell {
    background-color: #e0e0e0;
    font-weight: bold;
    color: #333;
}

.contents-div {
}


.toggle-button{
	margin-left: 15px;
    border: none;
    padding: 0px 10px 0px 10px;
    background-color: #8E9C89;
    color: white;
    cursor: pointer;
    font-family: monospace, sans-serif;
    font-size: 30px;
}

/* Initially hide the contents */
.hidden {
    display: none;
}