html {
    font-size: calc(1em + 0.1vw);
}

body {
    font-family: Arial, Helvetica Neue, sans-serif;
    background-color: #020202;
    color: #a9a9b3;
}

#imageCanvas {
    position: absolute;
    top: 56%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    max-width: 100%;
    max-height: 82%;
    z-index: -1;
    cursor: crosshair;
}

#paintColor{
    width: 30%;
}

#drop-zone {
    position: fixed;
    top: 20px;
    right: 20px;
    bottom: 20px;
    left: 20px;
    border-radius: 20px;
    background: black;
    z-index: 10;
    transition: opacity 0.2s;
}
body:not(.dragging) #drop-zone {
    pointer-events: none;
    opacity: 0;
}
#drop-zone .icon {
    width: 100%;
    height: 100%;
}

#topBar {
    width: 100%;
    border: 1px solid black;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
}

.topBarDiv {
    width: 100%;
    height: 100%;
    padding: 5px 0;
    border-left: 2px solid #a9a9b3;
    border-bottom: 2px solid #a9a9b3;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-height: 8vh;
    padding: 0;
}
#paintForm {
    margin: 10px 0;
}

#exifInformationHolder {
    padding: 10px;
    border: 1px solid #a9a9b3;
    position: absolute;
    left: 0;
    right: 0;
    margin-right: auto;
    margin-left: auto;
    max-width: 70%;
    max-width: 600px;
    max-height: 85%;
    background-color: black;
    color: #a9a9b3;
    display: none;
    z-index: 2;
    position: absolute;
    top: 55%;
    transform: translateY(-50%);
    max-height: 88%;
}

#imageScrubberInfo {
    position: absolute;
    left: 0;
    right: 0;
    margin-right: auto;
    margin-left: auto;
    padding: 5px;
    width: 90%;
    max-width: 60%;
    max-height: 88%;
    background-color: #020202;
    color: #a9a9b3;
    display: block;
    z-index: 3;
    overflow: auto;
    box-sizing: border-box;
}

#imageScrubberInfo a {
    text-decoration: none;
    border-bottom: 1px solid #ce374b;
    color: inherit;
    outline-offset: 2px;
}

@media (max-width: 800px) {
    #imageScrubberInfo {
        max-height: 75%;
    }

    #topBar {
        grid-template-columns: repeat(3, 1fr);
    }

    .topBarDiv {
        border: none;
    }

    #imageCanvas {
        position: absolute;
        top: 60%;
        max-height: 75%;
    }

    #continueButtonExif {
        position: absolute;
        bottom: 10%;
        left: 50%;
        transform: translateX(-50%) translateY(-50%);
    }
}

#exifScrollDiv {
    position: inline-block;
    height: 75vh;
    max-height: 75vh;
    overflow-y: auto;
}

#tempCanvas {
    position: absolute;
    top: -1000px;
    display: none;
}

#holderCanvas {
    position: absolute;
    top: -1000px;
    display: none;
}

#rotationCanvas {
    position: absolute;
    top: -1000px;
    display: none;
}

#blurredCanvas {
    position: absolute;
    top: -1000px;
    display: none;
}

#offscreenCanvas {
    position: absolute;
    top: -1000px;
    display: none;
}

#about {
    position: absolute;
    bottom: 10px;
    right: 10px;
    z-index: 20;
}

button {
    font-family: Arial, Helvetica Neue, sans-serif;
    border-radius: 8px;
    font-size: calc(1em + 0.1vw);
    background-color: #020202;
    color: #a9a9b3;
}

#continueButton,
#continueButtonExif {
	font-family: Arial, Helvetica Neue, sans-serif;
    background-color: #020202;
    color: #a9a9b3;
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 40%;
    border: 2px solid #a9a9b3;
}

input[type='file'] {
    display: none;
}

.file-open {
    border: 1px solid #ccc;
    display: inline-block;
    padding: 6px 12px;
    cursor: pointer;
}

.slider {
    width: 90%;
}

pre {
    white-space: pre-wrap; /* css-3 */
    white-space: -moz-pre-wrap; /* Mozilla, since 1999 */
    white-space: -pre-wrap; /* Opera 4-6 */
    white-space: -o-pre-wrap; /* Opera 7 */
    word-wrap: break-word; /* Internet Explorer 5.5+ */
}

.controlButton {
    cursor: pointer;
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}
.controlButton:hover,
.controlButton:focus {
    background: #fff;
}

.customFileOpen {
    cursor: copy;
}
