.gradient {
  background: linear-gradient(
    to right,
    #656565,
    #7f42a7,
    #6600c5,
    #5300a0,
    #757575,
    #656565
  );
  background-size: 200%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: animationGradient 2.5s linear infinite;
}

@keyframes animationGradient {
  to {
    background-position: 200%;
  }
}

.my-projects {
  padding-left: 5%;
  margin: 5% 0;
  display: flex;
  flex-direction: column;
  gap: 4rem;
  align-items: center;
  justify-content: space-evenly;
  min-height: 100vh;
}

.project-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
  width: 100%;
  margin-bottom: 2rem;

}

.project-imgbox {
  flex: 1;
  max-width: 500px;
  cursor: pointer;
  min-width: 300px;
  transition: 0.5s;
  mix-blend-mode: exclusion;
}

.project-imgbox img {
  width: 100%;
  max-height: 300px;
  object-fit: cover;
  box-shadow: 0 0 10px lightgray;
  border-radius: 20px;
  transition: 0.5s;
}

.project-imgbox img:hover {
  box-shadow: 0 0 20px lightgray;
}

.project-info {
  flex: 1;
}

.project-info h2 {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.project-info p {
  margin-bottom: 2rem;
}

.project-info button {
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 10px;
  border: 1px solid #727fdeb4;
  background-color: #2200493d;
  box-shadow: 0 0 10px #727fde86;
  cursor: pointer;
  transition: 0.3s;
}

.project-info button:hover {
  box-shadow: 0 0 15px #727fde86;
  opacity: 0.7;
}

/* MOBILE RESPONSE */
@media (max-width: 768px) {
  .my-projects {
    padding-left: 0;
  }

  .project-card {
    flex-direction: column;
    padding: 1rem;
    gap: 1.5rem;
    margin-bottom: 1rem;
  }

  .project-imgbox {
    width: 100%;
    height: 200px;
  }

  .project-info {
    width: 100%;
    text-align: center;
  }
}
