.questionary{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 600px;
  max-width: 100%;
}

.questionary-lists{
  height: 500px;
    display: flex;
    align-items: center;
    align-content: center;
    justify-content: center;
    width: 100%;
    position: relative;
}

.questionary-card{
  --questionary-card-color: #0069A6;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 566px;
  min-height: 441px;
  background-color: var(--questionary-card-color, #0069A6);
  border-radius: 24px;
  color: #fff;
  padding: 20px;
  margin-inline: auto;
  position: absolute;
  z-index: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease-in-out, visibility 0.3s ease-in-out;

  .questionary-card__image img{
    max-height: 135px;
    object-fit: cover;
  }

  .questionary-card__content{
    width: 85%;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .questionary-card__question{
    color: inherit;
    font-size: 20px;
    font-weight: 600;
    font-family: 'Roboto';
    max-width: 90%;
    margin-inline: auto;
    text-align: center;
    margin-block: 20px 30px;
  }
  .questionary-card__answers{
    list-style-type: lower-alpha;
    color: inherit;
    font-size: 20px;
    font-weight: 600;
    font-family: 'Roboto';
    padding-left: 60px;

  }
  .questionary-card__answer{
    cursor: pointer;
    width: fit-content;
    line-height: 1.2;
    margin-block-end: 12px;
    position: relative;
    &:hover{
      color: #C6D533;
    }
    svg{
      vertical-align: middle;
    }
  }
}

.questionary-card.questionary-card--active{
  z-index: 1;
  opacity: 1;
  visibility: visible;
}

.questionary-card.shake-card{
  animation: shake 0.82s cubic-bezier(.36,.07,.19,.97) both;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  perspective: 1000px;
}

.questionary-card.success-animation{
  animation: glow 1.2s cubic-bezier(.36,.07,.19,.97) both;
}

/* HTML: <div class="tooltip">This is a Speech Bubble with a solid coloration and with border radius </div> */
.tooltip {
  color: #fff;
  font-size: 12px;
  width: 20ch;
  max-width: 40ch;
  text-align: center;
  position: absolute;
  bottom: 110%;
  left: 50%;
  font-weight: 400;
  transform: translateX(-50%);
}
.tooltip {
  /* triangle dimension */
  --b: 1.5em;
  --h: 0.8em;
  --p: 50%;
  --r: 1.2em;
  --c: #4ECDC4;
  padding: 0.8em;
  border-radius: var(--r) var(--r) min(var(--r),100% - var(--p) - var(--b)/2) min(var(--r),var(--p) - var(--b)/2)/var(--r);
  clip-path: polygon(0 100%,0 0,100% 0,100% 100%,
    min(100%,var(--p) + var(--b)/2) 100%,
    var(--p) calc(100% + var(--h)),
    max(0%  ,var(--p) - var(--b)/2) 100%);
  background: var(--c);
  border-image: conic-gradient(var(--c) 0 0) fill 0/
    var(--r) calc(100% - var(--p) - var(--b)/2) 0 calc(var(--p) - var(--b)/2)/
    0 0 var(--h) 0;
}


@keyframes shake {
  10%, 90% {
    transform: translate3d(-1px, 0, 0);
  }

  20%, 80% {
    transform: translate3d(2px, 0, 0);
  }

  30%, 50%, 70% {
    transform: translate3d(-4px, 0, 0);
  }

  40%, 60% {
    transform: translate3d(4px, 0, 0);
  }
}

@keyframes pulsate {
  0% {
    box-shadow:
      0 0 2px #fff,
      0 0 4px #fff,
      0 0 6px #fff,
      0 0 10px #82C9BF,
      0 0 45px #82C9BF,
      0 0 55px #82C9BF,
  }
  100% {
    box-shadow:
      0 0 4px #fff,
      0 0 11px #fff,
      0 0 19px #fff,
      0 0 40px #82C9BF,
      0 0 80px #82C9BF,
      0 0 90px #82C9BF
  }
}

@keyframes glow {
 0% {
   box-shadow: 0 0 5px #c5d53394, 0 0 5px #c5d53394, 0 0 5px #c5d53394,
     0 0 5px #c5d53394;
 }
 50% {
   box-shadow: 0 0 15px #C6D533, 0 0 15px #C6D533, 0 0 15px #C6D533,
     0 0 15px #C6D533;
 }
 100% {
   box-shadow: 0 0 5px #c5d53394, 0 0 5px #c5d53394, 0 0 5px #c5d53394,
     0 0 5px #c5d53394;
 }
}