@import url("../shared.css");

:root {
	--content-background: none;
	--accent-color: #8EFF6B;
}

body {
	color: #ffffff;
	background-color: #3f7030;
	background-image: url("grass.png");
	background-position: top center;
	background-size: 128px 128px;
}

#content>header {
	color: inherit;
}

header h1 {
	line-height: 1em;
	text-shadow: 0 0.05em 0.1em rgba(0, 0, 0, 0.5);
}

section {
	overflow: auto;
	/* disable margin collapsing */
	background-color: rgba(0, 0, 0, 0.25);
	-webkit-backdrop-filter: blur(16px);
	backdrop-filter: blur(16px);
}

/* buttons */

.button {
	display: block;
	position: relative;
	width: 256px;
	height: 64px;
	background-image: url("button.png");
	background-size: cover;

	transition-duration: 0.5s;
	transition-property: filter transform;
}

.button-short {
	width: 128px;
	background-image: url("button_short.png");
}

.button:hover {
	transition-duration: 0.1s;
	filter: drop-shadow(0px 2px 4px rgba(0, 0, 0, 0.25));
	transform: scale(1.02, 1.02);
}

.button a {
	line-height: calc(64px - 0.2em);
	/* -0.2em to fix oswald's weird vertical alignment */

	color: #FFFFFF;
	text-decoration: none;
}

.button-list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}

/* screenshots */

.screenshot-list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}

.screenshot-list>div {
	max-width: 256px;
	margin: 20px;
	box-shadow: 2px 3px 8px rgba(0, 0, 0, 0.25);

	flex-basis: auto;
	flex-grow: 1;
	flex-shrink: 1;

	transition-duration: 0.5s;
	transition-property: box-shadow transform;
}

.screenshot-list>div:hover {
	transition-duration: 0.1s;
	box-shadow: 4px 6px 16px rgba(0, 0, 0, 0.2);
	transform: scale(1.02, 1.02);
}
