
/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
#hero {
  width: 100%;
  height: calc(100vh - 110px);
  padding: 0;
  overflow: hidden;
  background: #000;
}

#hero .carousel-item {
  width: 100%;
  height: calc(100vh - 110px);
  background-size: cover;
  background-position: top right;
  background-repeat: no-repeat;
  overflow: hidden;
}

#hero .carousel-item::before {
  content: "";
  background-color: rgba(13, 30, 45, 0.6);
  position: absolute;
  height: 100%;
  width: 100%;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  overflow: hidden;
}

#hero .carousel-container {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
  overflow: hidden;
}

#hero .carousel-content {
  text-align: left;
}

@media (max-width: 992px) {

  #hero,
  #hero .carousel-item {
    height: calc(100vh - 70px);
  }

  #hero .carousel-content.container {
    padding: 0 50px;
  }
}

#hero h2 {
  color: #fff;
  margin-bottom: 30px;
  font-size: 48px;
  font-weight: 900;
}

#hero p {
  width: 80%;
  -webkit-animation-delay: 0.4s;
  animation-delay: 0.4s;
  font-size: 35px;
  color:#fff;
}

#hero .carousel-inner .carousel-item {
 
  background-position: center top;
}

#hero .carousel-inner .carousel-item,
#hero .carousel-inner .active.carousel-item-start,
#hero .carousel-inner .active.carousel-item-end {

}

#hero .carousel-inner .active,
#hero .carousel-inner .carousel-item-next.carousel-item-start,
#hero .carousel-inner .carousel-item-prev.carousel-item-end {

  transition: 0.5s;
}

#hero .carousel-inner .carousel-item-next,
#hero .carousel-inner .carousel-item-prev,
#hero .carousel-inner .active.carousel-item-start,
#hero .carousel-inner .active.carousel-item-end {
  left: 0;
  transform: translate3d(0, 0, 0);
}

#hero .carousel-control-prev,
#hero .carousel-control-next {
  width: 10%;
}

#hero .carousel-control-next-icon,
#hero .carousel-control-prev-icon {
  background: none;
  font-size: 48px;
  line-height: 1;
  width: auto;
  height: auto;
}

#hero .carousel-indicators li {
  cursor: pointer;
}

#hero .btn-get-started {
  font-family: "Raleway", sans-serif;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 12px 32px;
  border-radius: 5px;
  transition: 0.5s;
  line-height: 1;
  margin: 10px;
  color: #fff;
  -webkit-animation-delay: 0.8s;
  animation-delay: 0.8s;
  border: 0;
  background:var(--col);
}

#hero .btn-get-started:hover {
  background: var(--col);
}

@media (max-width: 768px) {
  #hero h2 {
    font-size: 28px;
  }
}

@media (max-height: 500px) {

  #hero,
  #hero .carousel-item {
    height: 120vh;
  }
}

@media (min-width: 1024px) {
  #hero p {
    width: 60%;
  }

  #hero .carousel-control-prev,
  #hero .carousel-control-next {
    width: 5%;
  }
}


/*Main blog*/
.main-blog{
  display: flex;
}
.card{
  margin: 0% 1%;
  box-shadow: 0 5px 45px rgba(0,0,0,0.2);
  width: 32%;
}

.card h5{
  margin: 5% 0%;
  color: var(--col);
  font-size: 1.25rem;
  text-align: center;
}
.card img{
  border-radius: 5%;
  padding: 0% 5%;
}
.card .footer{
  display: flex;
  align-items:center;
}
.card .footer .picture{
  width: 20%;
  height: 70%;
}
.card .footer p{
  margin:0;
}
.card .footer .picture img{
  max-width: 100%;
  max-height: 100%;
  border-radius: 50%;
}
.card .footer .ohter{
  width: 50%;
  height: 50%;
}
.card .footer .ohter span{
 font-size: 12px;
 font-style: italic;
 color: #7c7f8f;
}
.card .footer .more{
  width: 30%;
  height: 50%;
  margin-top: 5%;
}
.card .footer .more a{
 padding: 5%;
 background: var(--col);
 color: #fff;
 border-radius: 5%;
}
.recent-post{
  margin-bottom: 2%;
}
.all{
  margin: 5% 0%;
  align-content: center;
  text-align: center;
}
.all a{
  padding: 10px;
  border-radius: 5px;
   background-color: #2d8004;
   color: #fff;
}
.all a:hover{
  border: 1px solid #2d8004;
  background-color: #fff;
  color: #2d8004;
  transition: .5s;
}
.recent-post{
  display: block;
  padding: 0% 5%;
}
.recent-post .title{
  margin: 5% 0%;
  font-size: 2.5rem;
  text-align: center;
}
.recent-post .card-body{
  padding: 1.25%;
}
.recent-post .card-title{
  font-size: 1rem;
  text-align: left;
}
.recent-post .container-post{
  display: flex;
}
.recent-post .container-post .container-card{
  margin: 0% 1%;
  width: 32.5%;
  display: flex;
  border-radius: 10px;
  background: #e0e0e0;
  box-shadow: 15px 15px 30px #bebebe,
             -15px -15px 30px #ffffff;
  height: 20vh;
}
.recent-post .container-post .picture{
  max-width: 30%;
  max-height: 100%;
  align-content: center;
  text-align: center;
}
.container-post .picture img{
  width: 100%;
  height: 100%;
  object-fit: fill;
}
.recent-post .container-post .card-body{
  padding: 1.5% 1.5% 1.5% 2%;
  align-content: center;
  text-align: center;
}
.recent-post .container-post .card-body .card-text{
  text-align: left;
  font-size: 1rem;
  font-family: 'Montserrat', sans-serif;
}
.recent-post .container-post small{
  font-size: .7rem;
  color: #7c7f8f;
  font-style: italic;
  line-height: 5px;
}
.recent-post span{
  display: block;
  width: 100%;
}
.recent-post span a{
 text-align: center;
 margin: 2%;
}
.main-blog{
  padding-top: 5%;
}
@media(max-width:992px){
  .container h1{
      margin: 20% 0% 15% 0%;
  }
  .card-group{
      /*display: block;*/
  }
  .recent-post .container-post{
      display: flex;
      flex-wrap: wrap;
  }
  .recent-post .container-post .row{
      flex: 1 1 50%;
      display: block;
  }
  .recent-post .container-post .card{
      width: 100%;
  }
}
@media(max-width:768px){
  .main-blog{
    display: block;
  }
  .main-blog h5{
    margin: 5% 2.5%;
    font-size:1.5rem;
    text-align: center;
  }
  .main-blog, .recent-post{
    padding: 0% 2.5%;
  }
 .card{
  background-color: var(--bg2);
  margin: 3% 0%;
  width: 100%;
  }
  .recent-post .container-post .container-card{
    width: 100%;
    margin: 2.5% 0%;
  }
  .container-post .heading .image{
    width: 30%;
  }
  .container-post .card-body{
    width: 70%;
  }

}


