
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap");

* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: "Poppins", sans-serif;
}

body {
background-color: #f4f4f4;
color: #333;
}

.navbar {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 60px;
background-color: #007bff;
color: white;
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 20px;
z-index: 1000;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.navbar h1 {
font-size: 20px;
font-weight: 600;
}

.sidebar {
position: fixed;
top: 60px;
left: 0;
width: 260px;
height: calc(100% - 60px);
background-color: #343a40;
padding-top: 30px;
color: white;
overflow-y: auto;
box-shadow: 2px 0 8px rgba(0, 0, 0, 0.1);
}

.sidebar img {
width: 100px;
height: 100px;
object-fit: cover;
border-radius: 50%;
display: block;
margin: 0 auto 20px;
border: 3px solid #007bff;
}

.sidebar h3 {
text-align: center;
font-size: 18px;
font-weight: 500;
margin-bottom: 20px;
}

.main {
padding: 80px 20px;
background-color: #f9f9f9;
min-height: 100vh;
display: flex;
flex-wrap: wrap;
gap: 20px;
justify-content: center;
}

.product_div {
background-color: #fff;
border-radius: 10px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
padding: 20px;
width: calc(45% - 40px);
height: 400px;
text-align: center;
transition: transform 0.3s ease;
}

.product_div:hover {
transform: translateY(-5px);
}

.product_div img {
width: 100%;
height: 150px;
object-fit: cover;
border-radius: 10px;
}

.product_div h3 {
font-size: 18px;
margin: 15px 0;
color: #007bff;
font-weight: 600;
}

.product_div h4 {
font-size: 16px;
font-weight: 500;
}

.product_div h6 {
font-size: 14px;
color: #6c757d;
}

.product_div button {
margin-top: 15px;
background-color: #dc3545;
color: white;
border: none;
padding: 10px 20px;
border-radius: 50px;
cursor: pointer;
font-size: 14px;
transition: background-color 0.3s ease;
}

.product_div button:hover {
background-color: #c82333;
}

@media (max-width: 768px) {
.sidebar {
position: static;
width: 100%;
height: auto;
background-color: #343a40;
}

.main {
margin-left: 0;
}

.product_div {
width: calc(100% - 40px);
}
}

