@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,100..900;1,9..144,100..900&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

* {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
}

body {
    background-color: rgb(253, 247, 239);
    height: 98vh;
    width: 98vw;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-flow: row nowrap;
}

main {
    height: 640px;
    width: 350px;
    box-shadow: 2px 2px 10px rgba(121, 121, 121, 0.075);
    background-color: white;
    border-radius: 10px;
}

div.imagem {
    background-image: url("../images/image-product-mobile.jpg");
    height: 250px;
    background-position: center center;
    background-size: cover;
    border-radius: 10px 10px 0px 0px;
}

section {
    padding: 10px;
    margin: 10px;
    font-weight: normal;
}

section > p#perfume {
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 10px;
    letter-spacing: 5px;
    font-size: 14px;
    color: hsl(228, 12%, 48%);
}

section > h1 {
    font-family: 'Fraunces', serif;
    font-weight: 700;
    font-size: 1.8em;
    margin-bottom: 15px;
    color: hsl(212, 21%, 14%);
}

section > p#texto {
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    text-align: left;
    line-height: 1.5em;
    color: hsl(228, 12%, 48%);
}

div#compras {
    padding: 10px;
    margin: 10px;
    display: flex;
    flex-flow: row nowrap;
    justify-content: flex-start;
    font-family: 'Fraunces', serif;
    font-weight: 700;
  
}

div p#dinheiro {
    font-size: 2em;
    align-content: flex-start;
    flex-basis: 140px;
    color: hsl(158, 36%, 37%);

}

div p#excluido {
    font-size: 0.8em;
    text-decoration: line-through;
    align-content: center;
    flex-basis: 130px;
    font-weight: 500;
    color: hsl(228, 12%, 48%);
}

form {
    background-color: hsl(158, 36%, 37%);
    color: white;
    font-family: 'Montserrat', sans-serif;
    text-align: center;
    border-radius: 10px;
    width: 300px;
    height: 50px;
    margin-left: 20px;
    margin-right: 20px;
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    align-items: center;
}

form > div > input {
    background-color: hsl(158, 36%, 37%);
    color: white;
    align-content: center;
    border: 0px;
    font-weight: 700;
    transform: translateY(-7px);
    margin-left: 5px;
}