:root {
    --theme-darkest: #222831;
    --theme-dark: #393e46;
    --theme-accent: #00adb5;
    --theme-accent-dark: #203841; 
    --theme-light: #eeeee0;

    --link-hover: #ffc4c4;
    --link-hover-accent-dark: #244e5e;

    --purple-text: #d3bae2;
}

* {
    margin: 0;
    padding: 0;
}

body {
    background: var(--theme-darkest);
    font-family: 'Courier New', Courier, monospace, Verdana, sans-serif;
    margin: 0;
    position: relative;
    height: auto;
    min-height: 100vh;
    overflow: hidden;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

li {
    background: var(--theme-dark);
    color: var(--theme-light);
    padding: .2em 1em .2em 1.2em;
    margin-bottom: 2px;
    border-radius: 0.2em;
    position: relative;
}

a:hover {
    color: #ffc4c4;
}

.picture-list {
    list-style: none;
    padding: 15px;
    width: 70%;
    overflow: auto;
    position: absolute;
    top: 45px;
    left: 0;
    height: 81%;
}

.picture-list img {
    max-width: 100px;
    margin: 5px;
}

.picture-list span {
    cursor: pointer;
}

.picture-list span:hover {
    color: var(--link-hover);
}

.picture-canvas {
    /* cursor: crosshair; */
    cursor: none;
    margin: 25px;
    /* padding on the right/bottom to make selecting pixels easier on those edges */
    padding-right: 5px;
    padding-bottom: 5px;
}

.picture-canvas-overlay {
    cursor: crosshair;
    margin: 25px;
    /* padding on the right/bottom to make selecting pixels easier on those edges */
    padding-right: 5px;
    padding-bottom: 5px;
    pointer-events: none;
    position: absolute;
    top: 0;
    left: 0;
    cursor: none;
}

.top-section {
    background: var(--theme-darkest);
    display: grid;
    grid-template-columns: 2fr 2fr 1fr 1fr;
    top: 0;
    overflow: hidden;
}

.top-section-grid-item {
    min-width: 20%;
    max-height: 380px;
    overflow-y: scroll;
    position: relative;
}

.selected-points {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: flex-start;
}

.selected-points li {
    position: relative;
    list-style: none;
    width: 70%;
}

.selected-pt-x,
.selected-pt-y {
    display: inline-block;
    min-width: 40%;
}

.selected-pt-delete {
    color: #b97f7f;
    cursor: pointer;
    font-family: monospace;
    background: #8c5959;
    position: absolute;
    right: 0;
    top: 0;
    min-height: 100%;
    border-radius: 0px 0.2em 0.2em 0px;
    min-width: 10%;
}

.selected-pt-delete:hover {
    background: #7b3838;
}

.file-input {
    display: none;
}

.button {
    border-radius: 0 0 1em 1em;
    padding: .5em 1em;
    color: var(--theme-light);
    background: var(--theme-accent-dark);
    display: block;
    width: 10em;
    cursor: pointer;
}

.button:hover {
    background: var(--link-hover-accent-dark);
}

.coordinates {
    display: flex;
}

.bottom-section {
    display: flex;
    flex: 1;
    position: relative;
    overflow: hidden;
}

.picture-canvas-container {
    height: 100%;
    width: 100%;
    overflow: auto;
    position: absolute;
}

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.welcome-message {
    color: var(--purple-text);
    position: absolute;
    width: 50%;
    transform: translate(50%, 50%);
}

.welcome-message ol {
    margin-top: 0.75em;
}

.picture-list li.selected .selected-indicator {
    position: absolute;
    width: 0.5em;
    min-height: 100%;
    background: var(--theme-accent);
    left: 0;
    top: 0;
    border-radius: 0.2em 0 0 0.2em;
}

.formatted-data {
    color: var(--purple-text);
}

.x-coord,
.y-coord {
    margin-right: 1em;
}

.overflow-hidden {
    overflow: hidden;
}

.slider {
    width: 300px;
    min-height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.slider-handle {
    position: absolute;
    top: 10%;
    left: calc(50% - 0.75em);
    min-height: 80%;
    width: 1.5em;
    background: #48606c;
    border-radius: 1em;
    cursor: pointer;
}

.slider-handle:hover {
    background: var(--theme-accent);
}

.slider-track {
    flex: 1;
    border: 1px solid #1e2229;
}

.info-bar {
    display: grid;
    grid-template-rows: repeat(2, 1fr);
    width: 100%;
    grid-column-start: 1;
    grid-column-end: 5;
}

.info-bar-labels {
    grid-column-start: 1;
    grid-column-end: 5;
    grid-template-columns: repeat(5,1fr);
    display: grid;
    background: #48606c;
    color: var(--theme-light);
}

.info-bar-data {
    grid-column-start: 1;
    grid-column-end: 5;
    grid-template-columns: repeat(5,1fr);
    display: grid;
    background: var(--theme-accent-dark);
    color: var(--theme-accent);
}

.explicit-pt-creation {
    display: flex;
    justify-content: center;
}

.explicit-pt-creation input {
    background: var(--theme-dark);
    color: var(--theme-light);
    border: none;
    padding: 0.2em 0 .2em 1.5em;
    margin: .5em;
    border-radius: .3em;
    width: 6em;
}

.explicit-pt-button {
    background: var(--theme-accent-dark);
    border: none;
    padding: 0.2em 1.5em;
    color: var(--theme-light);
    border-radius: .3em;
    font-size: 1em;
    cursor: pointer;
    margin: 0.5em;
    width: 15%;
}

.file-save {
    padding-left: 2em;
}