/* CSS is how you can add style to your website, such as colors, fonts, and positioning of your
   HTML content. To learn how to do something, just try searching Google for questions like
   "how to change link color." */

body {
  background-color: #303B31;
  color: black;
  font-family: Verdana;
}

div {
  display: flex;
}

img {
  padding: 10px;
}

.basicbox {
	margin: 10px auto;
	font-family: 'century gothic';
	width: 370px;
	height: 400px;
	display: inline-block;
}

.basicbox img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Crops edges to fill the box */
}

.boxgreen {
	background-color: #506351;
	border: 4px solid #8BAA8E;
	color: white;
	padding: 10px;
	margin: 10px auto;
	font-family: 'century gothic';
	width: 750px;
	display: inline-block;
}

.boxdarkgreen {
	background-color: #506351;
	border: 4px solid #8BAA8E;
	color: white;
	padding: 10px;
	margin: 10px auto;
	font-family: 'century gothic';
	width: 900px;
	height: 75px;
	justify-content: center;
	display:flex;
}

.blogtitle {
	background-color: #506351;
	border: 4px solid #8BAA8E;
	color: white;
	padding: 5px;
	margin: 5px auto;
	width: 600px;
	font-family: 'century gothic';
	justify-content: center;
}

.rating {
	background-color: #8BAA8E;
	color: white;
	margin: 0px auto;
	padding: 0px;
	width: 300px;
	height: 40px;
	font-family: 'century gothic';
	justify-content: center;
	overflow: hidden;
}

.container {
  display: flex;
  gap: 15px;
}

.blogpost {
	background-color: #506351;
	color: white;
	margin: auto;
	font-family: 'century gothic';
	width: 250px;
	min-height: 200px;
	flex: 1;
	padding: 10px;
	overflow: hidden;
}

.blogpost img {
  width: 100%;
  height: 100%;
   object-fit: contain;
  object-position: center;
}

a:link {
	color: #8BAA8E;
}
a:visited {
	color: #8BAA8E;
}
reset {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Container for the link bar */
.link-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #506351;
  padding: 15px 30px;
}

/* List container holding the links */
.nav-links {
  display: flex;
  list-style: none; /* Removes bullet points */
  gap: 20px;       /* Spacing between links */
  justify-content: center;
  width: 1000px;
}

/* Individual link styles */
.nav-links a {
  color: #f2f2f2;
  text-decoration: none; /* Removes underline */
  font-size: 16px;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 4px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Hover state effect */
.nav-links a:hover {
  background-color: #ddd;
  color: #333;
}

/* Active page styling */
.nav-links .active {
  background-color: #04AA6D;
  color: white;
}

/* Mobile Responsiveness */
@media screen and (max-width: 600px) {
  .link-bar {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
  
  .nav-links {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }
}