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 {
    font-family: Arial, sans-serif;
    background-image: url('images/about-img.jpg');
    background-size: cover;
    object-fit: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin-bottom: 60px;
}

.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;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.product-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 10px;
    text-align: center;
}

.product-name {
    font-size: 1.2em;
    color: #d9534f;
    margin: 10px 0;
}

.product-description {
    text-align: center;
    margin-top: 10px;
}

.product-description p {
    font-size: 1em;
    color: #555;
}

.product-price {
    font-size: 1.2em;
    color: #d9534f; /* You can change this color to match your design */
    font-weight: bold;
}

/* Pagination Styles */
.pagination {
    text-align: center;
    margin-top: 20px;
}

.pagination a {
    padding: 10px;
    margin: 0 5px;
    text-decoration: none;
    background-color: #2d72d9;
    color: white;
    border-radius: 5px;
}

.pagination a:hover {
    background-color: #1f56a0;
}

/* Media Queries for Responsiveness */
@media (max-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 items per row on tablets */
    }
}

@media (max-width: 600px) {
    .product-grid {
        grid-template-columns: 1fr; /* 1 item per row on mobile */
    }
    .container {
        padding: 10px; /* Reduced padding on small screens */
    }
    h1 {
        font-size: 1.5em; /* Adjust heading size for mobile */
    }
    .product-name {
        font-size: 1em; /* Smaller product name font size */
    }
    .product-price {
        font-size: 1.2em; /* Adjust product price font size */
    }
    .view-details-btn {
        padding: 8px 16px; /* Smaller button padding */
    }
}

