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

body {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: hsl(30, 38%, 92%);
}

#card {
    display: flex;
    height: 27rem;
    width: 36.5rem;

}

img {
    max-width: auto;
    max-height: 100%;
    display: block;
    object-fit: cover;
    border-radius: 10px 0 0 10px;

}

#info {
    background-color: hsl(0, 0%, 100%);
    padding: 1.8rem;
    border-radius: 0px 10px 10px 0;
}

h3 {
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
    color: hsl(228, 12%, 48%);
    font-size: 0.8rem;
}

h1 {
    margin: 1rem 0;
    padding-right: 1rem;
    font-family: "Fraunces", serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
    font-variation-settings:
        "SOFT" 0,
        "WONK" 0;
    line-height: 1.95rem;
    color: hsl(212, 21%, 14%);
}

p {
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
    color: hsl(228, 12%, 48%);
    font-size: 14px;
    line-height: 1.35rem;
}

#price {
    margin: 1.6rem 0;
    display: flex;
    align-items: center;
}

#new {
    font-family: "Fraunces", serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
    font-variation-settings:
        "SOFT" 0,
        "WONK" 0;
    font-size: 32px;
    color: hsl(158, 36%, 37%);
}

#old {
    padding-left: 0.9rem;
    color: hsl(228, 12%, 48%);
    text-decoration: line-through;
    font-size: 13.9px;
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
}

button {
    display: flex;
    margin-top: 0.5rem;
    width: 100%;
    height: 3rem;
    justify-content: center;
    align-items: center;
    border: none;
    background-color: hsl(158, 36%, 37%);
    color: hsl(0, 0%, 100%);
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
    border-radius: 8px;
    text-align: center;
}

.material-symbols-outlined {
    font-size: 17px;
    padding-right: 0.5rem;
}

button:hover {
    cursor: pointer;
    background-color: hsl(158, 42%, 18%);
}

@media(max-width: 770px) {

    body {
        display: flex;
        justify-content: center;
        align-items: center;
        margin-bottom: 8rem;
        height: 100vh;

    }
    #card {
        margin: 0 1.1rem;
        display: flex;
        flex-direction: column;
    }
    img {

        width: 100%;
        border-radius: 10px 10px 0 0;
    }

    #info {
        border-radius: 0 0 10px 10px;
    }

    h1 {
        font-size: 1.92rem;
    }

    p {
        font-size: 0.84rem;
    }


}