/*@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@600&display=swap');*/
*{
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	list-style: none;
	text-decoration: none;
	font-family: "Roboto", sans-serif;/*Poppins*/
}
/* Dark Mode Button */
body{
	background: #17202A;
	color: #fff;
}
body.active{
	color: #333;
	background: #fff;
}
*::selection{
	color: #fff;
	background: #033a80;
}
/* End Dark Mode Button */
section{
	padding: 100px 10% 0px 10%;
}
.btn{
	display: inline-block;
	background: #033a80;
	color: #fff;
	padding: 7px 12px;
    text-transform: uppercase;
	border-radius: 0.5rem;
	margin-top: 20px;
}
.btn:hover{
	background: hsl(260, 100%, 51%);
}

/* WhatsApp */
.whatsapp{
	position: fixed;
	bottom: 60px;
	right: 20px;
}
.whatsapp img{
	width: 45px;
	height: 45px;
}

/* ====== 1. Top ====== */
.marquee{
    position: fixed;
    line-height: 20px;
    z-index: 9999;
}
.marquee marquee{
    color: #fff;
    font-size: 20px;
    padding: 3px 0px;
    text-transform: capitalize;
}
/* ====== 1. Navigaion Bar ====== */
header{
	position: fixed;
	width: 100%;
	top: 0;
	right: 0;
	z-index: 1000;
	background-color: rgba(0,0,0,0.1);
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 5px 10px;
	transition: 0.3s ease;
	box-shadow: -3px -3px 7px #ffffff73,
				2px 2px 5px rgba(94, 104, 121, 0.288);
    margin-top: 29px;
}
.logo img{
	height: 40px;
}
.navbar{
	display: flex;
}
.navbar a{
	font-size: 1rem;
	padding: 4px 6px;
	border-radius: 4px;
	color: #ffffff;
	font-weight: 500;
}
.navbar a:hover{
	background-color: #ffffff;
	color: #A93226;
}
#menu-icon{
	font-size: 24px;
	cursor: pointer;
	z-index: 10001;
	display: none;
	color: #ffffff;
}
/* ====== End Navigation Bar ====== */

/* ====== 2. Home Section ====== */
.home{
	background-image: url(../images/bg-7.jpeg);
	background-size: cover;
	background-repeat: no-repeat;
	min-height: 100vh;
	width: 100%;
}
.home .container{
	width: 100%;
	margin: 0px auto;
}
.affiliate{
    padding: 0px 0px 20px 0px;
}
.home h3{
	font-size: 28px;
	margin-bottom: 20px;
	/*color: #566573;*/
}
.home h1{
	font-size: 50px;
	margin-bottom: 20px;
	/*color: #2C3E50;*/
}
.home h1 span{
	text-transform: capitalize;
	color: tomato;
}

.home h4{
	font-size: 20px;
	text-transform: uppercase;
	margin-bottom: 20px;
	color: gold;
	/*color: #884EA0;*/
}
.home p{
	font-size: 20px;
	/*color: #566573;*/
}
@media(max-width: 991px){
    .affiliate{
    padding-top: 60px;
}
}
/* ====== End Home Section ====== */

/* ====== 3. About Section ====== */
.heading{
	text-align: center;
}
.heading h2{
	font-size: 30px;
}
.heading span{
	font-size: 0.941rem;
	color: rgb(2, 166, 70);
}
.about-container{
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1rem;
	margin-top: 2rem;
}
.about-img{
    overflow: hidden;
	width: 400px;
	margin: 0px auto;
}
.about-img .about-slider{
    position: relative;
	width: 500%;
	margin: 0px auto;
	left: 0;
	animation: about 8s infinite;
}
.about-img .about-slider img{
    width: 20%;
	height: 400px;
	float: left;
}
@keyframes about{
	0%{
		left: 0%;
	}
	30%{
		left: 0%;
	}
	35%{
		left: -100%;
	}
	65%{
		left: -100%;
	}
	70%{
		left: -200%;
	}
	100%{
		left: -200%;
	}
}
.about-text h4{
	font-size: 0.941rem;
	font-weight: 400;
	text-align: justify;
}
.about-text p{
	font-size: 14px;
	line-height: 22px;
	display: none;
}
.information{
	margin: 1rem 0 10px;
}
.information .info-box{
	display: flex;
	align-items: center;
	margin-bottom: 10px;
}
.information .info-box .bx{
	font-size: 22px;
	color: red;
}
.information .info-box span{
	font-weight: 400;
	margin-left: 1rem;
}
/* ====== End About Section ====== */

/* ====== 4. Skill Section ====== */
.skill-container{
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	align-items: center;
	gap: 2rem;
	margin-top: 4rem;
}
/*==== slider for */
.slider{
	width: 360px;
	height: 240px;
	background-image: url(../images/html.jpg);
	background-size: 100% 100%;
	margin: 10px auto;
	border: 5px solid #d1d1d1;
	box-shadow: 0px 0px 5px #333;

	animation: slider 6s infinite;
}
@keyframes slider{
	0%{
		background-image: url(../images/html.jpg);
	}
	33%{
		background-image: url(../images/php.jpg);
	}
	66%{
		background-image: url(../images/mysql.jpg);
	}
	100%{
		background-image: url(../images/html.jpg);
	}
}

/*==== end slider for */
.bar{
	width: 90%;
}
.bar-box{
	position: relative;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 1rem 0;
	margin-bottom: 1rem;
}
.bar-box h3,
.bar-box span{
	font-size: 1.1rem;
	font-weight: 500;
}
.light-bar{
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 0.5rem;
	background: hsla(260, 100%, 44%, 0.4);
	border-radius: 0.5rem;
}
.percent-bar{
	position: absolute;
	bottom: 0;
	left: 0;
	height: 0.5rem;
	background-color: #E82016;
	border-radius: 0.5rem;
}
.html-bar{
	width: 95%;
}
.css-bar{
	width: 90%;
}
.js-bar{
	width: 75%;
}
.php-bar{
	width: 90%;
}
.mysqli-bar{
	width: 85%;
}
/* ====== End Skill Section ====== */

/* ====== 5. Service Section ====== */
.service{
    
}
.service-content{
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(290px, auto));
	justify-content: center;
	gap: .9rem;
	margin-top: 2rem;
}
.service-box{
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: center;
	text-align: center;
	outline: none;
	padding: 15px;
	width: 100%;
	margin-bottom: 2px solid #033a80;
	box-shadow: 0 2px 7px rgba(14 55 54 / 15%);
	border-radius: 0.5rem;
	transition: 0.3s ease;
}
.service-box .bx{
	padding-top: 2rem;
	font-size: 60px;
	color: #033a80;
}
.service-box h3{
	font-weight: 600;
	font-size: .95rem;
	color: #033a80;
	padding: 20px 0px;
}
.service-box p{
	font-size: 14px;
	margin: 10px;
	text-align: justify;
	line-height: 22px;
}
.service-box a{
	color: #033a80;
	font-size: 0.941rem;
	font-weight: 500;
}
.service-box:hover{
	background: #02225a;
}
.service-box:hover h3{
	color: #fff;
}
.service-box:hover .bx{
	color: #22cf91;
}
.service-box:hover a{
	color: #8b8a8f;
}
.service-box:hover p{
	color: #8b8a8f;
}
/* ====== End Service Section ====== */

/* ====== 6. Portfolio Section ====== */
.menu-gallery{
    width:100%;}
.menu-gallery ul{
    display: flex;
    align-items: center;
    justify-content: center;}
.menu-gallery ul li{
	padding: 2px 10px;
	border-radius: 5px;}
.menu-gallery ul a{
    color: #fff;
    background-color: blue;
    border-radius: 3px;
    font-size: 12px;
  }
.portfolio-content{
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, auto));
	gap: 1rem;
	margin-top: 2rem;
	padding: 10px;
}
.portfolio-img{
	background-color: #fff;
  width: 90%;
  margin: 0px auto;
	overflow: hidden;
	border-radius: 10px;
	/*position: relative;*/
	box-shadow: 0 2px 7px rgba(14 55 54 / 15%);
}
.portfolio-img img{
	width: 100%;
	height: 200px;
	display: block;
	margin-bottom: 10px;
}
.portfolio-img img:hover{
	transform: scale(1.1);
	transition: .5s ease;
}
.portfolio-img p{
	color: #000000;
	font-size: 13px;
	text-align: left;
	margin-left: 15px;
	padding: 5px;
	/*position: absolute;*/
}
.portfolio-img p a{
    color: tomato;
    border: 1px solid tomato;
    padding: 1px 2px;
    border-radius: 3px;
    transition: .3s ease;
}
.portfolio-img p a:hover{
    background: #000;
}
/* ====== End Portfolio Section ====== */

/* Contact Page 1st part*/
	#contact-details{
		display: flex;
		align-items: center;
		justify-content: space-between;
	}
	#contact-details .details{
		width: 40%;
	}
	#contact-details .details span,
	#form-details form span{
		font-size: 12px;
	}
	#contact-details .details h2,
	#form-details form h2{
		font-size: 26px;
		line-height: 35px;
		padding: 20px 0;
	}
	#contact-details .details h3{
		font-size: 16px;
		padding-bottom: 15px;
	}
	#contact-details .details li{
		list-style: none;
		display: flex;
		padding: 10px 0;
	}
	#contact-details .details li i{
		font-size: 14px;
		padding-right: 22px;
	}
	#contact-details .details li p{
		margin: 0;
		font-size: 14px;
	}
	#contact-details .map{
		width: 55%;
		height: 400px;
	}
	#contact-details .map iframe{
		width: 100%;
		height: 100%;
	}

@media(max-width: 477px){
	#contact-details{
		flex-direction: column;
	}
	#contact-details .details{
		width: 100%;
		margin-bottom: 30px;
	}
	#contact-details .map{
		width: 100%;
	}
	#contact-details .map iframe{
		width: 100%;
		height: 100%;
	}
}
/* ====== 7. Contact Section form part ====== */
.contact-form{
	display: grid;
	place-items: center;
	margin-top: 1rem;
}
.contact-form form{
	display: flex;
	flex-direction: column;
	width: 650px;
}
form input,
form textarea{
	padding: 15px;
	border-radius: 0.5rem;
	width: 100%;
	border: none;
	outline: none;
	background:#d1d1d1;
	margin-bottom: 1rem;
	color: #0f0c27;
}
form textarea{
	resize: none;
	height: 200px;
}
.contact-button{
	width: 160px;
	cursor: pointer;
	background: #2768d9;
	color: #fff;
	justify-content: center;
	text-transform: uppercase;
	letter-spacing: 1px;
	margin-left: 35%;
}
.contact-button:hover{
	background: hsl(260, 100%, 51%);
}
/* ====== End Contact Section ====== */

/* ====== 8. Footer Section ====== */
.footer{
	display: grid;
	place-items: center;
	padding: 20px 0px 55px 0px;
	background: #d1d1d1;
}
.footer h2{
	font-size: 1.5rem;
	margin-bottom: 1.1rem;
	color: #A93226;
}
.footer h2 span{
	color: #2C3E50;
}
.footer-social a i{
	color: rgb(10, 26, 208);
	font-size: 25px;
	margin-left: 10px;
	text-align: center;
	line-height: 40px;
	background-color: #fff;
	border-radius: 50%;
	width: 40px;
	height: 40px;
}
.footer-social a i:hover{
	color: red;
}
/* ====== End Footer Section ====== */

/* ====== 9. Copyright Section ====== */
.copyright{
    width: 100%;
    position: fixed;
    bottom: 0;
	padding: 10px;
	text-align: center;
	color: #fff;
	background: #0f0c27;
}
.copyright a{
	color: #22cf91;
}
.copyright a:hover{
	color: gold;
}
/* ====== End Copyright Section ====== */

/* ====== 10. Make it responsive ====== */
@media(max-width: 991px){
	header{
		padding: 5px 4%;
	}
	section{
		padding: 50px 4%;
	}
	.home h3{
	font-size: 23px;
	padding-top: 100px;
	}
	.home h1{
		font-size: 40px;
	}
	.home h4{
		font-size: 18px;
	}
	.home p{
		font-size: 16px;
	}
}

@media(max-width: 768px){
	header{
		padding: 5px 4%;
	}
	#menu-icon{
		display: initial;
	}
	header .navbar{
		position: absolute;
		top: -500px;
		left: 0;
		right: 0;
		display: flex;
		flex-direction: column;
		background: #000;
		opacity: .7;
		box-shadow: 0 4px 4px rgb(0 0 0 / 10%);
		transition: 0.3s ease;
		text-align: center;
	}
	.navbar.active{
		top: 100%;
	}
	.navbar a{
		padding: 1.5rem;
		display: block;
		background: #000;
	}
	.home h3{
	font-size: 23px;
	padding-top: 100px;
	}
	.home h1{
		font-size: 30px;
	}
	.about-container{
		grid-template-columns: 1fr;
	}
	.about-img{
		margin-bottom: 20px;
	}
	.about-text{
		margin: 0px auto;
	}
	.skill-container{
		grid-template-columns: 1fr;
	}
	.contact-form form{
		width: 300px;
	}
	.contact-button{
		margin-left: 25%;
	}
}

@media(max-width: 450px){
	.home h3{
	font-size: 16px;
	}
	.home h1{
		font-size: 20px;
	}
	.home h4{
		font-size: 14px;
	}
	.home p{
		font-size: 12px;
	}
	.about-img{
	width: 220px;
	}
	.about-img .about-slider img{
	height: 220px;
	}
	.about-text{
		width: 95%;
	}
	.slider{
	width: 210px;
	height: 140px;
	}
	.information .info-box span{
		font-size: .8rem;
	}
	.service-box{
	padding: 10px;
	width: 100%;
	}
	.portfolio-content{
		grid-template-columns: repeat(auto-fit, minmax(200px, auto));
	}
	.contact-form form{
		width: 100%;
	}
	.contact-button{
		margin-left: 15%;
	}
}

/*register & login form page*/
.login{
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0px 0px 50px 0px;
	/*background: #FAFAFA;*/
}
.login form{
	padding: 25px;
	border-radius: 5px;
	box-shadow: 0 5px 10px rgba(0,0,0,.1);
	background: #fff;
	text-align: center;
	width: 500px;
}
.login form h3{
	font-size: 22px;
	text-transform: uppercase;
	margin-bottom: 10px;
	color: #333;
}
.login form input,
.login form select{
	width: 100%;
	padding: 8px 15px;
	font-size: 17px;
	margin: 8px 0;
	background: #eee;
	border-radius: 5px;
}
.login form select option{
	background: #fff;
}
.login form .form-btn{
	background: #fbd0d9;
	color: crimson;
	text-transform: capitalize;
	font-size: 18px;
	cursor: pointer;
	transition: .3s ease;
}
.login form .form-btn:hover{
	background: crimson;
	color: #fff;
}
.login form p{
	margin-top: 10px;
	font-size: 16px;
	color: #333;
}
.login form p a{
	color: crimson;
	background: #fbd0d9;
	transition: .3s ease;
	padding: 5px 8px;
	border-radius: 5px 8px;
	text-transform: capitalize;
}
.login form p a:hover{
	color: #fff;
	background: crimson;
}
.login form .error-msg{
	margin: 10px 0;
	display: block;
	background-color: crimson;
	color: #fff;
	border-radius: 5px;
	font-size: 15px;
	padding: 10px;
}

.message{
	position: sticky;
	top: 0;
	left: 0;
	right: 0;
	padding: 15px 10px;
	background-color: #fff;
	text-align: center;
	z-index: 1000;
	/*box-shadow: 0 5px 10px rgba(0,0,0,.1);*/
	color: #000;
	font-size: 20px;
	text-transform: capitalize;
	cursor: pointer;
}