@import url('https://fonts.googleapis.com/css2?family=Fraunces:wght@700&family=Montserrat:wght@500;700&display=swap');

:root{
    --Dark-cyan: hsl(158, 36%, 37%);
    --Cream: hsl(30, 38%, 92%);
    --Very-dark-blue: hsl(212, 21%, 14%);
    --Dark-grayish-blue: hsl(228, 12%, 48%);
    --White: hsl(0, 0%, 100%);
}
*{
    box-sizing: border-box;
    margin: 0;
}
body{
    font-family: 'Montserrat', sans-serif;
    background-color: var(--Cream);
    color: var(--Dark-grayish-blue);
}
h1,h2{
    font-family: 'Fraunces', serif;
    color: var(--Very-dark-blue);
    margin: 10px 0;
}
p{
    font-size: 12px;
    line-height: 20px;
}
.container{
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.card{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 80%;
    max-width: 600px;
    border-radius: 10px;
    background-color: var(--White);
    margin-top: 150px;
}
.img-container{
    width: 100%;
}
.img-container img{
    border-radius: 10px 10px 0 0;
    width: 100%;
}
.texts{
    width: 85%;
    margin: 20px 0;
}
.texts>h1{
    font-size: 25px;
}
h4{
    letter-spacing: 4px;
    font-size: 14px;
    font-weight: lighter;
}
.price{
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
    margin: 8px 0;
}
.price h1{
    color: var(--Dark-cyan);
}
button{
    background-color: var(--Dark-cyan);
    color: var(--White);
    border: none;
    width: 100%;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 0;
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
}


@media (min-width: 768px) {
    .card{
        flex-direction: row;
        margin-top: 0;
        height: 439px;
    }
    .img-container img{
        border-radius: 10px 0 0 10px;
    }
    .texts{
        margin: 30px;
    }
    .texts>h1{
        margin: 20px 50px 20px 0;
        font-size: 30px;
    }
    .texts p{
        margin-right: 15px;
        font-size: 14px;
    }
}