.projects {
  padding: 4rem 2rem;
  background-color: #0000007c;
  box-shadow: inset 0 0 15px #932df9;
  border: 3px solid #932df9;
  color: white;
  max-width: 85rem;
  margin: 5rem auto;
}

.projects h2 {
  text-align: center;
  margin-bottom: 2rem;
  color: rgb(172, 0, 251);
  font-size: clamp(2rem, 2vw + 1rem, 3rem);
  white-space: nowrap;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
  gap: 1.25rem;
}

.project-card {
  background-color: #111;
  border: 2px solid #932df9;
  border-radius: 10px;
  padding: 1.25rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card img {
  width: 100%;
  height: 15rem;
  object-fit: cover;
  border-radius: 8px;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 10px #932df9, 0 0 20px #e18fff;
}

.project-skills-grid h4 {
  color: rgb(0, 255, 60);
  justify-content: center;
  text-align: center;
  font-size: 0.7rem;
}

.project-skills-grid {
  margin-top: 0.25rem;
  display: flex;
  justify-content: left;
  gap: 0.25rem;
  flex-wrap: wrap;
}
.project-skills-grid > * {
  white-space: nowrap;
}

.project-skills-grid > div {
  background-color: #1aff001c;
  border-radius: 10px;
  padding: 0.25rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card > h5 {
  color: #ffffffa1;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}
.youtube-btn {
  margin-top: 2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 3px 7px;
  background-color: #ff0000;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
}

.youtube-btn:hover,
.youtube-btn:focus {
  background-color: #cc0000;
  outline: 2px solid #000;
  outline-offset: 2px;
}

.youtube-btn svg {
  flex-shrink: 0;
}

.github-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 3px 7px;
  background-color: #9701c1;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
}

.github-btn:hover,
.github-btn:focus {
  background-color: #6d0077;
  outline: 2px solid #000;
  outline-offset: 2px;
}

.github-btn svg {
  flex-shrink: 0;
}
.github-icon {
  padding: 2px;
}
