/**
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 *
 *
 */

@keyframes glimmer-animation {
  0% {
    background: #f9f9f9;
  }
  .50% {
    background: #eeeeee;
  }
  .100% {
    background: #f9f9f9;
  }
}

.LinkPreview__container {
  /* @apply pb-3; */
}

.LinkPreview__imageWrapper {
  @apply text-center;
}

.LinkPreview__image {
  @apply m-auto max-h-[250px] max-w-full;
}

.LinkPreview__title {
  @apply mx-6 mt-2 font-serif font-semibold leading-5 text-gray-700-200;
}

.LinkPreview__description {
  @apply mx-6 mt-2 mb-4 text-sm leading-5;
}

.LinkPreview__domain {
  @apply mx-6 mt-2 text-sm text-gray-700-200;
}

.LinkPreview__glimmer {
  background: #f9f9f9;
  border-radius: 8px;
  height: 18px;
  margin-bottom: 8px;
  margin-left: 12px;
  margin-right: 12px;
  animation-duration: 3s;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
  animation-name: glimmer-animation;
}
