/* Reset and Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', Arial, sans-serif;
}

/* Body Background and Text */
body {
  background-color: #f4f4f4;
  color: #fff;
  line-height: 1.6;
}

/* Navigation Styling */
nav {
	height: 80px;
	background: #ffde21;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0rem calc((100vw - 900px) /2);
}

.logo {
	color: #000;
	font-size: 1.5rem;
	font-weight: bold;
	font-style: italic;
	padding: 0 2rem;
}

nav a {
	text-decoration: none;
	color: #000;
	padding: 0 1.5rem;
}

nav a:hover {
  color: #555;
  transform: translateY(-2px);
}

/* Main Content */
.page {
  padding: 3rem 1rem;
  max-width: 1000px;
  margin: auto;
  background-color: #fff;
}

/* Sections Headers */
h2 {
  margin: 2rem 0 1rem 0;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #ddd;
  font-size: 1.75rem;
  color: #222;
}

/* Lists Styling */
ul {
  list-style: none;
  padding-left: 1.5rem;
}

li {
  margin: 0.75rem 0;
  font-size: 1.1rem;
}

a {
  color: #cfb417;
  text-decoration: none;
  transition: color 0.3s, text-shadow 0.3s;
}

a:hover {
  color: #004999;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

/* Responsive Adjustments */
@media(max-width: 768px){
  nav {
    flex-direction: column;
    height: auto;
    padding: 1rem;
  }
  nav .nav-items {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    width: 100%;
    align-items: center;
  }
  nav a {
    padding: 0.5rem 0;
  }
}

/* Style for the main header and description on the resources page */
#resources h1 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1em;
    color: #333;
}

#resources .description {
    font-size: 1.2rem;
    color: #555;
    max-width: 800px;
    margin: 0 auto 2rem auto;
    line-height: 1.5;
    text-align: center;
}

