/* skeleton */
.skeleton-home-wrapper {
  position: absolute;
  top: 0;
  left: 100px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
  width: 100vw;
  z-index: 200;
  background: #fff;
}

.skeleton-home-container {
  display: flex;
  margin-bottom: 4em;
  margin-left: 200px;
}

.skeleton-home-card {
  width: 200px;
  margin-right: 5em;
}

.skeleton-home-image {
  border-radius: 5px;
  height: 160px;
  width: 100%;
  background: #f6f7f8;
  background-image: linear-gradient(
    to right,
    #f6f7f8 0%,
    #edeef1 20%,
    #f6f7f8 40%,
    #f6f7f8 100%
  );
  background-repeat: no-repeat;
  background-size: 1200px 300px;
  animation: shine-lines 2s infinite ease-out;
}

.skeleton-home-textbox {
  background-color: #ddd;
  margin-top: 0.2em;
  height: 30px;
  width: 200px;
  border-radius: 5px;
  background: #f6f7f8;
  background-image: linear-gradient(
    to right,
    #f6f7f8 0%,
    #edeef1 20%,
    #f6f7f8 40%,
    #f6f7f8 100%
  );
  background-repeat: no-repeat;
  background-size: 800px 104px;
  animation: shine-lines 2s infinite ease-out;
}

@keyframes shine-lines {
  0% {
    background-position: -300px 0;
  }

  100% {
    background-position: 300px 0;
  }
}

@media (max-width: 1600px) {
  .skeleton-home-wrapper {
    left: 0;
  }
}

@media (max-width: 1400px) {
  .skeleton-home-wrapper {
    /* left: 100px; */
  }

  .skeleton-home-container {
    margin-left: 100px;
  }

  .skeleton-home-card {
    width: 200px;
    margin-right: 5em;
  }
  .skeleton-home-image {
    height: 150px;
  }
  .skeleton-home-textbox {
    width: 170px;
    height: 30px;
  }

  @keyframes shine-lines {
    0% {
      background-position: -170px 0;
    }

    100% {
      background-position: 200px 0;
    }
  }
}

@media (max-width: 600px) {
  .skeleton-home-wrapper {
    left: 0px;
  }

  .skeleton-home-container {
    margin-left: 50px;
  }

  .skeleton-home-card {
    width: 100px;
    margin-right: 5em;
  }
  .skeleton-home-image {
    height: 50px;
  }
  .skeleton-home-textbox {
    width: 70px;
    height: 10px;
  }

  @keyframes shine-lines {
    0% {
      background-position: -170px 0;
    }

    100% {
      background-position: 200px 0;
    }
  }
}
