.hero {
  height: 300px;
  background-image: url("../images/living-room.jpg");
  background-position: 50% -40vh;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  box-shadow: inset 1000px 1000px rgba(1, 20, 38, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero h1 {
  color: var(--white);
  font-family: var(--font-family);
  font-size: 50px;
  font-weight: 600;
}

.reviews {
  display: flex;
  justify-content: center;
  padding-inline: 4vw;
}

.reviews-content {
  padding-block: 50px;
  max-width: 1280px;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}


.slide {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.slide {
  background-color: var(--white);
  height: 80%;
  max-height: 510px;
  transition: 0.3s;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
  padding: 10px;
}

.slide-text-header {
  font-family: var(--font-family);
  text-align: left;
  line-height: 20px;
  margin-top: 15px;
}

.slide-text {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow-y: scroll;
  height: 160px;
}

.slide-content {
  padding: 10px;
  position: relative;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 3px;
}

.date {
  color: #7e7e7e;
  font-size: 17px;
}

.google-img {
  width: 40px;
  height: 40px;
}

.slide-img {
  width: 50px;
  height: 50px;
  border-radius: 100%;
}

.slide-header {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.profile {
  display: flex;
  gap: 10px;
  align-items: center;
}

.slide-header {
  font-size: 15px;
}

.slide-text {
  font-family: var(--font-family);
  text-align: left;
  line-height: 20px;
  padding-right: 5px;
}

.slide-text::-webkit-scrollbar {
  width: 5px;
  background-color: #7e7e7e;
}

.slide-text::-webkit-scrollbar-thumb {
  background-color: var(--lightblue);
  border-radius: 8px;
}

.slide-name {
  color: var(--lightblue);
  font-family: var(--font-family);
  font-size: 18px;
  font-weight: 500;
}

.rating {
  width: fit-content;
  height: 20px;
  align-self: self-start;
  margin-top: 15px;
  user-select: none;
}

@media (max-width: 700px) {
  .reviews-content {
    display: flex;
    flex-direction: column;
  }
}

@media (max-width: 400px) {
  .reviews-content {
    display: flex;
    flex-direction: column;
  }

  .slide-img {
    width: 35px;
    height: 35px;
  }

  .slide-name {
    font-size: 16px;
  }

  .date {
    font-size: 14px;
  }

  .slide-header {
    gap: 10px;
  }
}