
body{
    margin: 0;
    padding: 0;
    background-color: hsl(30, 38%, 92%);
    font-family: 'Montserrat', sans-serif;

}

main{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin-inline: auto;
}

.wrapper{
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: hsl(0, 0%, 100%);
    border-radius: 10px;
}

.img-mobile{
    display: none;
}

.img-wrapper > .img-desktop{
    display: block;
    width: 350px;
    height: auto;
    border-radius: 10px 0px 0px 10px;
}

.content-wrapper{
    min-height: 450px;
    max-width: 275px;
    padding: 0px 30px;
}

.content-wrapper p:first-child{
    text-transform: uppercase;
    font-family: 'Montserrat', serif;
    letter-spacing: 8px;
    color: hsl(228, 12%, 48%);
}

.content-wrapper > h1{
    font-family: 'Fraunces', serif;
    padding-inline-end: 30px;
    line-height: 30px;
}

.content-wrapper p:nth-child(3){
    color: hsl(228, 12%, 48%);
    font-weight: 500;
    line-height: 25px;
    padding-inline-end: 30px;
    font-size: 14px;
}

.price-wrapper{
    display: flex;
    align-items: center;
    gap: 20px;
}

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

.price-wrapper > p{
    color: hsl(228, 12%, 48%);
}

.content-wrapper > button{
    margin-block-start: 10px;
    border: none;
    padding: 20px;
    border-radius: 10px;
    width: 100%;
    color: hsl(0, 0%, 100%);
    background-color: hsl(158, 36%, 37%);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 700;
}

.content-wrapper > button:active{
    background-color: hsl(158, 42%, 18%)
}

@media (max-width: 600px){
    .wrapper{
        flex-direction: column;
    }

    .img-wrapper > .img-desktop{
        display: none;
    }

    .img-wrapper > .img-mobile{
        display: block;
        width: 350px;
        height: auto;
        border-radius: 10px 10px 0px 0px;
        padding-bottom: 10px;
    }
    
    .content-wrapper{
        padding: 0;
        max-width: 300px;
    }

    .content-wrapper p:nth-child(3){
        padding-inline-end: 5px;
    }

    .price-wrapper > h1{
        margin-block: 0;
    }
}