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

@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");

body {
  /* background-color: #f1f1f1; */
  font-family: "Montserrat", sans-serif;
}

.opinion {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  gap: 100px;
  background-color: #ecf0f1;
}

.opinion::before,
.opinion::after {
  content: "";
  display: table;
}

.opinion h2 {
  font-size: 36px;
  line-height: 133%;
  font-weight: bold;
  text-align: center;
}

.opinion-wrapper {
  display: flex;
  flex-direction: column;
  gap: 70px;
}

.slider-container {
  position: relative;
  margin: 0 auto;
  width: 1180px;
  height: 650px;
  overflow: hidden;
  background-color: white;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  z-index: 1;
}

.active-slide {
  opacity: 1;
  z-index: 2;
}

/* * Шаблон для слайда */
.slide-content {
  padding: 70px 143px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  gap: 50px;
  color: 2363eE;
}

.slide-text {
  /* Левая колонка слайда*/
  /* padding: 30px 0; */
  width: 460px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-content: space-between;
  align-items: baseline;
  gap: 24px;
  font-size: 16px;
}

.slide-quote {
  /* Цитата */
  font-size: 30px;
  line-height: 143%;
  font-weight: 500;
  color: #2e363e;
}

p.slide-text {
  /* Текст карточки */
  font-size: 15px;
  line-height: 170%;
}

.slide-text a {
  /* Ссылка на полный отзыв */
  color: #c9d9f0;
  text-decoration: underline dotted;
}

.slide-img {
  /* Правая колонка слайда */
  /* width: calc(800px * 0.3); */
  width: 380px;
  height: 475px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.slide-img img {
  aspect-ratio: 1;
  width: 380px;
  border-radius: 100%;
  object-fit: cover;
}

.slide-img-description {
  display: flex;
  flex-direction: column;
  gap: 6px;
  justify-content: space-between;
}

.slide-autor {
  /*  Автор отзыва */
  /* padding-top: 30px; */
  font-weight: 300;
  font-size: 21px;
  line-height: 120%;
}

.slide-location {
  /* Место отзыва */
  /* padding-top: 10px; */
  font-size: 16px;
  line-height: 170%;
  color: #d8d8d8;
}

/* * Кнопки навигации */

.nav-buttons {
  display: flex;
  justify-content: center;
  gap: 24px;
  /* margin-top: 20px;
  margin-bottom: 20px; */
}

.nav-button {
  border: 0;
  border-radius: 100%;
  color: white;
  background-color: #1f3a93;
  padding: 10px;
  cursor: pointer;
  width: 66px;
  height: 66px;
  box-shadow: 0 5px 15px 0 #294197;
  transition: all 0.5s;
  transition: transform 0;
}

.nav-button:hover {
  box-shadow: 0 5px 30px rgb(11, 160, 246);
}
.nav-button:active {
  transform: translate3d(5%, 5%, 0);
}
