body {
font-family: ‘Arial’, sans-serif;
margin: 0;
padding: 0;
background: url(‘background.jpg’) no-repeat center center fixed;
background-size: cover;
}

header {
background: #222;
padding: 10px;
text-align: center;
}

.logo img {
width: 150px;
}

.product {
display: flex;
justify-content: center;
align-items: center;
margin: 20px;
padding: 20px;
background: rgba(255, 255, 255, 0.8);
border-radius: 10px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.product-image img {
max-width: 300px;
border-radius: 10px;
}

.product-details {
margin-left: 20px;
}

.product-title {
font-size: 2em;
color: #ffcc00;
}

.product-description {
font-size: 1.2em;
margin: 10px 0;
}

.add-to-cart {
padding: 10px 20px;
font-size: 1em;
background: #00cc99;
color: white;
border: none;
border-radius: 5px;
cursor: pointer;
transition: background 0.3s ease;
}

.add-to-cart:hover {
background: #009966;
}

.reviews, .recommended-products {
margin: 20px;
}

.recommended-products {
display: flex;
justify-content: space-around;
}

.product-card {
text-align: center;
background: rgba(255, 255, 255, 0.8);
padding: 10px;
border-radius: 10px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
transition: transform 0.3s ease;
}

.product-card img {
max-width: 150px;
border-radius: 10px;
}

.product-card:hover {
transform: scale(1.05);
}

footer {
background: #222;
color: white;
text-align: center;
padding: 10px;
}

Leave a Comment