*
{
    box-sizing: border-box;
    scroll-behavior: smooth;
    margin: 0;
}
body
{
    background-color: hsl(30, 38%, 92%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}
main
{
    background-color: hsl(0, 0%, 100%);
    margin: 0rem 1rem;
    border-radius: 1rem;
    font-family: Montserrat;
    line-height: 1.5rem;
}
img
{
    width: 100%;
    border-top-right-radius: 1rem;
    border-top-left-radius: 1rem;
}
.section1
{
    display: flex;
    flex-direction: column;
    padding: 1.2rem;
    
}
#topic
{
     color: hsl(228, 12%, 48%);
     font-weight: 500;
     font-size: 0.850rem;
     letter-spacing: 0.25rem;
}
h1
{
    font-family: Fraunces;
    font-weight: 700;
    font-size: 2rem;
    line-height: 2rem;
    margin-top: 0.6rem;
}
p
{
    font-weight: 500;
    color: hsl(228, 12%, 48%);
    font-size: 0.91rem;
    padding: 1.25rem 0rem;
}
figure
{
    display: flex;
    gap: 1rem;
    color: hsl(228, 12%, 48%);
    font-size: 0.7rem;
}
#new_price
{
    color: hsl(158, 36%, 37%);
    font-size: 2rem;
    font-weight: 700;
    font-family: Fraunces;
}
button
{
    padding: 0.8rem;
    font-size: 0.875rem;
    background-color: hsl(158, 36%, 37%);
    border-radius: 0.6rem;
    border-style: none;
    color: white;
    font-family: Montserrat;
    font-weight: 700;
    margin-top: 1.2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}
button:hover
{
    background-color: hsl(158, 42%, 18%);
}
.cart
{
    height: 1rem;
    width: 0.9rem;
}

@media screen and (min-width:440px)
{
    body
    {
        max-width: 100vw;
        min-height: 100vh;
    }
    main
    {
        display: grid;
        grid-template-rows: 100%;
        grid-template-columns: 50% 50%;
        border-radius: 0.5rem;
        
    }
    img {
        border-bottom-left-radius: 0.5rem;
        border-top-left-radius: 0.5rem;
        border-top-right-radius: 0;
        height: 100%;
        
    }
    .section1
    {
        padding: 1.4rem; 
    }
}

@media screen and (min-width:590px)
{
    main
    {
        width: 80%;
    }
}

@media screen and (min-width:670px)
{
    main
    {
        width: 75%;
    }
}
@media screen and (min-width:730px)
{
    main
    {
        width: 70%;
    }
}

@media screen and (min-width:760px)
{
    main
    {
        width: 65%;
    }
}

@media screen and (min-width:810px)
{
    main
    {
        width: 60%;
    }
}

@media screen and (min-width:860px)
{
    main
    {
        width: 55%;
    }
}

@media screen and (min-width:920px)
{
    main
    {
        width: 50%;
    }
}

@media screen and (min-width:1060px)
{
    main
    {
        width: 45%;
    }
}

@media screen and (min-width:1160px)
{
    main
    {
        width: 40%;
    }
}

@media screen and (min-width:1385px)
{
    main
    {
        width: 35%;
    }
}
