.mini_gallery {
  padding: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  font-family: "Raleway";
  width: 100%;

  .mini_gallery_head {
    text-align: center;
    font-weight: 800;
    font-size: 22px;

    @media screen and (max-width: 768px) {
      font-size: 18px;
    }

    @media screen and (max-width: 480px) {
      font-size: 16px;
    }

    span {
      color: #009141;
    }
  }

  .mini_gallery_body {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #fff;
    padding: 10px;
    gap: 10px;
    border-radius: 10px;

    @media screen and (max-width: 481px) {
      flex-wrap: wrap;
      justify-content: flex-start;
    }

    .mini_gallery_item {
      width: 100%;
      height: 120px;
      background-color: #000000;
      border-radius: 4px;

      @media screen and (max-width: 481px) {
        width: 30%;
        height: 100px;
      }

      img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 4px;
        cursor: pointer;
        transition: all ease 0.3s;

        &:hover {
          transform: scale(1.1);
        }
      }

      &.skeleton {
        background-color: #e2e2e2;
        position: relative;
        overflow: hidden;
        pointer-events: none;

        &::after {
          content: "";
          position: absolute;
          top: 0;
          left: -150px;
          /* left: 100%; */
          height: 100%;
          width: 150px;
          background: linear-gradient(to right, transparent 0%, #f1f0f0 50%, transparent 100%);
          animation: shimmer 1.2s infinite;
          z-index: 1;
        }
      }
    }
  }

  .mini_gallery_footer {
    text-align: center;

    a {
      text-decoration: none;
      background-color: #009141;
      color: #fff;
      padding: 7px 30px;
      border: 2px solid #009141;
      border-radius: 5px;
      font-weight: 600;
      transition: all ease 0.3s;

      @media screen and (max-width: 768px) {
        padding: 5px 20px;
        font-size: 14px;
      }

      @media screen and (max-width: 480px) {
        padding: 3px 15px;
        font-size: 12px;
      }

      &:hover {
        background-color: #fff;
        color: #009141;
      }
    }
  }
}

@keyframes shimmer {
  0% {
    left: -150px;
  }

  100% {
    left: 100%;
  }
}