:root {
  font-size: 16px;
}

body {
  font-family: 'Red Hat Display', sans-serif;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  padding: 1rem;
  min-height: calc(100vh - 2rem);
  background: url(../images/pattern-background-desktop.svg), hsl(225, 100%, 94%);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: top;
}

main {
  max-width: 375px;
  background-color: #fff;
  border-radius: 1rem;
  box-shadow: 0 20px 25px 0px hsl(245, 75%, 52%, .1);
}

img {
  max-width: 100%;
  border-radius: 1rem 1rem 0 0;
}

.container {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

h1 {
  font-size: 1.5rem;
  text-align: center;
  font-weight: 900;
  color: hsl(223, 47%, 23%);
}

p {
  line-height: 1.5rem;
  text-align: center;
  color: hsl(224, 23%, 55%);
}

.plan-info {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  align-items: center;
  width: calc(100% - 2.5rem);
  justify-content: space-between;
  padding: 1.25rem;
  background-color: hsl(225, 100%, 94%, .25);
  border-radius: .75rem;
}

.plan-copy {
  margin-right: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.plan-type {
  font-weight: 900;
  color: hsl(223, 47%, 23%);
  text-align: left;
}

.body-link {
  color: hsl(245, 75%, 52%);
  font-weight: 700;
}

.body-link:hover {
  color: hsl(245, 75%, 72%);
  text-decoration: none;
}

.btn {
  padding: 1rem;
  background-color: hsl(245, 75%, 52%);
  text-decoration: none;
  color: #fff;
  border-radius: .75rem;
  width: calc(100% - 2.5rem);
  text-align: center;
  font-weight: 700;
  box-shadow: 0 15px 15px 0px hsl(245, 75%, 52%, .2);
  margin-top: 1rem;
}

.btn:hover {
  background-color: hsl(245, 75%, 65%);
}

.cancel-link {
  text-decoration: none;
  color: hsl(224, 23%, 55%);
  font-weight: 900;
  margin-top: 1rem;
}

.cancel-link:hover {
  color: hsl(223, 47%, 23%);
}

footer {
  text-align: center;
  line-height: 1.5rem;
}

footer a {
  color: hsl(245, 75%, 52%);
  font-weight: 700;
}
