*,
*::before,
*::after {
  margin: 0;
  padding: 0;w
  box-sizing: border-box;
}

html {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  line-height: 1.5;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background-color: #fff;
  color: #111;
  display: flex;
  flex-direction: column;
}

main {
  flex-grow: 1;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

a {
  text-decoration: none;
  color: inherit;
}

ul,
ol {
  list-style: none;
}

input,
button,
textarea,
select {
  font: inherit;
}

.btn-outline-primary {
  color: #333;
  border: 2px solid #333;
  background-color: transparent;
  transition: all 0.3s ease;
}

.btn-outline-primary:hover {
  background-color: #333;
  color: #fff;
  border-color: #333;
}

.btn-outline-primary:focus,
.btn-outline-primary:active,
.btn-outline-primary.active,
.btn-outline-primary:focus-visible {
  color: #fff;
  background-color: #333;
  border-color: #333;
  box-shadow: 0 0 0 0.25rem rgba(51, 51, 51, 0.5);
  outline: 0;
}

.btn-outline-primary::-moz-focus-inner {
  border: 0;
}

.category-img {
  width: 120px;
  height: 100px;
  object-fit: cover;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.img-placeholder {
  height: 120px;
  width: 120px;
  object-fit: cover;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.category-img:hover {
  transform: scale(1.05);
}

.social-link {
  transition: color 0.3s ease, transform 0.3s ease;
}

.social-link.facebook:hover {
  color: #1877f2 !important;
  transform: scale(1.2);
}

.social-link.instagram:hover {
  color: #e1306c !important;
  transform: scale(1.2);
}

.pointer {
  cursor: pointer;
}

body.menu-open {
  overflow: hidden;
}

.card {
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  background-color: #f9f9f9;
  border-color: #b0b0b0;
  cursor: pointer;
}

@media (max-width: 1024px) {
  #category-grid > div {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .card {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 12px;
  }

  .category-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    margin-right: 16px;
  }

  .card-body {
    padding: 0;
    text-align: left;
  }

  .card-title {
    margin: 0;
    margin-left:1.5rem;
    font-size: 1rem;
    font-weight: 600;
  }
}
