.max-height {
  max-height: 800px;
}

.img-size {
  width: 100%;
  max-height: 300px;
  min-height: 300px;
  object-fit: cover;
}

.fs-tiny {
  font-size: 0.7rem;
  font-weight: bold;
}

.text-limit {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  line-height: 16px; /* fallback */
  max-height: 32px; /* fallback */
  -webkit-line-clamp: 2; /* number of lines to show */
  -webkit-box-orient: vertical;
}

.link-hover {
  position: relative;
}

.link-hover:hover {
  text-decoration: underline;
}

.link-hover::after {
  content: "";
  width: 0;
  height: 0;
  border: solid 8px transparent;
  position: absolute;
  top: 5px;
  left: -12px;
  border-left-color: #000;
}

input[type="search"] {
  border: solid 3px #646464;
  outline: none;
}

input[type="search"]:focus {
  border: solid 3px #333;
}

input[type="submit"] {
  border: solid 3px #646464;
}

input[type="submit"]:hover {
  background: #333;
  color: #fff;
  border: solid 3px #333;
}

.max-width-800 {
  max-width: 800px;
}

.customize-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* loader */

.lds-grid {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
  margin: 2rem auto;
}
.lds-grid div {
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #000;
  animation: lds-grid 1.2s linear infinite;
}
.lds-grid div:nth-child(1) {
  top: 8px;
  left: 8px;
  animation-delay: 0s;
}
.lds-grid div:nth-child(2) {
  top: 8px;
  left: 32px;
  animation-delay: -0.4s;
}
.lds-grid div:nth-child(3) {
  top: 8px;
  left: 56px;
  animation-delay: -0.8s;
}
.lds-grid div:nth-child(4) {
  top: 32px;
  left: 8px;
  animation-delay: -0.4s;
}
.lds-grid div:nth-child(5) {
  top: 32px;
  left: 32px;
  animation-delay: -0.8s;
}
.lds-grid div:nth-child(6) {
  top: 32px;
  left: 56px;
  animation-delay: -1.2s;
}
.lds-grid div:nth-child(7) {
  top: 56px;
  left: 8px;
  animation-delay: -0.8s;
}
.lds-grid div:nth-child(8) {
  top: 56px;
  left: 32px;
  animation-delay: -1.2s;
}
.lds-grid div:nth-child(9) {
  top: 56px;
  left: 56px;
  animation-delay: -1.6s;
}
@keyframes lds-grid {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}
