/* POPPINS FONT FAMILY */
@import url("https://fonts.googleapis.com/css2?family=Poppins&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Righteous&display=swap");

* {
  font-family: "Poppins", sans-serif;
  margin: 0;
  padding: 0;
}

body {
  background-color: #f5f5f5;
}

header {
  height: 500px;
  background-color: #3400ff;
}
.hamburger{
  display:none;
}
nav {
  float: right;
  margin-right: 40px;
  margin-top: 15px;
  cursor: pointer;
}

.nav-item {
  margin-right: 20px;
  color: white;
}

.nav-item-active {
  background-color: #fff;
  padding: 5px;
  border-radius: 5px;
  color: #5a31fc;
  font-weight: 400;
  margin-right: 20px;
}

.logo {
  margin: 40px;
}

.header-text {
  color: white;
  margin-left: 60px;
  margin-top: 50px;
  float: left;
  font-size: medium;
}

.header-image {
  float: right;
}

.companies {
  margin-top: 20px;
  margin-left: 60px;
}

.company-items {
  text-decoration: none;
  margin-left: 30px;
  color: black;
  font-weight: bolder;
  font-family: "Righteous", cursive;
}

.api-heading {
  font-weight: bolder;
  margin-left: 90px;
  margin-top: 100px;
  font-style: bold;
}

.cards {
  margin-left: 90px;
  margin-top: 20px;
  display: flex;
  flex-direction: row;
}

.card {
  width: 20%;
  height: 250px;
  background-color: transparent;
  border-radius: 10px;
  margin-right: 30px;
  margin-bottom: 30px;
}

.card-active {
  width: 20%;
  height: 250px;
  border-radius: 10px;
  margin-right: 30px;
  margin-bottom: 30px;
  background-color: white;
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

.card-logo {
  margin-left: 30px;
  margin-top: 30px;
}

.card-head {
  color: black;
  margin-left: 30px;
}

.card-head-active {
  color: #5a31fc;
  margin-left: 30px;
}

.card-body {
  color: black;
  margin-left: 30px;
  font-size: small;
}

.blog-heading {
  margin-left: 90px;
}

.blog-cards {
  margin-left: 90px;
  margin-top: 50px;
  display: flex;
  flex-direction: row;
}
.blog-card {
  width: 40%;
  display: flex;
  flex-direction: row;
  background-color: white;
  border-radius: 70px 10px 10px 10px;
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  margin-right: 50px;
  margin-left: 50px;
  position: relative;
}

.blog-content {
  float: right;
  width: 90%;
  padding: 10px;
}

.blog-image {
  float: left;
}

.blog-bottom {
  right: -15%;
  bottom: -3vh;
  margin-right: 100px;
  position: absolute;
}

.blog-card-bottom-image {
  margin-top: 20px;
}

.blog-author {
  font-size: x-small;
  float: right;
  margin-top: 16px;
  margin-right: 8px;
  font-weight: bold;
  padding: 0 10px;
  font-weight: 600;
}

/* faq section starts here */
.faq-section {
  height: 325px;
  background-color: #e9edff;
  margin-top: 50px;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

.faq-image {
  overflow: hidden;
  width: 40%;
  height: 300px;
  float: right;
}
.faq-content {
  float: left;
  margin-left: 90px;
}

.faq-content h2 {
  font-weight: bolder;
  font-size: 200%;
  margin: 0 5px 4vh 5px;
}

.faq-content button {
  background: #5a31fc;
  border-radius: 3px;
  color: white;
  border: none;
  padding: 5px;
  padding: 5px;
  margin-top: 6vh;
}

/* Download section */
.download-section {
  height: 225px;
  background-color: white;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.download-content {
  margin-left: 20px;
  margin-top: 50px;
}

.download-email {
  margin-right: 70px;
  margin-top: 100px;
}

.download-content h1 {
  font-size: 300%;
}
.download-content span {
  font-size: 70%;
}

.download-email {
  display: flex;
  flex-direction: row;
  padding-left: 200px;
  padding-bottom: 60px;
}

form {
  display: flex;
  flex-direction: row;
  height: 40px;
  border: 2px solid grey;
  border-radius: 22px;
  padding: 2px;
  background-color: #e9edff;
}

input {
  flex-grow: 2;
  border: none;
  width: 400px;
  background-color: transparent;
  text-align: center;
}

input:focus {
  outline: none;
}

button {
  width: 150px;
  color: white;
  border-radius: 20px;
  border-width: 1px;
  background-color: #5a31fc;
}

.footer-section {
  background-color: #3c0afe;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
}
.footer-left {
  padding: 10px;
}
.list {
  display: flex;
  flex-direction: row;
  list-style-type: none;
  color: white;
}

.logos-list {
  display: flex;
  flex-direction: row;
  list-style-type: none;
  color: white;
}

.list-items {
  margin-left: 25px;
}

.footer-logos {
  margin-top: 50px;
  margin-left: 20px;
}

@media screen and (max-width:850px){
  nav{
    display: none;
  }
 header .header-image {
    width: 80%;
    margin: 0 auto;
}
header .logo{
  margin: 0;
}
header .res{
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-direction: row-reverse;
}
 .companies {
  display: none;
}
  .hamburger{
    display: block;
  }
  .api-heading{
    text-align: center;
  }
  .api .cards {
    margin-left: 0;
    margin-bottom: 10px;
    flex-direction: column;
    width: 100%;
  }
  .card, .card-active{
    width: 80%;
    margin: 0 auto;
    }
    .blog-heading{
      text-align: center;
      margin: 0 auto;
      margin-left: 0;
    }
    .blog-cards{
      margin-left: 0;
      flex-direction: column;
      width: 100%;
    }
    .blog-card{
      flex-direction: column;
      margin-bottom: 10px;
      width: 80%;
      margin: 10px auto;
    }
    .blog-card .blog-bottom{
      display: none;
    }
    .faq-section{
      display: flex;
      height: fit-content;
      padding: 10px;
      flex-direction: column;      
      text-align: center;
      margin: 10px auto;
      width: 90vw;
    }
    .faq-section .faq-content{
      margin-left: 0;
    }
    .faq-image{
      display: none;
    }
    .download-section{
      height: fit-content;
      padding: 10px;
      flex-direction: column;      
      text-align: center;
    }
    .download-email {
      width: fit-content;
      display: flex;
      flex-direction: row;
      padding-bottom: 60px;
      padding: 0;
      margin: 100px auto 0 auto;
  }
  .download-email input {
    width: 100%;
    margin: 0 auto;
    text-align: center;
}
  .download-emial button {
    width: 150px;
    padding: 10px;
  }
  .footer-section{
    height: fit-content;
    padding: 5px;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .footer-section .footer-left .footer-logo img{
    width: 15px;
  }
  .footer-section .footer-left .list{
    flex-direction: column;
  }
}
