.container {
  max-width: 560px;
  width: 100%;
  padding-left: 16px;
  padding-right: 16px;
  margin: 0 auto;
  text-align: left;
  font-family: Open Sans, sans-serif;
}

.title {
  font-size: 18px;
  padding: 0 16px;
}

.avatar {
  position: relative;
  padding: 8px;
  background-color: rgba(114, 112, 192, 0.8);
  border-radius: 100%;
  width: 88px;
  height: 88px;
  margin: 0 auto;

  &::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 96px;
    height: 96px;
    outline: solid 1px var(--primary-600);
    border-radius: 100%;
    opacity: 0.3;
    animation: ripple 2s cubic-bezier(0, 0, 0.98, 0.64) infinite;
  }

  & > img {
    width: 72px;
    height: 72px;
    border-radius: 100%;
  }
}

.subtitle {
  color: var(--secondary-200);
  font-size: 24px;
  margin-top: 24px;
}

.progress-bar {
  height: 8px;
  background-color: rgba(114, 112, 192, 0.25);
}

.points {
  width: 100%;
  margin-top: 24px;

  & > .point {
    background-color: var(--primary-800);
    padding: 4px;
    height: 40px;
    border-radius: 20px;
    margin-bottom: 16px;
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: center;
    font-size: 14px;
    animation: point-done .5s linear forwards;
    opacity: 0.7;

    // &.done {
    //   animation: point-done 1s linear forwards;
    // }

    & > .icon {
      position: relative;
      width: 32px;
      height: 32px;
      background-color: var(--secondary-700);
      border-radius: 16px;

      &::before {
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 8px;
        height: 8px;
        border-radius: 100%;
        background-color: var(--success);
      }
    }
  }
}

@keyframes point-done {
  100% {
    background-color: var(--primary-700);
    opacity: 1;
  }
}

@keyframes ripple {
  0% {
    // scale: 1;

    width: 96px;
    height: 96px;
    opacity: 0.3;
  }
  80% {
    opacity: 0.3;
  }
  100% {
    // scale: 1.4;

    width: 120px;
    height: 120px;
    opacity: 0;
    outline-width: 5px;
  }
}
