/* General styling */
body {
  font-family: 'Figtree', sans-serif;
  background-color: #f4f4f4;
  width: 90%;
  max-width: 700px;
  margin: 40px auto;
}

.header {
  margin-bottom: 40px;
}

.header .name {
  margin-bottom: 30px;
}

.icons {
  display: flex;
  /* Aligns icons in a row */
  gap: 15px;
  /* Adds space between icons */
  margin-top: 30px;
}

.icons a {
  color: #333;
  /* Default icon color */
  transition: transform 0.3s, color 0.3s;
  /* Smooth transition for hover effects */
}

.icons a:hover {
  color: #0073e6;
  /* Change color on hover */
  transform: scale(1.2);
  /* Slight zoom effect on hover */
}

.projects-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 20px;
}

.project-item {
  display: block;
  padding: 20px;
  border: 2px solid #ddd;
  border-radius: 8px;
  background-color: white;
  text-decoration: none;
  color: black;
  transition: transform 0.3s, box-shadow 0.3s;
}

.project-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.project-title {
  margin-top: 0;
  font-weight: bold;
}

.project-description {
  margin-bottom: 0;
  line-height: 1.6;
}

/* Responsive grid for larger screens */
@media (min-width: 768px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}