@import url("https://fonts.googleapis.com/css2?family=Allura&family=Noto+Sans+TC:wght@800&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");

* {
  box-sizing: border-box;
}

body {
  background-color: #bacad9;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  font-family: "Roboto", sans-serif, "Noto Sans TC", "Poppins", "Allura";
}

.card {
  max-width: 745px;
  padding: 40px;
  color: #000;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
}

.testimonial-container {
  position: relative;
  display: flex;
  align-content: center;
  flex-direction: column;
}

.media-body {
  position: relative;
  display: flex;
  align-content: center;
  justify-content: space-evenly;
  flex-direction: row;
  margin: 12px 0 12px 0;
}

.quote {
  width: 39px;
  height: 29px;
}

.content {
  display: flex;
  align-items: center;
  align-self: stretch;
  text-align: right;
  font-size: 18px;
  font-weight: 400;
  line-height: 27.5px;
  margin: 0;
}

.user {
  display: flex;
  align-items: center;
  margin-left: 10px;
}

.user .user-image {
  border-radius: 50%;
  height: 100px;
  width: 100px;
  object-fit: cover;
}

.username {
  margin: 0;
  font-size: 28px;
  font-weight: 900;
}

.role {
  margin: 5px 0 0 0;
}

.progress-bar {
  background-color: #0cd912;
  height: 4px;
  width: 100%;
  margin-bottom: 5px;
  animation: grow 15s linear infinite;
  transform-origin: left;
}

@keyframes grow {
  0% {
    transform: scaleX(0);
  }
}

@media (max-width: 426px) {
  .media-body {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .content {
    text-align: center;
  }
  .user {
    margin-top: 10px;
    margin-left: 0;
  }
  .username {
    text-align: center;
  }
  .role {
    text-align: center;
  }
}
