 /*Green 500: hsl(158, 36%, 37%)
- Green 700: hsl(158, 42%, 18%)

### Neutral
- Black: hsl(212, 21%, 14%)
- Grey: hsl(228, 12%, 48%)
- Cream: hsl(30, 38%, 92%)
- White: hsl(0, 0%, 100%)
## Typography

### Body Copy

- Font size (paragraph): 14px

### Font

- Family: [Montserrat](https://fonts.google.com/specimen/Montserrat)
- Weights: 500, 700

- Family: [Fraunces](https://fonts.google.com/specimen/Fraunces)
- Weights: 700

> 💎 [Upgrade to Pro](https://www.frontendmentor.io/pro?ref=style-guide) for design file access to see all design details and get hands-on experience using a professional workflow with tools like Figma.
*/

@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: 0;
    padding: 0;
    box-sizing: border-box;
}

img{
    max-width: 100%;
    height: auto;
}

body{
    font-size: 14px;
    font-family: 'Montserrat', sans-serif;  
background-color:  hsl(30, 38%, 92%);
display:flex;
flex-direction: column;
align-items: center;
justify-content: center;
min-height: calc(100vh - 0.1px);
margin: 0 1.5rem;
}

h1{
    color:  hsl(212, 21%, 14%);
}

.price{
    color: hsl(158, 36%, 37%);
}
h1,
.price{
    font-family: 'Fraunces', serif;
    font-weight: 700;
}

h2{
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 500;
    color:hsl(228, 12%, 48%);
    letter-spacing: 0.2rem;

    margin-bottom: 1rem;
}

p{
    color: hsl(228, 12%, 48%);
    line-height: 1.8rem;
}
.container h1{
    margin-bottom: 1rem;
    font-size: 2rem;
}

.container{
    max-width: 700px;
}

.container article:first-child img{
border-radius: 1rem 1rem 0 0;
}
.container .white{
    background-color: white;
    padding: 2rem;
    border-radius:0 0 1rem 1rem;
    margin-top: -0rem;

   
}

.container p{
    margin-bottom: 1.5rem;
}
.container ul{
    display: flex;
  
    margin-bottom: 2rem;
    align-items: center;
}

.container ul li:first-child{
    margin-right: 1.5rem;
    font-size: 2rem;

}

.container ul li:last-child{
    color:hsl(228, 12%, 48%);

}

.btn, li {
    font-family: inherit;
}


ul{
    list-style: none;
    
}
.btn{
    background-color: hsl(158, 36%, 37%);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 700;
    text-decoration: none;
    transition: background-color 0.3s ease-in-out;
    outline: none;
    cursor: pointer;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width:100%;
    font-size: 1rem;
}

.btn img{
    margin-right: 1rem;

}

.btn:hover{ 
    background-color: hsl(158, 42%, 18%);
}
.attribution { 
    font-size: 14px;
     text-align: center; 
     margin-top: 2rem;
     justify-content: center;
    
    }

     .attribution a { 
        color: hsl(228, 45%, 44%);
     }

@media (min-width: 640px){
.container{
    display:grid;
    grid-template-columns: repeat(2, 1fr);
}

.container article:first-child img{
    border-radius: 0.625rem 0 0 0.625rem;
    width: 100%;
}
.container article:last-child{
    border-radius: 0 0.625rem 0.625rem 0;
    margin-top: 0;
}

.attribution{
    position:absolute;
    bottom: 0;
    left: 30%;
    right: 30%;
    top: 90%;
    
}
picture img{
    height:100%;
}
}
    
