/* IMPORTS */
@import url('https://fonts.googleapis.com/css?family=Bungee+Shade&display=swap&text=Jacob%20Johns');
@import url('https://fonts.googleapis.com/css?family=Open+Sans&display=swap');

/* ELEMENTS */
* {
	box-sizing: border-box;
}
html {
	font-size: 10px;
	color: #747474;
}
body {
	font-size: 1.75rem;
	font-family: "Open Sans";
	background: #747474;
}
main {
	margin: 1rem auto 1rem auto;
	background: #272727;
}
h2 {
	text-align: center;
	font-size: 4rem;	
}
header {
	max-width: 100%;
	margin: 1rem auto 0 auto;
	text-align: center;
}
header h1 {
	display: block;
	margin: auto;
	font-family: "Bungee Shade", Georgia, Futura;
	font-size: 8rem;
	color: #FF652F;
	/*background: linear-gradient(35deg, #FF652F 30%, silver);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;*/
}
header p {
	display: block;
	margin: auto;
	padding: 0 0 1rem 0;
	font-size: 2rem;
	font-style: italic;
	color: #747474;
}
hr {
	width: 90%;
	margin: 1rem auto;
	border: 1px solid #FF652F;
}
footer {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: flex-end;
	max-width: 100%;
	height: auto;
	background: #272727;
	border-top: 1rem solid #747474;
}
footer div {
	display: flex;
	margin: 1rem;
	width: 20%;
	font-size: 1.5rem;
}
nav {
	display: flex;
	flex-direction: row;
	margin: auto;
	border-top: 1rem solid #747474;
	border-bottom: 1px solid #747474;
}
nav a {
	text-decoration: none;
	color: inherit;
}
nav ul {
	display: block;
	list-style-type: none;
	font-size: 2rem;
	color: #FFE400;
	text-align: left;
}
nav ul li {
	display: inline-block;
	margin: auto 1rem auto 1rem;
	padding: 10px;
}
nav ul li:hover:not(.active-nav) {
	color: #FF652F;
	background: #272727;
	transition: .5s;
}
section {
	display: flex;
	flex-direction: column;
	margin: auto;
	padding: 1rem;	
}
section article {
	margin: 2rem auto;
}
section h3 {
	text-align: center;
	font-size: 2rem;	
}
a {
	color: #FFE400;
}
a:hover {
	color: #FF652F;
	transition: .5s;
}
button {
	font-size: 1.75rem;
	color: #272727;
}

/* CLASSES */
.accordion {
	display: block;
	width: 100%;
	margin: 1rem auto;
	padding: 1rem;
	background: #747474;
	border: 1px solid #272727;
	border-radius: 1rem;
	cursor: pointer;
}
.accordion:hover {
	background: #272727;
	color: #FF652F;	
	border: 1px solid #FF652F;
}
.accordion:focus {
	outline: none;
}
.accordion-content {
	margin: 1rem auto;
	width: 100%;
	max-height: 0;
	background: #747474;
	border-radius: 1rem;
	overflow: auto;
	transition: max-height .5s ease-out;
}
.accordion-content ul li {
	color: #FFF400;
}
.active-accordion {
	background: #272727;
	color: #14A76C;
	border: 1px solid #14A76C;
	border-radius: 1rem;
	transition: .5s;
}
.active-lesson {
	animation: current-lesson 2s infinite;
}
.active-nav {
	color: #14A76C;
}
.favicon {
	margin: auto;
	width: 36px;
	height: 36px;
	border-radius: 50%;
}
.favicon-container {
	width: 40px;
	height: 40px;
	background: #FFF400;
	border-radius: 50%;
}
.favicon-container a {
	display: flex;
	margin: auto;
}
.favicon-container:hover {
	background: #FF652F;
	transition: .5s;
}
.flex-container {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	margin: auto;
}
.lessons form textarea {
	display: block;
	margin: 1rem auto;
	padding: 1rem;
	min-width: 75%;
	height: 80px;
	font-size: 1.5rem;
	white-space: pre-line;
	resize: none;
	border-radius: 1rem;
}
.lesson-complete-image {
	margin: 1rem auto;
	display: block;
	max-width: 80%;
}
.lesson-notes {
	display: block;
	margin: 0 auto;
	width: 75%;
}
.lesson-notes h4 {
	text-align: center;
}
.lesson-post {
	margin: 3rem;
	border: .25rem solid #FF652F;
	border-radius: 1rem;
}
.lesson-post p {
	text-align: center;
	margin-top: .1rem 1rem 0 1rem;
	font-size: 1.5rem;
}
.post {
	margin: 3rem;
	border: .25rem solid #FF652F;
	border-radius: 1rem;
}
.post p:not(.signature) {
	padding-left: 2rem;
}
.signature {
	font-style: italic;
	font-size: 1.5rem;
	padding-left: 5rem;
}
.title {
	text-align: center;
}
.title p {
	font-size: 1.5rem;
	margin-top: .1rem;
}

/* IDS */
#home-page h2 {
	text-align: center;
	font-size: 2.5rem;
}
#home-page article {
	width: 40%;
	height: auto;
	border: 1px solid #FF652F;
	border-radius: 1rem;
}
#home-page article p {
	margin: 2rem;
}
#lesson u {
	text-decoration-color: #FF652F;
}
#news-page h2 {
	text-align: center;
	font-size: 2.5rem;
}
#news-page article {
	margin-top: 3.5rem;
	max-width: 40%;
	height: auto;
}
#news-page article img {
	display: block;
	margin: 0 auto;
	max-width: 100px;
	max-height: 100px;
	object-fit: cover;
}
#news-page article img {
	background: #FFF400;
	border-radius: 50%;
}
#news-page article img:hover {
	background: #FF652F;
	transition: .5s;
}
#sources article {
	margin: 2rem auto;
	width: auto;
	border: 1px solid #FF652F;
	border-radius: 1rem;
}
#sources ul {
	margin: 3rem;
}

/* KEYFRAMES */
@-webkit-keyframes current-lesson {
	0% {
		opacity: 10%;
	}
	50% {
		opacity: 100%;
	}
	100% {
		opacity: 10%;
	}
}

/* MEDIA */
@media (min-width: 768px) {
	main {
		width: 85%;
	}
}
@media (max-width: 1300px) {
	header h1 {
		font-size: 6rem;
	}
	nav ul li {
		margin: auto;
		border-right: 1px solid #FF652F;
	}
	.flex-container {
		flex-direction: column;
		margin: 0 auto;
		flex-wrap: nowrap;
	}
	.lesson-notes {
		display: block;
		margin: 0 auto;
		min-width: 100%;
	}
	#home-page article {
		margin: 1rem auto;
		width: 90%;
	}
	#news-page article {
		border-bottom: 1px solid #FF652F;
	}
}