@import url("https://fonts.googleapis.com/css2?family=Red+Hat+Display:ital,wght@0,300..900;1,300..900&display=swap");
:root {
  /* Primary */
  --blue-100: hsl(225, 100%, 94%);
  --blue-700: hsl(245, 75%, 52%);

  /* Neutral */
  --blue-50: hsl(225, 100%, 98%);
  --gray-600: hsl(224, 23%, 55%);
  --blue-950: hsl(223, 47%, 23%);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Red Hat Display", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
}

body {
  background: url("./images/pattern-background-desktop.svg") no-repeat center
      top/100%,
    var(--blue-100);
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  flex-direction: column;
}
main {
  background-color: white;
  border-radius: 15px;
  box-shadow: 0px 20px 30px -10px hsl(223, 47%, 23%, 0.2);
  width: 90%;
  max-width: 450px;
}

section {
  text-align: center;
  border-radius: 15px;
  img {
    border-radius: 15px 15px 0 0;
    width: 100%;
    height: auto;
    display: block;
  }
  header {
    padding: 2rem;
    h1 {
      color: var(--blue-950);
      font-size: 1.5rem;
      font-weight: 900;
    }
  }
  p {
    color: var(--gray-600);
    line-height: 1.5;
    font-weight: 700;
    padding-inline: 2.5rem;
    margin-bottom: 2rem;
  }
  & > div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-inline: 2.5rem;

    .card {
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 1rem;
      img {
        width: 36px;
      }
      div {
        font-size: 16px;
        color: var(--gray-600);
        strong {
          color: var(--blue-950);
        }
      }
    }
    .plan-summary {
      width: 360px;
      display: flex;
      justify-content: space-between;
      background-color: var(--blue-50);
      padding: 2rem;
      margin-bottom: 2rem;
      @media (max-width: 400px) {
        padding: 1rem;
        width: 300px;
      }
      border-radius: 16px;
      button {
        text-decoration: underline;
        border: 0;
        outline: 0;
        background-color: transparent;
        cursor: pointer;
        font-weight: 700;
        color: var(--blue-700);
        &:hover {
          color: var(--gray-600);
          text-decoration: none;
        }
      }
    }
  }
  .actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    .proceed-btn {
      width: 360px;
      background-color: var(--blue-700);
      color: white;
      border: 0;
      outline: 0;
      padding: 1rem;
      border-radius: 10px;
      font-weight: 700;
      cursor: pointer;
      box-shadow: 0px 10px 20px -5px hsl(245, 75%, 52%, 0.4);
      transition: all 0.3s ease-in-out;
      @media (max-width: 400px) {
        padding: 1rem;
        width: 300px;
      }
      &:hover {
        opacity: 0.7;
      }
    }
    .cancel-btn {
      background-color: transparent;
      border: 0;
      outline: 0;
      text-decoration: none;
      color: var(--gray-600);
      font-weight: 700;
      cursor: pointer;
      &:hover {
        color: var(--blue-700);
      }
    }
  }
}




