body {
    background-color: #f2ebe3;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

h1 {
    color:  #1c232b;
    font-family: 'Fraunces', serif;
    font-weight: 700;
    line-height: 1;
    margin-top: 1rem; 
}

h3 {
    font-weight: 500;
}

p {
    color: #6c7289;
}

/* Main Card */

.card {
    background-color: white;
    border-radius: 3%;
    display: flex;
    margin: 2rem;
    width: 45%; 
}


/* Left Side of Card */

.product-image-section {
    width: 100%
}

.perfume-img {
    border-radius: 3% 0 0 3%;
    width: 100%;
    height: 100%;
}


/* Right Side of Card */

.container {
    margin: 2rem 0.5rem 2rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
}

.product-description {
    width: 80%
}

#perfume-text {
    margin-top: 0;
    letter-spacing: 0.25rem;   
    font-size: 12px;
}

.product-prices {
    display: flex;
    flex-direction: row;
    align-items: center;    
    margin-bottom: 0.5rem;
}

.discounted-price {
    color: #3c8067;
}

.original-price {
   text-decoration: line-through;
   padding-left: 1rem;
}

/* Button Section */

button {
    align-items: center;
    background-color: #3c8067;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    flex-direction: row;
    font-family: 'Montserrat', sans-serif;
    justify-content: center;  
    width: 90%; 
}

button:hover {
    background-color: #0fce88;
}

.cart-img {
    padding: 1rem;
}

.cart-text {
    color: white;
    font-weight: 700;
    margin-right: 1rem;  
}

/* Footer Section */

.attribution {
    font-size: 11px; 
    text-align: center; 
}

.attribution a { 
    color: hsl(228, 45%, 44%); 
}

/* Media Query */

@media only screen and (max-width: 600px) {
    .card {
        flex-direction: column;
        width: 80vw;
    }

    .perfume-img {
        border-radius: 3% 3% 0 0 ;
    }

    button {
        width: 83%; 
    }
  }
