:root[data-theme=light] {
	--state-color: #185aa7;
	/* --state-color: var(--bs-primary); */
	--state-hover-color: #53a0f8;
	/* --state-hover-color: var(--bs-cyan); */
}
:root[data-theme=dark] {
	--state-color: #0d6efd;
	/* --state-color: var(--bs-info); */
	--state-hover-color: #64a8f7;
	/* --state-hover-color: var(--bs-cyan); */
}

.hidden {
	display: none;
}
#uploadDiv {
	/* width:500px; */
	/* height:80px; */
	text-align: center;
	/* border:2px solid var(--state-color); */
	/* background-color: white; */
}
/* #uploadDiv>input {
	width: 100%;
	/* outline: 2px dashed rgba(24, 90, 167, 0.5);
	padding: 10px;
	cursor: pointer;
	transition: 0.3s;
	background: rgb(191, 213, 243);
	border-radius: 4px;
} */
#uploadDiv>input:hover {
	/* outline: 2px dashed rgb(24, 90, 167,1); */
	border-radius: 4px;
}
#inputDiv {
	text-align: center;
	margin: 0 auto;
	/* border:2px solid var(--state-color); */
	/* background-color: white; */
}
#button_set>button {
	margin: 0.5rem 0;
	/* width: 100px; */
	height: 40px;
	/* background: var(--state-hover-color); */
	color: white;
	/* border: 2px solid var(--state-color); */
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
	font-size: 15px;
	/* border-radius: 5px; */
	outline: none;
	transition: 0.3s;
	cursor: pointer;
}
#button_set>button:hover {
	border: 2px solid var(--state-hover-color);
	outline: none;
}
#button_set>button:active {
	background-color: var(--state-color);
	outline: none;
}
#input_left {
	line-height: 50px;
	display: inline-block;
	width: 100px;
	text-align: right;
	color: var(--state-color);
}
#input_middle {
	line-height: 50px;
	display: inline-block;
	width: 250px;
	margin-left: 5px;
	margin-right: 5px;
	margin-top: 5px;
	text-align: center;
}
#input_middle>input {
	width: 100%;
	cursor: pointer;
}
#input_right {
	line-height: 50px;
	display: inline-block;
	width: 70px;
	text-align: left;
	color: var(--state-color);
}
#previewDiv {
	text-align: center;
	margin-bottom: 5px;
}
.info {
	display: block;
	font-size: 14px;
	/* color: var(--state-color); */
	text-align: left;
	/* margin-left: 5px; */
	margin-bottom: 0.5rem;
}
textarea {
	/* max-width: 480px; */
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
	font-size: 18px;
	text-align: center;
	padding: 10px;
	/* overflow:scroll; */
	border: none;
	/* border-bottom: 2px solid var(--state-color); */
}
#outputDiv {
	text-align: center;
	/* width:500px; */
	/* border:2px solid var(--state-color); */
	/* background: white; */
}
/* #introduction {
	width:500px;
	border:2px solid var(--state-color);
	background:white;
}
#introduction>h1,
h2,
h3,
h4,
h5,
h6 {
	color: var(--state-color);
	text-align: center;
	font-weight: 400;
	margin-top:5px;
	margin-bottom:5px;
} */
#demo {
	width: 180px;
	margin: 0 auto;
	display: block;
	padding-bottom: 10px;
}
.state {
	padding: 0 5px;
}
.state>p {
	margin: 10px 0;
	text-align: left;
	line-height: 30px;
	/* text-indent: 2em; */
}
/* .state>p::before {
	content: "　　";
} */
.state>p>span {
	color: var(--state-color);
	margin-left: 5px;
	margin-right: 5px;
	font-weight: 600;
}
#statePic {
	width: 200px;
	border: 2px dashed var(--state-color);
	margin: 2rem auto;
	text-align: center;
	user-select: none;
}
#statePic>div {
	display: inline-block;
	border: 2px solid var(--state-color);
	margin: 20px;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	line-height: 40px;
	font-size: 16px;
	font-weight: 600;
	color: var(--state-color);
}
.equation {
	display: block;
	text-align: center;
	font-size: 20px;
	font-weight: 500;
	color: var(--state-color);
	font-family: "Cambria Math", Cambria, Cochin, Georgia, Times, "Times New Roman", serif;
}
.newHr {
	display: block;
	border-top: 2px dotted var(--state-hover-color);
	width: 90%;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 10px;
}
.main_a {
	color: var(--state-color);
	font-weight: 500;
	transition: 0.3s;
}
.main_a:hover {
	color: var(--state-hover-color);
}
.main_a:active {
	color: var(--state-color);
}
.header_a {
	color: white;
	font-weight: 500;
	transition: 0.3s;
}
.header_a:hover {
	color: yellow;
}
.header_a:active {
	color: white;
}
#control-part td {
	white-space: nowrap;
	padding: 0.3rem;
}
#control-part td:first-child {
	text-align: left;
	padding-left: 0;
}
#control-part td:last-child {
	text-align: right;
	padding-right: 0;
}
#control-part input[type=range] {
	width: 100%;
}
.compare-pictures {
	display: flex;
	justify-content: space-around;
	align-items: flex-start;
	flex-wrap: nowrap;
	flex-direction: row;
}
textarea#outputText {
	padding: 0;
	/* background: transparent; */
	/* color: var(--text-color); */
	text-align: left;
	border-radius: 0.5rem;
}
canvas#preview {
	/* margin-top: 7px; */
	border-width: 2px;
	border-style: solid;
	border-color: var(--state-color);
	border-radius: 0.5rem;
}
.compare-pictures {
	margin-top: 1rem;
	margin-bottom: 1rem;
}
textarea, canvas, textarea.form-control#outputText, canvas#preview {
	transition: all 250ms ease-out, height 0 !important;
}
#tempCanvas {
	overflow: auto;
}
