.project {
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
  padding: 50px 100px;
  border-top: 1px solid rgb(201, 201, 201);
  cursor: pointer;
  transition: all 0.2s;
}

.project:last-of-type {
  border-bottom: 1px solid rgb(201, 201, 201);
}

.project:hover {
  opacity: 0.5;
}

.project:hover h2 {
  transform: translateX(-10px);
}

.project:hover p {
  transform: translateX(10px);
}

.project h2 {
  font-size: 60px;
  margin: 0;
  font-weight: 400;
  transition: all 0.4s;
}

.project p {
  transition: all 0.4s;
  font-weight: 300;
}

@media (max-width: 768px) {
  .project {
    padding: 30px 20px;
  }

  .project h2 {
    font-size: 36px;
  }

  .project p {
    display: none;
  }
}

.modalContainer {
  height: 275px;
  width: 400px;
  position: absolute;
  background-color: white;
  overflow: hidden;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(0);
  translate: -50% -50%;
  transition: transform 0.4s ease;
}

.modalSlider {
  height: 100%;
  width: 100%;
  position: absolute;
  transition: top 0.5s cubic-bezier(0.76, 0, 0.24, 1);
}

.modal {
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal img {
  height: auto;
  max-width: 100%;
}

.cursor,
.cursorLabel {
  width: 100px;
  translate: 100% 50%;
  height: 100px;
  border-radius: 50%;
  background-color: #0d2dff;
  color: white;
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 300;
  pointer-events: none;
  transform: scale(0);
  transition: transform 0.4s ease;
}

.cursorLabel {
  background-color: transparent;
}
