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

:root {
	--content-background: none;
	--accent-color: #8eff6b;
	--primary-color: white;
}

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

#content>header {
	color: inherit;
}

h1 {
	text-shadow: 0 0.05em 0.1em rgba(0, 0, 0, 50%);
}

section {
	display: flex;
	flex-direction: column;
	background-color: rgba(0, 0, 0, 0.25);
	-webkit-backdrop-filter: blur(16px);
	backdrop-filter: blur(16px);
}

section>header {
	margin: 2rem auto 1rem auto;
}

section>header>h2 {
	margin: 0;
}

blurb {
	flex-grow: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
	margin: 0;
}

blurb>* {
	margin: 0.5rem;
}

#list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	/* content already has margin */
	margin-top: 0;
}

#list>section {
	max-width: 31rem;
	box-sizing: border-box;
	margin-bottom: 0;
}

@media screen and (min-width: 32rem) {
	#list>section {
		border-radius: 1rem;
		margin-left: 0.5rem;
		margin-right: 0.5rem;
	}
}

/* buttons */

.button {
	display: block;
	position: relative;
	width: 16rem;
	height: 4rem;
	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(4rem - 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;
}
