@keyframes react-loading-skeleton {
  100% {
      transform: translateX(100%);
  }
}

.react-loading-skeleton {
  --base-color1: #ebebeb;
  --highlight-color1: #f5f5f5;
  --animation-duration1: 1.5s;
  --animation-direction1: normal;
  --pseudo-element-display1: block; /* Enable animation */

  background-color: var(--base-color1);

  width: 100%;
  border-radius: 0.25rem;
  display: inline-flex;
  line-height: 1;

  position: relative;
  overflow: hidden;
  z-index: 1; /* Necessary for overflow: hidden to work correctly in Safari */
}

.react-loading-skeleton::after {
  content: ' ';
  display: var(--pseudo-element-display1);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  background-repeat: no-repeat;
  background-image: linear-gradient(
      90deg,
      var(--base-color1),
      var(--highlight-color1),
      var(--base-color1)
  );
  transform: translateX(-100%);

  animation-name: react-loading-skeleton;
  animation-direction: var(--animation-direction1);
  animation-duration: var(--animation-duration1);
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}
