@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');
/*-- General --*/
*{
  margin: 0;
  padding: 0;
  outline: none;
  text-decoration: none;
  box-sizing: border-box;
}
::before,::after{
  box-sizing: border-box;
}
body{
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  font-family: 'Poppins', sans-serif;
}
.section{
  min-height: 100vh;
  display: block;
  padding: 0 30px;
  position: fixed;
  top: 0;
  right: 0;
  left: 270px;
  bottom: 0;
  z-index: 0;
  opacity: 1;
  overflow-y: auto;
  overflow-x: hidden;
  background-color: #f2f2fc;
}
.section.back-section{
  z-index: 1;
}
.section.active{
  z-index: 2;
  opacity: 1;
  -webkit-animation: slideSection 1s ease;
  animation: slideSection 1s ease;
}
@keyframes slideSection{
  0%{
    -webkit-transform: translateX(100%);
    transform: translateX(100%);
  }
  100%{
    -webkit-transform: translateX(0%);
    transform: translateX(0%);
  }
}
section .container{
  padding-top: 60px;
  padding-bottom: 70px;
}
.section-title{
  margin-bottom: 50px;
}
.section-title h2{
  font-size: 40px;
  font-weight: 700;
  color: #302e4d;
  margin: 0;
  position: relative;
  text-transform: capitalize;
}
.section-title h2::before{
  content: '';
  height: 4px;
  width: 50px;
  position: absolute;
  top: 100%;
  left: 0;
}
.section-title h2::after{
  content: '';
  height: 4px;
  width: 25px;
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 8px;
}
/*.main-content{
  padding-left: 270px;
}*/
.containerBx{
  max-width: 1100px;
  width: 100%;
  margin: auto;
}
.shadow-dark{
  box-shadow: 0 0 20px rgba(48,46,77,0.15);
  -webkit-box-shadow: 0 0 20px rgba(48,46,77,0.15);
}
.hidden{
  display: none !important;
}
.btn{
  color: #fff;
  border: 0;
  font-weight: 500;
  padding: .375rem 1.3rem;
  border-radius: 40px;
  text-transform: capitalize;
  transition: all 0.3s ease;
}
.btn:hover{
  color: #fff;
  -webkit-transform: scale(1.05);
  transform: scale(1.05);
}
/*-- Preloader --*/
.preloader{
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 150;
  display: -ms-flexbox;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #222;
  transition: all 1s ease;
  -webkit-transition: all 1s ease;
}
.preloader.opacity-0{
  opacity: 0;
}
.preloader .loader{
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 4px solid #e3e3e3;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  -webkit-animation: spin 2s linear infinite;
  animation: spin 2s linear infinite;
}
@-webkit-keyframes spin{
  0%{
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100%{
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@keyframes spin{
  0%{
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100%{
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
/*-- Aside --*/
.aside{
  width: 270px;
  position: fixed;
  height: 100%;
  left: 0;
  top: 0;
  z-index: 10;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid #e8dfec;
  background-color: #fdf9ff;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
.aside .logo{
  padding: 15px 0 0;
}
.aside .logo a{
  color: #302e4d;
  font-size: 40px;
  font-weight: bold;
  text-decoration: none;
  text-transform: uppercase;
  display: inline-block;
  position: relative;
  padding: 0 10px;
  line-height: 50px;
}
.aside .logo a::before{
  content: '';
  height: 20px;
  width: 20px;
  position: absolute;
  top: 0;
  left: 0;
}
.aside .logo a::after{
  content: '';
  height: 20px;
  width: 20px;
  position: absolute;
  bottom: 0;
  right: 0;
}
.aside .nav-toggler{
  height: 40px;
  width: 40px;
  cursor: pointer;
  position: fixed;
  top: 20px;
  left: 300px;
  z-index: 11;
  border-radius: 5px;
  border: 1px solid #d4d4e3;
  background-color: #fdf9ff;
  /*display: -ms-flexbox;
  display: flex;*/
  display: none;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
.aside .nav-toggler span{
  width: 18px;
  height: 2px;
  display: inline-block;
  position: relative;
}
.aside .nav-toggler.open span{
  background-color: transparent;
}
.aside .nav-toggler span::before{
  content: '';
  width: 18px;
  height: 2px;
  position: absolute;
  top: -6px;
  left: 0;
}
.aside .nav-toggler.open span::before{
  top: 0;
  transform: rotate(45deg);
}
.aside .nav-toggler span::after{
  content: '';
  width: 18px;
  height: 2px;
  position: absolute;
  top: 6px;
  left: 0;
}
.aside .nav-toggler.open span::after{
  top: 0;
  transform: rotate(-45deg);
}
.aside .nav{
  padding: 0;
  margin: 80px 0;
  list-style: none;
}
.aside .nav li{
  width: 100%;
  display: block;
}
.aside .nav li a{
  font-size: 16px;
  font-weight: 600;
  color: #302e4d;
  text-decoration: none;
  line-height: 45px;
  display: flex;
  align-items: center;
  text-transform: uppercase;
  border-bottom: 1px solid #e8dfec;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
.aside .nav li a:not(.active):hover{
  padding-left: 5px;
}
.aside .nav li a i{
  font-size: 18px;
  margin-right: 5px;
}
.aside .copyright-text{
  font-size: 13px;
  color: #7d7d7d;
  text-transform: capitalize;
}
/*-- Home Section --*/
.home{
  min-height: 100vh;
  display: -ms-flexbox;
  display: flex;
  align-items: center;
}
.home .intro{
  text-align: center;
}
.home .intro img{
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  display: inline-block;
  border: 8px solid #fff;
}
.home .intro h1{
  font-size: 30px;
  color: #302e4d;
  font-weight: 700;
  margin: 20px 0 5px;
  text-transform: capitalize;
}
.home .intro p{
  font-weight: 500;
  margin: 0;
  line-height: 22px;
  color: #504e70;
  text-transform: capitalize;
}
.home .intro .social-links{
  margin-top: 25px;
}
.home .intro .social-links a{
  width: 35px;
  height: 35px;
  display: inline-block;
  text-align: center;
  line-height: 35px;
  color: #fff;
  font-size: 18px;
  margin: 0 4px;
  border-radius: 50%;
  text-decoration: none;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
.home .intro .social-links a:hover{
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
}

/*-- About Section --*/
.about .about-content .about-text h3{
  font-size: 24px;
  margin-bottom: 15px;
  font-weight: 600;
  color: #302e4d;
  text-transform: capitalize;
}
.about .about-content .about-text p{
  color: #504e70;
  font-size: 14px;
  text-align: justify;
}
.about .personal-info{
  margin-top: 15px;
}
.about .info-item{
  display: block;
}
.about .info-item p{
  color: #504e70;
  font-weight: 600;
  margin-bottom: 0;
  padding: 8px 0;
  text-transform: capitalize;
  border-bottom: 1px solid #e8dfec;
}
.about .info-item p span{
  font-weight: 400;
  font-size: 15px;
  padding: 0 4px;
  color: #504e70;
  display: inline-block;
}
.about .buttons{
  margin-top: 30px;
}
.about .buttons .btn{
  margin-right: 15px;
  margin-top: 10px;
}
.about .about-content .skills{
  margin-top: 25px;
}
.about .skills .skill-item{
  position: relative;
  margin-bottom: 15px;
}
.about .skills .skill-item h5{
  color: #302e4d;
  font-size: 18px;
  font-weight: 600;
  text-transform: capitalize;
}
.about .skills .skill-item .progress{
  height: 8px;
  position: relative;
  background-color: #e3e3e3;
}
.about .skills .skill-item .progress .progress-in{
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  border-radius: 4px;
}
.about .skills .skill-item .skill-percent{
  position: absolute;
  top: 5px;
  right: 0;
  color: #302e4d;
  font-size: 14px;
}
.about .education{
  margin-top: 40px;
}
.about .experience{
  margin-top: 40px;
}
.about h3.title{
  font-size: 21px;
  font-weight: 700;
  margin-bottom: 30px;
  text-transform: capitalize;
}
.about .timeline{
  border-radius: 10px;
  padding: 30px 15px;
  margin-bottom: 15px;
  position: relative;
  border: 1px solid #d4d4e3;
  background-color: #fdf9ff;
}
.about .timeline .timeline-item{
  position: relative;
  padding-left: 35px;
  padding-bottom: 30px;
}
.about .timeline .timeline-item:last-child{
  padding-bottom: 0;
}
.about .timeline .timeline-item::before{
  content: '';
  width: 1px;
  height: 100%;
  position: absolute;
  left: 7px;
  top: 0;
}
.about .timeline .circle-dot{
  position: absolute;
  top: 0;
  left: 0;
  width: 15px;
  height: 15px;
  border-radius: 50%;
}
.about .timeline .timeline-date{
  color: #504e70;
  font-size: 14px;
  font-weight: 400;
}
.about .timeline .timeline-date i{
  margin-right: 2px;
}
.about .timeline .timeline-title{
  font-weight: 700;
  font-size: 18px;
  color: #302e4d;
  margin-bottom: 15px;
  text-transform: capitalize;
}
.about .timeline .timeline-text{
  font-size: 14px;
  color: #504e70;
  margin-bottom: 0;
}

/*-- Services Section --*/
.service .service-item{
  margin-bottom: 30px;
  display: -ms-flexbox;
  display: flex;
  height: calc(100% - 30px);
}
.service .service-item .service-item-inner{
  width: 100%;
  height: 100%;
  padding: 30px 15px;
  border-radius: 10px;
  text-align: center;
  border: 1px solid #d4d4e3;
  background-color: #fdf9ff;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
.service .service-item .service-item-inner:hover{
  box-shadow: 0 0 20px rgba(48,46,77,0.15);
  -webkit-box-shadow: 0 0 20px rgba(48,46,77,0.15);
}
.service .service-item .service-item-inner .icon{
  width: 60px;
  height: 60px;
  display: block;
  margin: 0 auto 15px;
  text-align: center;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  cursor: pointer;
}
.service .service-item .service-item-inner:hover .icon i{
  font-size: 25px;
  color: #fff;
}
.service .service-item .service-item-inner .icon i{
  font-size: 40px;
  line-height: 60px;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
.service .service-item .service-item-inner h4{
  color: #302e4d;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 15px;
  text-transform: uppercase;
}
.service .service-item .service-item-inner p{
  color: #504e70;
  font-size: 14px;
  margin-bottom: 0;
  text-transform: capitalize;
}

/*-- Portfolio Section --*/
.portfolio .portfolio-filter{
  width: 100%;
  text-align: center;
  margin-bottom: 40px;
}
.portfolio .portfolio-filter button{
  border: none;
  outline: none;
  font-size: 18px;
  font-weight: 600;
  margin: 0 10px;
  color: #302e4d;
  cursor: pointer;
  text-transform: capitalize;
  background-color: transparent;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
.portfolio .portfolio-item{
  margin-bottom: 30px;
}
.portfolio .portfolio-item.hide{
  display: none;
}
.portfolio .portfolio-item.show{
  display: block;
  animation: showItem 0.5s ease;
}
@-webkit-keyframes showItem{
  0%{
    -webkit-transform: scale(0.8);
    transform: scale(0.8);
    opacity: 0;
  }
  100%{
    -webkit-transform: scale(1);
    transform: scale(1);
    opacity: 1;
  }
}
@keyframes showItem{
  0%{
    -webkit-transform: scale(0.8);
    transform: scale(0.8);
    opacity: 0;
  }
  100%{
    -webkit-transform: scale(1);
    transform: scale(1);
    opacity: 1;
  }
}
.portfolio .portfolio-item-inner{
  padding: 6px;
  cursor: pointer;
  position: relative;
  background-color: #fff;
}
.portfolio .portfolio-item-inner .portfolio-img img{
  width: 100%;
  display: block;
  object-fit: cover;
}
.portfolio .portfolio-item-inner .portfolio-info{
  position: absolute;
  left: 6px;
  top: 6px;
  z-index: 1;
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: calc(100% - 12px);
  height: calc(100% - 12px);
  background-color: rgba(0,0,0,0.8);
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  opacity: 0;
}
.portfolio .portfolio-item-inner:hover .portfolio-info{
  opacity: 1;
}
.portfolio .portfolio-item-inner .portfolio-info h4{
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 30px;
  text-transform: capitalize;
  position: absolute;
  bottom: 15px;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  opacity: 0;
}
.portfolio .portfolio-item-inner:hover .portfolio-info h4{
  opacity: 1;
}
.portfolio .portfolio-item-inner .portfolio-info .icon{
  width: 40px;
  height: 40px;
  text-align: center;
  border-radius: 50%;
  background-color: #fff;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  opacity: 0;
}
.portfolio .portfolio-item-inner:hover .portfolio-info .icon{
  opacity: 1;
}
.portfolio .portfolio-item-inner .portfolio-info .icon i{
  font-size: 21px;
  line-height: 40px;
}

/*-- LightBox --*/
.lightbox{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 100;
  display: none;
  padding: 30px;
  display: -ms-flexbox;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-pack: center;
  justify-content: center;
  cursor: zoom-out;
  background-color: rgba(0,0,0,0.6);
}
.lightbox.open{
  display: -ms-flexbox;
  display: flex;
}
.lightbox .lightbox-content{
  position: relative;
  transition: all 0.5 ease;
  -webkit-transition: all 0.5 ease;
}
.lightbox.open .lightbox-content{
  animation: lightboxImage 0.5s ease;
}
@-webkit-keyframes lightboxImage{
  0%{
    -webkit-transform: scale(0.8);
    transform: scale(0.8);
  }
  100%{
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}
@keyframes lightboxImage{
  0%{
    -webkit-transform: scale(0.8);
    transform: scale(0.8);
  }
  100%{
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}
.lightbox .lightbox-content img{
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 450px;
  cursor: pointer;
  padding: 27px 0;
}
.lightbox .lightbox-content .lightbox-caption{
  position: absolute;
  bottom: 0px;
  left: 0;
  width: 100%;
  display: -ms-flexbox;
  display: flex;
  color: #fff;
  font-size: 16px;
  font-weight: 300;
  z-index: -1;
  text-transform: capitalize;
  -ms-flex-pack: space-between;
  justify-content: space-between;
}
.lightbox .lightbox-content .lightbox-close{
  position: absolute;
  width: 30px;
  height: 30px;
  top: 0px;
  right: 0;
  color: #fff;
  font-size: 21px;
  text-align: right;
  line-height: 30px;
}
.lightbox .lightbox-controls .prev-item,
.lightbox .lightbox-controls .next-item{
  position: absolute;
  width: 40px;
  height: 40px;
  text-align: center;
  cursor: pointer;
  top: 50%;
  margin-top: -20px;
  z-index: 110;
  color: #fff;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  background-color: rgba(0,0,0,0.4);
}
.lightbox .lightbox-controls .prev-item:hover,
.lightbox .lightbox-controls .next-item:hover{
  transform: scale(1.1);
  -webkit-transform: scale(1.1);
}
.lightbox .lightbox-controls .prev-item:active,
.lightbox .lightbox-controls .next-item:active{
  transform: scale(1);
  -webkit-transform: scale(1);
}
.lightbox .lightbox-controls .prev-item{
  left: 30px;
}
.lightbox .lightbox-controls .next-item{
  right: 30px;
}
.lightbox .lightbox-controls .prev-item i,
.lightbox .lightbox-controls .next-item i{
  font-size: 32px;
  line-height: 40px;
}

/*-- Blog Section --*/
.blog .blog-item-inner{
  border-radius: 10px;
  margin-bottom: 15px;
  border: 1px solid #d4d4e3;
}
.blog .blog-item-inner .blog-img{
  position: relative;
}
.blog .blog-item-inner .blog-img img{
  width: 100%;
  object-fit: cover;
  -webkit-transition: all 0.5s ease;
  transition: all 0.5s ease;
  border-radius: 10px 10px 0 0;
}
.blog .blog-item-inner .blog-img .blog-date{
  color: #fff;
  font-size: 14px;
  text-transform: capitalize;
  position: absolute;
  bottom: 15px;
  left: 15px;
  padding: 4px 10px;
  border-radius: 4px;
}
.blog .blog-item-inner .blog-info{
  padding: 15px;
  background-color: #fdf9ff;
  border-radius: 0 0 10px 10px;
}
.blog .blog-item-inner .blog-info .blog-title{
  color: #302e4d;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  text-transform: capitalize;
}
.blog .blog-item-inner .blog-info .blog-desc{
  color: #504e70;
  text-align: justify;
  text-transform: capitalize;
}
.blog .blog-item-inner .blog-info .blog-tags{
  color: #504e70;
  font-size: 14px;
  margin-bottom: 10px;
  text-transform: capitalize;
}
.blog .blog-item-inner .blog-info .blog-tags a{
  font-weight: 600;
  text-decoration: none;
}

/*-- Contact Section --*/
.contact .contact-info-item{
  text-align: center;
}
.contact .contact-info-item .icon{
  display: inline-block;
}
.contact .contact-info-item .icon i{
  font-size: 40px;
}
.contact .contact-info-item h4{
  color: #302e4d;
  font-size: 18px;
  font-weight: 700;
  margin-top: 10px;
  text-transform: capitalize;
}
.contact .contact-info-item p{
  color: #504e70;
  font-size: 16px;
  text-transform: capitalize;
}
.contact .contact-form{
  padding: 40px 0 0;
}
.contact .contact-form .form-control{
  font-size: 16px;
  text-transform: capitalize;
}

/*-- Dark body --*/
body.dark section{
  background-color: #151515;
}
body.dark .contact .contact-form .form-control,
body.dark .portfolio .portfolio-item-inner,
body.dark .blog .blog-item-inner .blog-info,
body.dark .service .service-item .service-item-inner,
body.dark .about .timeline,
body.dark .aside{
  background-color: #222222;
}
body.dark .contact .contact-info-item h4,
body.dark .blog .blog-item-inner .blog-info .blog-title,
body.dark .about .timeline .timeline-title,
body.dark .about h3.title,
body.dark .about .skills .skill-item h5,
body.dark .about .info-item p,
body.dark .about .about-content .about-text h3,
body.dark .section-title h2,
body.dark .home .intro h1,
body.dark .aside .logo a,
body.dark .aside .nav li a{
  color: #fff;
}
body.dark .contact .contact-info-item p,
body.dark .blog .blog-item-inner .blog-info .blog-tags,
body.dark .blog .blog-item-inner .blog-info .blog-desc,
body.dark .portfolio .portfolio-filter button,
body.dark .service .service-item .service-item-inner p,
body.dark .service .service-item .service-item-inner h4,
body.dark .about .timeline .timeline-text,
body.dark .about .timeline .timeline-date,
body.dark .about .skills .skill-item .skill-percent,
body.dark .about .info-item p span,
body.dark .about .about-content .about-text p,
body.dark .home .intro p{
  color: #e9e9e9;
}
body.dark .aside,
body.dark .contact .contact-form .form-control,
body.dark .blog .blog-item-inner,
body.dark .service .service-item .service-item-inner,
body.dark .about .timeline,
body.dark .about .info-item p,
body.dark .aside .nav li a{
  border-color: #393939;
}
body.dark .shadow-dark{
  box-shadow: none;
}



/*-- Responsive --*/
@media (max-width: 991px){
  .about .info-item p{
    display: flex;
    flex-direction: column;
  }
}
@media (max-width: 840px){
  .aside .nav-toggler{
    display: flex;
    display: -ms-flexbox;
    left: 30px;
  }
  .aside .nav-toggler.open{
    left: 300px;
  }
  .aside{
    left: -270px;
  }
  .aside.open{
    left: 0px;
  }
  .section{
    left: 0;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
  }
  .section.open{
    left: 270px;
  }
  .main-content{
    padding-left: 0;
  }
}