/* Base Reset and Layout */
body {
  margin: 0;
  background-color: rgb(220, 220, 220);
  font-family: 'Segoe UI', sans-serif;
}

/* Header Layout */
.headerContainer,
.headerBackground {
  width: 100%;
  background-color: white;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  box-sizing: border-box;
  width: 100%;
}

.logo {
  font-weight: bold;
  font-size: 1.5rem;
}

.logo img {
  max-height: 100px;
  width: auto;
  object-fit: contain;
}

/* Navigation Styles */
.nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
  font-size: large;
}

.nav li {
  cursor: pointer;
  transition: color 0.2s ease-in-out;
}

.nav li:hover {
  color: #555;
}

.nav a {
  text-decoration: none;
  color: black;
}

.nav a.selected {
  text-decoration: underline;
  font-weight: bold;
}

.logo img {
  max-height: 50px;
}

.projectViewer {
  width: 80%;
  margin: 2% auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  padding: 2rem;
}

.projectViewer button.projectCard {
  background: white;
  border: none;
  border-radius: 10px;
  padding: 1.25rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-align: left;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.projectViewer button.projectCard:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

.projectViewer button.projectCard h3 {
  margin: 0 0 0.5rem;
  font-size: 1.2rem;
  color: #0078d4;
}

.projectViewer button.projectCard p {
  margin: 0;
  color: #333;
  font-size: 0.95rem;
}