@charset "utf-8";
/* ==== Google font ==== */
@import url('http://fonts.googleapis.com/css?family=Noto+Serif:400,400italic,700|Open+Sans:300,400,600,700');

/* Global Styles */
body {
  margin: 0;
  font-family: 'Open Sans',Arial, sans-serif;
}

a {
	color: #FF8D23;
}

button:hover {
	cursor: pointer;
}

hr {
	border: none;
	height: 2px;
	background-color: orange;
}

/* Header Styles */

.header {
  background-image: url("../images/banner-image.jpg");
  background-size: cover;
  background-position: center;
  height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 90%;
  border-bottom: 2px solid black;
}

.header h1 {
  margin-top: auto;
  color: #fff;
  text-shadow: -1px -1px 0 black, 1px -1px 0 black, -1px 1px 0 black, 1px 1px 0 black;
}

/* Main Content Styles */
.main {
  padding: 20px;
  display: flex;
  justify-content: center;
}

.content-box{
  width: 50%;
}

 @media screen and (max-width: 768px) {
	.content-box{
		  width: 75%;
	}
  }

.intro-text {
	font-size: 1.2em;
	line-height: 1.5em;
	margin: 25px 0;
}

.category-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.category-item {
  text-align: center;
  width: 180px;
  padding: 10px;
  margin: 20px 10px 0 10px;
  border: 1px solid white;
  border-radius: 10px;
}

a.category-link {
	color: black;
	text-decoration: none;
}

.category-icon {
  text-align: center;
}

.category-icon img {
  height: 75px;
  width: 75px;
}

.category-item:hover {
	background-color: #fff2e5;
	  border-radius: 10px;
}

.featured-articles {
  list-style: none;
  padding: 10px;
  margin: 50px 0;
  background-color: #eee;
  border: 1px solid black;
  border-radius: 10px;
}

.featured-articles h2 {
  text-align: center;
}

.article-title {
  font-size: 1.1em;
  font-style: bold;
  margin-bottom: 10px;
}

.related-articles {
  list-style: none;
  padding: 10px;
  margin: 25px 0;
}

.related-article-title {
  font-size: 0.9em;
  font-style: bold;
  margin-bottom: 10px;
}

/* Footer Styles */
.footer {
  background-color: #000;
  padding: 20px;
  text-align: center;
  color: white;
  font-size: .8em;
}

.social-media-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.social-media-item {
  display: inline-block;
  margin: 5px;
}

.social-media-item a {
  color: white;
}

.social-media-item img {
  height: 20px;
  width: 20px;
}

.footer img {
	width: 50px;
	float: left;
}

.attributions {
	font-size: .75em;
	color: #888;
}

.attributions a {
	color: #555;
}

.publish-date {
  font-size: 12px;
  font-style: italic;
  color: #555;
  padding-bottom: 10px;
}

/* navigation bar */
.navbar {
  overflow: hidden;
  display: flex;
  justify-content: center;
  background-color: #333;
}

/* nav text links */
.navbar a {
  float: left;
  display: block;
  text-align: center;
  padding: 12px 16px;
  text-decoration: none;
  font-size: 16px;
  color: white;
}
.navbar a:first-child {
  background-color: #FF8D23;
  color: black;
  font-weight: bold;
}
.navbar a:not(:first-child):hover {
  background-color: #ddd;
  color: black;
}

/* nav responsive design */
@media screen and (max-width: 580px) {
  .navbar a {
	font-size: 12px;
  }
}
