

canvas{

	border: 1px solid  #ccc;
	display: block;
	margin: 0 auto;
}

.wrapper{

	padding-top:0;


	height: 100vh;
	height: 100dvh;

	
	
	display: flex;
	flex-direction: column;
	overflow: hidden;
	justify-content: flex-start;
	align-items: center;

	
}

.message{
	position: absolute;
	left: 0;
	top: 0;
	padding: 1em;

	z-index:10;
}

.app{
	position: relative;
}

.scroll_x{
	width: 100vw;
	overflow-y: hidden;
	overflow-x: auto;
	position: relative;
	z-index: 2;
}

.progress{

	
display: flex;
align-items: center;

width: auto;
max-width: none;

overflow-y: hidden;
padding: 0 2em 0 1em ;

}

.progress img{

	vertical-align: middle;
	display: inline-block;
	margin:-2px 0.1em 0;
}

.illust_add{
	height: 0.8em;
	width: 0.8em;
}

.illust{
border:1px solid #000;
height: 0.8em;
width: 0.8em;

}



.selected_illust{
border:1px solid #f00 !important;


}

.selected_illust_anim{
animation-duration: 0.5s;
animation-fill-mode: both;
animation-iteration-count: infinite;
animation-name: pulse;
}


.new_illust_anim{
	animation-duration: 0.5s;
	animation-fill-mode: both;
	
	animation-name: fadeInLeft;
}



canvas{
	background-color: rgba(255,255,255,0.5);
}

.output{


	border-radius: 0.5em;
	border: 0.05em solid #eee;
	position: absolute;
	right:0.5em;
	top:0;

	width: 4em;
	height: 4em;

		background-color: rgba(255,255,255,1);

		z-index: 10;
}


.output .done{
	position: absolute;
	right: -0.3em;
	top: -0.5em;

	width: 2.5em;
	height: 2.5em;
}




#main{

	

position: relative;
overflow: hidden;
z-index: 1;
}





.ok_go{

	position: absolute;
	
	top:-2em;
	right: 1em;
	overflow: visible;
	
}


.ok_go img{
	height: 4em;
	width: 4em;
	border: 0.3em solid rgb(100, 255, 100);
	background-color: #fff;
	border-radius: 0.8em;
	object-fit: contain;
	vertical-align: middle;

	/*
	animation: fuwa 2s linear  infinite ;
	*/

}


@keyframes fuwa {
	0%{margin-bottom:0em;}
	10%{margin-bottom:0.5em;}
	20%{margin-bottom:0em;}
	100%{margin-bottom:0em;}
}

.flexcenter{
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	margin: 0 1em;
}

.copy{
	font-size: 0.7em;
	margin:0.2em 0;
}


.copy1,.copy2{
	font-size: 1.8em;
	width: 1em;
	height: 1em;
}

/*
#remove_koma{
	width: 1em;
	height: 1em;
	position: absolute;
	bottom: 0;
	right: 0;
}
	*/


.moveable_grab.flip{
	transform: scaleX(-1);
}