/* Gif Gallery CSS - momg.neocities.org - melonking.net */

body {
	font-family: 'Times New Roman', serif;
	background-color: white;
	color: #0039c9;
	font-size: 16px;
	margin: 10px 30px;
	padding: 0px;
}

img {
	image-rendering: pixelated;
	image-rendering: -moz-crisp-edges;
	image-rendering: crisp-edges;
}

header {
	text-align: center;
	padding: 20px;
}

header h1 {
	font-size: 33px;
	margin: 5px 0;
}

header h3, header h3 a, header h3 a:visited, header h3 a:hover {
	font-size: 20px;
	color: black;
	text-decoration: none;
}

nav ul {
	list-style: none;
	padding: 0;
}

nav li {
	display: inline-block;
	margin: 0 10px;
}

nav img {
	width: 30px;
}

article {
	max-width: 700px;
	margin: 0 auto;
	padding-bottom: 50px;
}

article textarea {
	width: 90%;
	height: 50px;
}

footer {
	clear: both;
	padding: 60px 40px 30px 40px;
	text-align: center;
	color: grey;
	font-size: 11px;
}

#noscript {
	color: red;
	font-weight: bold;
	text-align: center;
	font-size: 18px;
	margin: 20px 0;
}

#room {
	margin: 30px;
}

#door, #bench, #rest span {
	cursor: pointer;
}

#door {
	float: left;
	width: 150px;
	margin: 40px;
}

#bench {
	width: 370px;
	float: right;
	margin: 50px 80px 50px 0;
}

#rest {
	float: left;
	position: fixed;
	width: 100%;
	height: 100%;
	background-color: black;
	top: 0;
	left: 0;
	color: white;
	text-align: center;
	font-size: 18px;
	padding-top: 25%;
	display: none;
}
#rest span {
	text-decoration: underline;
	display: block;
	padding-top: 15px;
}

#audio-toggle {
	width: 28px;
	height: 28px;
	float: left;
	position: fixed;
	top: 10px;
	left: 10px;
}

.sign {
	float: left;
	margin: 50px 20px 20px 20px;
}

.sign img {
	max-width: 150px;
}

.picture {
	float: left;
	box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.3);
}

.picture img {
	max-width: 700px;
	min-width: 87px;
}

/* Mobile Support */
@media (max-width: 750px) {
	
	nav ul {
	  display: flex;
	  flex-direction: column;
	}
	nav ul li {
		margin-bottom: 15px;
	}
	nav ul li:first-child {
	  order: 2;
	}
	nav ul li:nth-child(2) {
	  order: 1;
	}
	nav ul li:nth-child(3) {
	  order: 3;
	}
	nav ul li:nth-child(4) {
	  order: 4;
	}
	
	#room {
		margin: 10px;
	}
	
	#bench {
		margin-right: 50px;
	}
	
	#rest {
		padding-top: 45%;
		font-size: 26px;
	}
	
	.picture img {
		max-width: 100%;
	}
}

/* Animations */
.tilt {
	transition: 0.2s;
}
.tilt:hover {
	transform: rotate(4deg);
}