@import url("idle-fingers.css");

/* General styles */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
	min-height: fit-content;
	/* min-width: min-content; */
	max-width: 100vw;
	height: 100%;
	width: 100%;
}

body {
	height: 100%;
	width: 100%;
	font-size: 1em;
	background-color: #121212;
	color: white;
}

h1 {
	color: white;
}

h2 {
	text-align: center;
}

a {
	color: lightgreen;
	text-decoration: none;
}

a:hover,
a:active {
	text-decoration: underline;
}

/* Container styles */
#page,
.container-fluid {
	max-width: 100%;
}

/* Navigation styles */
#primary-nav {
	width: 100%;
	font-size: 1.5em;
	display: flex;
}

#primary-nav li a {
	text-decoration: inherit;
}

.navbar-header {
	padding: 1em;
	display: flex;
	align-items: center;
	flex-direction: column;
	justify-items: center;
	align-content: center;
	justify-content: center;
	align-self: flex-start;
}

.navbar.navbar-dark.bg-dark.navbar-expand-lg {
	width: 100%;
}

@media (max-width: 576px) {
	.navbar-brand h1 {
		font-size: 0.8em;
		white-space: normal;
	}
}

#jam-logo {
	min-width: 25%;
	max-width: 70%;
}

.navbar-brand {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-items: center;
	/* width: 100%; */
	margin-right: 0;

}

.navbar-brand h1 {
	overflow-wrap: break-word;
	white-space: nowrap;
	;
}

.navigation {
	padding: 1em;
}

.navigation ul {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.nav-container {
	flex-direction: column;
	align-items: center;
	width: 100%;
}

.navigation {
	justify-self: center;
}

.navbar-right {
	display: flex;
	align-items: center;
	flex-direction: column;
	padding: 1em;
}

.navbar-right-container {
	display: flex;
	align-items: center;
	justify-items: center;
	flex-direction: column;
	justify-content: center;
	align-content: center;
	text-align: center;
}

.navbar-right input {
	background-color: darkgray;
	color: darkgray;
	width: 80%;
}

.nav-flex-list {
	width: 100%;
	padding: 2em;

	display: flex;
	flex-direction: column;
	list-style: none;
}

.nav-flex-list li {
	padding: 0.25em;
	width: 100%;
}

.nav-flex-list a {
	width: 100%;
	overflow-wrap: break-word;
	/* word-break: break-word; */
	font-size: 1em;
	text-decoration: none;
	/* padding: .25em; */
	text-align: center;
	padding: 0.5em 1em;
	border: solid 2px lightgreen;
	display: flex;
	justify-content: center;
}

.nav-flex-list a:link,
.nav-flex-list a:visited {
	color: lightgreen;

	text-decoration: none;
	/* display: inline-block; */

}

.nav-flex-list a:hover,
.nav-flex-list a:active {
	background-color: lightgreen;
	color: #121212;
}

/* Main content styles */
.main-content {
	padding: 0.25em;

	/* overflow-x: scroll; */
}

.main-content h1 {
	font-size: 1.2em;
	/* align-self: center; */
	text-align: center;
}

.main-content h2 {
	text-align: center;

}

iframe {
	/* display: block; */
	max-width: 100%;
	margin-left: 2em;

}

.gist {
	max-width: 100%;
	margin-left: 2em;

}

#display-box {
	display: flex;
	flex-direction: column;
	padding: 0.5em;
	border: solid 2px lightgreen;
	max-width: 100%;
	width: 80%;
	margin-left: 2em;

	/* margin: auto; */
	/* margin-left: auto; */
}

#display-box input {
	max-width: 100%;

}

/* Media queries */
@media (min-width: 300px) {
	body {
		font-size: 1em;
	}

	.heading h1 {
		font-size: 2em;
	}

	.nav-flex-list li {
		font-size: 1.5em;
		padding: 0.5em;
	}

	.nav-flex-list a:link,
	.nav-flex-list a:visited {
		padding: 1em 2em;
	}

	.main-content {
		padding: 1em;
	}

	.main-content h1 {
		font-size: 2em;
	}

	#jam-logo {
		min-width: 25%;
		max-width: 40%;
	}
}

@media (min-width: 992px) {
	.nav-container {
		display: grid;
		grid-template-columns: 1fr 3fr 1fr;
		grid-template-rows: 1;
	}

	.navbar-header {
		grid-column: 2;
		grid-row: 1;
	}

	.navbar-toggler {
		display: none;
	}

	.navigation {
		justify-items: center;
	}

	.navigation ul {
		align-items: flex-start;
		grid-column: 1;
		grid-row: 1;
	}

	.navbar-right {
		grid-column: 3;
		grid-row: 1;
	}

	.nav-flex-list {
		max-width: 80%;
		margin: auto;
	}
}



/*  */