.project {
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  position: relative;
  transition: all 0.3s ease;
}


.project:hover{
  background-image: none !important;
  background-color: white !important;
}

.dark .project:hover{
  background-color: rgb(55 65 81) !important; /* gray-700 */
}

.project .content{
  opacity: 0;
  transition: opacity 0.3s ease;
  color: white;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.project:hover .content{
  opacity: 1;
  color: inherit;
}
