@import url("https://fonts.googleapis.com/css2?family=Fredoka+One&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800;900&display=swap");
:root {
  --clr-primary: #6434d0;
  --clr-primary-light: hsla(277, 100%, 93%, 1);
  --clr-dark: hsla(255, 56%, 18%, 1);
  --clr-text-priamry: #101828;
  --clr-text-secondary: #475467;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Nunito", sans-serif;
  font-size: var(--ft-df-body);
  line-height: 28px;
  color: var(--clr-dark);
}

a {
  text-decoration: none;
  color: var(--clr-dark);
}

a:hover {
  color: var(--clr-dark);
}

button {
  outline: none;
  box-shadow: none;
  border: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-weight: 500;
  line-height: 1.2;
}

.message-block {
  margin: 0 auto;
  padding: 0;
  height: 100vh;
  width: 100%;
  max-width: 1440px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.message {
  color: var(--clr-primary);
  font-family: Fredoka One;
  font-style: normal;
  font-weight: normal;
  font-size: 172px;
  line-height: 208px;
  letter-spacing: 0.04em;
}
.message-sm {
  color: var(--clr-text-primary);
  font-family: "Inter", sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 54px;
  margin-bottom: 16px;
}
.message-detail {
  color: var(--clr-primary);
  font-family: Nunito;
  font-style: normal;
  font-weight: normal;
  font-size: 36px;
  line-height: 44px;
}
.message-detail-sm {
  color: var(--clr-text-secondary);
  font-family: "Inter", sans-serif;
  font-style: normal;
  font-weight: normal;
  font-size: 20px;
  line-height: 36px;
}
.navigate-btn {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 16px 32px;

  width: 114px;
  height: 55px;

  /* primary */

  border: 1px solid var(--clr-primary);
  box-sizing: border-box;
  border-radius: 8px;

  /* Inside auto layout */

  flex: none;
  order: 1;
  flex-grow: 0;
  margin: 32px 0px;
  background: white;
  color: var(--clr-primary);
  font-family: var(--font-family-primary);
  cursor: pointer;
  font-size: 18px;
  &.primary {
    background: var(--clr-primary);
    color: white;
  }
}
.abs {
  position: absolute;
}
.corner-design {
  bottom: 0;
  left: 0;
  z-index: -1;
}

/* payments */
.message-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 560px;
  padding: 32px;
  border-radius: 8px;
  background: var(--color-white);
  box-shadow: 0px 1px 15px 2px rgba(0, 0, 0, 0.1);
  position: relative;
  text-align: center;
}
.card {
  display: block;
  position: absolute;
  right: -12%;
  top: 5%;
  z-index: -1;
}

.dollar {
  display: block;
  position: absolute;
  left: -15%;
  bottom: 5%;
  z-index: -1;
}
@media only screen and (max-width: 992px) {
  .message {
    font-size: 128px;
    line-height: 160px;
  }
  .message-detail {
    font-size: 32px;
    line-height: 28px;
  }
  .navigate-btn {
    width: 94px;
    height: 45px;
    margin: 24px 0px;
  }
  .navigate-btn {
    padding: 12px 28px;
    width: 84px;
    height: 40px;
    margin: 20px 0px;
  }
  .corner-design {
    width: 768px;
  }
}
@media only screen and (max-width: 768px) {
  .message {
    font-size: 96px;
    line-height: 128px;
  }
  .message-detail {
    font-size: 24px;
    line-height: 32px;
  }
  .navigate-btn {
    padding: 8px 24px;
    width: 84px;
    height: 40px;
    margin: 20px 0px;
    font-size: 16px;
  }
  .corner-design {
    width: 576px;
  }
}
@media only screen and (max-width: 576px) {
  .message {
    font-size: 64px;
    line-height: 96px;
  }
  .message-detail {
    font-size: 20px;
    line-height: 28px;
  }
  .navigate-btn {
    padding: 4px 20px;
    width: 74px;
    height: 35px;
    margin: 12px 0px;
  }
  .corner-design {
    width: 300px;
  }
}

/* Question Marks */
.q1 {
  right: 366px;
  top: 100px;
}
.q2 {
  right: 356px;
  top: 352px;
}
.q3 {
  left: 350px;
  top: 150px;
}
.q4 {
  left: 440px;
  top: 280px;
}
.q5 {
  left: 119px;
  top: 70px;
}
.q6 {
  left: 727px;
  top: 100px;
}
.q7 {
  left: 12px;
  top: 270px;
}
.q8 {
  left: 560px;
  top: 180px;
}
.q9 {
  right: 118px;
  top: 250px;
}
.q10 {
  left: 285px;
  top: 626px;
}
.q11 {
  left: 767px;
  bottom: 60px;
}
.q12 {
  right: 132px;
  bottom: 80px;
}

@media only screen and (max-width: 1350px) {
  .q1 {
    right: 250px;
  }
  .q2 {
    right: 120px;
    top: 400px;
  }
  .q3 {
    left: 220px;
  }
  .q4 {
    display: none;
  }
}
@media only screen and (max-width: 1200px) {
  .q1 {
    right: 110px;
  }
  .q2 {
    right: 100px;
    top: 450px;
  }
  .q3 {
    top: 120px;
    left: 200px;
  }
  .q9 {
    right: 100px;
    top: 300px;
  }
}
@media only screen and (max-width: 992px) {
  .q6 {
    display: none;
  }
  .q11 {
    left: 500px;
  }
}
@media only screen and (max-width: 768px) {
  .q1 {
    display: none;
  }
  .q3 {
    top: 120px;
    left: 150px;
  }
  .q5 {
    top: 50px;
    left: 100px;
  }
  .q11 {
    display: none;
  }
}
@media only screen and (max-width: 576px) {
  .q2 {
    right: 60px;
    top: 500px;
  }
  .q8 {
    display: none;
  }
  .q9 {
    right: 20px;
    top: 260px;
  }
  .q10 {
    left: 85px;
  }
  .q12 {
    bottom: 50px;
  }

  .card,
  .dollar {
    display: none;
  }
}
