* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: hsl(23, 48%, 89%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.product-image img {
    width: 100%;
    height: 19rem;
    border-radius: 8px 8px 0px 0px;
}

.card {
    display: flex;
    flex-direction: column;
    height: auto;
    border-radius: 10px;
    box-shadow: 0px 10px 20px hsl(0, 0%, 0%, 0.2);
    margin: 2em auto;
    width: 21em;
    background-color: white;
    padding-bottom: 1.5em;
}

.product-info {
    padding: 0px;
    font-family: 'Montserrat', sans-serif;
    display: flex;
    flex-direction: column;
    
}

h2 {
    color: hsl(228, 12%, 48%);
    font-size: .9em;
    letter-spacing: 5px;
    margin: 1.5em 1.5em 1.5em 1.5em;
    font-weight: 500;
    text-transform: uppercase;
}

h3 {
    color: black;
    font-size: 1.7em;
    margin: 0 2em 0.5em .8em;
    font-weight: 900;
    line-height: 1.2em;
     font-family: 'Fraunces';
}

.product-description p {
    color: hsl(228, 12%, 48%);
    font-size: 0.9em;
    margin: 0 2.4em 1.5em 1.5em;
    line-height: 1.5em;
    font-weight: 500;
}

.price {
    display: flex;
    flex-direction: row;
    margin-bottom: 1.5em;
}

new-price {
    color: hsl(158, 36%, 37%);
    font-size: 1.5em;
    font-weight: 900;
    margin: 0 0.5em 0.5em 1em;
    font-family: 'Fraunces', serif;
}

old-price {
    color: hsl(228, 12%, 48%);
    font-size: 0.9em;
    margin: 0.5em 0em 0.5em 0;
    text-decoration: line-through;
}

button {
    background-color: hsl(158, 36%, 37%);
    color: white;
    border: none;
    border-radius: 5px;
    width: 18em;
    height: 3em;
    margin: 0 auto;
    font-size: 1em;
    font-weight: 700;
    letter-spacing: 2px;
    box-shadow: 0px 5px 10px hsl(158, 36%, 37%, 0.4);
    cursor: pointer;
}
button img {
    margin-right: 1em;
}

@media screen and (min-width:600px) {
    .card {
        flex-direction: row;
        width: 40em;
        height: auto;
        padding: 0;
    }
    .product-image img {
        width: 100%;
        height: 100%;
        border-radius: 10px 0px 0px 10px;
    }
    .product-info {
        padding: 1em;
        width: 100%;
    }


}

