/* width */
.customScroll::-webkit-scrollbar {
  width: 10px;
  border: none;
  background: #fff;
}

/* Track */
.customScroll::-webkit-scrollbar-track {
  background: #35b1ff88;
  border: none;
  box-shadow: none !important;
  border-top-left-radius: 0px !important;
  border-bottom-left-radius: 0px !important;
}

/* Handle */
.customScroll::-webkit-scrollbar-thumb {
  background: #35b1ff !important;
  border: none;
}

/* Handle on hover */
.customScroll::-webkit-scrollbar-thumb:hover {
  background: #46c2ff !important;
  border: none;
}

.book img {
  transition: scale 400ms;
}

.book:hover img {
  scale: 120%;
}

.placeholder {
  background: #eee;
  border-radius: 1rem;
  position: relative;
  overflow: hidden;
}

.placeholder:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 100px;
  background: linear-gradient(90deg, #eee, #f4f4f4, #eee);
  animation: gradient 1s infinite ease-in-out;
}

@keyframes gradient {
  form {
    left: 0%;
  }

  to {
    left: 100%;
  }
}

.vocabulary-unit img {
  transition: scale 400ms;
}

/* .vocabulary-unit:hover {
  box-shadow: 0 0.5rem 1rem #ddd !important;
} */

.vocabulary-unit:hover img {
  scale: 120%;
}

.shadowed {
  box-shadow: -2px 2px 5px 2px rgba(221, 221, 221, 0.75);
}

.scaleOnHover:hover {
  transition: scale 400ms;
  scale: 103%;
}

.deleteHoverContainer .deleteHover {
  transition: opacity 0.3s linear;
  opacity: 0;
  visibility: hidden;
}

.deleteHoverContainer:hover .deleteHover {
  transition: opacity 0.3s linear;
  opacity: 1;
  visibility: visible;
}

@keyframes fadeOutAnimation {
  0% {
    opacity: 1;
    /* transform: rotateX(0deg); */
  }
  100% {
    display: none;
    opacity: 0;
    /* transform: rotateX(90deg); */
    visibility: hidden;
    height: 0;
    min-height: 0;
    margin: 0;
    font-size: 1;
  }
}

.fadeOut {
  animation-name: fadeOutAnimation;
  animation-duration: 500ms;
  animation-fill-mode: forwards;
}

.coming-soon-card .coming-soon {
  transition: opacity 0.3s linear;
  opacity: 0;
}

.coming-soon-card:hover .coming-soon {
  opacity: 1;
}
