.project-gallery {
  padding: 0 20px;
  margin-bottom: 40px;
}

.project-gallery img {
  object-fit: cover;
}

.carousel-inner {
  height: 60vw;
}

.controls {
  position: absolute;
  right: 20px;
  bottom: 20px;
  border-radius: 110px;
  overflow: hidden;
}

.controls .carousel-control-next, .controls .carousel-control-prev {
  position: relative;
  background-color: var(--lblue);
  padding: 15px 27px;
  opacity: 1;
  width: auto;
}

.controls .carousel-control-next:active, .controls .carousel-control-prev:active {
  opacity: 0.8;
}

.controls .carousel-control-prev {
  border-right: 1px solid var(--mdark);
}

.project-gallery .project-details {
  background: var(--dgrey);
  /* padding: 30px; */
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  width: 100%;
}

.project-gallery .project-details-inner {
  padding: 30px;
}

.filters {
  padding-top: 48px;
  padding-bottom: 38px;
}

.filters .btn {
  font-size: 14px;
  line-height: 17px;
  /* margin-right: 16px; */
}

@media screen and (min-width: 768px) {
  .project-gallery {
    /* height: 45vw; */
    padding: 0 40px;
    margin-bottom: 80px;
  }

  .carousel-inner {
    height: 45vw;
  }

  .project-gallery .project-details {
    position: absolute;
    width: 40%;
    /* padding: 60px; */
    background: rgba(0, 0, 0, 0.6);
  }

  .project-gallery .project-details-inner {
    padding: 60px;
    overflow-y: auto!important;
    overflow-x:hidden!important;
  }
}
