@import url("https://fonts.googleapis.com/css2?family=Luxurious+Roman&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body,
html {
  overflow-x: hidden;
}

.reviewsBanner {
  position: relative;
  background-image: url(/images/aboutUsTitle.jpg);
  background-position: top;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  height: 40vh;
}

.reviewsTitle h1 {
  font-family: "Luxurious Roman", serif;
  font-weight: 400;
  font-style: normal;
  font-size: clamp(2rem, 5vw, 4rem);
  color: #dad0a6;
  text-shadow: #000000 1px 0 10px;
  letter-spacing: 2px;
  text-align: center;
  margin-top: 10vh;
}

.contentReviews {
  position: relative;
  background-image: url(/images/blackMarble3.jpg);
  background-position: bottom;
  background-repeat: repeat;
  background-size: cover;
  z-index: 0;
  padding: 8vh 5vw;
  min-height: 100vh;
}

.contentReviews::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.76);
  z-index: 0;
  pointer-events: none;
}

.reviewsBody {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
  background-color: rgba(0, 0, 0, 0.486);
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
  padding: 4vh 2vw;
  border-radius: 25px;
  border: 3px solid #09697c;
  box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.568);
  min-height: 70vh;
}

.profileContent {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.profile {
  width: clamp(150px, 25vw, 250px);
  height: clamp(150px, 25vw, 250px);
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.profileName {
  font-family: "Luxurious Roman", serif;
  font-weight: 400;
  font-style: normal;
  font-size: clamp(1.5rem, 4vw, 3rem);
  color: #09697c;
  text-align: center;
  margin-top: 1rem;
}

.reviewText {
  color: white;
  max-width: 800px;
  width: 100%;
  font-family: "Libre Baskerville", serif;
  font-weight: 400;
  font-style: normal;
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  text-align: justify;
  letter-spacing: 1px;
  word-spacing: 2px;
  line-height: 1.6;
  margin-bottom: 5vh;
  padding: 0 1rem;
  min-height: 100px;
  max-height: 200px;
  overflow-y: auto;
  text-align: center;
}

.buttons {
  padding-bottom: 2vh;
}

.randomBtn {
  font-family: "Josefin Sans", sans-serif;
  padding: 0.8rem 1.8rem;
  cursor: pointer;
  border: 0;
  background-color: rgb(235, 236, 255);
  box-shadow: rgb(0 0 0 / 5%) 0 0 8px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-size: clamp(0.9rem, 1.5vw, 1rem);
  transition: all 0.5s ease;
  border-radius: 50px;
}

.randomBtn:hover,
.randomBtn:active {
  background-color: #09697c;
  letter-spacing: 3px;
  color: hsl(0, 0%, 100%);
}

.randomBtn:active {
  transform: translateY(5px);
  transition: 120ms;
}

.prevBtn,
.nextBtn {
  place-items: center;
  background: #e3edf7;
  padding: 1.2em;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.5s ease;
  margin: 0 0.5rem;
}

.prevBtn:hover,
.nextBtn:hover {
  border: 1px solid rgba(0, 0, 0, 0.1);
  transform: translateY(0.3em);
  background-color: #09697c;
}

.prevBtn:active,
.nextBtn:active {
  transform: translateY(5px);
  transition: 120ms;
}

@media (max-width: 768px) {
  .reviewsBanner {
    height: 30vh;
  }

  .reviewsBody {
    margin: 0 2vw;
    padding: 3vh 1.5rem;
  }

  .reviewText {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .reviewsBanner {
    height: 25vh;
  }

  .reviewsBody {
    padding: 2vh 1rem;
  }

  .profile {
    width: 150px;
    height: 150px;
  }
}
