:root {
	--color: #d81b60;
	--hover-color: #e91e63;
}

body {
	margin: 0;
	font-family: 'Segoe UI', arial;
	background: #141e26;
	color: hsl(205deg, 16%, 77%);
	font-size: 17px;
	line-height: 1.5;
	overflow-x: hidden;
}

header, main, footer {
	padding: 15px;
	max-width: 700px;
	margin: 50px auto;
}

header {
	margin-top: 30px;
	text-align: center;
}

footer {
	margin-bottom: 30px;
}

header p {
	margin-top: 0;
	margin-bottom: 30px;
}

h1, h2, h3 {
	font-weight: normal;
	color: hsl(205deg, 20%, 94%);
	margin: 0;
}

p {
	margin: 30px 0;
}

a {
	color: var(--color);
	text-decoration: none;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
}

a:hover {
	color: var(--hover-color);
	text-decoration: underline;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
	margin: 0 auto;
	margin-bottom: 40px;
}

.info {
	padding: 10px;
	border-radius: 5px;
	background: rgba(0, 0, 0, 0.2);
	border: 2px solid rgba(0, 0, 0, 0.2);
}

#link {
	margin-top: -15px;
	margin-bottom: 25px;
}

#compass {
	margin-bottom: 20px;
	transform-origin: center;
}

.spin {
	animation: spin 4s infinite alternate-reverse ease-in-out;
}

@keyframes spin {
	from {
		transform: rotate(0);
	}

	to {
		transform: rotate(360deg);
	}
}

.hidden {
	display: none;
}