header{
    display: flex;
    justify-content: space-between;
    background-color: black;
}

body{
    margin: 20px;
}

.logo{
    display: flex;
    padding: auto;
    margin-top: 20px;
    margin-left: 10px;
}

h1{
    display: flex;
    margin: 20px;
    margin-left: 30px;
    font-size: 40px;
    margin-top: 4px;
    
}
nav{
    margin: 20px;
    padding: 10px;
}

nav a{
    margin-right: 20px;
    color: white;
    font-size: 25px;
    text-decoration: none;
}

.imag img{
    width: 100%;
    height: 150px;
}

.container{
    display: flex;
    background-color: black;
    gap: 50px;
}

.image_container{
    display: grid;
    grid-template-columns: repeat(2,50%);
    max-width: 100%;
    gap: 10px;
    margin: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.image_container img{
    border: 2px solid black;
    width: 200px;
    height: 200px;
    object-fit: cover;
    border: 2px solid lightgreen;
    transform: 0.3 ease-in-out;
}

.image_container img:hover{
    transform: scale(1.2);
    border: 20px;
}


.row1{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    padding: 10px;
}

.product{
    display: flex;
    flex-direction: column;
    width: 220px;
    height: auto;
    padding: 10px;
    text-align: center;
    border: 2px solid #0DA58A;
    background-color: white;

}

.product img{
    width: 220px;
    height: auto;
    transform: 0.3 ease-in-out;
    border: 2px solid black;
    border-radius: 20px;
}

.product img:hover{
    transform: scale(1.5);
}

.product button{
    background-color: gold;
    padding: 15px;
    border-radius: 15px;
    font-size: 20px;
    font-weight: bold;
    transition: ease-in-out;
}

.product button:hover{
    background-color: rgb(50, 245, 50);
    border-radius: 20px;
}

.row1 h2{
    font-size: 25px;
}

.row1 h4{
    font-size: 20px;
}

/* product page design */
.product-list{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
}


.product-item{
    border: 2px solid  #0DA58A;
    border-radius: 20px;
    background-color: white;
    margin: 10px;
    padding: 10px;
    width: 220px;
    height: auto;
}

.product-item :hover{
    transform: scale(1.3);
}

.product-item img{
    border: 1px solid black;
    border-radius: 20px;
    width: 220px;
    transform: 0.2 ease-in-out;
}

.product-item img:hover{
    border:2px solid blue;
    transform: scale(1.2);
}

.product-item button{
    background-color: gold;
    padding: 15px;
    border-radius: 15px;
    font-size: 20px;
    font-weight: bold;
    transition: ease-in-out;
}

.product-item button:hover{
    background-color: rgb(50, 245, 50);
    border-radius: 20px;
}


/* cart design */
#cartItems{
   display: flex;
   flex-wrap: wrap;
   background-color: black;
   justify-content: center;
}

.cart-items{
    background-color: white;
    border: 2px solid black;
    gap: 20px;
    margin: 20px;
    align-items: center;
    text-align: center;
    border-radius: 10px;
    padding: 15px;
}


.cart-items img{
    width: 200px;
    height: auto;
    border: 2px solid black;
    transform: 0.3 ease-in-out;
    margin-top: 10px;
    border-radius: 20px;
    background-color: #f2f2f2;
}

.cart-items img:hover{
   transform: scale(1.5);
}

.cart-items button{
    background-color: rgb(254, 216, 216);
    padding: 15px;
    border-radius: 15px;
    font-size: 20px;
    font-weight: bold;
    transition: ease-in-out;
}

.cart-items button:hover{
    background-color: red;
    border-radius: 20px;
}

/* search bar */
.search-container{
    margin: 20px;
    padding: 20px;
    display: flex;
    gap: 10px;

}

#productSearch{
    width: 320px;
    height: 40px;
    border-radius: 200px;
    border: 0.5px solid black;
    font-size: 20px;
}

#searchButton{
    width: 100px;
    height: 30px;
    margin: 10px;
    font-weight: bold;
    font-size: 20px;
    border: 2px solid black;
}

/* cart design */
.sort-container{
    padding: 10px;
    background-color: white;
}

.sort-container label{
    font-size: 20px;
    font-weight: bold;
}

#sortOptions{
    width: 100px;
    height: 40px;
    margin: 10px;
    border-radius: 20px;
    border: 2px solid black;
    font-size: 16px;
    text-align: center;
    font-weight: bold;
    
}


#subtotal{
    font-size: 25px;
    font-weight: bold;
    padding: 20px;
}

