@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    font-family: Poppins;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    text-transform: capitalize;
    scrollbar-width: none;
    scroll-behavior: smooth;
}
body {
    background-color: gainsboro;
    margin: 0;
    padding: 0;
}
header {
    background-color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    position: fixed;
    width: 100%;
    z-index: 1;
}
.logo {
    height: 60px;
}
.tags {
    display: flex;
    gap: 15px;
}
h3 {
  color: black;
}
p {
  color:black;
}
a {
    padding: 10px;
    font-size: larger;
    font-weight: bold;
    transition: background-color 0.3s ease;
}
a:hover {
    background-color: green;
    color: white;
}
.search {
    padding: 10px;
    border: none;
    background-color: gainsboro;
    font-size: large;
    border-radius: 30px;
    max-width: 200px;
}
.profile {
    font-weight: normal;
    margin: 0;
    border: 1px solid;
    padding: 5px 10px;
}
.login-form, .signup-form {
    position: absolute;
    top: 100%;
    right: -100%;
    background-color: #ccc;
    padding: 20px;
    transition: .5s linear;
    width: 300px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
}
.login-form.active, .signup-form.active {
    right: 2rem;
    transition: .5s linear;
}
.inputs {
    width: 100%;
    height: 3rem;
    padding: 1rem;
    margin: 1rem 0;
    border-radius: 5px;
    border: 1px solid #ccc;
}
.Create, .toggleForm {
    color: green; 
    text-decoration: underline;
    font-weight: 500;
    cursor: pointer;
}
.home {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: url(https://img.freepik.com/free-photo/top-view-fresh-vegetables-with-copy-space_23-2149271034.jpg?t=st=1716135607~exp=1716139207~hmac=269c23d51814ab7d9d78fabd42c1c0f1d8c9d556bfe9bfac09374c147f265226&w=1380) no-repeat center center/cover;
    padding: 150px 20px;
    color: white;
    text-align: center;
}
.shop-btn {
    background-color: green;
    color: white;
    font-size: large;
    padding: 10px 20px;
    margin-top: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}
.shop-btn:hover {
    background-color: transparent;
    color: black;
    border: 2px solid green;
}
.heading {
    background-color: green; 
    color: white;
    padding: 10px;
    clip-path: polygon(100% 0, 93% 50%, 100% 99%, 0% 100%, 7% 50%, 0% 0%);
    display: inline-block;
    
}
.box-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    padding: 20px;
}
.box {
    padding: 2rem;
    background: white;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}
.box:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}
.image {
    width: 100%;
    height: auto;
    max-height: 250px;
    object-fit: cover;
    margin-bottom: 20px;
}
footer {
    display: flex;
    flex-wrap: wrap;
    background-color: white;
    padding: 20px;
}
.footerLeft {
    flex: 2;
    display: flex;
    justify-content: space-between;
    padding: 20px;
}
.footerMenu {
    flex: 1;
    margin-right: 10px;
}
.fMenuTitle {
    font-size: 16px;
    margin-bottom: 10px;
}
.fList {
    list-style: none;
}
.fListItem {
    margin-bottom: 10px;
    color: gray;
    cursor: pointer;
}
.footerRight {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.fInput {
    padding: 10px;
    margin-right: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: calc(100% - 80px);
}
.fButton {
    padding: 10px;
    background-color: black;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
.fIcons {
    display: flex;
    gap: 10px;
}
.fIcon {
    width: 30px;
    height: 30px;
}
.fIcon:first-child {
    width: 40px;
}
.copyright {
    margin-top: 10px;
    color: gray;
    font-size: 14px;
}
@media (max-width: 768px) {
    .tags, .profile {
        display: none;
    }
    .search {
        display: none;
    }
    header {
        flex-direction: column;
        align-items: flex-start;
    }
    .logo {
        height: 50px;
    }
}
