*{
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: sans-serif;
}
/*------- Back to Top Button --------*/

html{
	scroll-behavior: smooth;
}
#progress{
	background-color: #f2df05;
	position: fixed;
	bottom: 20px;
	right: 30px;
	height: 60px;
	width: 60px;
	display: none;
	place-items: center;
	border-radius: 50%;
	z-index: 3;	
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
	cursor: pointer;
}
#progress-value{
	display: block;
	height: calc(100% - 15px);
	width: calc(100% - 15px);
	background-color: #ffffff;
	border-radius: 50%;
	display: grid;
	place-items: center;
	font-size: 28px;
	color: #f2df05;
}
#header{
	height: 100vh;
	background-image: url(imgs/background_1.png);
	background-position: center; 
	background-size: cover;
}
.container{
	margin-right: 100px; 
	margin-left: 100px;
}
.logo{
	margin-top: -15px;
	margin-left: -25px;
	width: 140px;
	cursor: pointer;
}
.header-text{
	max-width: 350px;
	margin-top: 65px;
}
h1{
	font-size: 30px;
	color: #000;
}
p{
	font-size: 16px;
	line-height: 18px;
	color: #333;
	animation-delay: 0.7s;
}
.square{
	height: 12px; 
	width: 12px;
	display: inline-block;
	background: #f2df05;
	margin: 15px 0; 
}
.common-btn{
	padding: 16px 36px;
	background: transparent;
	outline: none;
	border: 2px solid #f2df05;
	border-radius: 45px;
	font-weight: bold;
	cursor: pointer;
	color: #333;
	box-shadow: 0 10px 10px rgba(0,0,0,0.2);
	transition: 0.5s;
}
.common-btn:hover{
	color: #fff;
	background: #f2df05;	
}

.header-text button{
	margin-top: 20px;
	margin-bottom: 50px; 
	animation-delay: 1s;
}
.line-1{
	width: 15px;
	height: 15px;
	background: #f2df05;
	display: inline-block;
}
.line-2{
	width: 80px;
	height: 1px;
	background: #f2df05;
	display: inline-block;
}
.line-3{
	width: 60px;
	height: 1px;
	background: #f2df05;
	display: inline-block;
}
.line{
	line-height: 8px;
}
#sideNav{
	width: 250px;
	height: 100vh;
	position: fixed;
	right: -250px;
	top: 0;
	background: #f2df05;
	z-index: 2;
	transition: .5s;
}
nav ul li{
	list-style: none;
	margin: 50px 20px;
}
nav ul li a{
	text-decoration: none;
	color: #fff;
}
nav ul li a:hover{
	color: #333;
}
#menuBtn{
	width: 45px;
	position: fixed;
	right: 30px;
	top: 35px;
	z-index: 2;
	cursor: pointer;
}

/*---- Header Animation ----*/

.anim{
	opacity: 0;
	transform: translateY(35px);
	animation: moveup 0.7s linear forwards;
}
@keyframes moveup{
	100%{
		opacity: 1;
		transform: translateY(0px);
	}
}


/*---- Media Website ----*/
#media{
	height: 110vh;
	background-image: url(imgs/media_2.png);
	background-position: center; 
	background-size: cover;		
}
.contaimer{
	width: 100%;
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 50px 8%;
}
.photogallery{
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	grid-gap: 30px;
}
.photogallery img{
	width: 100%;
	transition: .4s
}
.photogallery img:hover{
	transform: scale(0.8) rotate(-15deg);
	border-radius: 20px;
	box-shadow: 0 32px 75px rgba(68,77,136,0.2);

}


/*---- Contact Website ----*/
#contact{
	height: 100vh;
	background-image: url(imgs/contact.png);
	background-position: center; 
	background-size: cover;		
}

/*---- Courses Website ----*/
#course{	
	height: 100vh;
	background-image: url(imgs/background_3.png);
	background-position: center; 
	background-size: cover;		
}
/*---- Freetrial Website ----*/

#freetrial{
	height: 100vh;
	background-image: url(imgs/new_bk2.png);
	background-position: center; 
	background-size: cover;
}
.content{
	max-width: 100%;
	margin-top: 65px;
}
.content h1{
	font-size: 60px;
	font-weight: 600;
	animation-delay: 0.7s;	
}
.content h1 span{
	color: #f1487a;
}
.content button{
	margin-top: 30px;
	margin-bottom: 50px; 
	animation-delay: 1.5s;
}
.launch-time{
	display: flex;
}
.launch-time div{
	flex-basis: 100px;
}
.launch-time div p{
	font-size: 40px;
	margin-bottom: 14px;
}
.rocket{
	width: 250px;
	position: absolute;
	right: 10%;
	bottom: 0;
	animation: rocket 4s linear infinite;
}
@keyframes rocket{
	0%{
		bottom: 0;
		opacity: 1;
	}
	100%{
		bottom: 105%;
		opacity: 0;
	}
}



/*---- About & Offer ----*/

#about,#offer{
	padding: 100px 0;
	display: flex;
	align-items: center;
	flex-wrap: wrap;
}
.about-left-col{
	flex-basis: 50%;
}
.about-left-col img{
	width: 90%;
}
.about-right-col{
	flex-basis: 50%;
	text-align: right;
}
.about-text{
	max-width: 500px;
	margin-right: 100px;
	display: inline-block;
}
.about-text h2{
	margin: 50px 0 10px;
	font-size: 20px;
	font-style: italic;
}
.about-text h3{
	font-size: 16px;
	font-style: italic;
	color: #333;
}


/*---- Features ----*/

#features{
	padding-top: 50px;
	padding-bottom: 50px;
}
.feature-row{
	width: 83%;
	margin: auto;
	display: flex;
	align-items: center;
	justify-content: space-around;
	flex-wrap: wrap;
}
.feature-col{
	flex-basis: 25%;
	text-align: center;
}
.feature-col img{
	width: 100px;
}
.feature-col h4{
	margin-bottom: 15px;
	font-size: 20px;
	font-weight: 400;
}
.feature-btn{
	margin: 80px auto 0;
	display: flex;
	align-items: flex-end;
	justify-content: center;
}
.feature-btn .line{
	text-align: right;
	display: inline-block;
	margin-right: 25px;
}
.features-img{
	width: 88%;
	margin: auto;
	position: relative;
	border-radius: 6px;
	overflow: hidden;
}

/*---- Courses ----*/

#courses{
	padding: 100px 0;
}
.course-row{
	display: flex;
	align-items: center;
	flex-wrap: wrap;
}
.course-right-col{
	flex-basis: 50%;
}
.course-right-col img{
	width: 105%;
}
.course-left-col{
	flex-basis: 50%;
}
.course-text{
	max-width: 350px;
}
.course-text button{
	margin: 30px 0;
}


/*---- Subscribe/How It Works ----*/

#offer button{
	margin: 35px 0;
}

/*---- Feat ----*/

#feat{
	width: 100%;
	padding: 70px 0;
}
.feat-box{
	width: 80%;
	margin: auto;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	text-align: center; 
}
.feats{
	flex-basis: 50%;
}
.feats-img{
	flex-basis: 50%;
	margin: auto;
}
.feats-img img{
	width: 70%;
	border-radius: 10px;
	box-shadow: 0 10px 10px 3px rgba(0,0,0,0.3);
}
.feats h1{
	text-align: left;
	margin-bottom: 10px;
	font-family: 'Open Sans';	
	font-weight: 400;
	color: #f2df05;
}
.feats-desc{
	display: flex;
	align-items: center;
	margin-bottom: 40px;
}
.feat-icon .fa{
	width: 50px;
	height: 50px;
	font-size: 30px;
	line-height: 50px;
	border-radius: 8px;
	color: #f2df05;
	border: 1px solid #f2df05;
}
.feat-text p{
	padding: 0 20px;
	text-align: initial;
	font-family: 'Open Sans';	
	color: #333;
}
.title-feat{
	text-align: center;
	padding-bottom: 70px;
}
.title-feat p{
	margin: auto;
	font-size: 30px;
	color: #f2df05;
	font-weight: bold;
	position: relative;
	z-index: 1;
	display: inline-block;
}

.title-feat p::after{
	content: '';
	width: 50px;
	height: 35px;
	background: linear-gradient();
	position: absolute;
	top: -18px;
	left: 0;
	z-index: -1;
	transform: rotate(10deg);
	border-top-left-radius: 35px;
	border-bottom-right-radius: 35px;
}
.title-feat h1{
	font-size: 35px;
	color: #333;	
}

@media screen and (max-width: 770px){
	.title-feat h1{
		font-size: 30px;
	}
	.feats{
		flex-basis: 100%;
	}
	.feats-img{
		flex-basis: 100%;
	}
	.feats-img img{
		width: 100%;
	}
}


/*---- Contact ----*/

.subscribe-row{
	display: flex;
	align-items: center;
	flex-wrap: wrap;
}
.subscribe-left-col,.subscribe-right-col{
	flex-basis: 50%;
}
.subscribe-right-col img{
	width: 120%;
}
form{
	max-width: 350px;
	margin: 30px 0;
}
form input{
	width: 100%;
	padding: 12px 10px;
	margin-bottom: 10px;
	outline: none;
	box-shadow: 0 10px 10px rgba(0,0,0,0.2);;
	box-sizing: border-box;
	border: 0;
}
.btn-box{
	width: 100%;
	display: flex;
	justify-content: space-between;
}
.btn-box button{
	flex-basis: 45%;
	padding: 12px 6px;
}
#msg{
	color: #f2df05;
	margin-bottom: 22px;
	display: block;	
}

/*---- Footer ----*/

#footer{
	padding: 50px 0 30px;
}
hr{
	width: 100%;
	border: 0;
	border-top: 1px solid #f2df05;
}
.footer-row{
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
}
.footer-left-col{
	flex-basis: 50%;
	margin-top: 30px;
}
.footer-right-col{
	flex-basis: 30%;
	margin-bottom: -55px;	
}
.footer-links{
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
}
.link-title h4{
	color: #f2df05;
	margin-bottom: 20px;
}
.link-title small{
	font-size: 13px;
}
.link-title small:hover{
	color: #f2df05;
}
.link-title a{
	text-decoration: none;
	color: #000;
}

.footer-info{
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	flex-wrap: wrap;	
}
.footer-logo img{
	width: 110px;
}
/*--
.footer-logo button{
	padding: 9px 28px;
	margin-top: 20px;
	font-size: 20px;
	color: #f2df05;
}
.footer-logo button{
	transform: translateY(30%);
	transition: .5s;
	z-index: 1;
}
.footer-logo button:hover{
	transform: translateY(-10px);
}
--*/
.copyright-text,.footer-logo{
	flex-basis: 40%;
}


/*---- Social Icons ----*/

.social-icons{
	width: 60px;
	position: fixed;
	top: 50%;
	left: 0;
	transform: translateY(-50%);
	z-index: 1;
}
.social-icons img{
	display: block;
	width: 24px;
	margin: 0 auto 20px;
	cursor: pointer;
	transition: .5s;
}
.social-icons img:hover{
	transform: translateX(10px);
}

/*------------- portfolio(blog/course page) --------------*/
.row{
	margin-top: 9%;
	display: flex;
	justify-content: space-between;
}
.blog-content{
	width: 80%;
	margin: auto;
	padding: 60px 0;
}
.blog-left{
	flex-basis: 50%;
}
.blog-left img{
	width: 100%;
	border-radius: 10px;
	box-shadow: 0 10px 10px rgba(0,0,0,0.2);	
}
.blog-left h2{
	color: #222;
	font-weight: 600;
	margin: 30px 0;
}
.blog-left p{
	color: 999;
	padding: 0;
}

.blog-right{
	flex-basis: 35%;
}
.blog-right h3{
	background: #f2df05;
	color: #fff;
	padding: 7px 0;
	font-size: 16px;
	margin-bottom: 10px;
	text-align: center;
}
.blog-right div{
	display: flex;
	align-items: center;
	justify-content: space-between;
	color: #555;
	padding: 8px;
}
.blog-right a{
	color: #555;
	text-decoration: none;
}
.blog-right a:hover{
	color: #f2df05;
}

/*------------- Contact --------------*/

.location{
	width: 80%;
	margin: auto;
	padding: 80px 0;
}
.location iframe{
	width: 100%;
	border-radius: 10px;
}
.contact-us{
	width: 80%;
	margin: auto;
}
.contact-col{
	flex-basis: 48%;
	margin-bottom: 30px;
}
.contact-col div{
	display: flex;
	align-items: center;
	margin-bottom: 5px;
}
.contact-col div .fa{
	font-size: 28px;
	color: #f2df05;
	margin: 40px;
	margin-right: 30px;
}
.contact-col div p{
	padding: 0;
	color: #777;	
}
.contact-col div h5{
	font-size: 20px;
	margin-bottom: 5px;
	color: #333;
	font-weight: 400;
}
.contact-col input, .contact-col textarea{
	width: 100%;
	padding: 15px;
	margin-bottom: 17px;
	outline: none;
	border: 2px solid #f2df05;
	border-radius: 0px;
}
textarea{
	font-size: 15px;
}

/*-------- POPUP FORM ----------*/
.popup{
	width: 400px;
	background: #fff3f3;
	border-radius: 6px;
	position: absolute;
	top: 0%;
	left: 50%;
	transform: translate(-50%,-50%) scale(0.1);
	text-align: center;
	padding: 0 30px 30px;
	color: #333;
	visibility: hidden;
	transition: transform 0.4s, top 0.4s; 
}
.open-popup{
	visibility: visible;
	top: 160%;
	transform: translate(-50%,-50%) scale(1);
}

.popup img{
	width: 100px;
	margin-top: -50px;
	border-radius: 50%;
	box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
.popup h2{
	font-size: 38px;
	font-weight: 500;
	margin: 30px 0 10px;
}
.popup p{
	font-size: 17px;
}	
.popup button{
	width: 35%;
	margin-top: 25px;
	padding: 11px 0;
	border: 1px solid #f2df05;	
	background: transparent;
	color: #f2df05;
	outline: none;
	font-size: 15px;
	border-radius: 25px;
	cursor: pointer;
	box-shadow: 0 10px 10px rgba(0,0,0,0.2);
	transition: .5s;
}
button:hover{
	color: #fff;
	background: #f2df05;
}

/*------------- Section Gallery --------------*/

.title-gallery p::after{
	content: '';
	width: 50px;
	height: 35px;
	background: linear-gradient();
	position: absolute;
	top: -18px;
	left: 0;
	z-index: -1;
	transform: rotate();
	border-top-left-radius: 35px;
	border-bottom-right-radius: 35px;
}
.title-gallery{
	text-align: center;
	padding-bottom: 70px;
}
.title-gallery p{
	margin-top: -5%;
	font-size: 25px;
	color: #f2df05;
	font-weight: bold;
	position: relative;
	z-index: 1;
	display: inline-block;
}
.title-gallery h1{
	color: #333;
	line-height: 70px;
	font-size: 30px;
}
.containers{
	width: 84%; 
	margin: 25px auto;
}
.rows{
	display: flex;
	align-items: center;
	flex-wrap: wrap;
}
.cols{
	flex-basis: 50%;
	min-width: 250px;
}
.feature-img{
	width: 88%;
	margin: auto;
	position: relative;
	border-radius: 6px;
	overflow: hidden;
}
.small-img-row{
	display: flex;
	background: #efefef;
	margin: 20px 0;
	align-items: center;
	border-radius: 6px;
	overflow: hidden;
	width: 85%;
}
.small-img{
	position: relative;
}
.small-img img{
	width: 130px;
}
.small-img-row p{
	margin-left: 20px;
	color: #707070;
	line-height: 22px; 
	font-size: 25px;
	font-family: 'Open Sans';	
}
.play-btn{
	width: 60px;
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%,-50%);
	cursor: pointer;
}
.small-img .play-btn{
	width: 35px;
}	
.video-player{
	width: 80%;
	position: absolute;
	left: 50%;
	top: 160%;
	transform: translate(-50%,-50%);
	display: none;
}
.close-btn{
	position: absolute;
	top: 10px;
	right:10px;
	width:30px;
	cursor: pointer;
}



/*---- Screen Responsiveness ----*/

@media only screen and (max-width: 770px){
	#header, #course, #contact, #media{
		background-image: none; 
	}
	.rocket{
		display: none;
	}	
	.container{
		margin-right: 50px; 
		margin-left: 50px;
	}
	.logo{
		margin-top: -15px;
		margin-left: -30px;
		width: 150px;
		cursor: pointer;
	}
	.header-text,.content{
		margin-top: 50px;
	}
	h1{
		font-size: 30px;
	}
	.content h1{
		font-size: 55px;
	}
	#menuBtn{
		width: 40px;
		right: 35px;	
	}
	#progress{
		width: 50px;
		height: 50px;
		right: 35px;
	}
	#progress-value{
		font-size: 22px;
	}
	.common-btn,.btn-box button{
		padding: 10px 16px;
		
	}
	.social-icons img{
		width: 15px;
		margin: 15px auto;
	}
	.about-left-col,.about-right-col{
		flex-basis: 100%;
	}
	.about-text{
		margin: 50px 50px 0;
		display: inline-block;
	}
	.about-text h2{
		font-size: 16px;
	}
	.feature-col{
		flex-basis: 100%;
		margin-bottom: 20px;
	}
	.course-left-col{
		flex-basis: 100%;
	}
	.course-right-col{
		flex-basis: 100%;
		margin-top: 70px;
	}
	.subscribe-left-col,.subscribe-right-col{
		flex-basis: 100%;
	}
	.subscribe-right-col{
		margin-top: 50px;
	}
	.footer-left-col,.footer-right-col{
		flex-basis: 100%;
	}
	.link-title{
		flex-basis: 50%;
		margin-bottom: 30px;
	}
	.row{
		flex-direction: column;
	}
	.blog-right h3{
		margin-top: 20px;
	}
	.rows{
		flex-direction: column;
		font-size: 14px;
	}
	.small-img-row{
		margin-left: 22px;
	}
	.location{
		margin-top: 25%;
	} 	
}






