/*General style*/

@import url('https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&family=Rubik:wght@500;700;900&display=swap');


body{
	margin: 0;
	line-height: 1.5;
	font-family: 'Montserrat', sans-serif;

}
*{
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	text-decoration: none;
	outline: none;

}
::before,::after{
	box-sizing: border-box;
}
.main-content{
	padding-left: 270px;

}
.section{
	background: #f2f2fc;
	min-height: 100vh;
	display: block;
	padding: 0 30px;
	position: fixed;
	left: 270px;
	top: 0;
	right: 0;
	bottom: 0;
	z-index: 0;
	opacity: 1;
	overflow-x: hidden;
	overflow-y: auto;
}
.section.back-section{
	z-index: 1;
}
.section.active{
	opacity: 1;
	z-index: 2;
	animation: slideSection .3s ease;
}
@keyframes slideSection{
	0%{
		transform: translateX(100%);
	}
	100%{
		transform: translateX(0%);
	}
}

.section .container{
	padding-top: 60px;
	padding-bottom: 70px;
}
.section-title{
	flex: 0 0 100%;
	max-width: 100%;
	margin-bottom: 60px;
}
.section-title h2{
	font-size: 40px;
	font-family: 'Rubik', sans-serif;
	color: #302e4d;
	font-weight: 700;
	position: relative;
}
.section-title h2::before{
	content: '';
	width: 50px;
	height: 4px;
	position: absolute;
	left: 0;
	top: 100%;
}
.section-title h2::after{
	content: '';
	width: 25px;
	height: 4px;
	position: absolute;
	left: 0;
	top: 100%;
	margin-top: 8px;
}
.row{
	display: flex;
	flex-wrap: wrap;
	margin-right: -15px;
	margin-left: -15px;
	position: relative;
}
.padd-15{
	padding-left: 15px;
	padding-right: 15px;
}

.hidden{
	display: none !important;
}
.container{
    max-width: 1100px;
    margin: auto;
    width: 100%;
}
.shadow-dark{
	box-shadow: 0 0 20px rgba(48,46,77,0.15);
}
.btn{
	font-size: 16px;
	color: #fff;
	font-family: 'Rubik', sans-serif;
	padding: 12px 35px;
	font-weight: 500;
	border-radius: 40px;
	display: inline-block;
	transition: all 0.3s ease-in;
	white-space: nowrap;
}
.btn:hover{
	transform: scale(1.1);
}
/*aside*/
.aside{
	background: #fff;
	width: 270px;
	position: fixed;
	height: 100%;
	left: 0;
	top: 0;
	z-index: 10;
	border-right: 1px solid #e8dfec;
	padding-left: 30px;
	transition: all 0.3s ease;
}

.aside .logo{
	padding: 30px 0;
	display: inline-block;
	
}
.aside .logo a{
	font-size: 40px;
	font-family: 'Rubik', sans-serif;
	color: #302e4d;
	font-weight: 700;
	text-decoration: none;
	position: relative;
	padding: 0 10px;
}
.aside .logo a::before{
	content: '';
	width: 20px;
	height: 20px;
	position: absolute;
	left: 0;
	top: 0;
}
.aside .logo a::after{
	content: '';
	width: 20px;
	height: 20px;
	position: absolute;
	right: 0;
	bottom: 0;
}
.aside .nav-toggler{
	height: 40px;
	width: 40px;
	border: 1px solid #d4d4e3;
	cursor: pointer;
	position: fixed;
	left: 300px;
	top: 30px;
	z-index: 11;
	background-color: #fdf9ff;
	/*display: flex;*/
	display: none;
	align-items: center;
	justify-content: center;
	border-radius: 5px;
	transition: all 0.3s ease;
}
.aside .nav-toggler span{
	height: 2px;
	width: 18px;
	display: inline-block;
	position: relative;
}
.aside .nav-toggler.open span{
	background: transparent;
}
.aside .nav-toggler.open span::before{
	transform: rotate(-45deg);
	top: 0;
}
.aside .nav-toggler.open span::after{
	transform: rotate(45deg);
	top: 0;
}
.aside .nav-toggler span::before{
	content: '';
	height: 2px;
	width: 18px;
	position: absolute;
	top: -6px;
	left: 0;
}
.aside .nav-toggler span::after{
	content: '';
	height: 2px;
	width: 18px;
	position: absolute;
	bottom: -6px;
	left: 0;
}
.aside .nav{
	list-style: none;
	margin: 80px 0;
}
.aside .nav li{
	display: block;
}
.aside .nav li a{
	font-size: 16px;
	font-weight: 600;
	line-height: 45px;
	text-decoration: none;
	color: #302e4d;
	display: block;
	border-bottom: 1px solid #e8dfec;
	transition: all .3s ease-in;
}
.aside .nav li a .fa{
	margin-right: 5px;
}
.aside .nav li a:not(.active):hover{
	padding-left: 5px;
}

.copyright-text{
	font-size: 13px;
	color: #7d7d7d;
}

/*home*/
.shadow-dark{
	box-shadow: 0 0 20px rgba(48,46,77,0.15);
}
.home{
	min-height: 100vh;
	display: flex;
	background-image: url("images/background.jpg");
}
.home .intro{
	text-align: center;
}

.home .intro img{
	height: 200px;
	width: 200px;
	border-radius: 50%;
	border: 4px solid #fff;
	display: inline-block;
}
.home .intro h1{
	font-size: 30px;
	font-weight: 700;
	color: #302e4d;
	font-family: 'Rubik', sans-serif;
	margin: 20px 0 5px;
}
.home .intro p{
	font-size: 16px;
	font-weight: 500;
	color: #504e70;
	line-height: 22px;
}
.home .intro .social-links{
	margin-top: 25px;
}

.home .intro .social-links a{
	height: 35px;
	width: 35px;
	display: inline-block;
	color: #fff;
	line-height: 35px;
	text-align: center;
	margin: 0 2px;
	border-radius: 50%;
	transition: all 0.3s ease-in;
}
.home .intro .social-links a:hover{
	transform: scale(1.1);
}

/*About*/

.about .about-content{
	flex: 0 0 100%;
	max-width: 100%;
}
.about .about-content .about-text{
	flex: 0 0 100%;
	max-width: 100%;
}
.about .about-content .about-text h3{
	font-size: 24px;
	margin-bottom: 15px;
	color: #302e4d;
	font-weight: 600;
}
.about .about-content .about-text p{
	font-size: 16px;
	color: #504e70;
	line-height: 25px;
}

.about .about-content .personal-info{
	flex: 0 0 60%;
	max-width: 60%;
	margin-top: 40px;
}
.about .about-content .personal-info .info-item{
	max-width: 50%;
	flex: 0 0 50%;
}
.about .about-content .personal-info .buttons{
	margin-top: 30px;

}
.about .about-content .personal-info .buttons .btn{
	margin-right: 15px;
	margin-top: 10px;
}
.about .about-content .personal-info .info-item p{
	font-size: 16px;
	line-height: 25px;
	font-weight: 600;
	padding: 16px 0;
	color: #302e4d;
	border-bottom: 1px solid #e8dfec;
}

.about .about-content .personal-info .info-item p span{
	font-weight: 400;
	color: #504e70;
	margin-left: 4px;
	display: inline-block;
}
.about .about-content .skills{
	margin-top: 40px;
	flex: 0 0 40%;
	max-width: 40%;
}
.about .about-content .skills .skill-item{
	flex: 0 0 100%;
	max-width: 100%;
}
.about .about-content .skills .skill-item h5{
	line-height: 40px;
	font-weight: 600;
	font-size: 16px;
	text-transform: capitalize;
	margin: 0;
	color: #302e4d;
}

.about .about-content .skills .skill-item{
	margin-bottom: 30px;

}
.about .about-content .skills .skill-item .progress{
	background: #e3e3e3;
	height: 8px;
	border-radius: 4px;
	width: 100%;
	position: relative;
}
.about .about-content .skills .skill-item .progress .progress-in{
	position: absolute;
	left: 0;
	top: 0;
	height: 100%;
	border-radius: 4px; 
}
.about .about-content .skills .skill-item .skill-percentage{
	line-height: 40px;
	position: absolute;
	right: 0;
	top: -40px;
	font-weight: 400;
}

.about .about-content .education{
	flex: 0 0 50%;
	max-width: 50%;
	margin-top: 30px;
}

.about .about-content .experience{
	flex: 0 0 50%;
	max-width: 100%;
	margin-top: 30px;
}

.about .about-content h3.title{
	font-size: 24px;
	font-family: 'Rubik', sans-serif;
	color: #302e4d;
	font-weight: 700;
	margin-bottom: 30px;
}

.about .about-content .timeline-box{
	flex: 0 0 100%;
	max-width: 100%;
}
.about .about-content .timeline{
	padding: 25px 15px;
	border: 1px solid #d4d4e3;
	border-radius: 10px;
	width: 100%;
	
}

.about .about-content .timeline .timeline-item{
	position: relative;
	padding-left: 37px;
	padding-bottom: 50px;
}
.about .about-content .timeline .timeline-item:last-child{
	padding-bottom: 0;
}
.about .about-content .timeline .timeline-item::before{
	content: '';
	width: 1px;
	top: 0;
	left: 7px;
	position: absolute;
	height: 100%;
}
.about .about-content .timeline .circle-dot{
	width: 15px;
	height: 15px;
	position: absolute;
	top: 0;
	left:0;
	border-radius: 50%;
}

.about .about-content .timeline .timeline-date{
	font-size: 14px;
	font-weight: 500;
	margin-bottom: 12px;
	color: #504e70;
}

.about .about-content .timeline .timeline-date .fa{
	margin-right: 5px;
}

.about .about-content .timeline .timeline-title{
	font-size: 18px;
	font-weight: 700;
	margin-bottom: 15px;
	text-transform: capitalize;;
	color: #302e4d;
}

.about .about-content .timeline .timeline-text{
	font-size: 16px;
	font-weight: 500;
	margin: 0;
	color: #504e70;
}

/*services section*/

.service .container{
	padding-bottom: 40px;
}

.service .service-item{
	padding: 15px;
	flex: 0 0 33.33%;
	max-width: 33.33%;
	margin-bottom: 20px;
}

.service .service-item .service-item-inner{
	background: #fdf9ff;
	border: 1px solid #d4d4e3;
	text-align: center;
	border-radius: 50%;
    height: 120px;
    width: 120px;
}

.service .service-item .service-item-inner .icon{
	height: 60px;
	width: 60px;
	display: block;
	margin: 0 auto 30px;
	text-align: center;
	transition: all 0.5s ease;
	border-radius: 50%;
}
.service .service-item .service-item-inner:hover .icon .fa{
	color: #fff;
}
.service .service-item .service-item-inner .icon .fa{
	font-size: 40px;
	line-height: 60px;
	transition: all 0.5s ease;
}
.service .service-item .service-item-inner:hover .icon{
	font-size: 25px;
	color: #fff;
}
.service .service-item .service-item-inner h4{
	font-size: 18px;
	margin-bottom: 15px;
	color: #302e4d;
	font-weight: 700;
}
.service .service-item .service-item-inner p{
	font-size: 16px;
	line-height: 25px;
	color: #504e70;
}

/* portfolio */

.portfolio .container{
	padding-bottom: 30px;
}
.portfolio .portfolio-filter{
	flex: 0 0 100%;
	max-width: 100%;
	text-align: center;
	margin-bottom: 30px;
}
.portfolio .portfolio-filter button{
	border: none;
	background: transparent;
	margin: 0 10px;
	font-size: 18px;
	font-weight: 700;
	cursor: pointer;
	text-transform: capitalize;
	border-bottom: 2px solid transparent;
	white-space: nowrap;
	padding-bottom: 2px;

}
.portfolio .portfolio-item{
	flex: 0 0 33.33%;
	max-width: 33.33%;
	margin-bottom: 30px;
}
.portfolio .portfolio-item.hide{
	display: none;
}
.portfolio .portfolio-item.show{
	display: block;
	animation: showItem 0.5s ease-in;
}
@keyframes showItem{
	0%{
		transform: scale(0.8);
	}
	100%{
		transform: scale(1);
	}
}
.portfolio-item .portfolio-item-inner {
	border: 6px solid #fdf9ff;
	border-radius: 10px;
	overflow: hidden;
	cursor: pointer;
	position: relative;
}

.portfolio-item .portfolio-item-inner .portfolio-info{
	background: rgba(0,0,0,0.8);
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    padding: 30px;
    transition: all 0.3s ease;
    opacity: 0;
}
.portfolio-item .portfolio-item-inner:hover .portfolio-info{
	opacity: 1;
}

.portfolio-item .portfolio-item-inner .portfolio-info h4{
	font-size: 18px;
	color: #fff;
	font-weight: 700;
	text-transform: capitalize;
	transition: all 0.3s ease;
	transform: translateX(-20px);
	opacity: 0;
}
.portfolio-item .portfolio-item-inner:hover .portfolio-info h4{
	transform: translateX(0px);
	opacity: 1;
}
.portfolio-item .portfolio-item-inner .portfolio-info .icon{
	background: #fff;
	height: 40px;
	width: 40px;
	text-align: center;
	border-radius: 50%;
	position: absolute;
	bottom: 30px;
	right: 30px;
	transition: all 0.3s ease;
	transform: translateX(-20px);
	opacity: 0;
}
.portfolio-item .portfolio-item-inner:hover .portfolio-info .icon{
	transform: translateX(0px);
	opacity: 1;
}

.portfolio-item .portfolio-item-inner .portfolio-info .icon .fa{
	line-height: 40px;
}
.portfolio-item .portfolio-item-inner .portfolio-img img{
	width: 100%;
	display: block;
} 


/* Blog */

.blog .blog-item{
	flex: 0 0 33.33%;
	max-width: 33.33%;
	padding-bottom: 10px;
}
.blog .blog-item .blog-img{
	position: relative;
}
.blog .blog-item .blog-img .blog-date{
	position: absolute;
	color: #fff;
	padding: 4px 10px;
	border-radius: 5px;
	font-size: 14px;
	font-weight: 600;
	left: 15px;
	bottom: 15px;
}

.blog .blog-item .blog-item-inner{
	border: 1px solid #d4d4e3;
	border-radius: 10px;
}
.blog .blog-item .blog-item-inner .blog-info{
	padding: 30px 15px;
	background: #fdf9ff;
}
.blog .blog-item .blog-item-inner .blog-info .blog-title{
	font-size: 18px;
	font-weight: 700;
	text-transform: capitalize;
	color: #302e4d;
	margin-bottom: 10px;

}
.blog .blog-item .blog-item-inner .blog-info .blog-description{
	font-size: 16px;
	line-height: 40px;
	font-weight: 400;
	margin-bottom: 10px;
	color: #504e70;
}
.blog .blog-item .blog-item-inner .blog-info .blog-tags{
	font-size: 14px;
	line-height: 40px;
	font-weight: 400;
	margin-bottom: 10px;
	color: #504e70;
	text-transform: capitalize;
}
.blog .blog-item .blog-item-inner .blog-info .blog-tags a{
	text-decoration: none;
	font-weight: 600;
}

.blog .blog-item .blog-item-inner .blog-img img{
	height: 200px;
	width: 100%;
	display: block;
	transition: all 0.3s ease;
}

.blog .blog-item .blog-item-inner:hover .blog-img img{
	transform: scale(1.1);
}

/*contact section */
.contact .contact-info-item{
	flex: 0 0 33.33%;
	text-align: center;
	margin-bottom: 40px;
}
.contact .contact-info-item .icon{
	display: inline-block;
}

.contact .contact-info-item .icon .fa{
	font-size: 40px;
}

.contact .contact-info-item h4{
	font-size: 18px;
	font-weight: 700;
	color: #302e4d;
	text-transform: capitalize;
	margin: 15px 0 5px;
}
.contact .contact-info-item p{
	font-size: 16px;
	font-weight: 400;
	color: #504e70;
	margin: 0;
}
.contact .contact-form{
	flex: 0 0 100%;
	max-width: 100%;
}
.contact .contact-form .col-6{
	flex: 0 0 50%;
	max-width: 50%;
}
.contact .contact-form .col-12{
	flex: 0 0 100%;
	max-width: 100%;
}
.contact .contact-form .form-item{
	margin-bottom: 30px;
}
.contact .contact-form .form-item .form-control{
	width: 100%;
	height: 50px;
	border-radius: 25px;
	border: 1px solid #d4d4e3;
	padding: 10px 25px;
	font-size: 16px;
	color: #504e70;
	transition: all 0.3s ease;
}
.contact .contact-form .form-item .form-control:focus{
	box-shadow: 0 0 20px rgba(48,46,77,0.15);
}
.contact .contact-form .form-item textarea.form-control{
	height: 150px;
}
.contact .contact-form .btn{
	height: 50px;
	padding: 0 50px;
	border: none;
}
/* lightbox */

.lightbox{
	position: fixed;
	top: 0;
	left: 0;
	background: rgba(0,0,0,0.6);
	width: 100%;
	height: 100%;
	z-index: 100;
	display: none;
	align-items: center;
	justify-content: center;
	cursor: zoom-out;
}

.lightbox.open{
	display: flex;
}

.lightbox .lightbox-content img{
	width: auto;
	height: auto;
	max-height: 430px;
	max-width: 100%;
	cursor: pointer;
}
.lightbox .lightbox-content{
	position: relative;
}

.lightbox.open .lightbox-content{
	animation: lightboxImage .5s ease-in;
}
@keyframes lightboxImage{
	0%{
		transform: scale(0.8);
	}
	100%{
		transform: scale(1);
	}
}
.lightbox .lightbox-content .lightbox-close{
	position: absolute;
	height: 40px;
	width: 40px;
	right: 0;
	font-size: 32px;
	color: #fff;
	top: -40px;
	line-height: 40px;
	text-align: right;
}
.lightbox .lightbox-content .lightbox-caption{
	position: absolute;
	bottom: -20px;
	left: 0;
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
	font-size: 16px;
	font-weight: 400;
	color: #fff;
}

.lightbox .lightbox-controls .prev-item,
.lightbox .lightbox-controls .next-item{
	position: absolute;
	width: 40px;
	height: 40px;
	background: #fff;
	text-align: center;
	border-radius: 50%;
	line-height: 40px;
	cursor: pointer;
	top: 50%;
	margin-top: -20px;
	z-index: 110;
	transition: all 0.3s ease-in;
}
.lightbox .lightbox-controls .prev-item:hover,
.lightbox .lightbox-controls .next-item:hover{
	transform: scale(1.1);
}

.lightbox .lightbox-controls .prev-item{
	left: 30px;
}

.lightbox .lightbox-controls .next-item{
	right: 30px;
}
.lightbox .lightbox-controls .prev-item .fa,
.lightbox .lightbox-controls .next-item .fa{
	font-size: 32px;

}

/* Dark Theme */
body.dark .section{
	background: #151515;
}

body.dark .contact .contact-form .form-item .form-control,
body.dark .blog .blog-item .blog-item-inner .blog-info,
body.dark .service .service-item .service-item-inner,
body.dark .aside{
	background: #222222;
}

body.dark .contact .contact-info-item h4,
body.dark .blog .blog-item .blog-item-inner .blog-info .blog-title,
body.dark .portfolio .portfolio-filter button,
body.dark .service .service-item .service-item-inner h4,
body.dark .about .about-content .timeline .timeline-title,
body.dark .section-title h2,
body.dark .about .about-content h3.title,
body.dark .about .about-content .personal-info .info-item p,
body.dark .about .about-content .skills .skill-item h5,
body.dark .about .about-content .about-text h3,
body.dark .home .intro h1,
body.dark .aside .logo a,
body.dark .aside .nav li a{
	color: #fff;
}

body.dark .contact .contact-form .form-item .form-control,
body.dark .contact .contact-info-item p,
body.dark .blog .blog-item .blog-item-inner .blog-info .blog-tags,
body.dark .blog .blog-item .blog-item-inner .blog-info .blog-decription,
body.dark .service .service-item .service-item-inner p,
body.dark .about .about-content .timeline .timeline-date,
body.dark .about .about-content .timeline .timeline-text,
body.dark .about .about-content .personal-info .info-item p span,
body.dark .about .about-content .skills .skill-item .skill-percentage,
body.dark .about .about-content .about-text p,
body.dark .home .intro p{
	color: #e9e9e9;
}

body.dark .aside,
body.dark .blog .blog-item .blog-item-inner,
body.dark .aside .nav li a,
body.dark .about .about-content .timeline,
body.dark .about .about-content .personal-info .info-item p,
body.dark .portfolio-item .portfolio-item-inner,
body.dark .service .service-item .service-item-inner,
body.dark .contact .contact-form .form-item .form-control,
body.dark .aside nav li a{
	border-color: #393939;
}

/* Responsive */

@media (max-width: 1199px){
	.aside .nav-toggler{
		display: flex;
		left: 30px;
	}
	.aside .nav-toggler.open{
		left: 300px;
	}
	.aside{
		left: -270px;
	}
	.aside.open{
		left: 0;
	}
	.section{
		left: 0;
	}
	.section.open{
		left: 270px;
	}
	.main-content{
		padding-left: 0;
	}
	.about .about-content .personal-info .info-item p span{
		display: block;
		margin-left: 0;
	}
}
@media (max-width: 991px){
.service .service-item,
.portfolio .portfolio-item,
.blog .blog-item
 {
    flex: 0 0 50%;
    max-width: 50%;
}

}
@media (max-width: 767px){
	.blog .blog-item,
	.about .about-content .personal-info,
	.about .about-content .skills, 
	.about .about-content .education,
	.about .about-content .experience,
	.contact .contact-form .col-6
	{
    flex: 0 0 100%;
    max-width: 100%;
	}
	.portfolio .portfolio-filter button{
		margin-bottom: 10px;
	}

}
@media (max-width: 575px){
.service .service-item,
.portfolio .portfolio-item,
.contact .contact-info-item
 {
    flex: 0 0 100%;
}

}

.text-reveal{
	position: relative;
	color: transparent;
	font-size: 30px;
}
.text-reveal::before{
	content: "I' am a web Developer";
	color: #fff;
	position: absolute;
	left: 0;
	top: 0;
	overflow: hidden;
	width: 0;
	white-space: nowrap;
	border-right: 2px solid black;
	animation: revealText 3s ease forwards infinite;
}
@keyframes revealText {
	0% {
	  width: 0;
	}
	50% {
	  width: 100%;
	}
	100% {
	  width: 0;
	}
  }