/* Fonts */
@font-face {
	font-family: "Montserrat-medium";
	src: url("fonts/montserrat/Montserrat-Medium.ttf") format("truetype");
}

@font-face {
	font-family: "Montserrat-regular";
	src: url("fonts/montserrat/Montserrat-Regular.ttf") format("truetype");
}

/* Header */
header {
	background-color: #222;
	color: white;
	padding: 1rem 2rem;
	font-family: "Montserrat-medium", system-ui, sans-serif;
}

.header-main {
}

.header-content {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 1rem;
	display: flex;
	align-items: center;
}

.header-logo {
	margin-left: auto;
	width: 120px;
	height: auto;
}

header h1 {
	margin-bottom: 0.5rem;
}

.nav-menu {
	display: flex;
	list-style: none;
	gap: 0.5rem;
	padding: 0;
	margin: 0;
}

nav a {
	color: white;
	text-decoration: none;
	transition: background-color 0.2s;
	background-color: rgba(0,0,0,0);
	border-radius: 5px;
	margin-inline: 3px;
	display: block;
	padding: 0.25rem 0.5rem;
}

nav a:hover {
	background-color: rgba(255,255,255,0.4);
}

.nav-dropdown {
	display: inline-block;
	position: relative;
}

.nav-dropdown .nav-dropdown-content {
	display: none;
	position: absolute;
	min-width: 160px;
	z-index: 1;
	list-style: none;
	padding-left: 0;
	background-color: rgba(0,0,0,0.5);
	padding-top: 0.25rem;
	padding-bottom: 0.25rem;
	border-radius: 8px;
}

.nav-dropdown:hover .nav-dropdown-content {
	display: block;
}

/* body */
html, body {
	height: 100%;
	margin: 0;
}

body {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	line-height: 2;
	background-color: #f0f0f0;
	color: #333
}

.body-content {
	max-width: 1200px;
	margin: 0 auto;
}

main {
	flex: 1;
	font-family: "Montserrat-regular", system-ui, sans-serif;
}

body h2 {
	text-align: center;
}

.testButton {
	padding: 10px;
	font-size: 18px;
	color: white;
	background-color: rgba(0,0,0,1);
	margin: auto;
	display: flex;
	border-radius: 5px;
	border: none;
}

.testButton:hover {
	background-color: #bfbfbf;
	cursor: pointer;
}

.factButton {
	padding: 10px;
	font-size: 18px;
	color: white;
	background-color: rgba(0,0,0,1);
	margin: auto;
	display: flex;
	border-radius: 5px;
	border: none;
}

.factButton:hover {
	background-color: #bfbfbf;
	cursor: pointer;
}

.factButton.clicked {
	background-color: grey;
	color: white;
}

#fact {
	display: flex;
	justify-content: center;
	min-height: 5rem;
	text-align: center;
}

.quoteButton {
	padding: 10px;
	font-size: 18px;
	color: white;
	background-color: rgba(0,0,0,1);
	margin: auto;
	display: flex;
	border-radius: 5px;
	border: none;
}

.quoteButton:hover {
	background-color: #bfbfbf;
	cursor: pointer;
}

.quoteButton.clicked {
	background-color: grey;
	color: green;
}

#quote {
	display: flex;
	justify-content: center;
	min-height: 5rem;
	text-align: center;
	color: black;
}

/* Footer */
footer {
	text-align: center;
	padding: 1rem;
	background-color: #bfbfbf;
	color: black;
	margin-top: 2 rem;
	font-family: "Montserrat-light", system-ui, sans-serif;
}