body {
    margin:0;
    font-family: monospace;
    background:#111;
    color:#eee;
    display:flex;
    height:100vh;
    font-weight: bold;
    //text-align: center;

    background-image: url("images/transparency_tiles.png");
	background-repeat: repeat;
	background-size: 48px 48px;
    image-rendering: pixelated;
    image-rendering: crisp-edges;
    outline: 2px solid white;
    outline-offset: -2px;
}

* {
  scrollbar-width: thin;
  scrollbar-color: #888 transparent;
  border-radius: 0;
  user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
}

#ui {
    text-align: center;
    min-width:192px;
    background:#1a1a1a;
    padding:10px;
    box-sizing:border-box;
    overflow-y:auto;
    font-family: monospace;
    margin: 6px;

	filter: drop-shadow(0 0 24px rgba(0, 0, 0, 0.5));
	border: 10px solid;
	border-image: url("images/border.png") 12 fill repeat;
    background: transparent;
	font-size: inherit;
    image-rendering: pixelated;
    image-rendering: crisp-edges;
}

#shapeBuilder {
    display: flex;
    gap: 6px;
}

#shapeList {
    margin-top: 8px;
    background: transparent;
    padding-top: 0;
    padding-bottom: 2px;
    filter: drop-shadow(0 6px 2px rgba(0, 0, 0, 0.15));
}

#shapeList div {
    border: 10px solid;
	border-image: url("images/button5.png") 12 fill repeat;
    background: transparent;
    padding: 0;
    padding-bottom: 3px;
    filter: drop-shadow(0 6px 2px rgba(0, 0, 0, 0.15));
    margin-bottom: 4px;
}

.logo {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    text-align: center;
}

.logo img {
    image-rendering: pixelated;
    display: inline-block;
    filter: drop-shadow(0 0px 4px rgba(0, 0, 0, 0.25));
}

.customLabel {
    width: 100%;
}

#randColor {
    cursor: pointer;
    filter: drop-shadow(0 6px 2px rgba(0, 0, 0, 0.15));
    //height: 24px;
}

.colorRtick {
    display: flex;
    justify-content: center;
}

canvas {
    image-rendering: pixelated;
    image-rendering: crisp-edges;
    background: transparent;
    margin: auto;
    width: 256px;
    height: 256px;
}



label {
    display:block;
    margin:6px;
}

select {
    min-width: 100%;
    color: white;
    flex: 1;
    display: flex;
    //max-height: 28px;
    justify-content: center;
    align-items: center;
    padding: 0;
    padding-bottom: 2px !important;
    margin-top:6px;
	cursor: pointer;
	font-family: monospace;
	filter: drop-shadow(0 6px 2px rgba(0, 0, 0, 0.15));
	border: 10px solid;
	border-image: url("images/button3.png") 12 fill repeat;
    background: transparent;
	font-size: inherit;
    image-rendering: pixelated;
    image-rendering: crisp-edges;
}

select option {
    background-color: #45404F;
    color: white;
}

select option:hover {
    background-color: #3A3642 !important;
}

select option:checked {
    background-color: #3A3642;
    color: white;
}

hr {
    margin-top: 16px;
    background-color: white;
    //border: 0px !important;
    //height: 1px !important;
}

button {
	flex: 1;
    display: flex;
    max-height: 28px;
    justify-content: center;
    align-items: center;
    padding: 0;
    padding-bottom: 2px;
    margin-top:6px;
	cursor: pointer;
	color: black;
	font-family: inherit;
    font-weight: bold;
	filter: drop-shadow(0 6px 2px rgba(0, 0, 0, 0.15));
	border: 10px solid;
	border-image: url("images/button4.png") 12 fill repeat;
    letter-spacing: 0.5px;
    background: transparent;
	transition: 0.3s ease;
	font-size: inherit;
    image-rendering: pixelated;
    image-rendering: crisp-edges;
}

#randomizeButton {
    min-width: 100%;
}

#exportButton {
    min-width: 100%;
}

#shapeSelect, #addShapeBtn {
    min-width: 22px !important;
    margin: 0 !important;
}

#addShapeBtn {
    min-height: 18px !important;
    max-width: 38px !important;
}

input[type="range"]{
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;

    background: transparent;
    margin: 0;
    margin-top: 8px;
    margin-left: 16px;
    margin-right: 16px;

    height: 8px;
    filter: drop-shadow(0 6px 2px rgba(0, 0, 0, 0.05));
}

input[type="range"]::-webkit-slider-thumb{
    -webkit-appearance: none;
    appearance: none;
    image-rendering: pixelated;
    image-rendering: crisp-edges;

    width: 6px;
    height: 24px;
    border-radius: 0;

    border: 10px solid;
	border-image: url("images/button.png") 12 fill repeat;
    background: transparent;
    transform: translateY(-12px);
    filter: drop-shadow(0 6px 2px rgba(0, 0, 0, 0.1));

    cursor: pointer;
}

input[type="range"]::-moz-range-thumb{
    -webkit-appearance: none;
    appearance: none;
    image-rendering: pixelated;
    image-rendering: crisp-edges;

    padding: 0 !important;
    width: 2px;
    height: 6px;

    border: 10px solid;
	border-image: url("images/button.png") 12 fill repeat;
    background: transparent;
    transform: translateY(-1px);
    filter: drop-shadow(0 6px 2px rgba(0, 0, 0, 0.1));

    cursor: pointer;
}

input[type="range"]::-moz-range-track{
    height: 8px;

    border: 10px solid;
	border-image: url("images/slider-track-firefox.png") 12 fill repeat;
    background: transparent;
}

input[type="range"]::-webkit-slider-runnable-track{
    height: 8px;

    border: 10px solid;
	border-image: url("images/slider-track-edge.png") 12 fill repeat;
    background: transparent;
}
