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

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,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%);
}

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

.container{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: var(--Cream);
    height: 100vh;
    width: 100vw;
}

.card{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    height: 55vh;
    background:white;
    width: 40vw;
    border-radius: 16px;
}

.card img{
    position: relative;
    float: left;
    width: 50%;
    height: 100%;
    border-radius: 16px 0 0 16px;
}

.content{
    padding: 28px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    width: 50%;
    height: 100%;
}

.content h3{
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    color: var(--Dark-grayish-blue);
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 8px;
}

.content h1{
    font-family: 'Fraunces', serif;
    font-size: 38px;
    color: var(--Very-dark-blue);
    font-weight: 700;
}

.content p{
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    color: var(--Dark-grayish-blue);
    line-height: 1.5;
}

.price{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    margin: 12px 0;
}

.price p:nth-child(1){
    font-family: 'Fraunces', serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--Dark-cyan);
    margin-right: 24px;
}

.price p:nth-child(2){
    text-decoration: line-through;
    font-size: 16px;
}

.content span:first-child{
    font-family: 'Montserrat', serif;
    font-size: 42px;
    color: var(--Dark-grayish-blue);
}

.content .btn{
    background-color: var(--Dark-cyan);
    color: var(--White);
    border: none;
    width: 100%;
    height: 48px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    cursor: pointer;
}

.content .btn:hover{
    background-color: var(--Very-dark-blue);
}

.btn img{
    width: 16px;
    height: 16px;
    margin: 8px;
}

@media screen and (max-width: 1200px){
    .card{
        flex-direction: column;
        width: 80vw;
        height: 80vh;
    }
    .card img{
        width: 100%;
        height: 35%;
        border-radius: 16px 16px 0 0;
    }
    .content{
        width: 100%;
        height: 100%;
    }

    .btn{
        width: 50%;
        margin: 0 auto;
    }

    .btn img{
        width: 12px;
        height: 12px;
    }

    
}