@font-face {
  font-family: "RedHatDisplay";
  src: url(../fonts/RedHatDisplay-Medium.ttf);
}
@font-face {
  font-family: "RedHatDisplayBold";
  src: url(../fonts/RedHatDisplay-Bold.ttf);
}
@font-face {
  font-family: "RedHatDisplayBlack";
  src: url(../fonts/RedHatDisplay-Black.ttf);
}
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background: url(../images/pattern-background-desktop.svg);
  background-color: hsl(225, 100%, 98%);
  background-repeat: no-repeat;
  background-size: contain;
  font-family: "RedHatDisplay";
}
@media screen and (max-width: 550px) {
  body {
    background: url(../images/pattern-background-mobile.svg);
    background-repeat: no-repeat;
    background-color: hsl(225, 100%, 98%);
    background-size: cover;
  }
}
body main {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}
body main section {
  background-color: white;
  border-radius: 1rem;
  width: 450px;
}
@media screen and (max-width: 550px) {
  body main section {
    width: 87%;
  }
}
body main section .image {
  width: 100%;
}
body main section .image img {
  width: 100%;
  height: 100%;
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
}
body main section .container {
  padding: 2.2rem;
  text-align: center;
  color: hsl(223, 47%, 23%);
}
body main section .container .texts h2 {
  font-family: "RedHatDisplayBold";
  font-size: 1.7rem;
}
body main section .container .texts p {
  color: hsl(224, 23%, 55%);
  margin: 1rem auto 0;
  font-size: 0.9rem;
  width: 70%;
}
body main section .container .price {
  margin-top: 2.8rem;
  display: grid;
  background-color: hsl(225, 100%, 98%);
  grid-template-columns: repeat(4, auto);
  grid-template-rows: auto auto;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  border-radius: 1rem;
  width: 100%;
}
body main section .container .price svg {
  display: block;
  grid-row: 1/3;
  width: 100%;
  height: 100%;
}
body main section .container .price h5 {
  grid-row: 1/2;
  grid-column: 2/3;
  font-family: "RedHatDisplayBlack";
}
body main section .container .price span {
  grid-row: 2/3;
  grid-column: 2/3;
  font-family: "RedHatDisplayBold";
  color: hsl(224, 23%, 55%);
}
body main section .container .price a {
  display: block;
  grid-row: 1/3;
  grid-column: 4/5;
  color: hsl(245, 75%, 52%);
  font-size: 0.7rem;
}
body main section .container .button {
  width: 90%;
  margin: 4rem auto 0;
}
body main section .container .button a {
  width: 100%;
  display: block;
  text-decoration: none;
  background-color: hsl(245, 75%, 52%);
  color: hsl(225, 100%, 98%);
  cursor: pointer;
  padding: 1rem;
  border-radius: 0.5rem;
  font-family: "RedHatDisplayBlack";
}
body main section .container .button a:hover {
  background-color: #6255e7;
}
body main section .container .cancel {
  margin-top: 1.2rem;
}
body main section .container .cancel a {
  color: hsl(223, 47%, 23%);
  text-decoration: none;
  font-family: "RedHatDisplayBlack";
}/*# sourceMappingURL=style.css.map */