*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:Arial;
}

body{
background:#e3e6e6;
}

/* NAVBAR */

.navbar{
background:#131921;
color:white;
display:flex;
justify-content:space-between;
align-items:center;
padding:15px;
flex-wrap:wrap;
gap:10px;
}

.logo{
font-size:22px;
font-weight:bold;
}

.navbar input{
padding:8px;
width:40%;
border:none;
border-radius:3px;
}

.cart a{
color:white;
text-decoration:none;
font-weight:bold;
}

/* HERO */

.hero{
background:url("https://picsum.photos/1200/400");
height:250px;
display:flex;
align-items:center;
justify-content:center;
color:white;
font-size:28px;
text-shadow:2px 2px 5px black;
}

/* FILTER */

.filter{
text-align:center;
padding:20px;
}

.filter button{
padding:8px 15px;
margin:5px;
border:none;
background:#007185;
color:white;
cursor:pointer;
border-radius:3px;
}

/* PRODUCTS */

.products{
display:flex;
flex-wrap:wrap;
justify-content:space-evenly;
padding:20px;
}

.product{
width:23%;
background:white;
padding:15px;
margin-bottom:20px;
text-align:center;
box-shadow:0 3px 8px rgba(0,0,0,0.2);
transition:0.3s;
border-radius:4px;
}

.product:hover{
transform:scale(1.05);
}

.product img{
width:100%;
height:200px;
object-fit:cover;
border-radius:3px;
}

.product h3{
font-size:18px;
margin:10px 0;
color:#111;
}

.product p{
color:#B12704;
font-size:18px;
font-weight:bold;
}

.product button{
margin-top:10px;
padding:8px 15px;
background:#ffd814;
border:none;
cursor:pointer;
border-radius:3px;
}

/* CART */

.cart-container{
width:60%;
margin:30px auto;
background:white;
padding:20px;
border-radius:5px;
}

.cart-item{
display:flex;
justify-content:space-between;
margin-bottom:10px;
}

.cart-title{
text-align:center;
margin-top:20px;
}

/* FOOTER */

.footer-top{
background:#37475a;
color:white;
text-align:center;
padding:15px;
}

.footer-bottom{
background:#0f1111;
color:white;
text-align:center;
padding:20px;
}

/* TABLET */

@media(max-width:992px){

.product{
width:45%;
}

.navbar input{
width:60%;
}

}

/* MOBILE */

@media(max-width:600px){

.product{
width:90%;
}

.navbar input{
width:100%;
}

.cart-container{
width:90%;
}

}
