*{
    margin:0;
    padding:0;
    box-sizing: border-box;
}
:root	{
	--ff-primary:'Source Sans Pro', sans-serif;
	--ff--secondary:'Source Code Pro', monospace;

	--fw-reg: 300;
	--fw-bold: 900;

	--clr-light:#fff;

	--clr-dark: #303030;
	--clr-accent: #162992;


	--fs-h1: 3rem;
	--fs-h2: 2.25rem;
	--fs-h3: 1.25rem;
	--fs-body: 1rem;

	--bs: 0.25em 0.25em 0.75em rgba(0,0,0,0.25),
	 0.125em 0.125 0.25em rgba(0,0,0,0.15);
}
 html{
	scroll-behavior: smooth;
} 
 body{
background-color: var(--clr-dark);
} 
section{
	padding: 5em 2em;
}
 img{
	max-width: 100%;
	display: block;
} 
h1, h2, h3{
	line-height: 1;
	margin: 0;

}

h1{ font-size: var(--fs-h1);}
h2{ font-size: var(--fs-h2);}
h2{ font-size: var(--fs-h3);}
.btn{
	display: inline-block;
	padding: .5em 1.5em;
	background: var(--clr-accent);
	color: var(--clr-dark);
	text-decoration: none;
	cursor: pointer;
	font-size: .8rem;
	text-transform: uppercase;
	letter-spacing: 2px;
	font-weight: var(--fw-bold);
	transition: transform 200ms ease-in-out;
}
.btn:hover{
	transform: scale(1.1);
}

/* nav */
header{
	display: flex;
	justify-content: space-between;
	padding: 1em;
	background-color:var(--clr-dark);
}
.logo{
	max-width: 100px;

}
.nav{
	position: fixed;
	background: rgba(0,0,0,0.8);
	color: var(--clr-light);
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 100;

	transform: translateX(100%);
	transition: transform 250ms cubic-bezier(.5,0,.5, 1);
}
.nav__list{
	list-style-type: none;
	display: flex;
	height: 100%;
	flex-direction: column;
	justify-content: space-evenly;
	align-items: center;
	margin: 0;
	padding: 0;
}
.nav__link{
color: #fff;
font-weight: var(--fw-bold);
font-size: var(--fs-h1);
text-decoration: none;
border-bottom: 5px solid white;
line-height: 20px;
}
.nav__link:hover{
	color: var(--clr-light);
	transform: scale(1.5);
}
.nav-toggle{
	padding: .5em;
	background: transparent;
	border: 0;
	cursor: pointer;
	position: absolute;
	right: 1em;
	top: 1em;
	z-index: 1000;
}
.nav-open .nav{
	transform: translateX(0);
}

.nav-open .nav-toggle{
	position: fixed;
}
.nav-open .hamburger{
	transform: rotate(.625turn);
	
}
.nav-open .hamburger::before{
	transform: rotate(90deg) translateX(-6px) ;
	
}
.nav-open .hamburger::after{
	opacity: 0;
}



.hamburger{
	
	display: block;
	position: relative;
}
.hamburger,
.hamburger::before, 
.hamburger::after{
	background: var(--clr-light);
	width: 2em;
	height: 3px;
	border-radius: 1em;
	transition: transform 250ms ease-in-out;
}

.hamburger::before, 
.hamburger::after{
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	
}

.hamburger::before{
	top: 6px;
}
.hamburger::after{
	bottom: 6px;
}








/* about me */
.about{
position: relative;	
box-sizing: border-box;

font-family: var(--ff--secondary);
background-color: var(--clr-dark);
	
}
.about-image{
	box-shadow: var(--bs);
}
.about-me__body{
	color: var(--clr-light);
	padding: 10px;
	text-align: justify;
	text-justify:inter-word;
}
.head{
	font-weight: var(--fw-reg);
	background-color: var(--clr-dark);
	color: var(--clr-light);
}

.course{
	background-color: var(--clr-dark);
	color: var(--clr-light);
	margin: 0px auto;
	height: : 30px;

}

.course ul{
	list-style: none;
	padding: 20px;
	line-height: 30px;

	font-size: var(--fs-h3);
}
.course ul li{
	display: inline;
}
.course ul li:hover{
	color: white;
	
}

.hobbies{
	background-color: var(--clr-dark);
	color: var(--clr-light);
	margin: 0px auto;

}
.hobbies ul{
	list-style: none;
	padding: 20px;
	line-height: 30px;
	font-size: var(--fs-h3);
}
.hobbies ul li{
	display: inline
}
.hobbies ul li:hover{
	color: white;
	
}
/* typing effect */
#type{
	padding-left: 50px;
	margin-bottom: 0px;
}
.typing{
	margin-left: 10px;
	position: relative;
	background-color: --var(--clr-accent)


}
.typing::after{
	content:"";
	position: absolute;
	width: 1px;
	height: 100%;
	border-right: 2px solid white;	
	animation: blink 0.9s infinite ease;
}


@keyframes blink{
	0%{
		opacity: 0;
	}
	50%{
		opacity:1;
	}
	100%{
		opacity: 0;
	}
}
.btn{
	color: var(--clr-light);
	margin-left: 150px;
	padding: 10px;
	font-size: var(--fs-h3);
	
	margin-bottom: 10px;
	
}

@media (min-width:1239px){

.about{
	/* background-color: red; */
	display:grid;
	margin: 0 auto;
	grid-column-gap: 5em;
	align-items: center;
	grid-template-areas: 
	"img body";
	grid-template-columns: min-content max-content ;
	
}
.btn{
	color: var(--clr-light);
	margin-left: 400px;
	padding: 20px;
	font-size: var(--fs-h3);
	margin-bottom: 10px;
	
}




#type{
	padding-left: 50px;
	font-size: var(--fs-h2);
}

 
.about-image{
	grid-area: img;
	min-width: 300px;
	width: 40%;
	padding-top: 50px;
	height: 400px;
	min-height: 100px;
}
.about-me__body{
	color: var(--clr-light);
	grid-area: body;
	min-width: 300px;
	padding: 10px;
	width: 50%;
	text-align: justify;
	text-justify:inter-word;
	font-family: var(--ff--secondary);
	font-size:var(--fs-h3);
	
}
.section{
	/*display: flex;
	justify-content: space-between;*/
	padding: 10px;
}
.course{
	background-color: var(--clr-dark);
	color: var(--clr-light);
	margin: 0px auto;

}

.course ul{
	list-style: none;
	padding: 20px;
	line-height: 30px;

	font-size: var(--fs-h3);
}

.course ul li:hover{
	color: yellow;
	
}

.hobbies{
	background-color: var(--clr-dark);
	color: var(--clr-light);
	
	margin: 0px auto;

}
.hobbies ul{
	list-style: none;
	padding: 20px;
	line-height: 30px;
	font-size: var(--fs-h3);
}

.hobbies ul li:hover{
	color: yellow;
	
}
}
/* services */
.my-services{
	background-color: var(--clr-dark);
	background-image: url('../image/service-bg.jpg');
	background-size: cover;
	color: var(--clr-light);
	

*/
text-align: center;
}
.section__title--services{
	font-size: var(--fs-h1);
	color: white;
	position: relative;
	text-align: center;

	
}
.section__title--services::after{
	content: '';
	display: block;
	width: 2em;
	height: 1px;
	margin: 0.5em auto 1em;
	background: var(--clr-light);
	opacity: .25;
}

.services{
	margin: 20px;
	box-sizing: border-box;
	

}
.service1, .service2, .service3{
	max-width: 500px;
	margin: 5px;
	

}

.service1, .service2, .service3, p{
	padding: 30px;
	font-size: var(--fs-h3);
	font-family: var(--ff-primary);
}

/* text animation */
span{
	
	transition: all 0.5s ease;

}
 .fade{
	color:var(--clr-light);
}
@media(min-width: 800px){
	.services{
		display: flex;
		max-width: 2000px;
		margin-left:  auto;
		margin-right: auto;
		align-self: center;
		

	}
	.service1, .service2, .service3{
		margin: 5px;
		background-color: rgba(0,0,0,0.2);
		border-radius: 5px;
		
	}
	.service1, .service2, .service3, p{
	padding: 30px;
	font-size: var(--fs-h3);
	font-family: var(--ff-primary);
}
.service3:hover{
	background-color: rgba(0,0,0,0.4);
}
.service2:hover{
	background-color: rgba(0,0,0,0.4);
}
.service1:hover{
	   background-color: rgba(0,0,0,0.4);
}
#my_btn{
	margin-left: 500px;
}}


/* project */
.work{
	width: 100%;
	height: 500 auto;
	background-color: var(--clr-dark);
}
.work-title{
	color:var(--clr-light);
	font-size: var(--fs-h1);
	text-align: center;
	padding-bottom: 50px;
}


.carousel{
	
	position: relative;
	height: 600px;
	width: 80%;
	margin: 0 auto;
}
.carousel__image{
	width: 100%;
	height: 100%;
	object-fit: cover;

}
.carousel__track-container{
	background-color: lightgreen;
	height: 100%;
	position: relative;
	overflow: hidden;
	
}
.carousel__track{
	padding:0;
	margin: 0;
	list-style: none;
	position: relative;
	height: 100%;
	transition: transform 250ms ease-in;
}
.carousel__slide{
	position: absolute;
	top: 0;
	bottom: 0;
	width: 100%;


}
.carousel__button{
	position:absolute;
	top:50%;
	transform: translateY(-50%);
	background: transparent;
	border: 0;
	cursor: pointer;

}
.carousel__button img{
	width: 30px;
}
.carousel__button--left{
left: -40px;
}
.carousel__button--right{
	right: -40px;
}
.carousel__nav{
	background: pink;
	display: flex;
	justify-content: center;
	padding: 10px 0;
}
.carousel__indicator{
	border:0;
	border-radius: 50%;
	width: 20px;
	height: 20px;
	background: rgba(0,0,0,.3);
	margin: 0 12px;
}

.carousel__indicator.current-slide{
	background-color: rgba(0,0,0,1);
}
.is-hidden{
	display: none;
}

/* resume */
.resume{
	background-color: var(--clr-light);
	text-decoration: underline;
	color: var(--clr-dark);
	height: auto;
	
}
.res{
	text-decoration: none;
	text-align: center;
	margin-left: 150px;
	margin-top: 50px;
}
.re{
	text-align: center;
	font-family: var(--ff-primary);
	font-size:var(--fs-h1);
}
@media(min-width: 800px){
	.resume{
		background-color: var(--clr-light);
		text-decoration: underline;
		color: var(--clr-dark);
		height: auto;
		
	}
	.res{
		text-decoration: none;
		text-align: center;
		margin-left: 650px;
		margin-top: 50px;
	}
	.re{
		text-align: center;
		font-family: var(--ff-primary);
		font-size:var(--fs-h1);
	}
}


/* footer */
.footer{
	background: var(--clr-light);
	color: var(--clr-light);
	text-align: center;
	padding: 2.5em 0;
	font-weight: var(--fw-bold);

}
.footer a{
	color: var(--clr-accent);
	text-decoration: none;

}
.footer__link{
	font-size: var(--fs-h3);
	

}



.footer__link:hover,
.social-list__link:hover{
	opacity: .7;

}
.foter__link:hover{
	text-decoration: underline;
}
.social-list{
	list-style: none;
	display: flex;
	justify-content: center;
	margin: 2em 0 0;
	padding: 0;
}
.social-list__item{
	margin: .5em;

}
.social-list__link{
	padding: .5em;
}
.copy{
	color:var(--clr-accent);
	
	font-family: var(--ff-primary);
	padding-top: 5px;
}

