@charset "UTF-8";

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

:root {
    --fonte1: "Montserrat", sans-serif;
    --fonte2: "Fraunces", serif;

    --cor1: hsl(158, 36%, 37%);
    --cor2: hsl(158, 42%, 18%);
    --cor3: hsl(212, 21%, 14%);
    --cor4: hsl(228, 12%, 48%);
    --cor5: hsl(30, 38%, 92%);
    --cor6: hsl(0, 0%, 100%);
}

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

body {
    height: 100vh;
    font-family: var(--fonte1);
    font-size: 16px;
}

main {
    height: 100vh;
    background-color: var(--cor5);

    display: flex;
    flex-flow: column wrap;
    justify-content: center;
    align-items: center;
}

section {
    background-color: var(--cor6);
    height: 616px;
    width: 343px;

    border-radius: 15px;
    overflow: hidden;

    transition: width 0.5s, height 0.5s, img 0.5s;
    transition-timing-function: ease;
}

section img {
    width: 100%;
}

section article {
    padding: 20px;
}

section h1 {
    color: var(--cor4);
    font-weight: 500;
    font-size: 0.9em;
    letter-spacing: 5px;

    margin-bottom: 10px;
}

section p {
    color: var(--cor4);
    margin-bottom: 20px;
    line-height: 1.5em;
}

section h2 {
    margin-bottom: 15px;
    line-height: 1em;
}

h2, .price {
    color: var(--cor3);
    font-family: var(--fonte2);
    font-size: 2.1em;
}

.preço {
    display: flex;
    justify-content: flex-start;
    align-items: center;

    margin-bottom: 15px;
}

.desconto {
    font-family: var(--fonte1);
    text-decoration: line-through;
    font-weight: 400;
    color: var(--cor4);
    font-size: 0.9em;
}

.price {
    color: var(--cor1);
    font-weight: 800;
    margin-right: 25px;
}

.button {
    display: flex;
    justify-content: center;
    align-items: center;


    background-color: var(--cor1);
    color: var(--cor6);
    padding: 13px;
    border-radius: 5px;

    font-size: 0.9em;
    font-weight: 600;
}

.button:hover {
    background-color: var(--cor2);
    cursor: pointer;
}

.material-symbols-outlined {
    font-size: 20px;
    margin-right: 10px;
}