@import url('https://fonts.googleapis.com/css2?family=Gaegu:wght@300;400;700&family=Gluten:wght@600;700&display=swap');

body {
	background-color: #222;
}

/* stages */
div.stages {
	width: 1200px;
	height: 700px;
	margin: auto;
	position: relative;
	background-size: cover;
	overflow: hidden;
}

div#indexstage {
	background-image: url('images/background/start.png');
}

div#creditstage {
	background-color: #fff8bf ;
}

div#wakeupstage {
	background-image: url('images/background/wakeup1.png');
}

div#loungestage {
	background-image: url('images/background/lounge.png');
}

div#windowstage {
	background-image: url('images/background/window1.png');
}

div#housestage {
	background-image: url('images/background/house.png');
}

div#expressostage {
	background-image: url('images/background/expressoroom.png');
}

div#mochastage {
	background-image: url('images/background/mocharoom.png');
}

div#characterstage {
	background-image: url('images/background/pink.png');
}

div#porostage {
	background-image: url('images/background/2.jpeg');
	font-family: 'Gaegu', cursive;
}

div#berrycherrystage {
	background-image: url('images/background/1.png');
	font-family: 'Gaegu', cursive;
}

div#bakustage {
	background-image: url('images/background/1.png');
	font-family: 'Gaegu', cursive;
}

div#mazestage {
	background-color: #D2B591;
	z-index: 1;
	font-family: 'Gaegu', cursive;
}

div#timesupstage {
	background-image: url('images/background/1.png');
	font-family: 'Gaegu', cursive;
}

div#timesupstage2 {
	background-image: url('images/background/2.jpeg');
	font-family: 'Gaegu', cursive;
}

div#castlestage {
	background-image: url('images/background/castleoutside.png');
	font-family: 'Gaegu', cursive;
}

div#kuromistage {
	background-image: url('images/background/castleinside.png');
	font-family: 'Gaegu', cursive;
}

div#trapstage {
	background-image: url('images/background/trap1.jpg');
	font-family: 'Gaegu', cursive;
}

div#finalstage {
	background-color: #BFDEFF;
	font-family: 'Gaegu', cursive;
}

/* texts*/
h1#title { /* title for the front page*/
    font-family: 'Gluten', cursive;
    color: #FFF6BA;
    -webkit-text-stroke: 4px #9F724A;
    font-size: 60px;
	display: inline-block;
	position: absolute;
	text-align: center;
	left: 30px;
	top: 70px;
}

#credittitle { /* title for the credit*/
  font-family: 'Gluten', cursive;
  color: #ffcccc;
  -webkit-text-stroke: 4px #9F724A;
  font-size: 65px;
	position: absolute;
	text-align: center;
	left: 465px;
	top: 1px;
}

h1 { /* select your character title */
    font-family: 'Gluten', cursive;
    color: #3A3420;
    font-size: 70px;
	display: inline-block;
	position: absolute;
	left: 120px;
	top: 20px;
}

h1#timesup {
	color: #FF6363;
	top: 350px;
	left: 330px;
	font-size: 100px;
	cursor: pointer;
}

p#character { /* hint */
	font-family: 'Gaegu', cursive;
	color: #3A3420;
	font-size: 30px;
	display: inline-block;
	position: relative;
	left: 80px;
	top: 130px;
}

p#credits { 
	font-family: 'Gaegu', cursive;
	color: #3A3420;
	font-size: 20px;
	line-height: 0.1;
	text-align: center;
	position: relative;
	left: 1px;
	top: 100px;
}

p#credits2 { 
	font-family: 'Gaegu', cursive;
	color: #3A3420;
	font-size: 30px;
	line-height: 0.1;
	text-align: center;
	position: absolute;
	left: 240px;
	bottom: 20px;
}

a { /* link colour */
  color: #d17b8f; 
  text-decoration: none;
}

a:hover {
  text-decoration-line: underline;
  text-decoration-style: wavy;
}

figcaption { /* for all three characters */
	color: #3A3420;
	font-size: 30px;
	display: inline-block;
	position: absolute;
}

figure {
	cursor: pointer;
}

/* for individual characters */
#cinnacap {
	font-family: 'Gluten', cursive;
	display: inline-block;
	position: absolute;
	bottom: 200px;
	left: 500px;
}
#cinnacap2 {
	font-family: 'Gaegu', cursive;
	display: inline-block;
	position: absolute;
	bottom: 150px;
	left: 450px;
}

#mocap {
	font-family: 'Gluten', cursive;
	display: inline-block;
	position: absolute;
	bottom: 200px;
	left: 190px;
}

#mocap2 {
	font-family: 'Gaegu', cursive;
	display: inline-block;
	position: absolute;
	bottom: 150px;
	left: 110px;
}

#excap {
	font-family: 'Gluten', cursive;
	display: inline-block;
	position: absolute;
	bottom: 200px;
	left: 880px;
}

#excap2 {
	font-family: 'Gaegu', cursive;
	display: inline-block;
	position: absolute;
	bottom: 150px;
	left: 810px;
}

div#dialoguebox {
	background-color: rgba(255, 255, 255, 0.6);
	font-family: 'Gaegu', cursive;
	font-size: 30px;
	font-weight: bold;
	color: #3A3420;
	padding: 25px;
	box-sizing: border-box;
	position: absolute;
	bottom: 20px;
	left:  50px;
	right: 50px;
	cursor: pointer;
	user-select: none;
	z-index: 999;
	border-radius: 30px;
}

/* images of characters selection*/
img#expresso2 {
	display: inline-block;
	position: absolute;
	height: 165px;
	bottom: 250px;
	left: 825px;
}
img#cinnamoroll2 {
	display: inline-block;
	position: absolute;
	height: 165px;
	bottom: 250px;
	left: 430px;
}
img#mocha2 {
	display: inline-block;
	position: absolute;
	height: 170px;
	bottom: 250px;
	left: 80px;
}

/* images of characters in first page*/
img#cinnamoroll3 {
	display: inline-block;
	position: absolute;
	height: 150px;
	bottom: 315px;
	left: 430px;
}

img#expresso3 {
	display: inline-block;
	position: absolute;
	height: 165px;
	bottom: 200px;
	left: 730px;
}

img#mocha3 {
	display: inline-block;
	position: absolute;
	height: 170px;
	bottom: 200px;
	left: 150px;
}

.character-hover {
  transform: scale(1.1);
  transition: transform 0.3s ease-in-out;
}

/* warning box */
#warning {
	position: absolute;
	left: 390px;
	top: 250px;
	z-index: 1;
}

#starwarning {
	position: absolute;
	left: 320px;
	top: 250px;
	z-index: 1;
}


/* images of characters in chat*/
img#poro {
	position: absolute;
	bottom: 170px;
	left: -400px;
	height: 300px;
}

img#kuromi {
	position: absolute;
	bottom: 170px;
	left: -400px;
	height: 390px;
}

img#baku {
	position: absolute;
	bottom: 170px;
	left: -400px;
	height: 330px;
}

img#milk {
	position: absolute;
	bottom: 170px;
	left: -400px;
	height: 150px;
}

img#cinnamoroll {
	position: absolute;
	bottom: 170px;
	right: -600px;
	height: 200px;
}

img#expresso {
	position: absolute;
	bottom: 170px;
	right: -600px;
	height: 200px;
}

img#mocha {
	position: absolute;
	bottom: 170px;
	right: -600px;
	height: 200px;
}

img#berrycherry {
	position: absolute;
	bottom: 170px;
	left: -450px;
	height: 400px;
}

img#berrycherry2 {
	position: absolute;
	left: 300px;
	bottom: 300px;
	height: 300px;
}

img#poro2 {
	position: absolute;
	left: 380px;
	bottom: 300px;
	height: 300px;
}

img#map {
	position: absolute;
	bottom: 170px;
	right: -600px;
	height: 200px;
	cursor: pointer;
}

img#map2 {
	position: absolute;
	top: 220px;
	left: 430px;
	height: 300px;
	cursor: pointer;
}

img#mapopen {
	position: absolute;
	top: 20px;
	left: 160px;
	height: 650px;
	cursor: pointer;
	z-index: 1;
}

img#circle {
	position: absolute;
	top: 70px;
	left: 770px;
	height: 150px;
	cursor: pointer;
	z-index: 2;
}


/* dialogues of characters */
.cat_dialogue {
	font-size: 40px;
	color: #f0bf5d;
	font-family: 'Gluten', cursive;
	text-transform: uppercase;
	margin-right: 20px;
	display: block;
}

.cinnamoroll_dialogue {
	font-size: 40px;
	color: #517dc4;
	font-family: 'Gluten', cursive;
	text-transform: uppercase;
	margin-right: 20px;
	display: block;
}

.poro_dialogue {
	font-size: 40px;
	color: #c4668a;
	font-family: 'Gluten', cursive;
	text-transform: uppercase;
	margin-right: 20px;
	display: block;
}

.baku_dialogue {
	font-size: 40px;
	color: #796396;
	font-family: 'Gluten', cursive;
	text-transform: uppercase;
	margin-right: 20px;
	display: block;
}

.milk_dialogue {
	font-size: 40px;
	color: #406661;
	font-family: 'Gluten', cursive;
	text-transform: uppercase;
	margin-right: 20px;
	display: block;
}

.expresso_dialogue {
	font-size: 40px;
	color: #cc9e6a;
	font-family: 'Gluten', cursive;
	text-transform: uppercase;
	margin-right: 20px;
	display: block;
}

.mocha_dialogue {
	font-size: 40px;
	color: #e685a0;
	font-family: 'Gluten', cursive;
	text-transform: uppercase;
	margin-right: 20px;
	display: block;
}

.berrycherry_dialogue {
	font-size: 40px;
	color: #667bb3;
	font-family: 'Gluten', cursive;
	text-transform: uppercase;
	margin-right: 20px;
	display: block;
}

.kuromi_dialogue {
	font-size: 40px;
	color: #50376b;
	font-family: 'Gluten', cursive;
	text-transform: uppercase;
	margin-right: 20px;
	display: block;
}

/* buttons */
.button {
	border-radius: 30px;
	font-family: 'Gaegu', cursive;
	font-size: 20px;
	border: none;
	color: white;
	display: inline-block;
	text-align: center;
	cursor: pointer;
	position: absolute;
	z-index: 1000;
}

#startbutton {
	background-color: #e88e98;
	border-radius: 40px;
	font-size: 40px;
	padding: 10px 30px;
	margin: 4px 2px;
	bottom: 100px;
	left: 520px;
}

#startbutton:hover {
	background-color: #f7c94a;
}

#creditbutton {
	background-color: #f7c94a;
	border-radius: 40px;
	font-size: 20px;
	padding: 10px 10px;
	margin: 4px 2px;
	top: 20px;
	left: 20px;
}

#creditbutton:hover {
	background-color: #e88e98;
}

#gobutton {
	background-color: #80cfab;
	padding: 10px 27px;
	font-size: 30px;
	margin: 4px 2px;
	bottom: 10px;
	left: 500px;
}

#gobutton:hover {
	background-color: #f7c94a;
}

#yesbutton {
	background-color: #80cfab;
	padding: 10px 27px;
	margin: 4px 2px;
	bottom: 40px;
	left: 700px;
}

#yesbutton:hover {
	background-color: #f7c94a;
}

#nobutton {
	background-color: #cf8087;
	padding: 10px 27px;
	margin: 4px 2px;
	bottom: 40px;
	left: 900px;
}

#nobutton:hover {
	background-color: #f7c94a;
}

#againbutton {
	font-size: 30px;
	background-color: #80cfab;
	padding: 10px 20px;
	margin: 2px 2px;
	bottom: 100px;
	left: 500px;
}

#againbutton:hover {
	background-color: #f7c94a;
}

/* volume button */
.volume {
	width: 50px;
	position: absolute;
	padding: 15px 15px;
	cursor: pointer;
	right: 1px;
}

/* arrow button */
.arrow {	
	width: 130px;
	position: absolute;
	padding: 25px 30px;
	cursor: pointer;
}

#leftarrow {
	top: 300px;
}

#rightarrow {
	top: 300px;
	right:  1px;
}

/* maze*/
#timer {
	position: absolute;
	width: 250px;
	height: 40px;
	border: 3px solid #2b2b2b;
	top: 20px;
	right: 20px;
	z-index: 99;
}

#timer2 {
	position: absolute;
	width: 250px;
	height: 40px;
	border: 3px solid #2b2b2b;
	top: 20px;
	left: 20px;
	z-index: 99;
}

#timerinside {
	background-color: #FF6363;
	position: absolute;
	width: 250px;
	height: 40px;
	top: 0px;
	right: 0px;
}

#exit {
	width: 50px;
	height: 50px;
	background-color: #2b2b2b;
	position: absolute;
	z-index: 10;
	top: 150px;
	right: 0;
	opacity: 0;
}

/* images of player in maze */
img#player {
	position: absolute;
	top: 150px;
	left: 20px;
	width: 70px;
	z-index: 999;
}

img#exitplayer {
	position: absolute;
	top: 290px;
	right: 5px;
	width: 180px;
	z-index: 999;
}

/* bats */
img.bats {
	position: absolute;
	width: 90px;
	z-index: 999;
}

img#bat1 {
	top: 110px;
	left: 500px;
}

img#bat2 {
	top: 200px;
	left: 155px;
}

img#bat3 {
	top: 590px;
	left: 250px;
}

img#bat4 {
	top: 365px;
	left: 450px;
}

img#bat5 {
	top: 510px;
	left: 880px;
}

/* bag */

#bag {
	position: absolute;
	width: 150px;
	z-index: 800;
	bottom: 10px;
	left: 530px;
}

/* stars */
img.stars {
	position: absolute;
	width: 50px;
	z-index: 999;
}

#star1 {
	top: 40px;
	left: 50px;
}

#star2 {
	top: 400px;
	left: 280px;
}

#star3 {
	top: 40px;
	left: 700px;
}

#star4 {
	top: 430px;
	left: 1080px;
}

#star5 {
	top: 620px;
	left: 120px;
}

/* time travel */
.crystalball {
	position: absolute;
	width: 600px;
	left: 270px;
	top: 1px;
	cursor: pointer;
}

#trap1, #trap2 {
	width: 1200px;
	position: absolute;
}

#trap2, {
	z-index: 2;
	position: absolute;
}

#tbc {
	z-index: 3;
}

#group {
	position: absolute;
	bottom: 170px;
	right: -600px;
	height: 100px;
}

.enemy {
	height: 100px;
}

#livesContainer {
	position: absolute;
	top: 22px;
	left: 290px;
	height: 40px;
	width: 40px;
	box-sizing: border-box;
	border-radius: 50px;
	font-size: 25px;
	text-align: center;
	background-color: #ffef91;
	border: 3px solid #2b2b2b;
	color: #000000;
}


