*{
    box-sizing: border-box;
    margin: 0;
    padding: 0; 
}

body{
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    background-color: hsl(30, 38%, 92%);
}

main{
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Layout */

.container{
    overflow: hidden;
    width: 375px;
    max-width: 90%;
    margin: 0 auto;
    background-color: #fff;
    border-radius: 1em;
}

.row{
    display: flex;
    flex-direction: column;   
}

.col{
    width: 100%;
}

img{
    width: 100%;
    height: 100%;
}


/* Product */

.product-img{
    height: 300px;
    object-fit: cover;
}

.product-description{
    margin-top: 0;
    line-height: 1.75em;
    font-size: 1rem;
}

.product-type,
.product-description,
sup{
    color: hsla(228, 12%, 48%, .8);
}

.product-info{
    height: 100%;
    padding: 1.7em 1.5em;
    background-color: hsl(0, 0%, 100%);
}

.product-type{
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 5px;
}

.product-heading{
    font-family: 'Fraunces', serif;
    padding: .3em 0 .5em;
    font-weight: 700;
    color: hsl(212, 21%, 14%);
    font-size: 2rem;
    line-height: 1.1;
}

.new-price{
    font-size: 1.875rem;
    font-family: 'Fraunces', serif;
    font-weight: 700;
    color: hsl(158, 36%, 50%);
    padding: .7em 0 .5em;
}

.new-price sup{
    font-size: 0.85rem;
    text-decoration-line: line-through;
    font-weight: 500;
    font-family: 'Montserrat', sans-serif;
    margin-left: 1.5em;
}

.btn{
    margin-top: .625em;
    display: block;
    font-weight: bold;
    font-size: .85rem;
    padding: 1.25em 0;
    width: 100%;
    border-radius: 10px;
    border: none;
    background-color: hsl(158, 36%, 50%);
    color: #fff;
    cursor: pointer;
}

.btn:hover{
    background-color: hsl(157, 77%, 17%);
}

.cart{
    margin-right: 10px;
    width: 15px;
    height: 15px;
}

.attribution a{ 
    color: hsl(158, 36%, 50%);
}

.attribution a:hover{
    color: hsl(157, 77%, 17%);
}

.attribution{
    color: hsl(212, 21%, 14%); 
    font-size: 0.6875rem; 
    text-align: center; 
}

.attribution a{
    text-decoration: none; 
}


@media (min-width: 600px){

    .container{
        width: 660px;
    }

    .row{
        flex-direction: row;
    }

    .col{
        width: 50%;
    }

    .product-info{
        padding: 1.7em 2em;
    }

    .product-img{
        width: 100%;
        height: 100%;
    }

    .product-heading{
        font-size: 2.5rem;
    }
}