:root {
  /* Colors */
  /* Primary */
  --paleBlue: hsl(225, 100%, 94%);
  --brightBlue: hsl(245, 75%, 52%);
  /* Neutral */
  --veryPaleBlue: hsl(225, 100%, 98%);
  --desaturatedBlue: hsl(224, 23%, 55%);
  --darkBlue: hsl(223, 47%, 23%);
}

body {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: "Red Hat Display", sans-serif;
  font-size: 16px;
  background-color: var(--paleBlue);
  background-image: url("images/pattern-background-mobile.svg");
  background-repeat: no-repeat;
  background-size: contain;
}
.content {
  background-color: white;
  max-width: 345px;
  text-align: center;
  margin: auto;
  border-radius: 1em;
  position: relative;
  top: 50vh;
  transform: translateY(-50%);
}
.content > div {
  padding: 1.5em;
}
.img-hero {
  width: 100%;
  border-top-left-radius: 1em;
  border-top-right-radius: 1em;
}
p ~ div {
  background-color: var(--veryPaleBlue);
  border-radius: 0.5em;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1em;
}
p {
  margin: 0;
}
span {
  border-radius: 50%;
}
a {
  color: var(--brightBlue);
}
button {
  width: 100%;
  background-color: var(--brightBlue);
  border-radius: 0.5em;
  padding: 1em;
  margin: 1.5em 0;
  color: white;
  box-shadow: 0 20px 20px var(--paleBlue);
  border: none;
  font-weight: bolder;
}
.cancel {
  font-weight: bolder;
}
a:hover,
button:hover,
.cancel:hover {
  cursor: pointer;
}
a:hover {
  text-decoration: none;
}
button:hover {
  background-color: purple;
  box-shadow: 0 20px 20px var(--paleBlue);
}
.attribution {
  font-size: 11px;
  text-align: center;
  padding: 1em 0;
}
.attribution a {
  color: hsl(228, 45%, 44%);
}
@media screen and (min-width: 475px) {
  body {
    background-image: url("images/pattern-background-desktop.svg");
  }
}
