html {
  scroll-behavior: smooth;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: Arial, sans-serif;
}

.projects-container {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
  flex-wrap: wrap; /* wraps cards on smaller screens */
}

.project-card {
  background: #3b3b3b;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  width: 280px;
  padding: 15px;
  text-align: center;
  transition: transform 0.3s ease;
}

.project-card:hover {
  transform: translateY(-5px);
}

.project-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 12px;
}

.project-card h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
  color: #e8e8e8;
}

.project-card p {
  font-size: 0.9rem;
  color: #000000;
  line-height: 1.3;
}

nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: #333;
  z-index: 1000;
  display: flex;
  justify-content: center;
  gap: 2rem;
  padding: 1rem;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

@media (max-width: 768px) {
  nav a {
    font-size: 0.6rem; /* smaller nav link text on phones */
  }
}

nav a:hover {
  color: #53ff65;
}

.page {
  height: 100vh; /* full screen height */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem;
}

.page a {
  margin-top: 1rem;
  color: #b4b4b4;
  font-weight: bold;
  text-decoration: underline;
}

.page h1 {
  text-align: center;
  color: #ffffff;
  width: 100%;
  margin-bottom: 1rem;
}

.page p {
  text-align: center;
  color: #b4b4b4;
  width: 100%;
  margin-bottom: 1rem;
}

#section1 {
  background: linear-gradient(to bottom, #070707, #1a1a1a);
}

#section2 {
  background: linear-gradient(to bottom, #1a1a1a, #2c2c2c);
}

#section3 {
  background: linear-gradient(to bottom, #2c2c2c, #0b0b0b);
}

#section6 {
  background: linear-gradient(to bottom, #0b0b0b, #363636);
}

#section4 {
  background: linear-gradient(to bottom, #363636, #1e1e1e);
}

#section5 {
  background: linear-gradient(to bottom, #1e1e1e, #2a2a2a);
}

