body {
	background: #324148;
	color: #dbe9ee;
	text-align: center;
	font-family: 'Montserrat', serif;
}
h1 {
	font-size: 40px;
}
main {
	margin: 0 auto;
}
button.play,
button.restart,
button.reset,
button.add,
button.modal-buttons,
button.return-button {
	background-color: #dbe9ee;
	width: 150px;
	height: 40px;
	font-size: 16px;
	margin: 15px;
	box-shadow: 1px 1px 5px black;
}
button.play:hover,
button.restart:hover,
button.reset:hover,
button.add:hover,
button.modal-buttons:hover,
button.return-button:hover {
	background-color: rgb(184, 244, 245);
	transform: scale(1.15);
	color: #324148;
}
button.search-button {
	background-color: #dbe9ee;
}
button.search-button:hover {
	background-color: rgb(184, 244, 245);
}
img {
	width: 180px;
	height: auto;
	position: relative;
}

p {
	margin: 15px auto;
	width: 600px;
	color: #dbe9ee;
	display: block;
}

footer {
	height: 100px;
}
nav {
	display: block;
	border-top: 1px solid #dbe9ee;
	border-bottom: 1px solid #dbe9ee;
}
nav ul {
	padding-left: 0;
}
nav ul li {
	display: inline;
}
nav ul li a {
	text-decoration: none;
	list-style: none;
	color: #dbe9ee;
	margin: 10px 20px;
	font-size: 23px;
}
li a:hover {
	color: rgb(184, 244, 245);
	border-bottom: 1px solid rgb(184, 244, 245);
}
.spacer {
	margin-top: 10px;
	height: 100px;
	font-size: 18px;
}

.container {
	display: grid;
	width: 1000px;
	margin: 10px auto;
	grid-template-rows: 50px 420px;
	grid-template-columns: 280px 420px 280px;
	grid-gap: 10px;
	margin-bottom: 10px;
}
#big-image {
	width: 280px;
	height: auto;
	grid-row-start: 2;
	grid-column-start: 1;
	opacity: 0.8;
}
#big-image:hover {
	opacity: 1;
	transform: scale(1.02);
}
.score-board {
	grid-row-start: 1;
	grid-column-start: 1;
	height: 40px;
	width: 276px;
	border: 1px solid #dbe9ee;
}

h3 {
	margin: 0 auto;
	color: #dbe9ee;
	padding-top: 8px;
	font-size: 25px;
}
.game-board {
	margin: 10px auto;
	display: grid;
	width: 1550px;
	height: auto;
	grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
	grid-template-rows: 1fr 1fr 1fr;
	grid-gap: 10px;
	justify-items: center;
	align-items: center;
}
.box {
	opacity: 0.8;
	border: 2px solid rgb(184, 244, 245);
}
.box:hover {
	opacity: 1;
	transform: scale(1.02);
	border: 2px solid rgb(184, 244, 245);
}

#modal {
	background-color: #324148;
	position: fixed;
	top: 10%;
	left: 10%;
	height: 80%;
	width: 80%;
	z-index: 1;
	overflow: auto;
	border: 2px solid #dbe9ee;
	border-radius: 5px;
	display: none;
}
#modal p {
	font-size: 20px;
}
ul.modal-list li {
	display: inline;
}
.next-place {
	font-size: 18px;
	padding: 10px;
	color: #dbe9ee;
	text-decoration: none;
}
#picture-modal {
	position: fixed;
	left: 38%;
	top: 15%;
	width: 460px;
	height: 750px;
	background-color: #dbe9ee;
	z-index: 2;
	box-shadow: 2px 2px 2px darkgrey;
	display: none;
}

.about-place {
	grid-row-start: 2;
	grid-column-start: 2;
	margin-top: 0;
	margin-bottom: 0;
	border: 1px solid #dbe9ee;
	padding: 15px 0px;
	padding-left: 12px;
	width: 685px;
	font-size: 30px;
	text-align: left;
}

.about {
	margin: 0 auto;
	width: 680px;
	font-size: 17px;
	padding-top: 10px;
	line-height: 1.6;
}

.search-box {
	grid-column-start: 2;
	height: 45px;
	font-size: 20px;
	color: #324148;
}
.search-button {
	grid-column-start: 3;
	grid-row-start: 1;
	width: 270px;
	font-size: 20px;
	color: #324148;
}

/* RESPONSIVE */
@media (max-width: 1300px) {
	.game-board {
		margin: 10px auto;
		display: grid;
		width: 1000px;
		grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
		grid-template-rows: 1fr 1fr 1fr 1fr 1fr;
		grid-gap: 10px;
		justify-items: center;
		align-items: center;
	}

	#big-image {
		padding-left: 5px;
	}
	#picture-modal {
		left: 30%;
	}
	.score-board {
		margin-left: 6px;
	}
	.about-place {
		margin-left: 6px;
	}
	.search-box {
		margin-left: 6px;
	}
	.search-button {
		margin-left: 6px;
	}
}

@media (max-width: 850px) {
	.game-board {
		margin: 10px auto;
		display: grid;
		width: 370px;
		grid-template-columns: 1fr 1fr;
		grid-template-rows: 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
		grid-gap: 5px;
		justify-items: center;
		align-items: center;
	}

	.container {
		display: block;
		margin: 10px auto;
		width: 375px;
	}
	.score-board {
		height: 40px;
		width: 360px;
		margin-left: 10px;
	}
	.about-place {
		width: 345px;
		font-size: 14px;
		margin: 0 auto;
		padding: 5px 5px;
	}
	.about {
		width: 340px;
		font-size: 12px;
		padding-top: 2px;
	}
	.search-box {
		width: 350px;
		margin: 10px auto;
	}
	.search-button {
		width: 150px;
		height: 40px;
	}
	nav ul li {
		display: block;
		margin: 5px auto;
	}
	p {
		margin: 15px auto;
		width: 300px;
		color: #dbe9ee;
		display: block;
	}
	#big-image {
		width: 360px;
		height: auto;
		margin: 10px auto;
	}
	#picture-modal {
		left: 15px;
	}
	img {
		width: 175px;
		height: auto;
	}
}
