/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

body {
    background-color: hsl(30, 38%, 92%); /* Cream */

    min-height: 100vh;

    display: flex;
    justify-content: center;
    align-items: center;
}

main {
    width: 350px;

    border-radius: 10px;

    background-color: hsl(0, 0%, 100%);

    display: flex;
    flex-direction: column;
}

#img-pr-mobile {
    width: 100%;
    border-radius: 10px 10px 0 0;
}

#img-pr-desktop {
    width: 50%;
    border-radius: 10px 0 0 10px;

    display: none;
}

#perfume {
    font-family: 'Montserrat';
    font-weight: 600;
    font-size: 12px;

    color: hsl(228, 12%, 48%);

    letter-spacing: 3.5px;

    margin: 25px 0 15px 25px;
}

#perfume-name {
    font-family: 'Fraunces';
    font-size: 32px;

    max-width: 80%;

    margin-left: 25px;
}

#perfume-description {
    font-family: 'Montserrat';
    font-weight: 500;
    font-size: 14px;

    color: hsl(228, 12%, 48%);

    max-width: 84%;
    margin: 20px 0 30px 25px;

    line-height: 1.5;
}

#perfume-price {
    display: flex;
}

#perfume-price #discounted-price {
    display: inline-block;

    font-family: 'Fraunces';
    font-weight: 700;
    font-size: 36px;

    margin: 0 15px 0 25px;

    color: hsl(158, 36%, 37%);
}
#perfume-price #actual-price {
    display: inline-block;

    font-family: 'Montserrat';
    font-weight: 500;
    font-size: 14px;

    align-self: center;

    text-decoration: line-through;

    line-height: 0.5;

    color: hsl(228, 12%, 48%);
}
@media (max-width: 250px) {
    #perfume-price {
        flex-direction: column;
    }

    #perfume-price #actual-price {
        align-self: flex-start;
        
        margin: 10px 0 0 25px;
    }
}

#btn {
    text-align: center;
}
#btn #add_to_cart {
    width: 85%;
    height: 50px;

    font-family: 'Montserrat';
    font-weight: 700;
    font-size: 14px;

    border-radius: 10px;

    border: none;

    color: hsl(0, 0%, 100%);
    background-color: hsl(158, 36%, 37%);

    margin: 20px 0 20px 0;

    transition: all 0.25s;
}
#btn #add_to_cart:hover {
    background-color: #023020;
}
#btn #content {
    display: inline-block;
}
#add_to_cart img {
    margin-right: 7.5px;
}

@media (min-width: 720px) {
    main {
        flex-direction: row;

        width: 560px;
    }

    #img-pr-mobile {
        display: none;
    }
    #img-pr-desktop {
        display: block;
    }
}