html {
	font-family: 'IM Fell English', serif;
}

a {
	color: #fff;
}
body {
	margin: 0;
	background: url('../assets/bg.jpg');
	background-repeat: no-repeat;
	background-size: cover;
	height: 100vh;
}

button {
	background: none;
	border: none;
}

.box-avatar {
	text-align:center;
}

.header-logo {
	-webkit-filter: drop-shadow(5px 5px 5px #222);
	filter:         drop-shadow(5px 5px 5px #222);
	margin: 0 auto;
	padding-top: 50px;
	width: 50%;
}

.footer-copyright {
	text-align: center;
	color: #fff;
}

/* MAP STYLES */

.content {
	height: 800px;
	min-width: 980px;
	display: flex;
	justify-content: center;
	align-items: center;
}


.treasure-map {
	background: url('../assets/treasure-map.svg');
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center center;
	width: 960px;
	height: 765px;
	display: block;

	position: relative;
}

.treasure-map-item {
	position: absolute;
	display: block;

	transition: all .2s ease-in-out;
}

.treasure-map-item:hover {
	cursor: pointer;
	-webkit-filter: grayscale(100%); /* Safari 6.0 - 9.0 */
  	filter: grayscale(100%);
}

.treasure-map-item img {
	width: 100%;
	-webkit-filter: drop-shadow(5px 5px 5px #222);
	filter:         drop-shadow(5px 5px 5px #222);

	transition: all .2s ease-in-out;
}

.treasure-map-item:hover img {
	-webkit-filter: drop-shadow(10px 10px 10px #222);
    filter:         drop-shadow(10px 10px 10px #222);
}

.treasure-btn {
	left: 480px;
	top: 240px;
	width: 40px;
	height: auto;
}

.gem-btns {
	position: absolute;
	width: 60px;
	height: auto;
	display: block;
}

.red-gem-btn {
	left: 470px;
	top: 307px;
}

.yellow-gem-btn {
	left: 450px;
	top: 401px;
}

.blue-gem-btn {
	left: 564px;
	top: 447px;
}

.green-gem-btn {
	left: 545px;
	top: 563px;
}

.ship-btn {
	top: 370px;
	left: 160px;
	width: 108px;
}

/* OVERLAY STYLES */

.overlay-wrapper {
	position: absolute;
	top: 0;
	bottom: 0;
	right: 0;
	left: 0;
	color: #fff;
	margin: 0 auto;

	display: flex;
	justify-content: center;
	align-items: center;
}

.overlay-container {
	position: absolute;
	max-width: 400px;

	padding: 10px;
	background: rgba(0, 0, 0, 0.8);
	border-radius: 15px;
}

.overlay-content {
	line-height: 1.5;
	color: #ead4a2;
	max-height: 350px;
	overflow-y: auto;
	padding: 10px;
}

.overlay-content .header {
	display: flex;
	justify-content: space-evenly;
	align-items: center;
}

.skull-icon,
.swords-icon {
	width: 30px;
}

.overlay-icon {
	width: 30px;
	position: absolute;
	top: 16px;
	-webkit-filter: grayscale(100%); /* Safari 6.0 - 9.0 */
	filter: grayscale(100%);
}

.overlay-content h2 {
	margin: 0;
	text-align: center;
}

.overlay-content::-webkit-scrollbar {
	width: 2px;
}

.overlay-content::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
}

.overlay-content::-webkit-scrollbar-thumb {
  background-color: #ead4a2;
  outline: 1px solid #ead4a2;
}

.overlay-footer {
	margin-top: 20px;
	width: 100%;
	display: flex;
	padding: 10px;
	box-sizing: border-box;

	position: relative;
}

.overlay-footer .swords-icon {
	position: absolute;
	top: 20px;
	right: 0;
	width: 30px;
}

.overlay-footer .close-btn {
	font-size: 16px;
	font-weight: 700;
	background: #ead4a2;
	color: #af761d;
	width: 100%;
	height: 45px;
	border-radius: 4px;
	display: flex;
	justify-content: center;
	align-items: center;
}

.overlay-footer .close-btn:hover {
	cursor: pointer;
}

.overlay-footer .close-btn:focus {
	outline: none;
}

#welcome-content {
	text-align: center;
}

.active {
	display: block;
}

.hidden {
	display: none;
}
