
@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');

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

body{
    font-size: 14px;
    display: flex;
    min-height: 100vh;
    background-color: hsl(30, 38%, 92%);
    font-family: "montserrat", sans-serif;
    justify-content: center;
}


*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
   
}
.container article:first-child img{
    border-radius: 0.5rem 0.5rem 0 0;
    margin-bottom: -0.1rem;
  
  
    
}
h1{
    color: hsl(228, 12%, 48%);
    font-size: 0.5rem;
    margin-bottom: 0.5rem;
    letter-spacing: 0.2rem;

}
h2{
    font-family:"Fraunces" ,serif;
    margin-bottom: 1rem;
}
p{
    color: hsl(229, 6%, 66%);
    margin-bottom: 1rem;
    font-size: 0.8rem;
    
}
h3{
    font-family:"Fraunces" ,serif;
    color: hsl(158, 36%, 37%);
    padding-right: 0.5em;
}
h4{
    text-decoration: line-through;
    color: hsl(229, 6%, 66%);
    font-size: 0.5rem;


}
.price{
    
    display: inline-flex;
    align-items: center;
    margin-bottom: 1rem;

    

}

button{
    font-family: inherit;
    background-color: hsl(158, 36%, 37%);
    color: hsl(0, 0%, 100%);
    font-size: 0.8rem;
    border-radius: 0.3rem;
    border: none;
    width: 100%;
    cursor: pointer;
    outline: none;
    transition: 0.3s;
    padding: 0.5rem 2rem;

    display: flex;
    justify-content: center;
    align-items: center;
    
}
button:hover{
    background-color: hsl(158, 42%, 18%)
    ;
}
button img{
    padding-right: 0.5rem;
    height: 1rem;
}
.container{
    display: flex;
    flex-direction: column;
    margin-left: 1.5rem;
    margin-right: 1.5rem;
    align-items: center;
    height: 100dvh;
    padding: 1rem;
    justify-items: center;

    

    

   


}
.details{
  
    background-color: hsl(0, 0%, 100%);
    border-radius: 0 0 0.5rem 0.5rem;
    height: 300px;
    margin-top: -1rem;
    padding:3rem 3rem;
    
   
   


}
@media (min-width: 640px) {
    .container{
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
    .container article:first-child img{
        border-radius: 0.5rem 0 0 0.5rem;
        height: 18rem;
        width: 15rem;
     
        
    }
    .container article:last-child{
        border-radius: 0 0.5rem 0.5rem 0;
        margin-top: -0.155rem;
        height: 18rem;
        width: 15rem;
        padding: 1rem;
        
       
    }
}