.overlay-image {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  z-index: 9999;
  overflow-y: auto;
}

.overlay-image img {
  max-width: 90%;
  height: auto;
  -o-object-fit: contain;
     object-fit: contain;
  cursor: pointer;
  margin-top: 20px;
}

.example-project-size {
  width: 341px;
  height: 341px;
  overflow: hidden;
}

.flip-card {
  perspective: 1000px;
  will-change: transform;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s;
  transform-style: preserve-3d;
  will-change: transform;
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
}

.flip-card-front img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  will-change: transform;
}

.flip-card-back {
  transform: rotateY(180deg);
  background-color: #f1f1f1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}

.flip-card-back .btn {
  text-decoration: none;
  color: white;
}
