@import url('https://fonts.googleapis.com/css2?family=PT+Serif:ital,wght@0,400;0,700;1,400;1,700&display=swap');

body {
	font-family: "PT Serif", serif;
	background-color: black;
}

#stage {
	width: 1000px;
	height: 700px;
	margin: auto;
	position: relative;
	color: white;
	overflow: hidden;
	border: 1px solid white;
}

#playButton {
	cursor: pointer;
	position: absolute;
	bottom: 50px;
	left: 50px;
	border: 3px solid white;
	background-color: rgba(255, 0, 0, 0.8);
	padding: 20px 40px;
	border-radius: 8px;
	font-size: 25px;
	user-select: none;
}

#playerNameOverlay,#closeup,#invRock,#invBat,#invPickaxe,#invMallet,#bearStory,#voidStory,#badEnd,#goodEnd {
	display: none;
}

#playerNameContainer {
	position: absolute;
	z-index: 50;
	width: 100%;
	height: 100%;
	align-items: center;
	justify-content: center;
	background-color: rgba(0, 0, 0, 0.8);
	display: grid;
	gap: 20px;
	grid-template-columns: auto auto;
}

#playerName {
	font-size: 25px;
	border: 3px solid red;
}

#submit {
	border: 3px solid red;
	font-size: 25px;
	cursor: pointer;
}

#output {
	background-color: rgba(0, 0, 0, 0.8);
	position: absolute;
	width: 100%;
	height: 200px;
	padding: 20px;
	bottom: 0px;
	box-sizing: border-box;
	cursor: pointer;
	user-select: none;
	display: none;
	font-size: 25px;
	z-index: 20;
}

#output.noclick {
	cursor: progress;
}

#voice {
	font-weight: bold;
	text-transform: uppercase;
}

#voice::after {
	content: ': ';
}

.options {
	position: absolute;
	font-size: 25px; 
	text-align: center;
	background-color: rgba(0, 0, 0, 0.8);
	width: 60%;
	padding: 20px;
	margin: auto;
	left: 0px;
	right: 0px;
	display: none;
	cursor: pointer;
}

.options:hover {
	background-color: rgba(0, 0, 0, 1.0);
}

#option1 {
	top: 20%;
}

#option2 {
	top: 40%;
}

#option3 {
	top: 30%;
}

.move {
	position: absolute;
	cursor: pointer;
	top: 40%;
	display: none;
}

#left {
	left: 20px;
	z-index: 20;
}

#left:hover {
	background-image: url('images/tuv_leftarrclick.png');
}

#left2 {
	left: 20px;
	z-index: 20;
}

#left2:hover {
	background-image: url('images/tuv_leftarr2click.png');	
}

#right {
	right: 20px;
	z-index: 25;
}

#right:hover {
	background-image: url('images/tuv_rightarrclick.png');
}

#left.noclick2,#right.noclick2 {
	cursor: not-allowed;
}

#inventory {
	position: absolute;
	cursor: pointer;
	border: 3px solid white;
	background-color: rgba(0, 0, 0, 0.8);
	padding: 10px;
	border-radius: 8px;
	font-size: 20px;
	right: 5px;
	top: 5px;
	user-select: none;
}

#inventory:hover {
	background-color: rgba(0, 0, 0, 1.0);
}

#crack {
	position: absolute;
	width: 50px;
	height: 50px;
	opacity: 70%;
	cursor: zoom-in;
	left: 110px;
	top: 250px;
	z-index: 20;
}

#crackZoom {
	cursor: crosshair;
}

.items {
	position: absolute;
	cursor: pointer;
}

#invInside {
	display: none;
	position: absolute;
	top: 10px;
	left: 30%;
}

.invItems {
	display: inline-block;
	width: 100px;
	height: 100px;
	border: 3px solid white;
	background-color: rgba(0, 0, 0, 0.8);
}

#rock {
	right: 200px;
	bottom: 100px;
	width: 40px;
}

#bat {
	right: 150px;
	bottom: 130px;
	width: 110px;
}

#pickaxe {
	right: 80px;
	top: 280px;
}

#mallet {
	left: 80px;
	bottom: 130px;
}

.special {
	position: absolute;
	cursor: pointer;
}

.special:hover {
	background-image: url(images/tuv_special.png);
}

#newspaper {
	left: 120px;
	bottom: 50px;
}

#bear {
	left: 270px;
	bottom: 220px;
}

#knife {
	right: 20px;
	bottom: 50px;
}

#portrait {
	left: 220px;
	top: 150px;
	cursor: zoom-in;
}

#shard {
	left: 150px;
	bottom: 90px;
}

#speBox {
	position: absolute;
	width: 500px;
	height: 500px;
	left: 230px;
	top: 80px;
	border: 3px solid white;
	background-color: rgba(0, 0, 0, 1.0);
	padding: 10px;
	text-align: center;
	align-content: center;
	cursor: pointer;
	font-size: 20px;
	user-select: none;
	z-index: 40;
}

.speText,.red {
	color: red;
}

.smallText {
	font-size: 12px;
}

#overlay {
	position: absolute;
	z-index: 30;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.8);
	display: none;
}

#portraitZoom {
	position: absolute;
	width: 540px;
	height: 680px;
	left: 240px;
	top: 30px;
	cursor: pointer;
}

.door {
	position: absolute;
	cursor: pointer;
	bottom: 110px;
}

#light {
	left: 40px;
}

#dark {
	right: 40px;
}