@import url('https://fonts.googleapis.com/css2?family=Figtree:ital,wght@0,300..900;1,300..900&family=Hanken+Grotesk:ital,wght@0,100..900;1,100..900&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Work+Sans:ital,wght@0,100..900;1,100..900&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Figtree:ital,wght@0,300..900;1,300..900&family=Fraunces:ital,opsz,wght@0,9..144,100..900;1,9..144,100..900&family=Hanken+Grotesk:ital,wght@0,100..900;1,100..900&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Work+Sans:ital,wght@0,100..900;1,100..900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /*Primary*/
    --dark-cyan: hsl(158, 36%, 37%);
    --cream: hsl(30, 38%, 92%);

    /*Neutral*/
    --very-dark-blue: hsl(212, 21%, 14%);
    --dark-grayish-blue: hsl(228, 12%, 48%);
    --white: hsl(0, 0%, 100%);
}

body {
    width: 100vw;
    height: 100vh;
    background: var(--cream);
    font-size: 16px;
    display: flex;
}

section {
    margin: auto;
    width: 650px;
    height: auto;
    display: flex;
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
}

article {
    margin: 30px;
}

article p {
    font-family: "Montserrat", sans-serif;
    font-weight: 500;
}

article > p {
    color: var(--dark-grayish-blue);
}

article p:first-child {
    letter-spacing: 5px;
}

article h1 {
    margin: 20px 0;
    font-size: 36px;
    font-family: "Fraunces", serif; 
}

article > h1 {
    padding-right: 10px;
}

.price {
    width: 14vw;    
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--dark-cyan);
}

.price h4{
    margin-left: 1.6vw;
    text-decoration: line-through;
}

button {
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--white);
    background-color: var(--dark-cyan);
    width: 270px;
    height: 45px;
    padding: 5px 0;
    border: none;
    border-radius: 7px;
    margin-bottom: 20px;
}

button p {
    margin-left: 13px;
    font-weight: 700;
}

button:hover {
    background-color: var(--very-dark-blue);
}

@media screen and (max-width: 700px) {

    body {margin: 10vh auto; height: auto}

    section {
        width: 90vw;
        height: auto;
        display: flex;
        flex-direction: column;
    }
    section > img {
        width: 90vw;
        content: url('./images/image-product-mobile.jpg');
    }
    article {
        margin: 2vw;
        padding: 3vw;
    }
    .price h4 {
        margin-left: 3vw;
    }
    button {
        width: 80vw;
    }
}