* {
  padding: 0px;
  margin: 0px;
  box-sizing: border-box;
  font-family: sans-serif;
}
@font-face {
  src: url(./Red_Hat_Display/RedHatDisplay-Regular.ttf);
  font-family: "redHatDisplay-reg";
}
@font-face {
  src: url(./Red_Hat_Display/RedHatDisplay-Bold.ttf);
  font-family: "redHatDisplay-bold";
}
@font-face {
  src: url(./Red_Hat_Display/RedHatDisplay-Medium.ttf);
  font-family: "redHatDisplay-med";
}
.container {
  width: 100%;
  height: 700px;
  background: hsl(225, 100%, 94%) url(./images/pattern-background-mobile.svg);
  background-position: top;
  background-repeat: no-repeat;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.container,
.block,
.price-block {
  display: flex;
}
.card {
  width: 85%;
  height: 520px;
  border-radius: 10px;
  overflow: hidden;
  background-color: white;
}
#illustration {
  width: 100%;
  height: auto;
}
.block {
  width: 95%;
  height: 370px;
  margin: 0px auto;
  padding: 10px;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}
.header {
  font-family: "redHatDisplay-bold";
  font-size: 5.5vw;
  margin-top: 25px;
}
.paragraph {
  font-family: "redHatDisplay-reg";
  font-size: 3.5vw;
  line-height: 20px;
  text-align: center;
  color: hsl(224, 23%, 55%);

  width: 90%;
  height: 80px;
  padding: 10px;
}
.price-block {
  width: 100%;
  height: 75px;
  border-radius: 10px;
  background: hsl(225, 100%, 98%);
  justify-content: space-around;
  align-items: center;
}

#icon {
  width: 40px;
  height: 40px;
}
.plan {
  font-family: "redHatDisplay-bold";
  font-size: 3.5vw;
}
.price {
  font-family: "redHatDisplay-reg";
  font-size: 3.5vw;
  color: hsl(224, 23%, 55%);
}
.change-link a {
  font-family: "redHatDisplay-bold";
  font-size: 3.5vw;
  color: hsl(245, 75%, 52%);
}
.change-link a:hover {
  color: hsl(224, 23%, 55%);
}
.Payment {
  width: 100%;
  height: 40px;
  border-radius: 10px;
  box-shadow: 0px 20px 20px 0px hsl(225, 100%, 94%);
  background: hsl(245, 75%, 52%);
  outline: none;
  border: none;
  cursor: pointer;
  padding-top:8px;
  text-align:center;
}
.Payment:hover {
  background: hsl(224, 23%, 55%);
}
a {
  font-family: "redHatDisplay-med";
  text-decoration: none;
  color: #ffff;
}
button.cancel {
  font-family: "redHatDisplay-bold";
  font-size: 3.7vw;
  border: none;
  background: transparent;
  color: hsl(224, 23%, 55%);
  margin-top: 10px;
  outline: none;
  cursor: pointer;
}
.cancel:hover {
  color: hsl(245, 75%, 52%);
}
@media (min-width: 380px) {
  .container {
    height:100vh;
    background: hsl(225, 100%, 94%) url(./images/pattern-background-desktop.svg);
    background-position: top;
    background-repeat: no-repeat;
  }
  .card {
    width: 370px;
    height: 580px;
  }

  .header {
    font-size: 1.5rem;
  }
  .paragraph {
    width: 300px;
    font-size: 16px;
    padding: 10px 0px;
  }
  .price-block {
    width: 320px;
  }
  .plan {
    font-size: 1rem;
  }
  .price {
    font-size: 0.9rem;
  }
  .change-link a {
    font-size: 1rem;
  }
  button.Payment {
    width: 320px;
    height: 45px;
  }
  button.cancel {
    font-size: 1rem;
  }
}
