* {
  margin: 0;
  padding: 0;
}

body {
  background-color: hsl(225, 100%, 94%);
  background-image: url("../images/pattern-background-desktop.svg");
  background-repeat: no-repeat;
  background-size: contain;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.container {
  background-color: hsl(0, 0%, 100%);
  width: 27vw;
  max-width: 400px;
  min-width: 380px;
  text-align: center;
  border-radius: 20px;
  padding-bottom: 10px;
}

#man {
  width: 100%;
  border-radius: 20px 20px 0 0;
}

.content {
  padding: 0 40px 25px 40px;

  font-family: "Red Hat Display", sans-serif;
  font-weight: 500;
  color: hsl(224, 23%, 55%);
}

.content h2 {
  color: hsl(223, 47%, 23%);
  font-weight: 900;
  margin: 20px 0;
}

.plan {
  background-color: hsl(225, 100%, 98%);
  padding: 15px;
  margin: 20px 0 25px 0;
  border-radius: 10px;
  display: flex;
  align-items: center;
}

.money-year {
  margin-left: 1em;
  text-align: left;
}

.bold {
  display: inline-block;
  font-weight: 900;
  color: hsl(223, 47%, 23%);
  width: 100%;
}

.plan a {
  color: hsl(245, 75%, 52%);
  font-weight: 900;
}
.plan a:hover {
  color: hsl(245, 83%, 68%);
  text-decoration: none;
}

button {
  width: 100%;
  padding: 15px;
  border: none;
  border-radius: 10px;
  background-color: hsl(245, 75%, 52%);
  color: hsl(0, 0%, 100%);
  margin-bottom: 20px;
  font-family: "Red Hat Display", sans-serif;
  font-size: clamp(1em, 1.2vw, 1.1em);
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0px 10px 25px hsla(245, 83%, 68%, 0.6);
}

button:hover {
  background-color: hsl(245, 83%, 68%);
}

.cancel {
  color: hsl(224, 23%, 55%);
  font-weight: 900;
  text-decoration: none;
}

.cancel:hover {
  color: hsl(223, 47%, 23%);
}

@media (max-width: 1024px) {
  .container {
    width: 40vw;
  }
}

@media (max-width: 480px) {
  body {
    background-image: url("../images/pattern-background-mobile.svg");
  }
}

@media (max-width: 390px) {
  .container{
    scale: .8;
  }
}
