* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "segoe UI", sans-serif;
  line-height: 1.6;
  background-color: #f4f4f4;
  color: #333;
}

#navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: #c0392b;
  padding: 1rem;
  z-index:1;
}

#navbar ul {
  display: flex;
  justify-content: center;
  list-style: none;
}

#navbar li {
  margin: 0 1rem;
}

#navbar a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

#welcome-section {
  height: 100vh;
  background: linear-gradient(to right, #2c3e50, #34495e);
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#welcome-section h1 {
  font-size: 3rem;
}

.subtitle {
  font-size: 1.5rem;
  color: #e74c3c;
}

#projects {
  padding: 4rem 2rem;
  background-color: #ecf0f1;
  text-align: center;
}

.project-grid {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.project-tile {
  background-color: white;
  width: 300px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  padding: 1rem;
  border: 1px solid #bdc3c7;
  border-radius: 5px;
  transition: transform 0.3s ease;
}

.project-tile a {
  text-decoration: none;
  color: #2980b9;
  font-weight: bold;
}

.project-tile img {
  width: 100%;
  height: auto;
  display: block;
}

#contact {
  padding: 2rem 3rem;
  background-color: #dfe6e9;
  text-align: center;
}

.contact-links a{
  margin: 0 1rem;
  text-decoration: none;
  color: #2d3436;
  font-weight: bold;
}

@media (max-width: 600px) {
  #navbar ul {
    flex-direction: column;
  }

  .project-grid {
    grid-template-columns: 1fr;
  }

  #welcome-section h1 {
    font-size: 2rem;
  }

  .subtitle {
    font-size: 1.2rem;
  }
}



