body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: #fff;
  color: #000;
  background-image: linear-gradient(to right, rgba(0, 0, 0, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.05) 1px, transparent 1px);
  background-size: 24px 24px;
  scroll-behavior: smooth;
}

nav {
  position: absolute;
  top: 20px;
  width: 100%;
  display: flex;
  justify-content: center;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 60px;
  padding: 0;
}

nav a {
  text-decoration: none;
  color: #000;
  font-weight: 500;
  position: relative;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #000;
  transition: width 0.3s ease;
}

nav a:hover::after {
  width: 100%;
}

.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;

}

.hero-content h1 {
  font-family: 'Playfair Display', serif;
  font-size: 64px;
  margin: 0;
}

.typing {
  font-size: 20px;
  margin-top: 8px;
  color: #333;
}

.cursor {
  animation: blink 1s infinite;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

.about,
.tech {
  max-width: 800px;
  margin: 120px auto;
  padding: 0 20px;
}

.about h2,
.tech h2 {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
}

.about p {
  line-height: 1.6;
  color: #444;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.item {
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 10px;
  padding: 12px;
}

.item:hover {
  transform: translateY(-6px);
}

.item img {
  filter: grayscale(100%) brightness(0.6);
  transition: filter 0.3s ease, transform 0.3s ease;
  width: 50px;
  height: 50px;
  margin-bottom: 10px;
}

.footer {
  text-align: center;
  padding: 60px 20px;
  color: #666;
}

.footer .socials {
  margin-top: 10px;
}

.footer .socials a {
  margin: 0 10px;
  color: #000;
  text-decoration: none;
  position: relative;
}

.footer .socials a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: #000;
  transition: width 0.3s ease;
}

.footer .socials a:hover::after {
  width: 100%;
}