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

body, html {
    padding: 0;
    margin: 0;
    width: 100%;
    height: 100%;
}

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

    font-size: 14px;
    font-family: "Montserrat", sans-serif;
}

main {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 60rem;
    border-radius: 20px;
    background-color: white;
    overflow: hidden;
    height: 70vh;
}

.wrapper {
    width: 50%;
    height: 100%;
}

.wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.info {
    padding: 0rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: stretch;
    width: 50%;
    height: 100%;
}

.tag {
    text-transform: uppercase;
    letter-spacing: 4px;
    color: hsl(228, 12%, 48%);
}

h1 {
    font-family: "Fraunces";
    font-size: 3.5rem;
    line-height: 3rem;

}

p {
    color: hsl(228, 12%, 48%);
    font-size: 1rem;
}

.prices {
    display: flex;
    align-items: center;
}

.sale-price {
    color: hsl(158, 36%, 37%);
    font-weight: 900;
    font-size: 3rem;
    font-family: "Fraunces";
}

.list-price {
    font-weight: 900;
    font-size: 0.7rem;
    color: hsl(228, 12%, 48%);
    font-family: "Fraunces";
    margin-left: 0.5rem;
    font-weight: 400;
    text-decoration: line-through;
}

button {
    padding: 0;
    border: none;
    font: inherit;
    color: inherit;
    background-color: transparent;
    cursor: pointer;
  }

button {
    display: flex;
    align-items: center;
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
    justify-content: center;
    border-radius: 0.3rem;
    height: 3rem;
    color: white;
    background-color: hsl(158, 36%, 37%);
}

button img{
    margin-right: 0.5rem;
}


@media (max-width: 600px) {
    body {
        padding: 1rem;
    }

    main {
        flex-direction: column;
        height: 90vh;
        overflow: hidden;
    }

    .wrapper {
        width: 100%;
        height: 45%;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .info {
        width: 100%;
    }

    h1 {
        font-size: 2rem;
        line-height: 2rem;
    }

    p {
        line-height: 1.5rem;
    }

    .sale-price {
        font-size: 2rem;
    }

  }