@import url("variables.css");

.thumbnail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  grid-gap: 20px;
  padding: 20px;
  max-width: 1200px;
  margin: 20px auto;
}

.thumbnail {
  position: relative;
  cursor: pointer;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1), 0px 6px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.thumbnail:hover {
  transform: scale(1.05);
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2), 0px 10px 25px rgba(0, 0, 0, 0.2);
}

.thumbnail img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 3px solid var(--primary-color);
}
.thumbnail-title {
  padding: 10px;
  background-color: var(--background-color);
  color: var(--dark-color);
  font-size: 18px;
  text-align: center;
  font-weight: bold;
  border-radius: 0 0 10px 10px;
}
