* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, sans-serif;
  color: #fff;
}

#navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: #2c3e50;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 1.5rem;
  padding: 1rem 2rem;
  z-index: 100;
}

#navbar a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
}

#navbar a:hover {
  color: #ffd700;
}

#welcome-section {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, #1e3c72, #2a5298);
  text-align: center;
}

#welcome-section h1 {
  font-size: 3rem;
}

#project-section {
  padding: 5rem 2rem;
  text-align: center;
  background: #f4f4f4;
  color: #222;
}

.projects {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  margin-top: 2rem;
}

.project-tile {
  display: block;
  width: 300px;
  border: 1px solid #ccc;
  border-radius: 6px;
  overflow: hidden;
  text-decoration: none;
  color: #222;
  background: #fff;
}

.project-title {
  display: block;
  padding: 1rem;
  background: #2c3e50;
  color: #fff;
}

.project-tile:hover .project-title {
  background: #ffd700;
  color: #222;
}

@media (max-width: 600px) {
  #navbar {
    justify-content: center;
  }
  .project-tile {
    width: 100%;
  }
}
