* {
    box-sizing: border-box;
}
body{
    margin: 0;
    padding:0;
    background-color: hsl(30, 38%, 92%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}
.box{
    min-width: 150px;
    min-height: 250px;
    width: 60%;
    background-color: white;
    border-radius: 1rem;
    overflow: hidden;
    font-size: 1rem;
    display: flex;
    flex-direction: column;
}
.img{
    width: 100%;
    display: block;
}
button{
    display: block;
    margin: 1rem auto 0 auto;
    width: 70%;
    padding: 1rem;
    color: white;
    font-size: 0.8rem;
    font-weight: bolder;
    background-color: hsl(158, 36%, 37%);
    border: none;
    border-radius: 1rem;
}
.sec2{
    padding: 1rem;
}
h1:first-of-type{
    color:black;
    font-weight:bolder;
    font-size: 2rem;
}
p{
    font-size: 1.2rem;
}
p,h3{
    color: hsl(228, 12%, 48%);
    font-weight: bold;
}
s{
    color: hsl(228, 12%, 48%);
    font-size: 1rem;
}
.price{
    font-size: 2.5rem;
    color: hsl(158, 36%, 37%);
}
@media(min-width:750px){
    .box{
        width: 40%;
        background-color: white;
        border-radius: 1rem;
        overflow: hidden;
        font-size: 1rem;
        display: flex;
        flex-direction: row;
    }
    .img{
        width: 100%;
        height: 100%;
        overflow: hidden;
        object-fit: cover;
    }
}