:root {
	--transparent-black: rgba(0, 0, 0, 0.75);
	--primary-color: #F8CF7A;
}

* {
	color: white;
	font-family: sans-serif;
}

body {
	background-color: #120d07;
	background-attachment: fixed;
	background-image: url(/images/background.png);
	background-position: 75% top;
	background-repeat: no-repeat;
	margin: 0;
}

header {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
	padding: 20px 30px;
	position: sticky;
	top: 0;
}

header #title {
	margin: 0;
	text-decoration: none;
}

header #title img {
	margin-top: 10px;
}

header a img {
	max-width: 100%;
	max-height: 100%;
}

#welcome {
	font-size: 40pt;
	text-align: center;
}

.box {
	/* backdrop-filter: blur(10px); */
	background-color: var(--transparent-black);
}

#last-updated {
	text-align: center;
}

.golden {
	color: gold;
	text-shadow: 0 0 4px gold;
}

.yes {
	color: lime;
	text-shadow: 0 0 4px lime;
}

.kinda {
	color: yellow;
	text-shadow: 0 0 4px yellow;
}

.no {
	color: red;
	text-shadow: 0 0 4px red;
}

.visible {
	display: none;
}

button {
	background-color: transparent;
	border: none;
	border-radius: 5px;
}

button:hover {
	background-color: rgba(0, 0, 0, 0.75) !important;
	cursor: pointer;
}

main {
	display: flex;
	flex-direction: row;
	justify-content: space-around;
	align-items: flex-start;
}

main a {
	color: var(--primary-color);
	background-color: rgba(0, 0, 0, 0.5);
	transition: ease-in 0.2s;
}

main a:hover {
	color: gold;
	transition: ease-in 0.2s;
}

main hr {
	margin: 30px 0;
}

main .box {
	margin: 30px;
	padding: 30px;
}

main .box h1 {
	font-size: 25pt;
	margin: 0;
}

#all-news {
	display: block;
	flex-grow: 2;
}

#all-news h1 {
	scroll-margin-top: 120px;
}

#all-news button {
	line-height: 0;
	margin-left: 10px;
	padding: 5px;
}

#faq {
	flex-shrink: 2;
	counter-reset: question;
}

#faq button {
	display: none;
	line-height: 0;
}

#faq h1 {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
}

#faq h2 {
	font-style: italic;
}

#faq h2::before {
	counter-increment: question;
	content: "Question " counter(question) ": ";
}

/* Small screens/laptops/tablets */
@media (max-width: 1280px) {
	main {
		flex-direction: column-reverse;
		align-items: stretch;
	}

	#faq button.visible {
		display: block;
		padding: 0 10px;
	}

	#faq div {
		display: none;
	}
}

/* Phones and mobile devices */
@media (max-width: 512px) {
	header {
		display: block;
	}

	header #title img {
		width: 100vh;
	}

	header #repository {
		background-color: var(--transparent-black);
		border: 1px solid var(--primary-color);
		border-radius: 10px;
		line-height: 0;
		padding: 10px;
		display: block;
		position: fixed;
		bottom: 20px;
		right: 20px;
		z-index: 10000;
	}
}
