:root {
    --black: #000;
    --dark: #1f1f20;
    --gray: #323437;
    --light-gray: #414246;
    --background: #808080;
    --bright: #c9c9c9;
    --white: #ffffff;
    --red: #ab0000;
    --shadow: rgba(0, 0, 0, 0.32);
    --checker-primary: #f1f1f1;
    --checker-secondary: #bdbdbd;
}

html {
    height: 100%;
}

body {
    margin: 0;
    height: 100%;
    background-color: var(--background);
    font-family: "Segoe UI", sans-serif;
}

.wrapper {
    display: flex;
    flex-direction: row;
    height: 100%;
    align-items: center;
    justify-content: space-between;
}

.section {
    height: 100%;
    overflow: auto;
    max-height: 100%;
}

.side {
    color: var(--white);
    background-color: var(--dark);
    align-items: stretch;
}

#canvas {
    height: 80vh;
    width: 80vh;
    background-color: var(--white);
}

.middle {
    display: flex;
    flex-direction: column;
    flex-grow: 0;
    flex-shrink: 0;
    justify-content: space-evenly;
    align-items: center;
    overflow: hidden !important;
}

.section-head {
    padding: 20px;
}

#object-list {
    padding: 20px;
}

.entry {
    display: flex;
    flex-direction: row;
    user-select: none;
    margin-top: 10px;
    border-radius: 10px;
    background-color: var(--light-gray);
    overflow: hidden;
    align-items: center;
}

.select {
    font-size: 12pt;
    font-family: "JetBrains Mono", monospace;
    padding: 0 10px;
}

.selected {
    background-color: var(--bright);
    color: var(--black)
}

.side-bar {
    overflow: scroll;
    display: flex;
    flex-direction: column;
}

.actions {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    background-color: var(--gray);
}

.action {
    width: 20px;
    height: 20px;
    padding: 5px;
}

.action:hover {
    background-color: var(--light-gray);
}

.action:active {
    background-color: var(--background);;
}

.entry-name {
    padding: 0;
    margin: 0;
    background-color: transparent;
    border: none;
    outline: none;
    color: var(--white);
    font-size: 12pt;
}

.entry-name:focus {
    outline: none;
}

.entry-edit {
    padding: 5px;
    background-color: var(--white);
    color: var(--background);
    font-weight: bolder;
    margin-right: 10px;
}

.entry-edit:active {
    background-color: var(--bright);
}

#footer {
    justify-content: center !important;
}

#copy {
    padding: 20px;
}

.column {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tab {
    display: block;
    padding: 10px;
    user-select: none;
    width: 50px;
}

.tab-active {
    background-color: var(--light-gray) !important;
}

.tab-red {
    background-color: var(--red) !important;
}

.tab:hover {
    background-color: var(--gray);
}

#left {
    display: flex;
    flex-direction: row;
}

.panel {
    background-color: var(--dark);
    padding: 20px;
}

.panel-head {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 20pt;
}

.copy {
    padding: 10px 80px 10px 80px;
    background-color: var(--white);
    outline: none;
    border: none;
    border-radius: 20px;
    box-shadow: 0 10px 30px 0 var(--shadow);
    font-size: 15pt;
    transition: 0.1s;
}

.copy:hover {
    background-color: var(--bright);
}

.copy:active {
    background-color: var(--gray);
    color: var(--white);
}

.input-number-container {
    display: inline-flex;
    flex-direction: row;
    margin: 0 20px 0 20px;
    background-color: var(--gray);
    border-radius: 10px;
    overflow: hidden;
    transition: 0.2s;
}

.input-number-container:focus-within {
    background-color: var(--light-gray);
}

.input-number {
    display: block;
    width: 50px;
    font-size: 15pt;
    outline: none;
    border: none;
    background-color: transparent;
    color: var(--white);
    padding: 0 10px;
}

.number-change {
    width: 20px;
    height: 20px;
    padding: 5px;
}

.number-change:hover {
    background-color: var(--light-gray);
}

.number-change:active {
    background-color: var(--background)
}

.check-box {
    appearance: none;
    width: 30px;
    height: 30px;
    background-color: var(--gray);
    border-radius: 15px;
    display: block;
    transition: background-image 0.2s;
    background-image: none;
}

.check-box:checked {
    background-image: url("check-box.svg");
    background-repeat: no-repeat;
    background-size: 30px;
}

.attribute-table {
    text-align: left;
}

#import {
    appearance: none;
    outline: none;
    border: none;
    background: var(--white);
    box-shadow: 0 10px 30px var(--shadow);
    padding: 10px 20px;
    font-size: 15pt;
    border-radius: 20px;
}