.home {
  display: grid;
  grid-template-columns: 70% 30%;
  background: #1e2144;
  padding-top: 57px;
}

/* slider */

.slider {
  position: relative;
  width: 100%;
  background: #1e2144;
}

.myslider {
  height: 450px;
  display: none;
  overflow: hidden;
}

.prev,
.next {
  position: absolute;
  transform: translate(0, 50%);
  font-size: 20px;
  bottom: 10px;
  padding: 50px;
  cursor: pointer;
  color: #fff;
  transition: 0.1s;
  user-select: none;
}

.prev:hover,
.next:hover {
  color: #3498db;
}

.next {
  right: 0;
}

.dotbox {
  position: absolute;
  left: 50%;
  transform: translate(-50%);
  bottom: 20px;
  cursor: pointer;
}

.dot {
  display: inline-block;
  width: 15px;
  height: 15px;
  border: 3px solid #fff;
  border-radius: 50px;
  margin: 0 5px;
  cursor: pointer;
}

.fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 1.5s;
  animation-name: fade;
  animation-duration: 1.5s;
}

@-webkit-keyframes fade {
  from {
    opacity: 0.8;
  }
  to {
    opacity: 1;
  }
}

@keyframes fade {
  from {
    opacity: 0.8;
  }
  to {
    opacity: 1;
  }
}

.text {
  /* position: absolute; */
  width: 100%;
  color: #fff;
  bottom: 0px;
  padding: 0px 1% 30px;
  z-index: 1;
  /*background: linear-gradient(rgba(0,0,0,0), rgba(0,0,0,0.7), rgba(0,0,0,1));*/
}

.text h1 {
  color: #fff;
  font-weight: bold;
  margin: 10px;
  font:500 1.8em "Lexend Deca", sans-serif;

}
.text p {
  font-size: 15px;
  margin: 10px;
  font:300 1em "Open Sans", sans-serif;
}

/* home-description */

.home-description {
  background: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}

.home-description h2 {
  margin-top: 20px;
  color: #1e2144;
  margin-left: 20px;
  font:500 2.5em "Lexend Deca", sans-serif;
}

.home-description p {
  color: #1e2144;
  margin: 20px;
  font-family: "Open Sans", sans-serif;
  font-weight: 100;
  text-align: justify;
}

.home-description button {
  margin-top: 10px;
  margin-left: 20px;
  max-width: 200px;
  cursor: pointer;
}

.learn {
  margin-top: 20px;
  background-color: #ffc83b;
  border-radius: 0.4rem;
  border: 1px solid #ffc83b;
  color: #000000;
  padding: 12px 22px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  margin-bottom: 20px;
  font-family: "Open Sans", sans-serif;
  font-weight: 500;
}

/* SECOND PARTNER SLIDER VERSION */
.marquee {
    overflow: hidden;
    padding:20px;
  }
  
  .marquee-content {
    display: flex;
    animation: scrolling 30s linear infinite;
    overflow: visible;
    justify-content: flex-start;
  }
  
  .marquee-item {
    flex: 0 0 16vw;
  }
  
  .marquee-item img {
    display: block;
    width: 150px;
    height: 150px;
    object-fit: contain;
    padding: 20px;
    align-items: center;
    filter:grayscale(95%)
  }
  
  @keyframes scrolling {
    /*Recreated with JS during runtime*/
    0% { transform: translateX(70%); }
    100% { transform: translateX(calc((-150 * 8px))); }
  }
  

/* stats section */

.stats {
  background: #ffc83b;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  min-height: 250px;
  padding: 40px 1%;
  align-items: center;
  width:100%;
}

.h-title {
  text-align: center;
  max-width: 350px;
}

.h-title h2 {
  color: #1e2144;
  font:700 2.5em "Lexend Deca", sans-serif;
  margin: auto;
  text-align: center;
}

.h-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  text-align: center;
  width: 60%;
  max-width: 860px;
}

.h-stats .stat1, .h-stats .stat2, .h-stats .stat3 {
  min-width: 245px;
}
.h-stats div a button.link, .h-stats div a button.links {
  min-width: 170px;
}

.h-stats h4 {
  color: #1e2144;
  font: 400 1em "Open Sans", sans-serif;
  /* text-align: center; */
}

.h-stats span {
  color: #1e2144;
  font-size: 45px;
  font-weight: 600;
  font-family: "Lexend Deca", sans-serif;
}

span, h4 {
  text-align: center;
  margin-right: 30px;
}

span, h4 {
  text-align: center;
  margin: 15px;
}

/*div.stat3,*/
span, h4, button {
  text-align: center;
  margin: 10px;
  cursor: pointer;
}

section div.stat-bottom {
 
  display:flex;
  flex-wrap: wrap;
  margin: 20px 0 20px 0;
 justify-content: center;

}
.statLink {
  flex:1;
  margin: 20px 0;
  /* display: flex;
  flex-wrap: wrap; */
}


.links {
  margin-top: 40px;
  background-color: #1e2144;
  border-radius: 0.4rem;
  color: white;
  padding: 12px 22px;
  text-align: center;
  text-decoration: none;
  /* display: inline-block; */
  border: 1px solid #1e2144;
  font-family: "Open Sans", sans-serif;
  font-weight: 400;
  cursor:pointer;
  box-shadow: 5px 10px 10px 0 #888888;
  
}

.links:hover {
  background-color: #3498db;
}
.link {
  margin-top: 40px;
  background-color: #ffc83b;
  border-radius: 0.4rem;
  color: #000000;
  padding: 12px 22px;
  margin: auto;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  margin-bottom: 20px;
  border: 1px solid #000000;
  font-family: "Open Sans", sans-serif;
  font-weight: 400;
  cursor:pointer;
}

.link:hover {
  background-color: #f7c739;
}

/* entrepreneurs section */
section .eterprenuers{
  padding: 2px 2px;
}
.heading h1 {
  text-align: center;
  font-size: 1.7em;
  font-weight: 600;
  font-family: "Lexend Deca", sans-serif;
  color: #000000;
}

.heading p {
  margin-top: 9px;
  text-align: center;
  font-weight: 300;
  font-family: "Lexend Deca", sans-serif;
}

.business-card{
  display: flex;
  flex-wrap: wrap;
  min-width: 250px;
  align-items: stretch;
  justify-content: center;
}

.card{
  width: 300px;
  /*height: 360px;*/
  margin: 10px;
  background-color: #fff;
  overflow: hidden;
  box-shadow: 0px 4px 8px 3px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: 0.2s;
  display: flex;
  flex-direction: column;
}

/* .card-image{
  position: relative;
  height: 150px;
  width: 150px;
  padding: 3px;
} */

.card-image .P-image{
  height: 200px;
  width: 100%;
  object-fit: cover;
  border-radius: 5px;
}

/* .image-content, */
.card-content{
    display: flex;
    flex-direction: column;
    padding: 10px 14px;
    align-items: center;
    justify-content: space-between;
    flex-grow: 1;
}
.S-name{
  font-family: quicksand, sans-serif;
  font-size: 15px;
}
.description{
 text-align: center;
  justify-content: space-around;
}

.xplore {
  background-color: #ffc83b;
  border-radius: 0.4rem;
  color: #000000;
  padding: 12px 22px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  margin-top: 10px;
  margin-bottom: 20px;
  border: 1px solid #ffc83b;
  font-family: "Open Sans", sans-serif;
  font-weight: 600;
  cursor: pointer;
}

.viewCard {
  background-color: #1e2144;
  border-radius: 0.4rem;
  color: white;
  padding: 12px 22px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  border: 1px solid #1e2144;
  font-family: "Open Sans", sans-serif;
  font-weight: 600;
  cursor: pointer;
}

.b-card {
  text-align: center;
  margin-top: 30px;
}
/* 
.E-content {
  margin-top: 20px;
  display: flex;
  justify-content: space-evenly;
}

.card {
  width: 300px;
  height: 400px;
  margin: 10px;
  background-color: #fff;
  overflow: hidden;
  box-shadow: 0px 4px 8px 3px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: 0.2s;
}

.card-img img {
  width: 100%;
}

.card-content {
  display: block;
  text-align: center;
}

.card-content h2 {
  font-size: 16px;
  font-weight: 600;
  font-family: "Lexend Deca", sans-serif;
  margin-top: 10px;
}

.card-content p {
  margin-left: 20px;
  margin-right: 20px;
  font-weight: 200;
  font-family: "Open Sans", sans-serif;
  margin-top: 10px;
  line-height: 20px;
}

.explore {
  margin-top: 10px;
  text-align: center;
  position: relative;
}

.xplore {
  background-color: #ffc83b;
  border-radius: 0.4rem;
  color: white;
  padding: 12px 22px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  margin-bottom: 20px;
  border: 1px solid #ffc83b;
  font-family: "Open Sans", sans-serif;
  font-weight: 600;
}

.b-card {
  text-align: center;
  margin-top: 30px;
}

.viewCard {
  background-color: #1e2144;
  border-radius: 0.4rem;
  color: white;
  padding: 12px 22px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  border: 1px solid #1e2144;
  font-family: "Open Sans", sans-serif;
  font-weight: 600;
} */

/* join section */
.join {
  margin-top: 20px;
}
.imgPic {
  position: relative;
}

.imgPic .img1 {
  width: 100%;
  /* height: 400px; */
  object-fit:cover;
  position: relative;
  box-shadow: 0px 3px 9px #126e71;
}
.imgPic .blue-thing {
  width: 100%;
  height: 20px;
  background-color: #1ca0a4;
}
.imgPic .img2 {
  position: absolute;
  width: 150px;
  left: 0%;
  right: 0%;
  bottom: -30px;
  margin: auto;
  max-width: 20%;
}
.join- {
  padding-top: 100px;
  min-height: 320px;
}
.join-title {
  text-align: center;
  margin-top: 10px;
}
.join-title h2 {
  font-family: "Lexend Deca", sans-serif;
  font-weight: 600;
  font-size: 25px;
  /* color:#1e2144; */
}

.J-category {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
}

.cat1 {
  display: flex;
  flex-direction: column;
  text-align: center;
  margin: 28px;
  align-items: stretch;
  justify-content: space-between;
}

.cat1 h3 {
  margin-top: 5px;
  font-family: "Lexend Deca", sans-serif;
  font-weight: 600;
}
.cat1 p {
  font-family: 'Open Sans', sans-serif;
  font-weight: 400;
  margin:10px;
}

button.apply {
  vertical-align: bottom;
  margin: 10px auto 10px;
  background-color: rgb(9, 44, 76);
  border:1px solid #1e2144;
  border-radius: 0.4rem;
  color: white;
  padding: 12px 22px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  bottom: 10px;
  font-family: 'Open Sans', sans-serif;
  font-weight:500;
  align-items: last baseline;
  cursor: pointer;
}

/* impact section */

.impacts h2{
  text-align: center;
  /*margin-top: 50px;*/
  font-family: "Lexend Deca", sans-serif;
  font-weight: 600;
  font-size: 25px;
}

.impact {
  margin: auto;
  margin-top: 20px;
  font-weight: bold;
  background: #1e2144;
  min-height: 91vh;
  display: flex;
  align-items: center;
  /*max-width: 1120px;*/
  background-image: url(../images/block.png);
  flex-wrap: wrap;
  justify-content: center;
}


.comments{
  margin-left: 20px;
  width: 30%;
}
div.impact>div.block {
  display: flex;
  max-width: 60%;
  flex-grow: 2;
  justify-content: center;
  object-fit: fit;
  height:auto;
  max-width: 500px;
}

div.impact>div.opacity {
  margin:0;
  height: auto;
  width:100%;
  background-color: rgba(9, 44, 76, 0.6);
  padding:10px;
}

#block{
  color: #fff;
  padding: 20px;
  justify-content: center;
}
#block h2 {
  text-align: left;
}

#block p {
  font-weight: 200;
  font-size: 16px;
  color:#fff;
}

#quote2, #quote3, #quote4{
  display: none;
}

.blockquote-quoted::before{
  content: "\201c";
  font-size: 100px;
}

.blockquote-text{
  color: #fff;
  font-family: "Open Sans", sans-serif;
  
}
.blockquote-text h2{
  font-weight: 100;
  text-align: left;
}
.blockquote-text p{
  font-weight: 100;
}

.blockquote-text-credit{
  text-align: right;
}

div.impact>div.opacity.img-c{
  display: flex;
  align-items: center;
  max-width: 400px;
}

.img-container{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  background-color: rgba(9, 44, 76, 0.6);
  flex-grow: 1;
}

.img-container div{
  display: flex;
  width: 100%;
}

.img-container img{
  width: 50%;
  margin-top: 0 ;
  cursor:pointer;
}

.img-container img:hover{
  filter:grayscale(100%);
  border:2px solid #fff;
  cursor:pointer;
}

.img {
  cursor:pointer;
}
.comment1{
  color: #fff;
}

.comment2, .comment3, .comment4{
display: none;
}

/* shop section */

.shop {
  /*margin-top: 40px;*/
  display: flex;
  min-height: 360px;
  /*grid-template-columns: 30% 70%;*/
  justify-content: space-around; 
  align-items: center;
  background-color: rgb(240, 239, 238);
  /*max-width: 920px;*/
  padding: 10px 10%;
}

.S-decription {
  margin-left: 30px;
}
.S-decription h2 {
  font-family: "Lexend Deca", sans-serif;
  font-weight: 600;
  font-size: 25px;

}
.S-decription p {
  margin-top: 20px;
  max-width: 320px;
}

.b-shop {
  margin-top: 20px;
  background-color: #212153;
  border-radius: 0.4rem;
  color: white;
  padding: 12px 22px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  border: none;
  cursor: pointer;
}

.products {
  display: flex;
  min-width: 250px;
  align-items: center;
  justify-content: center;
  padding: 20px;
  transition: transform .2s;
  /*margin: 0 auto;*/
}

.products img {
  width: 92px;
  object-fit: cover;
  align-items: center;
  margin:0 auto 0 auto;
  max-width: 100%;
}

.P-card{
  width: 100%;
  height: 100%;
  margin: 0 auto;
  overflow: hidden;
  display: block;
}

.prices{
  /* height: 30px; */
  width: 100px;
  padding: 5px;
  position: absolute;
  text-align: center;
  visibility: hidden;
  background: rgb(27, 27, 27, .5);
  color: white;
  border-radius: 5px;
  display: none;
}

.hide{
  visibility: hidden;
  opacity: 0;
  text-align: center;
}

.P-card:hover{
  cursor: pointer;
  transition: .5s ease;
  /* transform: scale(1.2); */
}
.products img:hover{
 /* width: 60%; */
 transform: scale(1.2);
 position: relative;
}

.P-card:hover .prices{
  /* height: 40px; */
  /* width: 130px; */
  opacity: 0.7;
  visibility: visible;
  background: #000;
  position:absolute;
  margin:0 40px 0 40px;
  transform: translate(-0%, -50%);
  -ms-transform: translate(-0%, -50%);
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  
}

.P-card:hover .hide{
  visibility: visible;
  opacity: 1;
}
/*   
}

.item1, .item2, .item3{
  position: relative;
  width: 70%;
  
}


.item1:hover .overlay {
  opacity: 1;
}

.item2:hover .overlay {
  opacity: 1;
}

.item3:hover .overlay {
  opacity: 1;
} */


/* socials Section */
.socials {
  margin-top: 40px;
  display: block;
}

.s-media {
  text-align: center;
}

.s-media h2 {
  font-family: "Lexend Deca", sans-serif;
  font-size: 23px;
  font-weight: 800;
}

.s-media p {
  font-family: "Lexend Deca", sans-serif;
  font-size: 14px;
  font-weight: 200;

}

.s-links {
  margin-top: 15px;
}

.s-links i {
  margin: 3px 9px;
  font-size: 2em;
}
.comments-card {
  text-align: center;
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
}
.card-img img {
  width: 100%;
}

.C-card {
  width: 300px;
  margin: 10px;
  background-color: #fff;
  overflow: hidden;
  box-shadow: 0px 4px 8px 3px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: 0.2s;
  border-radius: 0.4rem;

}

.card-comment {
  margin-left: 20px;
  margin-right: 20px;
}

.card-comment p {
  margin-top: 10px;
  font-size: 14px;
}

.c-logo img {
  width: 30px;
}


.t-link {
  margin-top: 10px;
  margin-bottom: 10px;
  background: #fff;
}

/* Responsive design */

@media only screen and (max-width: 950px) {

 /* home section */
  .home{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
  }

  .home img{
    width: 100%;
  }



  

  

  /* entreprenuer section */

  
  .heading-title h1{
    width: 100%;
    text-align: center;
    
  }

 

/* join section */

.join-{
  display: flex;
  flex-wrap: wrap;
}

}


@media only screen and (max-width: 550px) {
  .home-content {
    display: block;
  }

  .home {
    display: block;
  }

  .learn{
    justify-content: center;
  }

  .slider img {
    width: 200%;
  }

  .stats {
    display: block;
  }

 
  .stat-bottom a {
    margin:0 30px 0 30px;
  }

  .h-stats {
    display: block;
  }

  .eterprenuers {
    display: block;
    margin-top:0px;
  }
  
  .card {
    display: block;
    justify-items: baseline;
    margin: bottom 0;

  }

    /* stats section */

    .h-title h2{
      font-size: 25px;
      text-align: center;
      margin: 0;
    }

    .h-stats{
      margin-top: 20px;
      width: 100%;
      margin-bottom: 0;
    }

    .stat1{
      align-items: center;
    }

    .links{
      /* margin-top: 10px; */
      margin-bottom: 0px;
    }

    .link{
      margin-top: 25px;

    }

  /* sponsors section */

  .wrapper {
    padding: 0;
    width: 100%;
  }

  /* entrepreneur section */
  .business-card{
    display: flex;
    flex-direction: column;
    align-items: center;
  }


  /* join section */

  .img1{
    width: 100%;  
  }
  .img2{
    width: 100%;  
  }

  /* shop section */

  .S-description h2{
    align-items: center;
  }

  .shop-title{
    text-align: center;
    font-weight: bold;
  }
  .shop-title, h2 {
    font-family: "Lexend Deca", sans-serif;
    font-size: 14px;
    font-weight: 800;
  }

  .shop{
    display: flex;
    flex-direction: column;
    justify-content: center;
  }


  .products{
    display: flex;
    /* flex-direction: column; */
    text-align: center;
    margin-top: 20px;
    /*flex-wrap:wrap;*/
  }

  .b-button{
    text-align: center;
  }

  .P-card{
    align-items: center;
    justify-content: center;
  }

  /* comments sections */
  .comments-card{
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: center;
  }
}
