@import "shims/reset.css";
@import url("https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@200;300;400;500&display=swap");

html {
  font-family: "Roboto Slab", serif;
  /* font-size: 11pt; */
  font-weight: 400;
  color: #fff;
  background-color: #333;
  scroll-behavior: smooth;
  overflow-x: hidden;
}
/* body {
  margin-top: 6rem;
} */
h2,
h3,
p {
  line-height: 150%;
}
/* h3 {
  color: #FBB03B;
} */

body > header > .wrapper,
section#landing .wrapper,
section#get,
main > section#about,
section#freedom .wrapper,
section#transfer div,
section#spending .wrapper,
section#steps .wrapper,
section#footer header {
  max-width: 1000px;
  margin: 0 auto;
}
body > header {
  height: 6rem;
  display: flex;
  flex-direction: row;
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  background-color: rgba(0, 0, 0, 0.6);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  z-index: 2;
  /* background-image: url(./images/Top_decco-new.svg);
  background-size: cover; */
  /* border-bottom: 10px solid transparent;
  border-image: linear-gradient(45deg, #ED1C24 , #f39200);
  border-image-slice: 1; */
}
body > header > .wrapper {
  flex: auto;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  padding: 0 2rem;
}
body > header .brand {
  flex: auto;
  display: flex;
  flex-direction: row;
  align-items: center;
}
body > header .brand h1 {
  height: 4.5rem;
  width: 10rem;
  text-indent: -9999px;
  background-image: url(./images/logo.png);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: left center;
}

.nav-links {
  position: absolute;
  right: 0px;
  height: 100vh;
  top: 0vh;
  text-align: right;
  background-color: #333;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  width: 60%;
  transform: translateX(100%);
  transition: transform 0.5s ease-in;
  opacity: 0;
  z-index: 88;
}
.nav-links a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
}
.nav-links a {
  opacity: 0;
  list-style: none;
  margin: -130px 0;
  /* border-bottom: 3px solid #e4a053; */
  margin: -500px 0 -80px 50px;
  max-width: 50%;
  padding: 20px 0;
}
.burger {
  display: block;
  /* margin-top: 40px; */
  z-index: 99;
}
.burger div {
  width: 25px;
  height: 3px;
  background-color: #67c3ef;
  margin: 5px;
  transition: all 0.3s ease;
}
.nav-active {
  transform: translateX(12%);
  opacity: 1;
}
@keyframes navLinkFade {
  from {
    opacity: 0;
    transform: translateX(50px);
  }

  to {
    opacity: 1;
    transform: translateX(0px);
  }
}
.toggle .line1 {
  transform: rotate(-45deg) translate(-5px, 6px);
}
.toggle .line2 {
  opacity: 0;
}
.toggle .line3 {
  transform: rotate(45deg) translate(-5px, -6px);
}
/* Login Icon */
.nav-links a:nth-child(4):before {
  content: "";
  display: block;
  background-image: url(./images/login.svg);
  width: 2rem;
  height: 2rem;
  padding-right: 1.5rem;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
.nav-links a:nth-child(4) {
  display: flex;
  align-items: center;
  justify-content: end;
}
body > header nav {
  flex: none;
  display: flex;
  flex-direction: row;
  align-items: center;
}
body > header nav a {
  padding: 0.5rem;
  color: #fff;
  text-decoration: none;
  letter-spacing: 0.1rem;
  border-bottom: 3px solid transparent;
  border-bottom-color: transparent;
  transition: border-bottom-color 0.3s ease-out;
}

/* Hero banners */
main#home > section > header {
  color: #fff;
  /* padding: 6rem 2rem; */
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
/* Landing Banner */
#landing header {
  /* display: flex;
  flex-direction: column; */
  margin-top: 6rem;
}
section#landing header {
  max-height: 17.5rem;
  background-image: url(./images/main-sm-banner.png);
  text-align: center;
  padding: 6rem 2rem 0;
}
section#landing header h2 {
  font-size: calc(1.5rem + 1vw);
  font-weight: 600;
  margin-top: 3rem;
}
/* landing card */
section#landing .card-md {
  display: none;
}
section#landing img {
  width: 20rem;
  padding: 1.5rem 0 0;
  margin: 0 auto;
}
section#landing header p:nth-child(3) {
  font-weight: bold;
}
section#landing header p:nth-child(4) {
  padding: 1rem 0 3rem;
}
section#landing header a {
  padding: 10px 80px;
  color: #fbb03b;
  border: 2px solid #fbb03b;
  border-radius: 10px;
  text-transform: uppercase;
  font-weight: bold;
}
/* section#landing header a:hover {
  background-color: #333333;
  color: #000;
} */

/* What you get section */
section#get {
  /* compensate for content leaving background image*/
  margin-top: 11rem;
  text-align: center;
  padding: 0 2rem;
  background-image: url(./images/Vector.png);
  background-repeat: no-repeat;
  background-position: center;
}

section#get .checklist div:nth-child(3) {
  padding-top: 0.5rem;
}
section#get {
  background-image: url(./images/Vector.png);
}
section#get h2 {
  font-size: calc(1.25rem + 1vw);
  color: #e570b5;
  font-weight: bold;
}
section#get p:nth-child(3) {
  color: #e570b5;
  margin: 1rem 0 2rem;
}
section#get .receive-container {
  display: grid;
  grid-template-columns: 1fr;
}
section#get .receive-container div {
  margin: 2rem 2rem;
}
section#get .receive-container img {
  width: 10rem;
  padding-bottom: 0.5rem;
}
section#get .receive-container p {
  width: 65%;
  margin: 0 auto;
}
section#get .receive-container a {
  padding: 10px;
  color: #fff;
  background-color: #e570b5;
  border: 2px solid #fff;
  border-radius: 20px;
  text-transform: uppercase;
  font-weight: bold;
  display: inherit;
  width: 70%;
  margin: 2rem auto 3rem;
}
section#get .receive-container a:hover,
section#steps a:hover {
  background-color: #333333;
  color: #fff;
  border-color: #fff;
}
/* Pop up Email capture */
.popup {
  position: fixed;
  top: -100vh;
  left: 0px;
  width: 100vw;
  height: 100vh;
  transition: top 0ms linear 300ms;
  z-index: 99;
}
.popup.active {
  transition: top 0ms linear 0ms;
  top: 0vh;
}
.popup .popup-overlay {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
}
.popup .popup-body {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1.2);
  background: #1d71b8;
  width: 75%;
  max-width: 500px;
  /* border-radius:10px; */
  padding: 20px;
  opacity: 0;
  transition: transform 300ms linear, opacity 300ms linear;
}
.popup.active .popup-body {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
.popup .popup-body h3 {
  /* margin-bottom:10px; */
  text-align: left;
  font-size: calc(1rem + 1vw);
  font-weight: 700;
  color: #e570b5;
}
.popup .popup-body .close-btn {
  position: absolute;
  right: 10px;
  top: 10px;
  font-size: 18px;
  /* width:20px; */
  height: 20px;
  border-radius: 50%;
  border: none;
  outline: none;
  background: #fff;
  cursor: pointer;
}
section#get form input {
  margin: 2rem 0 1.2rem;
  width: 100%;
  background-color: transparent;
  border: none;
  border-bottom: 1px solid #e570b5;
  color: #fff;
  padding: 5px 0 5px 8px;
}
section#get form input [type="emai"] {
  padding: 10px;
}
section#get form input::placeholder {
  color: #fff;
}
section#get form input[type="emai"]:focus {
  border: none;
}

section#get form div {
  text-align: right;
  /* margin-top: 1.2rem; */
}
section#get form div button {
  background-color: transparent;
  border: 1px solid #e570b5;
  color: #e570b5;
  padding: 8px 20px;
}
section#get form div button:hover {
  background: #fff;
  color: #e570b5;
}

section#freedom {
  background-image: url(./images/blue-bg.png);
  padding: 2rem;
}
section#freedom .wrapper {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column-reverse;
  text-align: center;
}
section#freedom img {
  width: 15rem;
  margin: 1rem auto 0;
}
section#freedom h2 {
  font-size: calc(1.25rem + 1vw);
}

section#transfer {
  text-align: center;
  background: #a7e4ff;
  color: #696d71;
}
section#transfer div {
  padding: 2rem;
}
section#transfer h2 {
  font-weight: bold;
  font-size: calc(1.25rem + 1vw);
}
section#transfer img {
  width: 100%;
}
section#transfer .donut-lg {
  display: none;
}

/* section#transfer:after {
  display: block;
  content: "";
  background-image: url(./images/Donuts-sm.png);
  background-repeat: no-repeat;
  background-size: cover;
  height: 100vw;
} */

section#spending {
  height: 56rem;
  background-color: #fff;
}

section#spending header {
  background-image: url(./images/boy-on-phone-sm.jpg);
  height: 33rem;
}
section#spending .wrapper {
  display: flex;
  flex-direction: column;
  max-height: 910px;
}
section#spending .spending-txt {
  padding-top: 2rem;
  height: 100vw;
  width: 70%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
section#spending h2 {
  text-align: center;
  font-size: calc(1.25rem + 1vw);
}
section#spending img {
  width: 19rem;
  margin: 0 auto;
}

section#steps {
  background: #fff;
  color: #696d71;
  text-align: center;
  padding: 2rem 2rem 4rem;
  /* Compensatate for phone out of container */
  /* margin-top: 21rem; */
}
section#steps h2 {
  margin: 2.5rem 0;
}
section#steps .process {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
section#steps .process h3 {
  font-weight: bold;
  margin: 0.2rem;
}
section#steps .second-step {
  margin: 1.5rem 0;
}
section#steps .third-step {
  margin-bottom: 3rem;
}
section#steps a {
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
  padding: 6px 30px;
  border-radius: 10px;
  background-color: #e570b5;
}

/* About Page */
section#about {
  padding: 10rem 2rem 8rem;
}
section#about h2 {
  font-size: calc(1.5rem + 1vw);
  font-weight: bold;
  /* padding-bottom: 1rem; */
}
section#about p:nth-child(2) {
  padding: 2rem 0;
}
/*Footer*/
#footer {
  background-color: #1d71b8;
}
#footer header {
  padding: 6rem 2rem;
  position: relative;
  font-size: 14px;
}
section#footer .wrapper .socials-lg {
  display: none;
}
section#footer header div:nth-child(1) {
  display: flex;
  justify-content: space-between;
}
section#footer .footer-logo {
  width: 11rem;
}
/* Logo in footer*/
section#footer .socials img {
  width: 1.5rem;
}
/* section#footer .socials img:nth-child(2){
  margin: 0 0.5rem;
} */
section#footer .footer-card {
  width: 20rem;
  margin: 1rem auto;
  left: 0;
  right: 0;
}
section#footer .wrapper {
  color: #7bceef;
}
section#footer header div p:nth-child(2) {
  margin-top: 1rem;
}
.copyright {
  margin-top: 1rem;
}
section#footer header .footer-links {
  margin-top: 2rem;
  display: grid;
}
section#footer header .footer-links a {
  color: #7bceef;
  text-decoration: none;
  margin: 0.5rem 0;
}
section#footer header .footer-links a:hover {
  color: #333;
}

/* Ipad dimensions */
@media (min-width: 760px) {
  body > header nav {
    flex: none;
    display: flex;
    flex-direction: row;
    align-items: center;
  }
  body > header nav a {
    padding: 0.5rem;
    color: #fff;
    text-decoration: none;
    letter-spacing: 0.1rem;
    border-bottom: 3px solid transparent;
    border-bottom-color: transparent;
    transition: border-bottom-color 0.3s ease-out;
  }
  .nav-links {
    display: flex;
    flex-direction: row;
    position: inherit;
    width: 100%;
    height: 20px;
    top: 0;
    justify-content: space-around;
    opacity: 1;
    transform: translateX(0%);
    transition: none;
    background-color: transparent;
    margin-top: 1rem;
  }
  .nav-links a {
    text-decoration: none;
    color: #67c3ef;
    font-weight: bold;
    font-size: 12px;
    list-style: none;
    opacity: 1;
    margin: 0;
    border: none;
    padding: 0 1rem;
  }
  /*Remove last links padding */
  .nav-links a:nth-child(4) {
    padding: 0;
  }
  .burger {
    display: none;
    cursor: pointer;
  }
  .nav-links a {
    border-bottom: 3px solid transparent;
    transition: border-bottom-color 0.3s ease-out;
  }
  body > header nav a:hover {
    border-bottom-color: #67c3ef;
  }
  body > header nav .line:hover {
    border-bottom-color: transparent;
    color: #e570b5;
  }

  /*Landing banner */
  /* main#home #landing {
    background-image: url(./images/top-lg-pict.jpg);
  } */
  main#home #landing header {
    background-image: url(./images/main-banner.png);
  }
  section#landing header {
    margin-top: 0;
    /* height: auto; */
  }
  section#landing .card-md {
    display: block;
    position: relative;
    top: 220px;
  }
  section#landing header {
    padding: 6rem 2rem;
  }
  section#landing header .wrapper {
    display: flex;
    flex-direction: row;
    justify-content: center;
    text-align: left;
    /* padding: 6rem 2rem; */
    height: auto;
  }
  section#landing .landing-txt {
    margin-top: 1rem;
  }
  section#landing header h2 {
    font-size: calc(1.5rem + 1vw);
    font-weight: 600;
    width: 60%;
    margin-top: 0;
  }
  section#landing header div p {
    padding: 0.5rem 2rem 0 0;
  }
  /* section#landing img {
    width: 20rem;
    padding: 1.5rem 0 0;
    margin: 0;
  }  */

  /* Get section */
  section#get {
    margin-top: 4rem;
  }
  section#get .checklist div:nth-child(3) {
    padding-top: 0;
  }
  section#get .receive-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  section#freedom {
    background-size: cover;
    padding: 5rem;
  }
  section#freedom .wrapper {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  section#freedom img {
    margin: 0;
    width: 17rem;
  }
  section#freedom h2 {
    text-align: left;
    width: 53%;
  }

  section#transfer div {
    padding: 6rem;
  }
  section#transfer .donut-sm {
    display: none;
  }
  section#transfer .donut-lg {
    display: block;
  }

  section#spending {
    height: auto;
  }
  section#spending header {
    background-image: url(./images/Boy-on-phone-md.jpg);
    height: 33rem;
  }
  section#spending .wrapper {
    flex-direction: row;
    align-items: flex-end;
    height: 28rem;
  }
  section#spending header {
    padding: 2rem;
    height: auto;
  }
  section#spending .spending-txt {
    padding-top: 2rem;
    height: auto;
    width: 70%;
    margin: 0 auto;
    display: block;
    align-items: flex-end;
    text-align: left;
  }
  section#spending h2 {
    text-align: left;
  }
  section#spending .dots {
    display: none;
  }
  section#spending img {
    position: relative;
    top: 100px;
  }

  section#steps .process {
    flex-direction: row;
    justify-content: space-evenly;
  }
  section#steps .second-step {
    margin: 0;
  }

  /* About page */
  section#about {
    padding: 10rem 2rem 8rem;
  }

  /* Hide socials for lg */
  section#footer header div:nth-child(1) {
    display: none;
  }
  /* Footer */
  section#footer .wrapper .socials-lg {
    display: flex;
  }
  /* Footer imgs */
  section#footer img {
    position: relative;
    top: 0;
  }
  /* Footer card */
  section#footer .footer-card {
    width: 19rem;
    height: 15rem;
  }
  section#footer header {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
  }
  section#footer header .footer-links {
    display: block;
  }
  section#footer header .footer-links a {
    padding: 0 0.5rem;
    display: inline-block;
  }
  section#footer .footer-links a:nth-child(even) {
    border-right: 1px solid #fff;
    border-left: 1px solid #fff;
  }
}

@media (min-width: 1200px) {
  main#home > section#landing > header {
    max-height: fit-content;
    background-position: top;
  }

  section#landing img {
    width: 28em;
  }
  section#landing .landing-txt {
    margin-top: 5.5rem;
  }
  section#landing header div p {
    padding: 0.5rem 8rem 0 0;
  }
  section#landing header p:nth-child(3) {
    font-weight: normal;
  }

  section#freedom img {
    width: 23rem;
  }

  section#transfer .donut-lg {
    height: 500px;
  }
  section#footer header div:nth-child(1) {
    justify-content: flex-start;
  }
  section#footer .socials img {
    padding: 0 1rem;
  }
  section#footer .socials img:nth-child(2) {
    padding: 0;
  }
}
