body {
  font-family: "Poppins", sans-serif;
  background: #fdfdfd;
  color: #333;
  margin: 0;
  padding: 0;
  line-height: 1.6;
}

header {
  text-align: center;
  padding: 2rem 1rem;
  background: #001515;
  color: white;
}

h1, h2 {
  margin-bottom: 0.5rem;
}

section {
  max-width: 700px;
  margin: 2rem auto;
  padding: 1rem;
}

ul {
  list-style-type: none;
  padding: 0;
}

ul li {
  background: #f0f8ff;
  margin: 0.5rem 0;
  padding: 0.75rem;
  border-radius: 8px;
}

button {
  background-color: #007aff;
  color: white;
  border: none;
  padding: 0.7rem 1.2rem;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s;
}

button:hover {
  background-color: #005ecf;
}

footer {
  text-align: center;
  padding: 1rem;
  background: #f3f3f3;
  color: #555;
  font-size: 0.9rem;
}

#social_media ul {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  padding: 0;
  margin: 2rem 0;
}

#social_media li {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 150px;
}

#social_media img {
  width: 40px;
  height: 40px;
  margin-bottom: 0.5rem;
  object-fit: contain;
}

#social_media strong {
  margin-bottom: 0.25rem;
}

#social_media a {
  color: #007aff;
  text-decoration: none;
}

#social_media a:hover {
  text-decoration: underline;
}

#social_media h2 {
  text-align: center;
}

#quote {
  text-align: center; /* centers text + button inside section */
}

#new-quote {
  margin-top: 1rem;
  padding: 0.7rem 1.2rem;
  background-color: #007aff;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s;
}

#new-quote:hover {
  background-color: #005ecf;
}

/* === NAV OVERRIDES (place at the END of style.css) === */
nav {
    background-color: #333;
    text-align: center;
    padding: 10px 0;
}

nav ul {
  list-style: none;
  margin: 10px;
  padding: 0;

  /* lay items horizontally and center them */
  display: flex;
  gap: 2rem;
  justify-content: center;
  align-items: center;
}

nav ul li {
  /* kill the global “card” look on nav items */
  background: none;
  padding: 0;
  border-radius: 0;
  margin: 0; /* spacing handled by gap above */
}

nav ul li a {
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  color: grey;

  /* optional: keep your “pill” feel like in local */
  display: inline-block;
  padding: 0.5rem 0.9rem;
  background: #f0f8ff;
  border-radius: 8px;
}

nav ul li a:hover {
  color: #001515;
}

