:root {
    --green500: hsl(158, 36%, 37%);
    --green700: hsl(158, 42%, 18%);
    --black: hsl(212, 21%, 14%);
    --grey: hsl(228, 12%, 48%);
    --cream: hsl(30, 38%, 92%);
    --white: hsl(0, 0%, 100%);
}

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

body {
    background: var(--cream);
    font-family: "Montserrat", sans-serif;
    display: grid;
    place-items: center;
    height: 100vh;
}

main {
    max-width: 370px;
    background: var(--white);
    border-radius: 20px 20px 20px 20px;
}

.mobile-img {
    max-width: 100%;
    object-fit: cover;
    border-radius: 20px 20px 0 0;
}

.desktop-img{
    display: none;
}

.link{
    display: block;
    text-align: center;
    padding: 1em 4em;
    background: var(--green500);
    color: var(--white);
    text-decoration: none;
    font-weight: 700;
    border-radius: 10px;
    /* margin: 0 2em; */
}

.link:hover{
    background: var(--green700);
}

.product-deets{
    padding: 2em 2em;
}

h4{
    letter-spacing: 7px;
    font-weight: 300;
}

h1{
    font-family: "Fraunces", serif;
    font-size: 2.4rem;
    padding: 0.3em 0;
}

.price{
    font-family: "Fraunces", serif;
    display: flex;
}

.price h2{
    font-size: 3rem;
    padding: 0.3em 0;
    color: var(--green500);
}

.price s{
    position: relative;
    top: 30px;
    padding: 0 0 0 10px;
}

@media only screen and (min-width: 1000px) {
  main {
    display: flex;
    max-width: 700px;
  }

  .mobile-img{
    display: none;
  }

  .desktop-img{
    display: block;
    width: 100%;
    max-width: 350px;
    border-radius: 20px 0 0 20px;
  }

  .product-deets{
    width: 50%;
  }

  h1{
    font-size: 2.6em;
  }

  .product-deets p{
    line-height: 1.8;
  }
}