@import url("common.css");

:root {
	--surface: #000;
	--on-surface: #eee;
	--on-surface-faint: #aaa;

	/* Taken from the Monster Energy website */
	--primary: #6bd41a;
}

html {
	background: var(--surface);
}

body {
	color: var(--on-surface);
}

h1,
h2,
h3,
h4,
h5,
h6 {
	color: var(--primary);
}

#construction {
	display: block;
	margin: 16px auto;
	width: fit-content;
}

.category {
	margin-top: 16px;
	margin-bottom: 32px;
	font-style: italic;
}

.category img {
	display: block;
	height: 96px;
	margin: 0 auto;
}

.monster {
	display: flex;
	gap: 16px;
	margin: 32px 0;
}

.monster img {
	height: 300px;
	object-fit: contain;
}

.monster div {
	flex: 1;
}

.monster div h2 {
	margin-top: 0;
	margin-bottom: 8px;
}

.monster div p {
	margin: 8px 0;
}

.monster.left {
	flex-direction: row;
}

.monster.right {
	flex-direction: row-reverse;
}

@media (max-width: calc(800px + 32px)) {
	.monster.left {
		flex-direction: column;
	}

	.monster.right {
		flex-direction: column;
	}
}

.monster .date {
	color: var(--on-surface-faint);
}

.monster .rating span {
	color: var(--primary);
	font-weight: bold;
}