
/*Class home*/
.home{
  min-height: 65vh;
  background-image: url("../images/IMG_0082.jpg");
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-flow: column;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding-top: 6rem;
  background-attachment: fixed;
  background-repeat: no-repeat;
}

.home h1{
  color: #fff;
  font-size: 4rem;
  font-weight: 900;
}

.home h2{
  color: #fff;
  font-size: 3rem;
  font-weight: 900;
}

.home .wave{
  position: absolute;
  bottom: -.5rem;
  left: 0;
  height: 5rem;
  width: 100%;
  background: url(../images/wave.png);
  background-size: 100rem 11rem;
  animation: waves 8s linear infinite;
  background-repeat: repeat-x;
}
.home .wave1{
  animation-direction: alternate;
  animation-duration: 4s;
  opacity: .3;
}

.home .wave2{
  animation-direction: reverse;
  animation-duration: 6s;
  opacity: .5;
}

.home .wave3{
  animation-duration: 4s;
  opacity: 1;
}

@keyframes waves{
  0%{
      background-position-x: 0;
  }
  100%{
      background-position-x: 100rem;
  }
}

/* Class About*/
.heading, .section-head h1{
  margin: auto;
  padding-top: 6rem;
  display: flexbox;
  font-size: 3.5rem;
  color: #57A0D3;
  position: relative;
  letter-spacing: .2rem;
  
}
.heading::before, .heading::after, .section-head h1::before, .section-head h1::after{
  content: '';
  position: absolute;
  height: 2.5rem;
  width: 2.5rem;
  border-top: .4rem solid #57A0D3;
  border-left: .4rem solid #57A0D3;
  margin: auto;
}

.heading::before, .section-head h1::before{
  top: 5.8rem;
  left: -2rem;
  
}

.heading::after, .section-head h1::after{
  bottom: -.5rem;
  right: -2rem;
  transform: rotate(180deg);
}

.about .heading{ 
  text-align: center;
  width: 300px;
}
.about{
  background: #fff; 
  margin-bottom: -25px;
}

.about .row{
  text-align: center;
  font-size: 22px;
  width: 70%;
  margin: auto;
  padding-top: 30px;
  letter-spacing: 1px;
}

/*kibagare video*/
#kibagarevideo{
  color: blue;
  background-color: #222;
  margin-bottom: -25px;

}
.kibagare-video{
  font-size: 20px
}

/*class households*/
.household{
  background-color: #fff;
  padding-top: 5rem;
  
}
#Hlink{
  text-align: center;
  font-size: 22px;
  width: 80%;
  margin: auto;
  
}
.household .item img{
  width: 300px;
  height: 300px;
  
}

.household a{
  text-align: center;
  font-size: 22px;
  width: 70%;
  margin: auto;
  margin-top: -6rem;
  
}
.household .row .btn{
  outline: none;
  border: none;
  border-radius: 5rem;
  background: white;
  border-style: groove;
  border-color: #57A0D3;
  font-size: 1rem;
  cursor: pointer;
  height: 2.5rem;
  width: 10rem;
  box-shadow: 0 .2rem .5rem rgba(0,0,0,.3);
  margin: 0 1rem;
  
}
.household .row .btn:hover{
  
  opacity: .9;
  color: white;
  background: #57A0D3;
}

/*Class Top*/
.class-top{
  
  background-color:#f2f2f2 ;
  padding-top: 6rem;
}
.item {
    overflow:hidden;
}
.item img{
  font-size:40px;
  margin-bottom: 25px;
  width: 300px;
  height: 300px;
  line-height: 96px;
  border-radius: 50px;
  object-fit: cover;
}

.section-head h1{
  text-align: center;
  width: 480px;
}
.section-head{
  margin-bottom: 60px;
  text-align: center;
  margin-top: -8rem;
  
}
.section-head h3{
  color:  rgb(183, 178, 26);
  font-weight: 700;
  letter-spacing: 1px;
}
.section-head p{
  padding-top: 30px;
  font-size: 20px;
  line-height: 28px;
  color: #333;
  letter-spacing: 1px;
  width: 70%;
  margin: auto;
  margin-bottom: 2rem;
  margin-top: -1.5rem;
}
.section-head #pend{
  font-size: 20px;
 margin: auto;
}

.item{
  background:#fff;
  text-align: center;
  padding:30px 25px;
  box-shadow: 0 0 25px rgba(0,0,0,0.07);
  border-radius: 20px;
  margin-bottom: 100px;
  margin-top: -2rem;
  border:5px solid rgba(0,0,0,0.07);
  -webkit-transition:all 0.5s ease 0s;
  transition:all 0.5s ease 0s;
}
.item:hover{
  background:#c8d8e4;
  box-shadow: 0 8px 20px 0 rgba(0,0,0,0.2);
  -webkit-transition:all 0.5s ease 0s;
  transition:all 0.5s ease 0s;
}

.item:hover span img{
  background:#fff;
  border-radius: 10px;
  -webkit-transition:all 0.5s ease 0s;
  transition:all 0.5s ease 0s;
}
.item h6{
    font-size: 1.8rem;
   color: #57A0D3;
}

.item:hover h6{  
  color:#fff;
  -webkit-transition:all 0.5s ease 0s;
  transition:all 0.5s ease 0s;
}

.item p{
  font-size: 20px;
  line-height: 26px;
  font-weight: normal;
  
}

#HV{
  background:rgb(219, 195, 195);
}
#HV:hover{
  background:#c8d8e4;
}
#MD{
  background:rgb(223, 219, 187);
}
#MD:hover{
  background:#c8d8e4;
}

@media(max-width: 1000px){
  .container img{
    width: 100%;
    height: 3.5rem;
  }
  .nav-donate{
    order: 1;
   
  }
  .home h1{
    color: #fff;
    font-size: 2.3rem;
  }
  
  .home h2{
    color: #fff;
    font-size: 1.3rem;
  }
  .about .heading {
    font-size: 2.1rem;
    width: 200px;
  }
  .about .row{
    text-align: start;
    font-size: 18px;
    width: 90%;
    margin: auto; 
  }

  .household .row a{
    text-align: center;
   
  }
  .household .item img{
    width: 250px;
    height: 300px;
  }
  .household .item h6{
    font-size: 18px;
  }
  .item{
    padding:15px 10px;
    margin-bottom: 3rem;
  }
  .item img{
    width: 250px;
    height: 300px;
  }
  .item p{
    font-size: 18px;
    line-height: 26px;
  }
  
  .class-top .section-head h1{
    font-size: 2.1rem;
    width: 250px;
    
  }
  .class-top .row p{
    text-align: start;
    font-size: 18px;
    width: 90%;
    margin: auto; 
    padding-bottom: 2rem;
  }
  .class-top .section-head h3{
   font-size: 20px;
  }
  
  .kibagare-video video{
      width: 300px;
      height: 300px;
  }
  .home .wave{
    margin-bottom: .5rem;
  }
  
 
}


