@import url("https://fonts.googleapis.com/css2?family=Great+Vibes&family=Outfit:wght@100;200;300;400&family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,400&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Playfair Display", serif;
}

body {
  background: #14171a;
}

.quote-box {
  background: #fff;
  width: 90%;
  max-width: 700px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 10px 20px 0px rgba(0, 0, 0, 0.15);
}

.quote-box h2 {
  font-size: 28px;
  margin-bottom: 30px;
  position: relative;
}

.quote-box h2::after {
  content: " ";
  width: 75px;
  height: 3px;
  border-radius: 3px;
  background: rgb(23, 124, 229);
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
}

.quote-box blockquote {
  font-size: 22px;
  min-height: 80px;
  line-height: 1.4;
}

.quote-box blockquote::before,
.quote-box blockquote::after {
  content: '" ';
}

.quote-box span {
  display: block;
  float: right;
  position: relative;
  font-size: 16px;
}

.quote-box span::after {
  content: "";
  width: 20px;
  height: 2px;
  background: rgb(23, 124, 229);
  position: absolute;
  top: 50%;
  left: -30px;
}

.quote-box div {
  width: 100%;
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.quote-box button {
  background: #14171a;
  color: #fff;
  border-radius: 25px;
  border: 1px solid rgb(23, 124, 229);
  min-width: 120px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 16px;
  padding: 0 15px;
}

.quote-box button img {
  width: 18px;
  margin-right: 8px;
}

.quote-box button:nth-child(2) {
  background: #f5f8fa;
  color: #14171a;
}

@media (max-width: 600px) {
  .quote-box {
    padding: 20px;
  }
  .quote-box h2 {
    font-size: 22px;
  }
  .quote-box blockquote {
    font-size: 18px;
    min-height: 60px;
  }
  .quote-box span {
    font-size: 14px;
  }
  .quote-box button {
    font-size: 14px;
    height: 40px;
    min-width: 100px;
  }
}
