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

html, body {
  height: 100%;
  width: 100%;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background: #f9f9f9;
  color: #333;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

header {
  background: #24292f;
  color: #fff;
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.profile-pic {
  width: 60px;
  height: 80px;
  border-radius: 10px;
  object-fit: cover;
  border: 2px solid #fff;
  flex-shrink: 0;
}

.header-text {
  text-align: center;
}

h1, h2 {
  margin: 0.5rem 0;
}

main {
  padding: 2rem;
  flex: 1;
}

section ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 100px;
  justify-content: center;
  align-items: flex-start;
}

section ul li {
  text-align: center;
  flex: 0 0 auto;
}

section ul li a {
  display: block;
  height: 169px;
  overflow: hidden;
}

.project-image {
  width: 300px;
  height: 169px;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.3s ease;
  display: block;
}

.project-image:hover {
  transform: scale(1.05);
}

section ul li p {
  margin-top: 10px;
  max-width: 300px;
}

footer {
  background: #24292f;
  color: #fff;
  padding: 2rem;
  width: 100%;
  margin: 0;
}

.footer-grid {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  text-align: center;
}

.footer-item {
  flex: 1;
  max-width: 20%;
  padding: 0 1rem;
}

.footer-icon {
  width: 32px;
  height: 32px;
  object-fit: contain;
  margin-bottom: 0.5rem;
}

.footer-item h3 {
  font-size: 0.95rem;
  margin-bottom: 0.3rem;
}

.footer-item p {
  font-size: 0.85rem;
  margin: 0;
  color: #ccc;
}

.footer-item a {
  display: inline-block;
}
