@import url(https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,700&display=swap);
@import url(https://fonts.googleapis.com/css2?family=Montserrat:wght@500;700&display=swap);

body {
    background-color: hsl(30, 38%, 92%);
}

.container {
    background-color: white;
    display: flex;
    width: 600px;
    height: 450px;
    margin: 200px auto;
    border-radius: 1rem;
}

#img1 {
    width: 300px;
    height: 450px;
    border-top-left-radius: 1rem;
    border-bottom-left-radius: 1rem;
}

#img12 {
    display: none;
}

.text {
    margin: 20px;
}

#category {
    letter-spacing: 1rem;
    color: hsl(228, 12%, 48%);
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
}

.container h1 {
    color: hsl(212, 21%, 14%);
    font-family: 'Fraunces';
    font-weight: 700;
}

.container p {
    color: hsl(228, 12%, 48%);
    font-family: 'Montserrat';
    font-weight: 500;
}

.price-wrapper {
    display: flex;
    vertical-align: middle;
    height: 60px;
}

#price1 {
    color: hsl(158, 36%, 37%);
    font-family: 'Fraunces';
    font-size: 2.5rem;
    margin: 0 20px 0  0 ;
}

#price2 {
    color: hsl(228, 12%, 48%);
    font-family: 'Montserrat';
    font-weight: 500;
    font-size: 1rem;
    margin: 5px 0;
}

.container button {
    border: none;
    text-align: center;
    color: white;
    background-color: hsl(158, 36%, 37%);
    font-family: 'Montserrat';
    font-weight: 700;
    width: 260px;
    height: 45px;
    border-radius: .5rem;
}

.container button:hover {
    background-color: hsl(157, 37%, 24%);
}

@media (max-width: 375px) {
    #img1 {
        display: none;
    }
    #img12 {
        display: block;
        width: 343px;
        height:240px;
        border-top-left-radius: .5rem;
        border-top-right-radius: .5rem;
    }
    .container {
        width: 343px;
        height: 630px;
        flex-direction: column;
    }
    .container button {
        width: 303px;
    }
}