/*************************
******* portfolio ********
*************************/

section.portfolio {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-content: center;
  padding: 5rem;
  background: transparent;
  visibility: hidden;
  z-index: -1;
}
.portfolio div.portfolio-header {
  display: flex;
  justify-content: center;
}
.portfolio div.portfolio-header h1 {
  font-weight: bold;
  line-height: 3;
  font-size: 45px;
}
.portfolio div.portfolio-body {
  display: flex;
  justify-content: center;
}
.portfolio div.portfolio-body h2 {
}

/*************************
*** review carousel ******
*************************/
Section.reviews {
  text-align: center;
  position: relative;
  margin: 0.5rem auto;
  overflow: hidden;
  background: transparent;
  visibility: hidden;
  z-index: -1;
}

.reviews .review-box-header {
  position: absolute;
  width: 100%;
  z-index: 50;
  color: var(--preview-header);
}

.review-box-header div {
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 1.1px;
}
.review-box-header h2 {
  font-weight: 900;
  letter-spacing: 2px;
}

.reviews .review-preview {
  max-width: 551px;
  margin: 0 auto;
  position: absolute;
  left: 0;
  right: 0;
  top: -5rem;
  opacity: 0.5;
}

.review-carousel {
  display: flex;
  justify-content: center;
  position: relative;
  height: 250px;
  margin-top: 100px;
  pointer-events: none;
  width: 100%;
}

.review-carousel .review-item {
  max-width: 30rem;
  width: 100%;
  border-top: 2px solid rgb(147, 147, 147);
  border-bottom: none;
  box-shadow: 0px 22px 34px rgba(22, 28, 45, 0.18);
  padding: 2.5rem;
  outline: none;
  background: var(--bg-panel);
  border-radius: 24px;
  transition: all 0.4s ease-in;
  position: absolute;
  /* z-index: 1; */
  opacity: 0;
}
.review-item.active {
  transform: translate(0, -10%);
  z-index: 103;
  opacity: 1;
  border-left: 1px solid rgb(147, 147, 147);
  border-right: 1px solid rgb(147, 147, 147);
  transition: all 0.4s ease-in-out;
}
.review-item.previous,
.review-item.next {
  opacity: 0.65;
  transition: all 0.3s ease-in-out;
  z-index: 101;
}
.review-item.previous {
  transform: translateX(-80%);
  border-left: 1px solid rgb(147, 147, 147);
}
.review-item.next {
  transform: translateX(80%);
  border-right: 1px solid rgb(147, 147, 147);
}

.review-item .review-text {
  text-align: left;
  margin-bottom: 2rem;
  font-weight: 600;
  color: var(--logo-color);
}

.review-item .review-author {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.review-author .avatar {
  height: 45px;
  width: 45px;
  margin-right: 1rem;
  overflow: hidden;
}

.avatar img {
  height: 100%;
  border-radius: 50%;
}

.review-author .details {
  text-align: left;
  color: var(--color-text-base);
}

.review-author .details .review-name {
  font-weight: 800;
  line-height: 1.6;
}
.review-author .details .review-company {
  font-weight: 600;
  font-size: 14px;
}
.carousel-control-cont {
  transition: all 0.3s ease-in-out;
}

.carousel-control-cont button {
  background: none;
  border: none;
  outline: none;
  color: var(--color-text);
  font-size: 32px;

  opacity: 0.75;
}
.carousel-control-cont button:hover {
  opacity: 1;
}
.carousel-control-cont button:nth-child(1) {
  padding-right: 10px;
}
.carousel-control-cont button:nth-child(2) {
  padding-left: 10px;
}

/*************************
*** content isVisible ****
*************************/
section.portfolio.isVisible,
Section.reviews.isVisible {
  opacity: 1;
  visibility: visible;
  z-index: 100;
}
