body {
  background-color: beige;
  margin: 0;
  /* overflow-x: hidden; */
}

.main_body {
  padding-top: 5px;
}

.first-child {
  background-image: url(background-images/cover.jpg);
  margin: 0 0 10px 0;
  background-size: cover;
  padding: 9rem 80px 0 100px;
}

.body-top-content-one {
  font-family: serif;
  font-size: 20px;
  /* width: 550px; */
  color: red;
  text-transform: capitalize;
  padding-bottom: 15px;
}

.body-second-content {
  font-size: 40px;
  font-family: cursive;
  text-transform: capitalize;
  color: white;
}

.body-third-content h4 {
  margin: 5% 5% 5% 0;
  /* width: 400px; */
  font-size: 25px;
  text-transform: capitalize;
  color: whitesmoke;
  font-family: monospace;
}
.body-fourth-content {
  margin: 0;
}
.body-fourth-content p {
  text-transform: capitalize;
  text-align: center;
  padding: 70px;
  color: red;
  font-size: 20px;
}

.idea-title {
  text-align: center;
}
.idea-title h2 {
  text-align: center;
  text-transform: capitalize;
  font-family: sans-serif;
  color: rgba(26, 49, 95, 1);
  margin-top: 50px;
  font-size: 40px;
}
.idea-title p {
  font-size: 25px;
  font-family: inherit;
  font-style: inherit;
  margin: 20px;
}

/*THE GET IN TOUCH BUTTON*/
.how-it-works-button {
  margin: 60px 5px;
}

.how-it-works-button a {
  margin: 10px;
  color: white;
  text-decoration: none;

  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    color-stop(0%, rgba(26, 49, 95, 1)),
    color-stop(10%, rgba(26, 49, 95, 1)),
    color-stop(24%, rgba(29, 108, 141, 1)),
    color-stop(37%, rgba(41, 136, 151, 1)),
    color-stop(77%, rgba(39, 45, 100, 1)),
    color-stop(90%, rgba(26, 49, 95, 1)),
    color-stop(100%, rgba(26, 49, 95, 1))
  );
  padding: 10px 14px;
  font-size: 20px;
  border-radius: 30px;
  box-shadow: 3px 4px 8px 10px rgba(1, 0, 0, 0.2),
    10px 6px 20px 10px rgba(0, 0, 0, 0.19);
}
.how-it-works-button a:hover {
  background: darkblue;
  color: whitesmoke;
}
/*END OF GET IN TOUCH BUTTON*/

.second-child {
  background-image: url(pages/images/background-one.jpeg);
  background-repeat: no-repeat;
  background-size: cover;
}
.second-child h3 {
  text-align: center;
  margin-top: 40px;
  text-transform: capitalize;
  font-family: sans-serif;
}
.second-child-one {
  border: 3px solid white;
  /* padding: 10px; */
  box-shadow: 0 15px 9px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  margin: 10px;
  padding: 15px;
  width: 35%;
  float: left;
}
.second-child-one p {
  font-family: sans-serif;
  line-height: 30px;
  letter-spacing: 0.1rem;
  padding-right: 1rem;

  text-align: justify;
  text-justify: inter-word;
}
.second-child-two {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.second-child-two p {
  font-family: serif;
}
.child-two {
  border: 2px solid white;
  margin: 15px;
  width: 29%;
  padding: 10px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  transition: transform 0.2s;
  text-align: center;
}

.child-two:hover {
  cursor: pointer;
  background: #f4f4ff;
}
.child-two img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  justify-content: center;
  -webkit-transition: -webkit-transform 0.8s ease-in-out;
  transition: transform 0.8s ease-in-out;
}

.child-two img:hover {
  cursor: pointer;
  -webkit-transform: rotate(360deg);
  transform: rotate(360deg);
}

.child-two h4 {
  font-size: 1.2rem;
  text-transform: capitalize;
  color: rgb(17, 17, 95);
  font-weight: bold;
}
.child-two p {
  text-align: justify;
  text-justify: inter-word;
}
.child-two a {
  text-align: center;
  text-decoration: none;
}

.body-fourth-content {
  margin: 0;
}
.body-fourth-content p {
  text-transform: capitalize;
  text-align: center;
  padding: 20px;
}

.child-three-sub {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.child-three-sides {
  background-image: url(background-images/adelin-preda-183822-unsplash.jpg);
  margin-top: 100px;
  margin-bottom: 100px;
}
.child-three {
  margin: 50px 50px;
}
.child-three img {
  height: 50px;
  width: 50px;
}

.third-child {
  /* background-color: blue; */
}

.third-child h3 {
  text-align: center;
  text-transform: capitalize;
  margin: 20px;
  font-family: sans-serif;
  color: rgba(26, 49, 95, 1);
  font-size: 35px;
}

.third-child img {
  height: 70px;
  width: 70px;
  border-radius: 56rem;
  margin-right: 1px;
}
.third-child-container {
  background-color: rgb(12, 12, 94);
  padding-bottom: 1rem;
}
.the-carousel img .ot_image {
  width: 200px;
  height: 70px;
}
.the-carousel .ot_content {
  width: 200px;
  height: 70px;
  float: left;
  margin: 2px;
}

/*_______________HOW IT WORKS _________________*/

.how-it-works {
  background-image: url(pages/images/background-one.jpeg);
  background-size: cover;
}
.how-it-works p {
  font-family: sans-serif;
  line-height: 25px;
  text-align: justify;
  text-justify: inter-word;
}

.how-it-works-child {
  text-align: center;
}
.how-it-works-child h3 {
  font-family: sans-serif;
  color: rgba(26, 49, 95, 1);
  text-transform: capitalize;
}

.how-it-works-child p {
  text-align: center;
  padding: 1rem;
  font-size: 1.3rem;
}

.how-it-works-child-container {
  display: flex;
  flex-wrap: nowrap;
  margin: 5px;
  justify-content: space-evenly;
}

.how-it-works-content {
  /* margin: 25px; */
  padding: 15px;
  width: 35%;
  justify-content: center;
  align-items: center;
  align-content: center;
}

.how-it-works-content img {
  display: block;
  margin-left: auto;
  margin-right: auto;
  /* width: 50%; */
  width: 70px;
  height: 70px;
  border-radius: 40%;
  -webkit-transition: -webkit-transform 0.8s ease-in-out;
  transition: transform 0.8s ease-in-out;
}
.how-it-works-content img:hover {
  cursor: pointer;
  -webkit-transform: rotate(360deg);
  transform: rotate(360deg);
}

.how-it-works-content h4 {
  margin: 10px 0;
  text-transform: capitalize;
  font-style: oblique;
  font-family: sans-serif;
  text-align: center;
}

.how-it-works-content p {
  padding: 15px;
}

/* Media Queries
--------------------------------------------- */
@media all and (max-width: 948px) {
  .first-child {
    margin: 0 0 10px 0;
    background-size: cover;
    padding: 100px 0px 0 20px;
  }

  .second-child {
    margin: 0 auto;
    display: flex;
    flex-direction: column;
  }
  .second-child h3 {
    text-align: center;
    margin-top: 40px;
    text-transform: capitalize;
  }
  .second-child-one {
    border: 1px solid white;
    margin: 10px 0;
    width: 100%;
    clear: both;
  }

  .second-child-one p {
    font-family: sans-serif;
    line-height: 30px;
    text-align: justify;
    text-justify: inter-word;
    font-size: 1rem;
  }

  .second-child-two {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 1rem;
  }
  .child-two {
    width: 90%;
    margin: 1rem 1px;
  }

  .how-it-works-child-container {
    flex-direction: column;
    justify-content: center;
  }
  .how-it-works-child p {
    padding: 1px 1rem;
  }
  .how-it-works-content {
    width: 100%;
  }

  .third-child img {
    height: 50px;
    width: 50px;
    border-radius: 56rem;
    margin-right: 1px;
  }

  .the-carousel img .ot_image {
    width: 10px;
    height: 70px;
  }
  .the-carousel .ot_content {
    width: 100px;
    height: 70px;
    float: left;
    margin: 1px;
  }
}

/*_____________________ FOOTER ___________________*/

.footer-main {
  padding: 40px 0;
  background-color: #096089;
}

.footer-items {
  color: white;
  font-family: sans-serif;
}
.footer-items a {
  text-decoration: none;
  color: beige;
  text-transform: capitalize;
  font-family: sans-serif;
}

.footer-items a:hover {
  color: rgba(251, 225, 101);
}
.footer-items h4 {
  text-transform: capitalize;
  font-family: sans-serif;
  color: rgba(242, 215, 213);
}
.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.footer-image {
  text-align: left;
}
.footer-image img {
  height: 200px;
  width: 300px;
}

.footer-social-media p {
  margin-top: 30px;
}

/*______________________________MEDIA QUERIES FOOTER ____________________*/
@media all and (max-width: 648px) {
  .footer-container {
    display: flex;
    flex-direction: column;
  }

  .footer-items {
    color: white;
    font-family: sans-serif;
    display: block;
    padding: 1rem;
  }

  .footer-items a {
    text-decoration: none;
    color: beige;
    text-transform: capitalize;
    font-family: sans-serif;
  }

  .footer-items a:hover {
    color: rgba(251, 225, 101);
  }
  .footer-items h4 {
    text-transform: capitalize;
    font-family: sans-serif;
    color: rgba(242, 215, 213);
  }

  .footer-image {
    text-align: left;
    margin-bottom: 20px;
  }
  .footer-image img {
    height: 50%;
    width: 90%;
  }

  .footer-social-media p {
    margin-top: 30px;
  }
}

/*______________________S0CIAL MEDIA ICONS_________________*/
.wrapper-media {
  display: flex;
  justify-content: center;
  align-items: center;
}

.wrapper-media i {
  padding-right: 1px;
  margin-right: 5px;
  text-shadow: 0px 6px 8px rgba(255, 255, 255, 0.733);
  transition: all ease-in-out 150ms;
  height: 50px;
  width: 60px;
}
.wrapper-media a:nth-child(1) {
  color: #dd4b39;
  margin-right: 10px;
}
.wrapper-media a:nth-child(2) {
  color: #4867aa;
}
.wrapper-media a:nth-child(3) {
  color: #1da1f2;
}
.wrapper-media a:nth-child(4) {
  color: cornflowerblue;
}
.wrapper-media a:nth-child(5) {
  color: #c13584;
}
.wrapper-media i:hover {
  margin-top: -3px;
  text-shadow: 0px 14px 10px white;
}

.allrights {
  text-align: center;
}
.allrights p {
  text-transform: capitalize;
}

/*__________________ MEDIA QUERY SOCIAL MEDIA ____________*/
@media all and (max-width: 468px) {
  .wrapper-media i {
    padding-right: 1px;
    text-shadow: 0px 6px 8px rgba(255, 255, 255, 0.733);
    height: 50px;
    width: 55px;
  }
}
