.categories-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 0 auto;
  justify-items: center;
  grid-auto-rows: auto;
}

.category {
  position: relative;
  display: inline-block;
  border-radius: 5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.category img {
  display: block;
  border-radius: 5px;
  box-shadow: rgba(100, 100, 111, 0.8) 0px 5px 29px 0px;
  min-width: 60px;
  width: auto; /* Responsive width */
  max-width: 225px;
  min-height: 60px;
  height: auto; /* Maintain aspect ratio */
  max-height: 225px;
  transition: filter 0.15s ease;
}

.category:hover img {
  filter: blur(5px);
}

.overlay-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 24px;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.category:hover .overlay-text {
  opacity: 1;
}

#kofi-page {
  display: flex;
  position: fixed;
  bottom: 10px;
  left: 10px;
  background-color: azure;
  box-shadow: rgba(100, 100, 111, 0.8) 0px 5px 29px 0px;
  justify-content: center;
  align-items: center;
  width: 100px;
  height: 55px;
  border-radius: 10px;
  flex-direction: row;
}

#kofi-page svg {
  height: 50px;
  width: 50px;
  align-self: center;
}

@media (max-width: 1600px) {
  .categories-container {
    margin: 0 auto;
  }

  .category img {
    max-width: 90%;
    height: auto;
  }
}
