
.items-lihdh-qa-main {
  padding: 0px 25px;
  margin: 0 auto;
}

.items-lihdh-qa-div {
  max-width: 800px;
   margin: 0 auto;
}

.items-lihdh-qa-container {
  position: relative;
  margin-bottom: 40px;
}


.items-lihdh-question {
  background-color: white;
  border: 3px solid #001ca7;
  border-radius: 20px 20px 20px 0;
  padding: 15px 20px;
  margin-bottom: 15px;
  position: relative;
  box-shadow: 5px 5px 0 rgba(85, 144, 227, 0.3);
  max-width: 80%;
  margin-left: 40px;
}

.items-lihdh-question::before {
  content: "";
  position: absolute;
  left: -30px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
  border-right: 30px solid #ffffff;
}

.items-lihdh-question::after {
  content: "Q";
  position: absolute;
  left: -50px;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background-color: #25006f;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 20px;
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.2);
}


.items-lihdh-answer {
  background-color: white;
  border: 3px solid #6bd9ff;
  border-radius: 20px 20px 0 20px;
  padding: 15px 20px;
  margin-left: auto;
  position: relative;
  box-shadow: -5px 5px 0 rgba(107, 217, 255, 0.3);
  max-width: 80%;
  margin-right: 40px;
}

.items-lihdh-answer::before {
  content: "";
  position: absolute;
  right: -30px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
  border-left: 30px solid #6bd9ff;
}

.items-lihdh-answer::after {
  content: "A";
  position: absolute;
  right: -50px;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background-color: #6bd9ff;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 20px;
  box-shadow: -3px 3px 0 rgba(0, 0, 0, 0.2);
}

.items-lihdh-character {
  position: absolute;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  z-index: 2;
}

.question-character {
  left: -20px;
  top: -20px;
  background-color: #ff6b9d;
}

.answer-character {
  right: -20px;
  bottom: -20px;
  background-color: #6bd9ff;
}


.items-lihdh-qa-container {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeIn 0.5s forwards;
  animation-delay: calc(var(--order) * 0.2s);
}

@keyframes fadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


.items-lihdh-question:hover {
  transform: translateX(5px);
  transition: transform 0.2s;
}

.items-lihdh-answer:hover {
  transform: translateX(-5px);
  transition: transform 0.2s;
}

@media (max-width: 600px) {

  .items-lihdh-question,
  .items-lihdh-answer {
    max-width: 70%;
  }

}
