/* ######### OVERALL CSS STYLING ############################## */

* {
	padding: 0;
	margin: 0;
	box-sizing: border-box;
}

body {
	background-color: #000;
}

/* Scrollbar Width */
::-webkit-scrollbar {
	width: 10px;
}

/* Scrollbar Track */
::-webkit-scrollbar-track {
	background: #000;
}

/* Scrollbar Thumb / Handle */
::-webkit-scrollbar-thumb {
	background: #888;
	border:.1em solid #000;
	border-radius: 100vw;
}

/* Handle on Hover */
::-webkit-scrollbar-thumb:hover {
	background: #555;
}

/* ######### BACKGROUND FRAMING ################################# */

div.page-heading {
	margin-top: 20px;
	margin-bottom: 20px;
	width: fit-content;
	block-size: fit-content;
	margin-left: auto;
	margin-right: auto;
}

div.page-heading h3 {
	font-size: 2.4rem;
	color: #FFF;
	font-weight: 600;
	font-family: sans-serif;
	margin: 2px;
}

div.content-margin {
	box-sizing: border-box;
/*	background-color: #C6C6C6;*/
	max-width: 60rem;
	padding-top: 15px;
	padding-bottom: 15px;
	margin-left: auto;
	margin-right: auto;
}

div.content-box {
	background-color: #FFF;
	max-width: 650px;
	margin-left: auto;
	margin-right: auto;

	border-style: outset;
	border-radius: 5px;
	border-color: rgb(200, 200, 200); /* Balanced grey. */
	border-width: 3px;
}

div.inner-box {
	margin-left: 30px;
	margin-right: 30px;
	margin-top: 30px;
	padding-bottom: 30px;

	font-family: sans-serif;
	line-height: 1.5em;
}

/* ######### LEVEL ONE: LOGO & NAVIGATION BAR ################### */

header {
	padding: 0 20px;
	background-color: #1F2022;
	height: 50px;
	display: flex;
	justify-content: space-between; /* CRUCIAL: Distributes items evenly across the screen. First item is flush with the start, and the last is flush with the end. */ 
}

header a {
	text-decoration: none;
}

#logo {
	display: flex;
	align-items: center;
}

/* Site Logo Image */
#logo a img {
	width: 200px;
	align-items: center;
}

/* Desktop (Non-Mobile) Navigation Menu */

ul.navbar-menu {
	list-style: none;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: space-around;
}

ul.navbar-menu a {
	color: #FFF;
	font-weight: bold;
	font-family: sans-serif;
}

li.navbarElement, li.navbarSocial {
	padding: 5px;
	margin-left: 10px;
}

li.navbarElement:hover {
	transform: scale(1.1);
	transition: 0.1s;
}

li.navbarSocial:hover {
	transform: scale(1.3);
	transition: 0.1s;
}

li.navbarElement a:hover {
	color: crimson;
}

/* Mobile Navigation Menu */

#mobile-menu-block {
	margin: auto 0;
	display: none;
	cursor: pointer;
}

/* Class That Prevents Highlight Around Element */
.noselect {
	-webkit-user-select: none; /* Safari */
	-moz-user-select: none; /* Older versions of Firefox */
	-ms-user-select: none; /* Internet Explorer / Edge */
	user-select: none; /* Chrome, Edge, Opera, Firefox */
}

#dropdownIcon a {
	text-decoration: none;
	color: white;
	font-size: 35px;
	font-weight: bold;
}

.open .mobile-menu {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
}

ul.mobile-menu {
	display: none;
	background-color: #1F2022;
	position: absolute;
	top: 50px;
	left: 0;
	height: fit-content;
	width: 100%;
	padding: 0 20px;
	list-style: none;
}

/* Mobile Menu Link Text */
ul.mobile-menu a {
	font-size: 18px;
	color: white;
	font-weight: bold;
	font-family: sans-serif;
}

/* Mobile Menu Spacing */
li.mobileElement, li.mobileSocial {
	padding: 5px;
	width: 100%;
}

li.mobileElement:hover {
	background-color: crimson;
}

li.mobileSocial:hover {
	background-color: crimson;
}

/* ######### BLOG GRID ########################################## */

#blog {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	padding: 40px;
}

.blog-heading {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
}

.blog-heading span {
	color: crimson;
}

.blog-heading h3 {
	font-size: 2.4rem;
	color: #FFF;
	font-weight: 600;
	font-family: sans-serif;
	margin: 2px;
}

.blog-container {
	display: flex;
	justify-content: center;
	align-items: center;
	margin: 20px 0px;
	flex-wrap: wrap;
}

.blog-box {
	width: 350px;
	background-color: #FFF;
	border: 3px solid grey;
	border-radius: 3px;
	margin: 20px;
}

.blog-img {
	width: 100%;
	height: auto;
}

.blog-img img {
	height: 100%;
	width: 100%;
	object-fit: cover;
	object-position: cover;
}

.blog-text {
	padding: 20px;
	display: flex;
	flex-direction: column;
}

.blog-text span {
	color: crimson;
	font-size: 0.9rem;
}

.blog-title {
	font-family: sans-serif;
}

.blog-text .blog-title {
	font-size: 1.3rem;
	font-weight: 500;
	color: #272727;
}

.blog-text .blog-title:hover {
	color: crimson;
	transition: all ease 0.3s;
}

.blog-text p {
	color: #9b9b9b;
	font-size: 0.9rem;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
	margin: 20px 0px;
}

.blog-text a {
	color: #0f0f0f;
}

.blog-text a:hover {
	color: crimson;
	transition: all ease 0.3s;
}

/* ######### NOTE CONTENT ########################################## */

div.post-info {
	border-bottom: 1px solid grey;
	margin-bottom: 5px;
}

/* ######### POST IMAGE ############################################ */

.landscapePanelImage {
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-top: 10px;
	height: 60%;
	width: 60%;
}

/* ######### LEVEL ???: FOOTER LINKS ############################### */

/* Creates the space around the Footer Bar. */
div.footerBar {
	position: relative;
	background-color: #1F2022;
	width: 100%;
	margin-top: 60px;
}

/* Modifies and centers the top line of footer content. */
.footerText {
	font-family: sans-serif;
	color: #FFF;
	font-size: 18px;
	font-weight: 600;
	line-height: 35px;
	text-align: center;
	padding-top: 15px;
	margin-top: 0px;
	margin-bottom: 0px;
}

/* Modifies and centers the bottom line of content. */
.footerLinks {
	text-decoration: none;
	text-align: center;
	padding-bottom: 15px;
}

/* Modifies the text of the footer links. */
.footerLinks a {
	font-family: sans-serif;
	text-decoration: none;
	font-size: 18px;
	font-weight: 600;
	line-height: 35px;
	color: #FFF;
	margin: 5px;
}

.footerLinks a:hover {
	color: crimson;
}

/* ######### MEDIA QUERIES ######################################### */

@media(max-width:1250px) {
	.blog-box {
		width: 300px;
	}
}

@media(max-width:1100px) {
	.blog-box {
		width: 70%;
	}

	.landscapePanelImage {
		width: 90%;
	}
}

@media (max-width: 770px) {
	header nav {
		display: none;
	}	

	#mobile-menu-block {
		display: block;
	}

	.landscapePanelImage {
		width: 80%;
	}
}

@media(max-width:550px) {
	.blog-box {
		margin: 20px 10px;
		width: 100%;
	}
	#blog {
		padding: 20px;
	}
}