@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700&display=swap");
:root {
  --primary: #8f00ff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-family: "Poppins", sans-serif;
}
.input_container{
    display: flex;
    justify-content: center;
    width: 600px;
    margin: 10px auto;
    padding-right: 25px;

}
.input_container input{
    width: 100%;
    padding-left: 40px;
    height: 35px;
}
.product_container{
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
}
.product_card{
    box-shadow: 0px 7px 32px rgba(0, 0, 0, 0.25);
    width: 600px;
    min-height: 150px;
    border-radius: 5px;
    display: flex;
}
.product_content{
    flex: 5;
}
.img_container{
    border-right: 1px solid black;
    flex: 1;
    padding: 10px 30px;
    
}
.img_container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
/* Product Content Style */

.product_content h2{
    font-size: 16px;
    font-weight: 500;
    padding: 10px 20px;

}
.product_content p {
    font-size: 12px;
    font-weight: 400;
    opacity: 0.8;
    display: flex;
    flex-direction: column;
}
.product_content button{
    font-size: 20px;
    background-color: var(--primary);
    border: none;
    color: white;
    padding: 5px 20px;
    margin-top: 10px;
    align-self: self-end;
}
.search_icon{
    position: relative;
    left: 35px;
    margin-left: -35px;
    padding-left:40px ;
    display: grid;
    place-items: center;
}
@media (max-width:630px){
    .product_card{
        width: 90%;
        
    }
    .input_container{
        display: flex;
        justify-content: center;
        width: 90%;
        margin: auto;
}
}
@media (max-width:430px){
    .product_card{
        
        flex-direction: column;
    }
    .product_content button{
        align-self: stretch;
        
    }
}