html, body {
	margin: 0;
	overflow: hidden;
    font-family: arial;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-family: "Source Sans Pro", Arial;
}

#ad {
	position: absolute;
	top: 0;
	left: 0;
	background-color: #333333;
    user-select: none;
}

canvas {
	cursor: auto;
	position: absolute;
	top: 0;
	left: 0;
}

.upload_area {
    position: absolute;
    overflow: hidden;
    width: calc(100% - 30px);
    height: calc(100% - 30px);
    top: 15px;
    left: 15px;
    bottom: 15px;
    right: 15px;
    margin: auto;
    border: 1px dashed white;
    border-radius: 20px;
    display: table;
}

.upload_txt {
	display: table-cell;
	vertical-align: middle;
	color: white;
	font-size: 24px;
	margin: auto;
	text-align: center;
}

.upload_input {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    right: 0;
    margin: 0;
    padding: 0;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
}

.error {
    color: red;
    display:none;
    font-size:12pt;
    margin: 10px 0;
    text-align: center;
}

#preview {
	position: absolute;
	top: 0;
	left: 0;
}

.codeResults {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: calc(100% - 315px);
    background-color: rgba(40,40,50,.95);
    overflow: auto;
    padding: 20px;
    color: white;
    font-family: monospace;
}

    .codeResults-title {
        width: 100%;
        background-color: black;
        padding: 10px;
        box-sizing: border-box;
    }