@import url("https://fonts.googleapis.com/css2?family=Noto+Sans:wght@500;600&display=swap");
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body {
  background: #f5f5f5;
  font-family: "Noto Sans", sans-serif;
}

.icon {
  display: flex;
  align-items: flex-start;
}
.icon svg {
  width: 2.188rem;
  margin-left: -0.188em;
}

h1 {
  font-size: 2.35rem;
  padding-bottom: 2rem;
  text-align: center;
}

section {
  display: grid;
  place-content: center;
  place-items: center;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 4rem clamp(1rem, 5%, 3rem);
}
section > span {
  display: inline-block;
  margin-bottom: 0.938em;
  text-transform: uppercase;
  letter-spacing: 0.12rem;
  font-size: 0.8rem;
  background: #ffbb7b;
  color: #5c0404;
  font-weight: bold;
  padding: 10px 30px;
  border-radius: 50px;
}

.cards {
  margin-top: 3em;
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
  justify-content: center;
}

.card {
  width: 17.5rem;
  cursor: pointer;
}
.card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: end;
  gap: 0.5rem;
}
.card__outer {
  background: #ebecee;
  position: relative;
  height: 23.438rem;
  border-radius: 0.625rem;
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
  transition: 0.3s ease-in-out;
}
.card__outer a {
  display: flex;
  align-items: center;
  text-decoration: none;
  text-transform: capitalize;
  font-weight: bold;
}
.card__outer a svg {
  margin-left: 0.375em;
  width: 1.125rem;
}
.card__inner {
  background: #fff;
  position: absolute;
  bottom: 3.75rem;
  right: 1.25rem;
  width: 100%;
  height: 90%;
  border-radius: 0.625rem;
  padding: 1.875rem 2.188rem;
  display: flex;
  flex-direction: column;
}
.card__inner .title {
  text-transform: capitalize;
  font-weight: bold;
  font-size: 1rem;
  display: inline-block;
  margin-top: 0.313em;
  margin-bottom: 0.938em;
}
.card__inner .price {
  position: relative;
  display: inline-flex;
  align-items: flex-start;
}
.card__inner .price--number {
  font-size: 3rem;
  font-weight: 600;
}
.card__inner .price--number:after {
  position: absolute;
  content: "";
  left: 0;
  bottom: -1.563rem;
  display: block;
  color: red;
  background: #f5f5f5;
  height: 0.125rem;
  width: 100%;
}
.card__inner .price--dolar {
  font-size: 1.1rem;
  margin-top: 0.625em;
  font-weight: 500;
}

.card.active .card__outer a {
  color: #fff;
}

.card:nth-child(1).active .card__inner svg {
  color: #6824d6;
}
.card:nth-child(1).active .card__outer {
  background: #6824d6;
  box-shadow: 5px 18px 13px hsla(263, 71%, 49%, 0.43);
}
.card:nth-child(2).active .card__inner svg {
  color: #4ccda7;
}
.card:nth-child(2).active .card__outer {
  background: #4ccda7;
  box-shadow: 5px 18px 13px hsla(162, 56%, 55%, 0.43);
}
.card:nth-child(3).active .card__inner svg {
  color: #e61;
}
.card:nth-child(3).active .card__outer {
  background: #e61;
  box-shadow: 5px 18px 13px hsla(23, 87%, 49%, 0.43);
}
.card:nth-child(4).active .card__inner svg {
  color: #fe3258;
}
.card:nth-child(4).active .card__outer {
  background: #fe3258;
  box-shadow: 5px 18px 13px hsla(349, 99%, 60%, 0.43);
}
.card--purple .card__inner svg,
.card--purple .card__inner .title,
.card--purple .card__outer a {
  color: #6824d6;
}
.card--red .card__inner svg,
.card--red .card__inner .title,
.card--red .card__outer a {
  color: #fe3258;
}
.card--orange .card__inner svg,
.card--orange .card__inner .title,
.card--orange .card__outer a {
  color: #e61;
}
.card--green .card__inner svg,
.card--green .card__inner .title,
.card--green .card__outer a {
  color: #4ccda7;
}

/*# sourceMappingURL=rates.css.map */
