
/*
====================================================


	1. PRIMARY STYLES
	2. COMMONS FOR PAGE DESIGN
	3. HEADER
	4. INTRO SECTION
	5. PORFOLIO SECTION
	6. ABOUT SECTION
	7. EXPERIENCE SECTION
	8. EDUCATION SECTION
	9. COUNTER SECTION
	10. FOOTER

====================================================


---------------------------------
1. PRIMARY STYLES
--------------------------------- */
*{box-sizing: border-box;}
:root{ --main: #f1f1f1;--alert-bg : #fff3cd; --alert-bg-border-color: #ffecb5;}
.nightmode:root{ --main: #161b28; --color: white}
html{ font-size: 100%; height: 100%; overflow-x: hidden; margin: 0px;  padding: 0px; touch-action: manipulation; }


body{ font-size: 16px; font-family: 'Poppins', sans-serif; width: 100%; margin: 0; font-weight: 400;
	-webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; word-wrap: break-word;
	color: var(--color,#0d0c22); background: var(--main,#e4e6ee); }

h1, h2, h3, h4, h5, h6, p, a, ul, span, li, img, inpot, button{ margin: 0; padding: 0; }

h1, h2, h3, h4, h5, h6{ line-height: 1.5; }

h1,h2,h3{ font-family: 'Poppins', sans-serif; }

p{ line-height: 1.6; font-size: 1.05em; font-weight: 400; color: var(--color); }

h1{ font-size: 4em; line-height: 1; }
h2{ font-size: 2.2em; line-height: 1.1; }
h3{ font-size: 1.8em; }
h4{ font-size: 1.3em; }
h5{ font-size: 1em; }
h6{ font-size: .9em; }

a, button{ display: inline-block; text-decoration: none; color: inherit; line-height: 1;
	-webkit-transition: all .25s ease-in-out; transition: all .25s ease-in-out; }

a:focus, a:active, a:hover,
button:focus, button:active, button:hover,
a b.light-color:hover{ text-decoration: none; color: #FCBE11; }

b{ font-weight: 600; }

img{ width: 100%; }

li{ list-style: none; display: inline-block; }

span{ display: inline-block; }

button{ outline: 0; border: 0; background: none; cursor: pointer; }

.icon{ font-size: 1.1em; display: inline-block; line-height: inherit; }

svg.icon{ width: 1.25rem; height: 1.25rem;}

[class^="icon-"]:before, [class*=" icon-"]:before{ line-height: inherit; }

b.max-bold{ font-weight: 700; }



/* ---------------------------------
2. COMMONS FOR PAGE DESIGN
--------------------------------- */

.theme-alert{ display: flex; justify-content: space-between;background: var(--alert-bg); border: 1px solid var(--alert-bg-border-color); padding: 1rem; font-size: calc(1rem - 2px);color: #664d03;}

.theme-alert-icons{display:flex; align-items: center;}

.theme-alert-icons > * {margin-left: .5rem;cursor: pointer;}

.section{ padding: 100px 0 50px; }

.section .heading{ margin-bottom: 60px; position: sticky; top: 2rem }

.section .heading:before{ content:''; height: 10px; width: 50px; border-radius: 5px;
	margin-bottom: 20px; display: block; background: #FCBE11; }

.margin-t-10{ margin-top: 10px; }

.margin-b-30{ margin-bottom: 30px; }
.margin-b-50{ margin-bottom: 50px; }

.margin-tb-30{ margin-top: 30px; margin-bottom: 30px; }

.font-yellow{ color: #FFA600; }

.font-semi-white{ color: #ddd; }

.font-lite-black{ color: #999; }


/* ---------------------------------
3. HEADER
--------------------------------- */

.intro-header{ padding: 2rem 0; }

.intro-header .heading-wrapper{ border-radius: 5px; padding: 30px 40px; background: #639fde radial-gradient(circle farthest-corner at 12.3% 19.3%,#639fde 0,#1b4d9c 100.2%); color: #fff; }


.intro-header .info .icon{ float: left; font-size: 30px; }

.intro-header .info .right-area{ margin-left: 45px; }

.intro-header .downlad-btn{ padding: 15px 30px; border-radius: 4px; float: right; margin-top: 30px;
	box-shadow: inset 0 0px 4px rgba(0,0,0,.3); background: #FFAD01; color: #fff;
	-webkit-transition: all .2s ease; transition: all .2s ease; }

.intro-header .downlad-btn:hover{ -webkit-transform: translateY(-4px); transform: translateY(-4px); }


/* ---------------------------------
4. INTRO SECTION
--------------------------------- */

.intro-section{ position: relative; background-size: cover;
	z-index: 1;background-image: url(/images/slider-1-1920x1080.jpg); }

.intro-section:before{ content:''; z-index: -1; position: absolute; top: 0; bottom: 0; left: 0;
	right: 0; background: rgba(0,0,0, .3); }

.intro-section:after{ content: ''; position: absolute; bottom: 0; left: 0; right: 0;
	height: 150px; z-index: -1; background: var(--main,#fff); }

.intro{ padding: 0 20px; margin-top: 100px; text-align: center; background: var(--main,#fff); }

.intro .profile-img{ height: 200px; width: 200px; border-radius: 100px; margin: 0 auto;
	overflow: hidden; position: relative; top: -100px; margin-bottom: -70px;  }

.intro .information > li{ display: block; margin: 5px 0; }

.intro .social-icons > li > a{ height: 35px; line-height: 35px; width: 35px; border-radius: 20px;
	overflow: hidden; z-index: 1; position: relative; margin: 0 5px 5px; background: #887392; color: #fff; }

.intro .social-icons > li > a:after{ content: ''; position: absolute; bottom: 0; left: 0; right: 0;
	top: 0; z-index: -1; border-radius: 20px; background: #FCBE11;
	-webkit-transition: all .2s ease; transition: all .2s ease;
	-webkit-transform: scale(0); transform: scale(0); }

.intro .social-icons > li > a:hover:after{ -webkit-transform: scale(1); transform: scale(1); }


/* ---------------------------------
5. PORFOLIO SECTION
--------------------------------- */


.portfolio-section .portfolioFilter{ margin-top: 60px; color: #666; }

.portfolio-section .portfolioFilter a{ margin: 10px 10px 0 0; }

.portfolio-section .portfolioFilter a.current{  color: #FCBE11; }

.portfolio-section .portfolioContainer{ margin-left: -15px; margin-right: -15px; }

.portfolio-section .p-item{ width: 33.333%; padding: 0 7.5px 0px; margin-top: 15px; }

.portfolio-section .p-item a{ display: inline; }

.portfolio-section .p-item.p-item-2 .img:first-child{ float: left; width: 50%; padding-right: 7.5px; }

.portfolio-section .p-item.p-item-2 .img:last-child{ float: right; width: 50%; padding-left: 7.5px; }


/* ---------------------------------
6. ABOUT SECTION
--------------------------------- */

.radial-progress{ position: relative; max-width: 200px; margin: 0 auto; }

.radial-progress .progressbar-text{ font-size: 2.2em; font-weight: 600;
	padding-bottom: 25px!important; color: var(--color,#333)!important; }

.radial-progress .progressbar-text:after{ content:'%'; }

.radial-progress .progress-title{ position: absolute; top: 50%; left: 50%; width: 100%;
	letter-spacing: 0; text-align: center; transform: translate(-50%, 15px); color: var(--color,#777); font-size: .8em; line-height: 1.2; }



/* ---------------------------------
7. EXPERIENCE SECTION
--------------------------------- */

.experience-section{ background: #639fde radial-gradient(circle farthest-corner at 12.3% 19.3%,#639fde 0,#1b4d9c 100.2%); color: #fff; }

.experience .list > li{ display: block; position: relative; margin-bottom: 10px; padding-left: 20px; }

.experience .list > li:before{ content: ''; position: absolute; top: 50%; left: 0; height: 10px;
	width: 10px; margin-top: -5px; display: block; border-radius: 10px; border: 2px solid #fff; }


/* ---------------------------------
8. EDUCATION SECTION
--------------------------------- */

.education-wrapper{ position: relative; }

.education-wrapper:after{ content:''; position: absolute; top: 8px; bottom: 0; left: -51px;
	width: 2px; background: #ccc; }

.education-wrapper .education{ position: relative; }

.education-wrapper .education:after{ content:''; position: absolute; top: 8px; left: -58px; width: 16px;
	height: 16px; border-radius: 10px; z-index: 1;
	box-shadow: 0 0 0 8px rgba(255,171,0, .4); background: #FFAB00; }


/* ---------------------------------
9. COUNTER SECTION
--------------------------------- */

.counter-section{ position: relative; padding: 100px 0 70px; z-index: 1;
	background: url(/images/slider-bottom.jpg) no-repeat fixed center bottom / cover; color: #fff; }

.counter-section:after{ content:''; z-index: -1; position: absolute; top: 0; bottom: 0; left: 0;
	right: 0; background: rgba(0,0,0, .2); }

.counter{ display: flex; align-items: center; }

.counter .title{ margin-right: .75rem; }




/* ---------------------------------
10. FOOTER
--------------------------------- */

.copyright{ text-align: center; padding: 30px 0; background: #639fde radial-gradient(circle farthest-corner at 12.3% 19.3%,#639fde 0,#1b4d9c 100.2%); color: white; }

header{
	display: block;
	position: sticky;
	top: 0;
	z-index: 9;
	display: flex;
	
	background: #639fde radial-gradient(circle farthest-corner at 12.3% 19.3%,#639fde 0,#1b4d9c 100.2%);
	background: #0d0c22;
	padding: 1rem;
	color: white;
}

header > div{
	display: flex;
	align-items: center;
}

header logo > a {
	display: flex;
	align-items: center;
}

header logo > a > span {
	font-weight: bold;
	font-size: 1.75rem;
	letter-spacing: .5px;
	font-style: italic;
	margin-left: .25rem;
}

header logo img {
	width: 3rem;
	filter: invert(1);
	transition: 200ms ease-in-out;
}

header logo > a:hover > img{
	transform: scale(1.1)
}

.gallery-items-container{
	display: flex;
	flex-wrap: wrap;
/* 	margin-bottom: -1rem;
	margin-left: -1rem; */
	display: grid;
	grid-gap: 1rem;
	grid-column-gap: 1rem;
	grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr));
}

.gallery-item{
	display: flex;
/* 	margin-left: 1rem;
	margin-bottom: 1rem; */
	position: relative;
	flex: 0 1 calc(100% / 4 - 1rem);
	background-size: cover;
	background-position: 50% 50%;
	padding: 1rem;
	transition: 250ms ease-out;
	border-radius: .5rem;
	box-shadow: 0px 16px 24px -4px rgb(0,0,0,.2);

}

.gallery-item:hover{
	background-position: 50% calc(50% - 1rem);
	box-shadow: 0px 18px 18px -4px rgb(0,0,0,.25);
}

.gallery-item:before{
	content: '';
	position: absolute;
	width: 100%;
	height: 100%;
	background: rgb(0,0,0,0.5);
	margin: -1rem;
	border-radius: .5rem;
	opacity: 0;
	transition: .4s ease-out;
	will-change: opacity;
}

.gallery-item:hover:before{
	opacity: 1;
}

.gallery-item[data-id="1"]{
	background-image: url("https://mir-s3-cdn-cf.behance.net/projects/max_808/19815054970067.Y3JvcCw5OTksNzgyLDAsMA.png");
}


.gallery-item[data-id="2"]{
	background-image: url("https://mir-s3-cdn-cf.behance.net/projects/max_808/1c37ce54971907.Y3JvcCw5OTksNzgyLDAsMA.png");
}

.gallery-item[data-id="3"]{
	background-image: url("https://res.cloudinary.com/novruzrhmv/image/upload/c_scale,q_auto:eco,w_808/Be-Covers.png");
}



.gallery-item[data-id="4"]{
	background-image: url("https://mir-s3-cdn-cf.behance.net/projects/max_808/ad488387574843.Y3JvcCw4MDgsNjMyLDAsMA.png");
}


.gallery-item[data-id="5"]{
	background-image: url("https://mir-s3-cdn-cf.behance.net/projects/max_808/a1f3e159187315.Y3JvcCw4MTAsNjM0LDAsMA.png");
}



.gallery-item-text{
	color: white;
	margin-top: 43%;
	margin-right: 4vw;
	position: relative;
	z-index: 2;
	transition: 150ms ease-out;
	will-change: margin-top, opacity;
}

.gallery-item-text > span{
	display: inline-flex;
	padding: .5rem .5rem .5rem .25rem;
	font-family: arial black,gadget,sans-serif;
	font-size: larger;
	text-transform: uppercase;
	text-shadow: 0 1px 14px #000000;
	transition: 225ms ease-in-out 100ms;
}

.gallery-item-text-btn {
	width: max-content;
	display: flex;
	align-items: center;
	background: #F0F0F0;
	color: #111;
	padding: .5rem .75rem;
	font-weight: 600;
	font-size: calc(1em - 4px);
	border-radius: 2rem;
	font-family: 'Poppins', sans-serif;
	transition: 250ms ease;
	will-change: transform;
	letter-spacing: .25px;
	box-shadow: 0px 15px 25px -7px rgb(0,0,0,.2);
}

.gallery-item-text-btn:hover{
	background: #111;
	color: #F0F0F0;
	transform: scale(1.1)
}

.gallery-item-text-btn > svg{
	width: .875rem;
	height: .875rem;
	background: #111;
	color: #F0F0F0;
	border-radius: 50%;
	padding: .125rem;
	margin-left: .25rem;
	transition: 250ms ease;
	will-change: transform;
}

.gallery-item-text-btn:hover > svg{
	background: #F0F0F0;
	color: #111;
	transform: translateX(.25rem)
}


.header-mobilemenu-toggler{
	display: none;
	align-items: center;
	justify-content: center;
	margin-left: auto;
}

mnav{
	position: fixed;
	top: 0;
	bottom: 0;
	left: -100%;
	height: 100%;
	width: 100vw;
	min-height: -webkit-fill-available;
	max-width: 100%;
	display: flex;
	flex-direction: column;
	background: var(--main-bg);
	padding: var(--default-padding) calc(var(--default-padding) * 3 / 2);
	z-index: 99;
	transition: 250ms ease;
}

mnav ul{
	list-style: none;
	margin: 0;
	padding: 0;
}

mnav ul > li a {
	display: inline-flex;
	align-items: center;
	font-weight: 500;
	padding: calc(var(--default-margin) / 4 * 3) 0;
	color: var(--default-white-color);
}

mnav ul > li a svg.icon {
	margin-right: calc(var(--default-margin) / 4);
	color: var(--default-icon-color);
}

.mobile-mt-useri{
	padding-bottom: var(--default-padding);
	margin-bottom: var(--default-margin);
	border-bottom: 1px solid rgba(255,255,255,0.25);
}

.mobile-mt-useri-avatar{
	width: 3rem;
	height: 3rem;
	margin-right: calc(var(--default-margin) / 2);
}

.mobile-mt-useri-main-uname span{
	margin-top: calc(var(--default-margin) / 2);
	font-size: calc(1em - 2px);
	color: var(--default-light-color)
}

.mnav-cancel{
	margin: auto auto calc(var(--default-margin) * 3) auto
}

.mnav-cancel > svg{
	width: 2.5rem;
	height: 2.5rem;
}


.mnav-cancel > svg:hover{
	fill: var(--main-pink)
}

#mobile-mt:checked ~ mnav{
	left: 0;
}



@media screen and (max-width: 576px),screen and (max-device-width:576px) {
	header ul.header-menu{
		display: none;
	}

	.header-mobilemenu-toggler{
		display: flex;
	}


}

.portfolio-gallery-container{
/* 	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(30rem, 1fr));
	grid-gap: 1rem;
	grid-column-gap: 1rem; */
	display: block;
	-webkit-column-count: 2;
	column-count: 2;
	-moz-column-gap: 1rem;
	-webkit-column-gap: 1rem;
	column-gap: 1rem;
}
  
@media only screen and (max-width: 767px) and (min-width: 540px) {
	.portfolio-gallery-container{
		-webkit-column-count: 1;
		column-count: 1;
	}
}

.portfolio-gallery-item{
	margin-bottom: 1rem;
	position: relative;
	overflow: hidden;
	cursor: pointer;
}

.portfolio-gallery-item:before{
	position: absolute;
	width: 100%;
	background: linear-gradient(0deg, rgb(0 0 0 / 100%) 0% , transparent 5rem);
	content: attr(data-title) ' ' attr(data-type);
	color: white;
	text-align: center;
	display: flex;
	justify-content: center;
	align-items: flex-end;
	padding-bottom: 1rem;
	height: 100%;
	top: 5rem;
	transition: 250ms ease;
	overflow: hidden;
	transform-origin: bottom;
	pointer-events: none;
}

.portfolio-gallery-item:hover:before{
	top: 0px;
}

.portfolio-gallery-item > img {
	max-width: 100%;
	object-fit: cover;
}





.slideshow-container {
	display: flex;
	align-items: center;
	overflow-x: hidden;
	position: fixed;
	z-index: 99;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	transition: 250ms ease-out;
	opacity: 0;
	visibility: hidden;
}

.slideshow-container.toggled {
	background: rgba(0, 0, 0, 0.5);
	opacity: 1;
	visibility: visible;
}


.slideshow-content {
	display: flex;
	align-items: center;
	position: relative;
	/*position:absolute;
	top:0;
	bottom:0;
	left:0;
	right:0;*/
	width: 100%;
	height: 100%;
	transition: 350ms ease;
	z-index: 3;
	cursor: alias;
	/* background:rgba(0,0,0,0.5) */
}

.slideimg {
	max-width: 400px;
}

.slidebox {
	flex-shrink: 0;
	display: flex;
	justify-content: center;
	align-items: center;
	position: relative;
	/*position:fixed;*/
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	width: 100%;
	height: 100%;
	user-select: none;
	transition: 250ms ease-out;
	background: rgba(0, 0, 0, 0);
	padding: 4vw 16vw
}

.slidebox.loading:before{
	content: '';
	position: absolute;
	width: 10vw;
	height: 10vw;
	z-index: 9;
	opacity: 1;
	pointer-events: none;
	background: url('/images/spinner.svg') no-repeat center center / 10vw
}

.slidebox.bigger{
	padding: 6vw;
}

.slidebox.bigger > img {
	cursor: zoom-out;
}

.slidebox img {
	transform:  scale(0.6);
	/*width:50%;*/
	object-fit: contain;
	/*max-width: 400px;*/
	cursor: zoom-in;
	opacity: 0;
	transition: 250ms ease;
	animation: bigger 250ms ease-in-out;
}

.slidebox.loading > img {
	pointer-events: none;
}

@keyframes bigger {
	0%{transform: scale(0.8);opacity: 0;}
	
	100%{transform: scale(1);opacity: 1;}
}

.slideshow-container.toggled > .slideshow-content > .slidebox > img {
	transform: scale(1);
	opacity: 1;
}


.slide_buttons {
	display: flex;
	justify-content: space-between;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 100%;
	z-index: 9;
	opacity: 0;
	visibility: hidden;
	transition: 250ms ease;
}



.slide_buttons_button {
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 2rem;
	height: 2rem;
	border: 1px solid black;
	border-radius: 50%;
	margin-right: 0.25rem;
	z-index: 999;
}

#after_button.slide_buttons_button{
	left: unset;
	right: 0;
}


.slide_buttons_button.active {
	background: green;
}
.slide_buttons_button:hover {
	background: white;
}
.slide_buttons.toggled {
	opacity: 1;
	visibility: visible;
}

.content_inner {
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	border-right: 1px solid white;
	padding: 1rem;
}

.slideshow_button {
	background: dodgerblue;
	width: 3rem;
	height: 3rem;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 999;
}



.slideshow-actions{
	position: absolute;
	z-index: 9999;
	top: 0;
	right: 0;
	background: #2c2c2c;
	display: flex;
	align-items: center;
}

.slideshow-actions  img {
	pointer-events: none;
	max-width: 1.25rem
}

.slideshow-actions > div {
	padding: .5rem;
	user-select: none;
	cursor: pointer;
	opacity: .9;
	transition: 250ms ease;
}

.slideshow-actions > div.active{
	background: dodgerblue;
}