@font-face {
  font-family: "Red Hat Display";
  src: url("./fonts/RedHatDisplay-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: "Red Hat Display";
  src: url("./fonts/RedHatDisplay-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: "Red Hat Display";
  src: url("./fonts/RedHatDisplay-Black.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
}


* {
  box-sizing: border-box;
}

body{
  margin: 0;
  padding: 0;
  font-family: 'Red Hat Display', sans-serif; 
  background-color: hsl(225, 100%, 94%);
  background-image: url("./images/pattern-background-desktop.svg");
  background-repeat: no-repeat;
  background-position: top center;
  background-size: 100% auto;
}

@media (max-width: 375px){
  body{
    background-image: url("./images/pattern-background-mobile.svg");
  }
}


.container{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 24px 0;
}

.illustration{
  width: 100%;
  max-width: 350px;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px
}

.content{
  background-color: white;
  width: 100%;
  max-width: 350px;
  border-bottom-left-radius: 15px;
  border-bottom-right-radius: 15px;
  box-shadow: 0px 15px 25px rgba(0, 0, 0, 0.1);
  padding: 30px;
}

.content h1{
  text-align: center;
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 15px;
  font-size: 24px;
  color: hsl(223, 47%, 23%);
}

.content .description{
  margin-top: 0;
  margin-bottom: 25px;
  color: hsl(224, 23%, 55%);
  line-height: 1.5;
}

.plan-details{
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: hsl(225, 100%, 98%);
  padding: 15px;
  border-radius: 10px;
  margin-bottom: 25px;
}

.plan-left{
  display: flex;
  align-items: center;
  gap: 10px;
}

.plan-info{
  line-height: 1.5;
}

.plan-info p{
  margin: 0;
}

.plan-info .plan-name {
  font-weight: bold;
  color: hsl(223, 47%, 23%);
}

.plan-info .plan-price {
  color: hsl(224, 23%, 55%);
}

.change-link {
  color: hsl(245, 75%, 52%);
  font-weight: bold;
  text-decoration: none;
  font-size: 14px;
}

.change-link:hover {
  text-decoration: underline;
  cursor: pointer;
}

.proceed-button {
  width: 100%;
  padding: 15px;
  background-color: hsl(245, 75%, 52%);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  margin-bottom: 20px;
}

.proceed-button:hover {
  background-color: hsl(245, 75%, 60%);
}

.cancel-link {
  display: block;
  text-align: center;
  color: hsl(224, 23%, 55%);
  font-weight: bold;
  text-decoration: none;
  font-size: 14px;
}

.cancel-link:hover {
  text-decoration: underline;
  cursor: pointer;
}

.attribution {
  text-align: center;
  font-size: 11px;
  color: hsl(228, 45%, 44%);
  margin-top: 20px;
}

.attribution a {
  color: hsl(228, 45%, 44%);
}

.attribution a:hover {
  text-decoration: underline;
}