body {
  margin: 0;
  padding: 0;
  font-family: 'Raleway', sans-serif;
  background-color: #45567d;
}

nav {
  position: sticky;
  top: 0;
  background-color: #be3144;
  z-index: 100;
  border-bottom: 1px solid black;
}

.navbar {
  display: flex;
  justify-content: flex-end;
  padding-right: 20px;
}

nav a {
  color: white;
  text-decoration: none;
  padding: 20px;
  display: inline-block;
  font-size: 20px;
}

nav a:hover {
  background-color: #45567d;
  transition: 0.4s;
}

header {
  background: linear-gradient(to right, #293037, rgb(27, 26, 26));
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

header h2 {
  color: #f0f0f0;
  font-size: 70px;
  margin: 0;
  font-weight: 700;
}

header h3 {
  color: #be3144;
  font-family: 'Poppins', sans-serif;
  font-style: italic;
  font-weight: 100;
  font-size: 40px;
  margin: 0;
}

.projects {
  padding: 80px 20px;
}

.projects h3 {
  color: white;
  text-align: center;
  font-size: 3rem;
  margin-bottom: 50px;
  font-weight: 700;
}

.project-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.card {
  background-color: #303841;
  border-radius: 8px;
  overflow: hidden;
}

.card img {
  display: block;
}

.card:hover {
  transform: scale(1.05);
  transition: transform 0.3s ease;
}
.card p {
  color: white;
  padding: 20px;
  text-align: center;
  font-size: 1.2rem;
  margin: 0;
}

.show-all {
  display: flex;
  justify-content: center;
  margin-top: 50px;
}

.projects button {
  background-color: #303841;
  color: white;
  border: none;
  padding: 15px 30px;
  font-size: 18px;
  cursor: pointer;
}

.projects button:hover {
  background-color: #be3144;
  transition: 0.3s;
}

footer {
  background-color: #303841;
  color: white;
  padding: 60px 10px 10px 10px;
  text-align: center;
}

footer h3 {
  font-size: 3.5rem;
  margin: 0;
  font-weight: 700;
}

footer p {
  font-style: italic;
  color: #dadada;
  font-size: 1.2rem;
  font-weight: 100;
}

.icons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  margin: 40px 0;
  font-weight: 300;
}

.icons a {
  color: white;
  text-decoration: none;
  font-size: 20px;
  font-weight: 200;
  margin-bottom: 50px;
}

.copyright {
  border-top: 4px solid #be3144;
  margin-top: 50px;
  padding-top: 20px;
  display: flex;
  justify-content: space-around;
  font-size: 0.9rem;
  font-weight: 200;
}

@media (max-width: 768px) {
  header h2 { font-size: 45px; }
  footer h3 { font-size: 2.5rem; }
  .copyright { flex-direction: column; gap: 10px; }
}