* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
.container {
  /* border: 2px solid orange; */
  border: none;

  /* width: 500px; */
  margin: auto;
  display: flex;
  flex-direction: column;
  font-family: "Poppins";
}

.navbar {
  display: flex;
  flex-flow: wrap row;
  justify-content: space-around;
  align-items: center;
  /* border: 5px solid blue; */
  width: 100%;
  padding: 3%;
  font-family: "Poppins";
}
.heading {
  /* border: 1px solid green; */
  height: 4rem;
  width: 9rem;
}
.nav-cont {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  /* border: 3px solid purple; */
}
.nav-cont a {
  text-decoration: none;
  color: black;
}
.cyan-button {
  width: 70%;
  border-radius: 12px;
  height: 2.5rem;
  margin: 1rem 0;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  background-color: rgb(110, 238, 185);
}

/* Hero */

.hero {
  background: url(./home/annie-spratt-135307-unsplash.png);

  background-repeat: no-repeat;
  background-size: cover;
  background-position: 80% 0%;
  height: 50rem;
  padding: 0% 0;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
}

.hero-head {
  font-family: "flood-std";
  color: white;
  width: 40%;
  height: 30%;
  font-size: 3rem;
  /* border: 2px solid yellow; */
  margin-left: -15rem;
  margin-top: 1rem;
}
.cont-issue {
  /* border: 3px solid yellow; */
  background-color: rgb(255, 255, 255);
  width: 85%;
  height: 80000rem;
  padding: 3%;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  height: 15rem;
  text-align: center;
  margin-bottom: 2rem;
  font-family: "Poppins";
}
.overlap-tag {
  /* border: 2px solid blue; */
  padding-top: 5%;
  color: white;
  background-color: black;
  z-index: +1;
  width: 50%;
  height: 30%;
  margin: -3rem 3rem 0;
  font-size: 1.5rem;
  text-align: center;
  /* transform: translate(0 +50%); */
}

.cont-2 {
  /* border: 2px solid blue; */
  font-weight: 600;
  font-size: 1.6rem;
  /* border: 2px solid green; */
  width: 85%;
  margin: 0% 0;
}
.cont-3 {
  /* border: 2px solid rgb(0, 255, 42); */
  text-decoration: underline;
  margin: 1% 0;
}

/*hero-2*/

.take-action {
  /* border: 2px solid blue; */
  color: white;
  padding: 2%;
  background-color: black;
  font-size: 1.5rem;
  margin: -30px auto;
  height: 25%;
  width: 40%;
  text-align: center;
  z-index: +1;
}

.hero-2 {
  /* margin-top: -2.2rem; */
  padding: 10% 0;
  background-color: rgb(110, 238, 185);
  display: flex;
  flex-flow: wrap row;
  justify-content: space-around;
}

.action-cont {
  /* border: 2px solid black; */
  height: 10%;
  width: 40%;
  margin: 2%;
}
.action-cont h5 {
  font-size: 1rem;
}
.action-cont p {
  font-weight: 400;
}

/*hero 3*/

.hero-3 {
  background-color: rgb(4, 4, 65);
  text-align: center;
  padding: 7% 0%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-3-head-cont {
  /* border: 1px solid rgb(224, 147, 4); */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
  margin-bottom: 3rem;
}
.hero-3-par {
  /* border: 1px solid greenyellow; */
  padding: 2%;
  width: 80%;
  margin: 5%;
}
.hero-3-head-cont p {
  color: white;
  font-size: 1.5rem;
  font-weight: 500;
}
.hero-3-head {
  background-color: white;
  color: rgb(4, 4, 65);
  width: 35%;
  height: 10%;
  font-size: 1.2rem;
  font-weight: 500;
  padding: 2%;
}
.hero-3-card {
  background-color: white;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  width: 80%;
  margin: 10% 0 10% 0;
}
.hero-3-card h5 {
  font-size: 1.5rem;
  color: rgb(4, 4, 65);
  font-weight: 600;
}
.hero-3-card img {
  height: 15rem;
  width: 20rem;
  background-size: contain;
  margin-top: -2rem;
  margin-bottom: 5%;
}
.hero-3-card p {
  padding: 6%;
  margin: 5% 0%;
}

/* hero-4 */
.hero-4 {
  background: url(./home/did-you-know-background.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 0% -80%;
  height: 80rem;
  padding: 5% 0;
  display: flex;
  flex-direction: column;
  /* justify-content: space-between; */
  align-items: center;
}
.cont-4-1 {
  width: 15rem;
  /* border: 2px solid olive; */
  font-family: "flood-std";
  font-size: 3rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-around;
  margin-left: -40%;
  margin-top: 15%;
  margin-bottom: 8rem;
  color: white;
}

.cont-4-tag {
  height: 3rem;
  padding-top: 0.5%;
  width: 12rem;
  color: white;
  background-color: black;
  font-size: 1.3rem;
  text-align: center;
  position: relative;
  margin: 0 auto -1rem;
}

.hero-4-card {
  /* border: 2px solid orange; */
  background-color: white;
  display: flex;
  justify-content: space-between;
  padding: 5%;
  height: 22%;
  width: 80%;
  margin-bottom: 2rem;
}
.card-4-text {
  width: 70%;
  height: 6rem;
  /* border: 1px solid olive; */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.card-4-icon {
  width: 30%;
  height: 6rem;
  /* border: 2px solid blue; */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}
.card-4-icon button {
  background-color: rgb(110, 238, 185);
  border-radius: 50%;
  height: 2.5rem;
  width: 2.5rem;
  border: none;
  color: black;
  cursor: pointer;
}

/*hero -5*/

.hero-5 {
  background-color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8% 0;
}
.hero-5 img {
  width: 25rem;
  height: 25rem;
}
.hero-5-cont {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 5%;
  align-items: center;
  background-color: rgb(4, 4, 65);
  height: 25rem;
  width: 22rem;
  color: white;
  text-align: center;
  margin: 2rem 0;
}
.hero-5-cont h2 {
  font-size: 1.8rem;
  font-weight: 600;
}

/*hero-6*/

.hero-6 {
  background-color: rgb(4, 4, 65);
  padding: 5% 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
}
.hero-6-head {
  width: 70%;
  color: white;
  margin: 2rem 0;
  font-family: "flood-std";
  font-size: 2.5rem;
  font-weight: 300;
  /* border: 1px solid yellow; */
}
.hero-6-card {
  margin-top: 2rem;
  /* border: 3px solid gray; */
}
.cont-5-tag {
  color: rgb(4, 4, 65);
  background-color: white;
  position: relative;
  z-index: +1;
  margin: auto auto -1rem auto;
  text-align: center;
  width: 45%;
  height: 2.5rem;
  padding: 1%;
  font-size: 1.3rem;
  font-weight: 500;
}
.hero-6 img {
  width: 25rem;
  height: 25rem;
}
.hero-6-cont {
  /* border: 1px solid orange; */
  margin: 2rem 0;
  display: flex;
  height: 16rem;
  width: 70%;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  color: white;
}

/*pre footer*/
.pre-foot {
  padding: 5% 3%;
  background-color: rgb(110, 238, 185);
}
.pre-foot-head {
  color: rgb(4, 4, 65);
  font-size: 1.5rem;
  font-weight: 400;
  width: 80%;
  margin: 1rem 0;
  padding: 2%;
  /* border: 1px solid green; */
}
.mail-cont {
  display: flex;
  justify-content: space-between;
  width: 80%;
  /* border: 2px solid rgb(128, 0, 0); */
}
.mail-cont input {
  border: none;
  border-radius: 25px;
  width: 60%;
  height: 2rem;
  padding: 2%;
}
.mail-cont button {
  border: none;
  border-radius: 25px;
  height: 3rem;
  width: 30%;
  font-size: 1rem;
  font-weight: 400;
  background-color: rgb(4, 4, 65);
  color: rgb(110, 238, 185);
}
/* footer*/

footer {
  padding: 3%;
  background-color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.footer-cont {
  margin: 3rem 2rem;
  /* border: 1px solid green; */
  display: flex;
  flex-flow: wrap row;
  justify-content: space-around;
  width: 100%;
  height: 22rem;
}
.cont-ele {
  height: 40%;
  width: 40%;
  /* border: 1px solid blue; */
}
.one {
  font-size: 1.5rem;
  font-weight: 600;
  color: rgb(4, 4, 65);
}
.two span {
  font-weight: 600;
  color: rgb(4, 4, 65);
}
.two p {
  color: rgb(4, 4, 65);
}
.footer-text {
  font-family: "flood-std";
  color: rgb(4, 4, 65);
  font-size: 3rem;
  height: 40%;
  width: 30%;
  align-self: flex-end;
  margin-right: 3rem;
  margin-top: -2rem;
}

/* Tablet view */

@media (min-width: 501px) and (max-width: 900px) {
  /*nav bar*/

  .navbar {
    flex-flow: wrap column;
    padding: 4%;
    height: 12rem;
    justify-content: space-around;
  }
  .heading {
    align-self: flex-start;
    /* border: 1px solid blueviolet; */
    height: 5rem;
    /* width: 10rem; */
  }
  .navbar .cyan-button {
    width: 20%;
  }
  .nav-cont {
    align-self: flex-start;
    justify-content: space-between;
    flex-direction: row;
    width: 60%;
    /* border: 1px solid green; */
    height: 20%;
  }

  /*hero*/

  .overlap-tag {
    padding-top: 1.2%;
    margin-left: -15rem;
    width: 40%;
  }

  /*hero -3*/

  .hero-3-head-cont {
    align-items: flex-start;
    text-align: left;
  }
  .hero-3-head {
    margin-left: 2.3rem;
  }
  .hero-3-head-cont span {
    margin-left: 3rem;
  }

  .hero-3-card {
    size-adjust: 90%;
    flex-flow: wrap row;
    justify-content: space-between;
    text-align: left;
    padding: 2%;
  }
  .hero-3-card :nth-child(3) {
    order: 4;
  }
  .hero-3-card :nth-child(4) {
    order: 3;
  }
  .card-h5 {
    /* border: 1px solid green; */
    height: 20%;
    width: 30%;
    margin-right: 5.8rem;
  }
  .card-img {
    margin: -1rem 0 0 0.5rem;
  }
  .card-p {
    /* border: 1px solid orange; */
    width: 45%;
    margin-left: 0;
  }
  .card-btn {
    /* border: 2px solid green; */
    width: 30%;
    margin-left: 8rem;
    margin-bottom: 10rem;
  }
  .card-btn button {
    width: 100%;
  }

  /*Hero 4*/

  .hero-4 {
    flex-direction: row;
    align-items: center;
    height: 50rem;
  }
  .cont-4-1 {
    margin: -0rem auto auto auto;
    align-self: flex-start;
    width: 13rem;
    /* border: 1px solid blue; */
    height: 50%;
  }
  .cont-4-tag {
    margin-left: 1.2rem;
  }

  /*hero -5*/

  .hero-5 .cont-4-tag {
    margin-left: 10rem;
    font-size: 1.6rem;
    width: 25%;
  }

  .hero-5 img {
    height: 40rem;
    width: 40rem;
    margin-left: -6rem;
  }
  .hero-5-cont {
    width: 35rem;
    height: 15rem;
    font-size: 1rem;
    text-align: left;
    padding: 4%;
    margin: -4rem -10rem 0 0;
    align-items: flex-start;
  }
  .hero-5-cont h2 {
    font-size: 1.2rem;
  }
  .hero-5 .cyan-button {
    width: 23%;
    margin-left: -12rem;
    border-radius: 25px;
  }

  /*hero 6*/

  .hero-6 {
    flex-flow: wrap row;
  }
  .hero-6-head {
    margin: 1rem 3rem -4rem -5rem;
  }

  .hero-6-card img {
    height: 20rem;
    width: 20rem;
  }
  .hero-6-cont {
    text-align: left;
    width: 35%;
    height: 23rem;
    margin-top: 15rem;
    margin-bottom: -2rem;
    align-items: flex-start;
  }
  .tag-one {
    position: absolute;
    margin-left: 28rem;
    width: 20%;
    padding-bottom: 5%;
  }
  .tag-two {
    position: absolute;
    margin-left: -27.7rem;
    width: 20%;
    padding-bottom: 5%;
  }
  .hero-6 :nth-child(4) {
    order: 5;
  }
  .hero-6 :nth-child(5) {
    order: 4;
    margin-bottom: 2rem;
  }

  /*pre footer*/

  .pre-foot {
    padding: 3% 2% 3% 6%;
  }

  /*footer*/

  .footer-cont {
    height: 26rem;
  }

  .cont-ele {
    height: 60%;
    width: 30%;
    text-align: left;
  }
  .footer-text {
    margin: -14rem 1rem 0 0;
  }
}
@media (min-width: 901px) {
  nav .cyan-button {
    width: 20%;
  }
  .nav-cont {
    flex-direction: row;
    width: 50%;
  }

  /*hero */

  .hero {
    flex-direction: row;
  }
  .hero :nth-child(2) {
    order: 1;
  }
  .hero :nth-child(1) {
    order: 2;
  }
  .hero-head {
    width: 25%;
    height: 40%;
    font-size: 5rem;
    margin: -5rem auto 0 auto;
  }
  .cont-issue {
    margin: auto;

    width: 40%;
    height: 50%;
    padding: 5%;
    flex-direction: column-reverse;
  }
  .overlap-tag {
    padding-bottom: 3%;
    margin-bottom: -1rem;
  }
  .cont-2 {
    height: 80%;
    font-size: 2rem;
    margin: 8% 0 5% 0;
  }
  .cont-3 {
    width: 110%;
    margin-top: 8%;
  }

  /*hero 2 */

  .take-action {
    margin: -50px auto;
  }
  .hero-2 {
    flex-direction: row;
  }
  .action-cont {
    width: 15%;
  }
  .action-cont h5 {
    font-size: 2rem;
  }
  .action-cont p {
    font-size: 1.2rem;
  }

  /*hero 3*/
  .hero-3 {
    flex-flow: wrap row;
    align-items: center;
  }

  .hero-3-head-cont {
    align-items: flex-start;
    width: 80%;
    margin: auto;
  }
  .hero-3-head {
    font-size: 1.8rem;
    font-weight: 600;
  }
  .hero-3-par {
    margin: 5% 0;
    width: 100%;
    padding: 0%;
    text-align: left;
    font-size: 2rem;
  }
  .hero-3-head-cont p {
    font-size: 2rem;
    font-weight: 550;
  }
  .hero-3-card {
    margin: 4% auto 4% auto;
    width: 25%;
  }
  .hero-3-card img {
    margin-left: 2rem;
  }
  .card-btn {
    /* border: 1px solid green; */
    width: 55%;
  }

  /*hero 4*/
  .hero-4 {
    flex-direction: row;
  }
  .cont-4-1 {
    margin: auto;
    /* border: 1px solid green; */
    margin-top: 10rem;
    height: 40%;
    width: 25%;
    font-size: 4rem;
  }
  .cont-4-1 .cyan-button {
    font-size: 1.5rem;
    align-self: center;
    border-radius: 30px;
    width: 80%;
    height: 20%;
  }
  .cont-4-tag {
    margin-left: 2rem;
  }
  .hero-4-card-cont {
    /* border: 1px solid blue; */
    margin: auto;
    height: 80%;
  }
  .hero-4-card {
    padding-top: 10%;
  }
  .card-4-text {
    /* border: 1px solid green; */
    height: 80%;
  }
  .card-4-icon {
    height: 80%;
  }

  /*hero 5*/

  .hero-5 {
    flex-direction: column-reverse;
    flex-wrap: wrap;
    height: 50rem;
  }
  .hero-5 :nth-child(2) {
    order: 3;
    height: 30rem;
    width: 30rem;
    margin-right: 15rem;
  }
  .hero-5 :nth-child(3) {
    order: 2;
    /* border: 8px solid green; */
    position: relative;
    transform: translate(20%, 1%);
    flex-direction: column-reverse;
    height: 20rem;
    width: 30rem;
    padding: 2%;
  }
  .hero-5-cont h2 {
    font-size: 1.3rem;
    margin-top: 1rem;
  }
  .hero-5 :nth-child(1) {
    order: 4;
  }
  .hero-5 :nth-child(4) {
    order: 1;
  }
  .hero-5 .cyan-button {
    width: 18%;
    margin-left: -4rem;
  }
  .hero-5 .cont-4-tag {
    margin-left: 8rem;
  }

  /*hero 6*/
  .hero-6 {
    flex-flow: wrap row;
    padding: 5%;
  }
  .hero-6-head {
    margin-right: 10rem;
  }
  .hero-6-card img {
    height: 30rem;
    width: 30rem;
  }
  .hero-6-cont {
    height: 30rem;
    width: 35%;
    margin: 15rem 1rem 1rem 1rem;
    align-items: flex-start;
    text-align: left;
  }
  .hero-6-cont h2 {
    font-size: 2rem;
    font-weight: 550;
  }
  .hero-6-cont span {
    font-size: 1.5rem;
  }
  .hero-6 :nth-child(4) {
    order: 5;
  }
  .hero-6 :nth-child(5) {
    order: 4;
    align-items: flex-end;
    /* border: 5px solid green; */
    text-align: right;
  }
  .hero-6-card .tag-one {
    position: absolute;
    margin-left: 38rem;
    width: 20%;
    height: 4rem;
    font-size: 2rem;
    padding-bottom: 5%;
  }
  .hero-6-card .tag-two {
    position: absolute;
    margin-left: -25rem;
    width: 20%;
    height: 4rem;
    font-size: 2rem;
    padding-bottom: 5%;
  }
  .hero-6-cont .cyan-button {
    height: 4rem;
    font-size: 1.8rem;
    border-radius: 30px;
  }

  /*pre footer*/
  .pre-foot {
    display: flex;
    padding: 1% 3%;
  }
  .pre-foot-head {
    font-size: 1.5rem;
    font-weight: 550;
  }
  .mail-cont {
    align-items: center;
    justify-content: space-around;
  }
  .mail-cont input {
    height: 3rem;
  }

  /*footer*/

  footer {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
  }
  .footer-cont span {
    border-bottom: 1px solid black;
    height: 25rem;
  }
  .footer-cont {
    width: 80%;
    height: 50%;
  }
  .cont-ele {
    width: 18%;
    height: 25%;
  }
}
