* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  font-size: 62.5%;
}
:root {
  --Pale_blue: hsl(225, 100%, 94%);
  --Bright_blue: hsl(245, 75%, 52%);
  --Very_pale_blue: hsl(225, 100%, 98%);
  --Desaturated_blue: hsl(224, 23%, 55%);
  --Dark_blue: hsl(223, 47%, 23%);
  --white: #fff;
}
body {
  min-height: 100vh;
  display: flex;
  font-size: clamp(1.3rem, 3.7vw, 1.6rem);
  font-family: "Red Hat Display", sans-serif;
  justify-content: center;
  align-items: center;
  background: url(images/pattern-background-mobile.svg), var(--Pale_blue);
  background-repeat: no-repeat;
  background-size: contain;
  text-align: center;
  padding: 0 1rem;
}
.container {
  width: clamp(30rem, 85vw, 33rem);
  background-color: var(--white);
  border-radius: 2rem;
  overflow: hidden;
}
.text-container {
  padding: 3rem 10%;
}
.main-image {
  width: 100%;
  height: auto;
  display: block;
}
.heading {
  font-size: 1.4em;
  font-weight: 900;
  color: var(--Dark_blue);
}
.content {
  color: var(--Desaturated_blue);
  padding: 2rem 0;
  font-weight: 500;
  line-height: 2.3rem;
  font-size: 1em;
}
.price-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 1rem;
  border-radius: 1rem;
  background-color: var(--Very_pale_blue);
}
.left-side {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.price {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  margin-inline-start: 1em;
}

.price span:first-child {
  font-weight: 900;
  color: var(--Dark_blue);
  font-size: 1em;
}
.price span:last-child {
  font-size: 0.9em;
  font-weight: 500;
  color: var(--Desaturated_blue);
}
.price-container a {
  font-size: 0.9em;
  font-weight: 700;
  color: var(--Bright_blue);
}
.price-container a:hover {
  color: var(--Desaturated_blue);
  text-decoration: none;
}
.button {
  width: 100%;
  padding: 1.6rem 0;
  border: none;
  background-color: var(--Bright_blue);
  color: var(--Very_pale_blue);
  font-weight: 700;
  margin-block: 2.5rem;
  border-radius: 1rem;
  box-shadow: 0 10px 10px 5px var(--Pale_blue);
  cursor: pointer;
}
.button:hover {
  background-color: var(--Desaturated_blue);
}
.cancel {
  font-weight: 700;
  font-size: 0.9em;
  color: var(--Desaturated_blue);
  cursor: pointer;
}
@media only screen and (min-width: 25em) {
  .container {
    width: 100%;
    max-width: 36rem;
  }
  body {
    background: url(images/pattern-background-desktop.svg) var(--Pale_blue);
    background-repeat: no-repeat;
    background-size: contain;
  }
}
