body
{
	font-family: 'Dm Mono', monospace;
	font-weight: 400;
	background: black;
	color: #e0ebeb;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
	-webkit-user-drag: none;
	-khtml-user-drag: none;
	-moz-user-drag: none;
	-o-user-drag: none;
}

/* Seems necessary to make iframes work on itch.io on mobile iOS :-( */
#container
{
    position: absolute;
    display: block;
    margin: 0;
    padding: 0;
    -webkit-overflow-scrolling: touch;
    overflow: scroll;
    overflow-x: hidden;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
	z-index: 10;    
}

#story
{
	position: relative;
	margin: 0 auto;
	overflow: hidden;
	height: 100%;
	min-width: 30vw;
	max-width: 80vw !important;
	transition: opacity 2s ease;
	padding: 0em 1em 0em 1em;
}

@media (hover:none), (hover:on-demand)
{
	#story
	{
		max-width: 90%;
	} 
}

#story > *:first-child {
	margin-top: 10vh !important;
}

#story > *:last-child 
{
	margin-bottom: 15vh !important;
}

/* ================================================================= */

p
{
	margin-block-start: 0px !important;
	font-size: 13pt;
	line-height: 1.7;

}

p.text, p.choice {
	max-width: 40vw !important;
	margin: 0 auto;
}

p, p > *
{
	-webkit-user-drag: none;
	-khtml-user-drag: none;
	-moz-user-drag: none;
	-o-user-drag: none;
}

a 
{	
	text-decoration: none !important;
	transition: all 0.5s linear;
}

a:hover
{
	color: #f0f5f5;
}

.choice > a
{
	color: #94b8b8;
	opacity: 1;
	transition: all 1s;
}

.choice > a:hover
{
	color:  #527a7a;
	opacity: 1;
	transition: all 1s;	
}

.choice > a:active
{
	color:red;
}

.chosen
{
	color: white !important;
	opacity: 1 !important;
}

img {
	/* margin-top: 50px; */
	margin-bottom: 50px;
	width: 100%;
	/* border: solid 1px #669999; */
}

.thought {

	color: #293d3d;
}

.xanh {
	font-family: Xanh Mono, monospace;
	color: #669999;
	text-align: right;
}


.log {
	font-family: Xanh Mono, monospace;
	color: #00e6b8;
}


@media (max-width: 800px) {

	p.text, p.choice {
		max-width: 80vw !important;
	}