
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap');
/* *,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style-type: none;
    text-decoration: none;
} */

html {
    font-size: 62.5%;
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
}

body {
    font-size: 1.6rem;
}

.container {
    max-width: 144rem;
    padding: 0 2rem;
    margin: 0 auto;
}

.products {
    padding: 2rem 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
    gap: 2rem;
}

.product {
    background: #f9f8fc;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product img {
    width: 100%;
}

.product-content {
    padding: 1rem 2rem;
}

.product .product-title {
    font-size: 2rem;
}

.product-description {
    text-align: justify;
}

.product-title,
.product-price-container,
.product-description,
.product-category {
    padding: 0.5rem 0;
}

.product-price-container {
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.add-to-cart {
    background: rgb(16, 8, 69);
    width: 4rem;
    height: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    color: white;
    border-radius: 1rem;
}

.add-to-cart ion-icon {
    font-size: 3rem;
}
body, h1, h2, h3, p, img {
    margin: 0;
    padding: 0;
    border: 0;
}

/* Set a background color and default text color */
body {
    font-family: Arial, sans-serif;
    background-color: #f5f5f5;
    color: #333;
}

/* Style the header */
header {
    background-color: #0071dc;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1px 15px;
}

/* Style the logo */
.logo img {
    position: relative;
    left: 22px;
    width: 150px;
    height: 93px;
}

/* Style the search bar */
.search-bar {
    flex: 1;
    margin: 0 20px;
    position: relative;
}

#searchInput {
    width: 564px;
    height: 20px;
    padding: 10px 21px;
    position: relative;
    left: 293px;
    border: 1px solid rgb(204, 204, 204);
    border-radius: 27px;
}


#searchButton {
    background-color: #ffc220;
    color: white;
    border: none;
    font-size: 10px;
    padding: 3px 5px;
    border-radius: 41px;
    cursor: pointer;
    position: absolute;
    right: 253px;
    top: 50%;
    transform: translateY(-50%);
}

/* Style the cart link */
.cart a {
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    background-color: #ffc220;
    border-radius: 5px;
    position: relative;
    right: 30px;
}

/* Style the main content */
main {
    padding: 40px;
}

/* Style the product listings */
.product-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

/* Style the footer */
footer {
    text-align: center;
    padding: 10px 0;
    background-color: #f1f1f1;
}
