/* Aqui está o CSS do Twine (alterado) e CSS adicionado por mim. */

html, body{
	height: 100%;
}

a,body{
	color:#222;
}


/* Small devices */
@media only screen and (max-width: 900px) {  
  
    h4{
		font: Georgia, sans-serif;
	}
	
   p{
		margin-bottom: 10%;
   }
   
	#imagem1{       /* é a imagem da noa que aparece no primeiro estado do twine_1*/
		margin-bottom: 5%;
		width: 60%;
	}
	
	#imagem{
		width: 100%;
	}
	
	#passage{
		max-width: 100%;
	}
	
	a {
	padding: 1px 10px;
	}
   
}

  /* Medium devices */
@media (min-width: 800px) {  
   h4{
		font: 1.15rem Georgia, sans-serif;
   }
   
   p{
		margin-bottom: 2%;
   }
   
   #imagem1{
		margin-top: 0.5%;
		width: 40%;
	}
	
	#imagem{
		width: 40%;
	}
	
	#passage{
		max-width: 87%;
	}
	
	a {
	padding: 5px 10px;
	}
   
}


/* MENU DE CIMA */

#header{
	background-color: #424242;
}


/* Noa no menu */
h1{
	color: white;
	font-family: 'Satisfy', cursive;
	margin-top: 1%;
}

/* CSS do Twine */

#passage{
	margin:0 auto;
}

#imagem {
	margin-top: 0.5%;
	margin-bottom: 1%;
	display: block;
	margin-left: auto; 
	margin-right: auto; 
}

p{
	font-size: 22px;
	text-align-last: center;
}

a {
	font-size: 22px;
	text-align: center;
	cursor: pointer;
	outline: none;
	background-color: #f2803f;
	border: none;
	border-radius: 15px;
}

a:hover {
	background-color: #ff8000;
}

a:visited, a:link, a:active{
    text-decoration: none;
	color: white;
}

/* Botao de <levels */
.sair{
	padding: 0;
	background-color: #424242;
	margin-bottom: 0;
	font-size: 22px;
	border: none;
}

.sair:hover{
	background-color: #424242;
	color: #ff8000;
}

tw-storydata{display:none}@media screen and (max-device-width:480px){#passage{font-size:70%}}

.titulo{
	font-size: 48px;
	text-align-last: center;
	margin-top: 5%;
	margin-bottom: 5%;
}

.pontuacao{
	font-size: 40px;
	text-align-last: center;
}

.percentagem{
	font-size: 82px;
	text-align-last: center;
}