:root {
  /* FONTS */
  --Heading-font: "Fraunces", serif;
  --body-font: "Montserrat", sans-serif;
  --font-Weight1: 400;
  --font-Weight2: 600;
  --font-Weight3: 700;

  /* COLOR PALLET Primary */
  --bg-color1: hsl(158, 36%, 37%);
  --bg-color2: hsl(158, 42%, 18%);

  /* COLOR PALLET Neutral */
  --bg-color3: hsl(212, 21%, 14%);
  --bg-color4: hsl(228, 12%, 48%);
  --bg-color5: hsl(30, 38%, 92%);
  --bg-color6: hsl(0, 0%, 100%);

  /* - White: 



  /* SPACING */

  --spacing-xl: 3.2rem;
  --spacing-l: 2.4rem;
  --spacing-m: 1.6rem;
  --spacing-s: 1.2rem;

  --standard-width: 114.4rem;

  /* media query
  1em = 16px 

  eg 600/16 = 37.5em

  0-600px = phone (0 - 37.5em)
  600-900 = tablet portrait  (37.5em - 56.25em)
  900-1200 = tablet landscape  (56.25em - 75em)
  1200-1800 = normal (as built)  (75em - 112.5em)
  1200- = big laptops  (112.5em - ) */

  --standard-box-shadow: 0px 2px 4rem rgba(0, 0, 0, 0.15);
}

/* reset start */

* {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

*,
*::after,
*::before {
  box-sizing: inherit;
}

body {
  overflow-x: hidden;
}

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}
body {
  line-height: 1;
}
ol,
ul {
  list-style: none;
}
blockquote,
q {
  quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}

html {
  box-sizing: border-box;
  font-size: 62.5%;
}

/* reset end */

body {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-family: var(--body-font);
  background-color: var(--bg-color5);
}

.container {
  width: 80%;
  max-width: 60rem;
  border-radius: 1.2rem;
  height: auto;
  background-color: var(--bg-color6);
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  box-shadow: var(--standard-box-shadow);
}

.container .left {
  background-image: url(../images/image-product-desktop.jpg);
  background-size: cover;
  background-origin: border-box;
  background-position: center;
  box-sizing: border-box;
  width: 50%;
  height: 100%;
  border-top-left-radius: 1.2rem;
  border-bottom-left-radius: 1.2rem;
  overflow: hidden;
}

.container .right {
  width: 50%;
  padding: var(--spacing-l);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
}

.tagWord {
  font-size: 1.2rem;
  letter-spacing: 0.2rem;
  margin: 0 0 var(--spacing-s) 0;
  text-transform: uppercase;
  color: var(--bg-color4);
}

.right h1 {
  font-family: var(--Heading-font);
  font-size: 2.4rem;
  max-width: 18rem;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 var(--spacing-m) 0;
}
.right .ParaText {
  color: var(--bg-color4);
  font-size: 1.4rem;
  line-height: 1.2;
  margin: 0 0 var(--spacing-m) 0;
  max-width: 22rem;
}

.right .price {
  display: flex;
  /* width: 0%; */
  justify-content: space-between;
  align-items: center;
  margin: 0 0 var(--spacing-m) 0;
}

.currentPrice {
  font-family: var(--Heading-font);
  color: var(--bg-color1);
  font-weight: 700;
  font-size: 2.4rem;
  margin: 0 var(--spacing-l) 0 0;
}

.oldPrice {
  text-decoration: line-through;
  color: var(--bg-color4);
  font-weight: 400; /* or 600 */
  font-size: 1.4rem;
}

button {
  width: 100%;
  height: 4.8rem;
  background-color: var(--bg-color1);
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 0.8rem;
  border: none;
  color: var(--bg-color6);
  transition: all 0.3s ease-in;
}
button:hover {
  cursor: pointer;
  background-color: var(--bg-color2);
}
button > img {
  margin: 0 var(--spacing-s) 0 0;
}

/* footer */

.attribution {
  margin: var(--spacing-l) 0 0 0;
  font-size: 11px;
  text-align: center;
}
.attribution a {
  color: var(--bg-color1);
  font-weight: 700;
}

/* media query
  1em = 16px 

  eg 600/16 = 37.5em
27.625
  0-600px = phone (0 - 37.5em)
  600-900 = tablet portrait  (37.5em - 56.25em)
  900-1200 = tablet landscape  (56.25em - 75em)
  1200-1800 = normal (as built)  (75em - 112.5em)
  1200- = big laptops  (112.5em - ) */

@media (max-width: 43.125em) {
  .container {
    width: 90%;
  }
}

@media (max-width: 33.125em) {
  .container .right {
    padding: var(--spacing-m);
  }
}

@media (max-width: 27.625em) {
  .container {
    flex-direction: column;
    max-width: 37rem;
  }

  .container .left {
    background-image: url(../images/image-product-mobile.jpg);
    width: 100%;
    height: 300px;
    border-radius: 1.2rem 1.2rem 0 0;
  }

  .container .right {
    width: 100%;
    padding: var(--spacing-l);
  }

  .right h1 {
    max-width: 25rem;
  }

  .right .ParaText {
    max-width: 29rem;
  }
}
