/* Warna */

:root {
	--latar: hsl(0, 0%, 95%);
	--muka: hsl(0, 0, 0);

	--invert-light: 1;
}

@media (prefers-color-scheme: dark) {
	:root {
		--latar: hsl(0, 0%, 15%);
		--muka: hsl(0, 0%, 100%);

		--invert-light: 0;
	}
}

/* Ukuran */
:root {
	--sm: 576px;
	--md: 768px;
	--lg: 992px;
	--xl: 1200px;
}

/* Font */
:root {
	--logo-fonts: "Inconsolata", "Courier New", Courier, monospace;
	--subtitle-fonts: "Inconsolata", "Courier New", Courier, monospace;
	--konten-fonts: "Inconsolata", "Courier New", Courier, monospace;
}

body {
	background-color: var(--latar);
	color: var(--muka);
}

h1 {
	margin: 0;
}

/* ======= logo/hero ======= */

.logo {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	width: 100%;
	padding: 1rem;
}

.logo__gambar {
	width: 2rem;
	height: 2rem;
	filter: invert(var(--invert-light));
}

.logo__tulisan {
	font-family: var(--logo-fonts);
	font-size: 2rem;
}

@media screen and (min-width: 576px) {
	.logo {
		flex-direction: row;
		align-items: center;
		justify-content: start;
		gap: 1rem;
		padding: 2rem;
	}

	.logo__gambar {
		width: 4rem;
		height: 4rem;
	}

	.logo__tulisan {
		font-size: 4rem;
	}
}

/* ======= subtitle ======= */
.subtitle {
	width: 100%;
	padding: 0 1rem;
	padding-bottom: 1rem;
}

.subtitle__isi {
	font-family: var(--subtitle-fonts);
	font-size: 1rem;
	font-weight: 500;
	text-align: center;
	margin: 0;
}

@media screen and (min-width: 576px) {
	.subtitle {
		width: 100%;
		padding: 0 2rem;
		padding-bottom: 1rem;
	}

	.subtitle__isi {
		text-align: left;
	}
}

/* ======= konten ======= */
.konten {
	width: 100%;
	padding: 1rem 1rem;
	font-family: var(--konten-fonts);
	font-weight: 500;
}

.konten * {
	margin: 0;
	padding: 0 0 0.4rem 0;
}

.konten h2 {
	font-size: 1.2rem;
}

.konten ul {
	margin-left: 1rem;
	list-style-type: square;
}

@media screen and (min-width: 576px) {
	.konten {
		width: 100%;
		padding: 1rem 2rem;
	}

	.konten h2 {
		font-size: 1.6rem;
	}
}
