:root {
	--font-heading: "Oxanium", sans-serif;
	--font-text: "Noto Sans", sans-serif;
	--font-emoji: "Noto Color Emoji", sans-serif;
	--text: white;
	--text-secondary: #ced4da;
	--background: #18191B;
}

.emoji {
	font-family: var(--font-emoji);
}

body {
	font-family: var(--font-text);
	background: var(--background);
	color: var(--text-secondary);
	margin: 0;
	overflow-x: hidden;
}

h1 {
	font-family: var(--font-heading);
	color: var(--text);
}

.container {
	max-width: 80rem;
	width: 100%;
	margin: auto;
	box-sizing: border-box;
	padding: 0 1rem;
}

/* Header */
.header {
	margin-top: 2rem;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.header .branding {
	font-size: 2.5rem;
	text-decoration: none;
	color: var(--text);
	font-family: var(--font-heading);
	font-weight: 700;
	display: flex;
	align-items: center;
	gap: 1rem;
}
.header .branding img {
	height: 4rem;
	width: 4rem;
	image-rendering: pixelated;
}
.header .branding:hover {
	text-decoration: underline;
}

/* Buttons */
.button {
	background-color: #2a2a2a;
	color: #bbbbbb;
	fill: #bbbbbb;
	text-decoration: none;
	font-size: 1rem;
	font-weight: 700;
	font-family: var(--font-heading);
	cursor: pointer;
	transition: all .3s;
	box-sizing: border-box;
	border-radius: 5px;
	padding: .5rem 1.25rem;
	outline: none;
	display: flex;
	gap: .75rem;
	align-items: center;
	justify-content: center;
}
.button:hover {
	background: #424242;
	color: #ffffff;
	fill: #ffffff;
}
.button svg {
	height: 1rem;
}

/* Hero */
.hero {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
	margin: 7rem 0;
}
.hero h1 {
	font-size: 3.3rem;
	margin: 0;
}
.hero p {
	margin: 0;
	font-size: 1.1rem;
}

h2 {
	font-family: var(--font-heading);
	color: var(--text);
}

.hero .text-gradient {
	background: linear-gradient(90deg, #ff4e4e, #fffc00, #1ecf1e, #927aff, #ff59f9, #ff4e4e, #fffc00);
	background-size: 600%;
	animation: textGradientAnimation 40s linear infinite;
	background-clip: text;
	color: transparent;
}

@keyframes textGradientAnimation {
	0% {
		background-position: 0% 0;
	}
	100% {
		background-position: 100% 0;
	}
}

/* Categoiries */
.js-category {
	display: none;
}
.js-category.js-category--active {
	display: block;
}

/* Tabs */
.tabs {
	display: flex;
	justify-content: center;
	margin: 2rem auto;
	background-color: #121214;
	width: fit-content;
	padding: .5rem .75rem;
	align-items: center;
	border-radius: .5rem;
	position: relative;
	box-sizing: border-box;
}
.tabs button {
	background: none;
	cursor: pointer;
	border: none;
	color: #bbbbbb;
	font-size: 1rem;
	font-weight: 600;
	padding: .75rem 1.5rem;
	border-radius: .5rem;
	transition: color .3s ease;
	z-index: 2;
	font-family: var(--font-heading);
}
.tabs button:hover {
	color: white;
}
.tabs button.active {
	color: white;
}

.tabs__indicator {
	background-color: #2a2a2a;
	border-radius: .25rem;
	height: 2.4rem;
	left: .75rem;
	position: absolute;
	width: 0;
	z-index: 1;
	transition: width .1s ease-in-out, left .1s ease-in-out;
}

/* Grid */
.jar-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr));
	gap: 1rem;
}
.minecraft-jar {
	background-color: #121214;
	border-radius: .5rem;
	padding: 1rem;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 1rem;
}
.minecraft-jar h3 {
	margin: 0;
	text-align: center;
	font-size: 1.3rem;
	font-family: var(--font-heading);
	font-weight: 700;
	color: var(--text);
}

.minecraft-jar .button {
	margin-top: auto;
}

.minecraft-jar__icon {
	display: flex;
	justify-content: center;
}
.minecraft-jar__icon img {
	height: 5rem;
	width: 5rem;
	object-fit: scale-down;
}

.minecraft-jar-props__label {
	font-size: .8rem;
	margin-top: .75rem;
}
.minecraft-jar-props__label:first-child {
	margin-top: 0;
}

.minecraft-jar-props__value {
	color: white;
}

/* Footer */
.footer {
	background-color: #121214;
	margin-top: 4rem;
	padding: 3rem 0;
	font-family: var(--font-heading);
	font-size: 1.1rem;
	text-align: center;
	color: var(--text-secondary);
}
.footer a {
	color: #dc2f28;
	text-decoration: none;
}
.footer a:hover {
	text-decoration: underline;
}

@media screen and (max-width: 900px) {
	.header {
		justify-content: center;
	}
	.header .button {
		display: none;
	}
	.hero span {
		display: block;
	}

	.tabs__indicator {
		display: none;
	}

	.tabs {
		flex-direction: column;
		width: 100%;
	}

	.tabs button {
		width: 100%;
		transition: color .3s ease, background-color .3s ease;
	}
	.tabs button.active {
		background-color: #2a2a2a;
	}
}
