html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

/* Custom styles for Pinterest-like layout */
.search-container {
  width: 300px;
}

.search-input {
  border-radius: 24px;
  background-color: #f0f0f0;
  border: none;
  padding-left: 16px;
}

.category-card {
  border-radius: 16px;
  overflow: hidden;
  border: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  height: 300px;
  position: relative;
}

.category-card:hover {
  transform: translateY(-5px);
}

.category-card img {
  height: 100%;
  object-fit: cover;
}

.card-img-overlay {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 50%);
  padding: 20px;
}

.badge {
  width: fit-content;
  font-weight: normal;
  font-size: 0.8rem;
}

.btn-light {
  background-color: #f0f0f0;
  border: none;
  font-weight: 500;
}

.btn-light:hover {
  background-color: #e0e0e0;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}


/* Add these styles for the logo */
.navbar-brand img {
    transition: transform 0.3s ease;
}

.navbar-brand:hover img {
    transform: scale(1.1);
}

.brand-text {
    background: linear-gradient(45deg, #CC0033, #CC3300, #CC9900, #006633, #006699);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: bold;
}