button {
	border-radius: 25px;
	padding: 10px;
	margin: 10px auto;
	background-color: #8fbc33;
	font-family: "Victor Mono", monospace;
	font-size: 14px;
	display: block;
	border: 1px solid #89a028;
}

button:hover {
	background-color: #d1db60;
	border: 1px solid #89a028;
}
	
.results {
	padding: 10px;
}
canvas {
	margin: 5px;
}

body {
	margin: 0;
	padding: 0;
	background-image: url("https://twincy.filthyhippie.net/layout/babyzbak.png");
	background-attachment: fixed;
	font-family: "Victor Mono", monospace;
	font-size: 13px;
	font-weight: 500;
	color: #4A5759;
	line-height: 1.5;
	letter-spacing: 1.2px;
}


	
#red {
	background-color: #ff0000;
}

#green {
	background-color: #00ff00;
}

#yellow {
	background-color: #ffff00;
}

#blue {
	background-color: #0000ff;
}

form {
	text-align: left;
	display: table;
}


label, legend {
	font-weight: bold;}

.radio label {
font-weight: normal;
display: inline;
width: auto;}

label { 
  display: inline-block;
  width: 150px;
  text-align: left;
}

#norotatelabel {
width: 200px}

legend {
display: inline;}

small {
	letter-spacing: 0px;}

	
.foot {
	margin-top: 30px;
	font-size: 12px;
letter-spacing: 1px;}

.sectioncontainer {
display: flex;
  max-width: fit-content;
  margin-left: auto;
  margin-right: auto;}

.section {
	outline: 1px solid #ddd;
	border-radius: 10px;
	margin: 20px;
	padding: 20px;
}

.sectionhead {
	position: relative;
	top: -25px;
	left: 20px;
	display: inline;
	font-family: "Grandstander", cursive;
	font-optical-sizing: auto;
	font-weight: 600;
	letter-spacing: 1px;
	color: #73bd57;
	font-size: 30px;
	font-style: normal;
	padding: 10px;
	background-color: #fff;
	text-shadow: 2px 2px #3b8e62;}

.sectionbody {
	margin-top: -40px;
	padding: 20px;
}

.wrapper {
	border-radius: 25px;
	margin: 50px auto;
	height: 100%;
	width: 700px;
	background-color: #fff;
	padding: 20px 50px 50px 50px;
	text-align: center;
}

.center {
	width: fit-content;
	margin: 0 auto;
}
	
a, a:active, a:visited {
	background-color: #d1db60;
	letter-spacing: 0;
	text-decoration: none;
	color: #4a5759;
	font-style: italic;
}

a:hover {
	text-decoration: underline wavy #8fbc33 1.5px;
}

h2 {
	text-align: center;
	font-family: "Grandstander", cursive;
	font-optical-sizing: auto;
	font-weight: 600;
	letter-spacing: 1px;
	color: #73bd57;
	font-size: 50px;
	font-style: normal;
	margin: 10px;
	text-shadow: 2px 2px #3b8e62;
}

hr {
    display:block;
    border:0px;
    height:43px;
	width: 440px;
    background-image:url('layout/hr.png');
	margin: 40px auto 20px auto;
}
	
em {
	font-weight: normal;
	color: #516933;
	font-style: bold italic;
	letter-spacing: 0;
}

.modegroup label {
    width: auto;
}
.modegroup { margin-left: 4px; display: inline-flex; gap: 0; }
.modetoggle { 
	margin-right: 0; padding-right: 8px; cursor: pointer; font-size: 0.9em; white-space: nowrap; }
.textures-block { display: inline-block; text-align: left; margin: 0 auto; width: 420px;}
.colorrow { display: flex; align-items: center; margin: 3px 0; }
.flatinput input[type=number] { width: 3.5em; }
.flatinput input[type=number] { width: 3.5em; }
.palswatch, .colsquare {
    display: inline-block;
    width: 16px; height: 16px;
    border: 1px solid #888;
    vertical-align: middle;
    border-radius: 2px;
}
.palswatchlabel { font-size: 0.85em; opacity: 0.7; }
.inputslot {
    display: inline-flex;
    align-items: center;
    width: 220px;               /* fixed container */
    overflow: hidden;
}

.textureinput,
.flatinput {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
    flex-shrink: 0;
}