/* Global Resets and Font Imports */
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@500;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Fraunces:wght@700&display=swap");

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

:root {
  --Dark-cyan: hsl(158, 36%, 37%);
  --Cream: hsl(30, 38%, 92%);
  --Very-dark-blue: hsl(212, 21%, 14%);
  --Dark-grayish-blue: hsl(228, 12%, 48%);
  --White: hsl(0, 0%, 100%);
}



/* Base Styling for Body, Text, and Buttons */
body {
  font-size: 0.875rem;
  font-family: "Montserrat", sans-serif;
  background-color: var(--Cream);
}
p {
  color: var(--Dark-grayish-blue);
  line-height: 1.6;
}
h1 {
  font-family: "Fraunces", serif;
}
button {
  width: 100%;
  background-color: var(--Dark-cyan);
  outline: none;
  border: none;
  border-radius: 0.3125rem;
  padding: 0.625rem;
  color: var(--White);
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
}
.fa-shopping-cart {
  margin-right: 0.625rem;
}




/* Layout and Structural Styling */
img {
  width: 100%;
  border-top-right-radius: 10px;
  border-top-left-radius: 10px;
}
.container {
  width: 90%;
  margin: 30px auto;
}
.content {
  padding: 1.25rem;
  background-color: var(--White);
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}
.content p:nth-child(1) {
  text-transform: uppercase;
  letter-spacing: 5px;
}
.content p:nth-child(1),
.content > h1,
.content p:nth-of-type(2),
.price {
  margin-bottom: 0.625rem;
}
.price {
  display: flex;
  align-items: center;
  gap: 10px;
}
.price h1 {
  color: var(--Dark-cyan);
}
.price p {
  text-decoration: line-through;
}




/* Responsive Styling for Larger Screens */
@media (min-width: 600px) {
  body {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
  }
  .container {
    max-width: 600px;
    display: flex;
  }
  img {
    border-top-right-radius: 0;
    border-bottom-left-radius: 10px;
    width: 50%;
  }
  .content {
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
	border-bottom-left-radius: 0;
  }
}
