html, body {
	width: 100%;
}

* {
	box-sizing: border-box;
	padding: 0;
	margin: 0;
	font-family: Verdana, Geneva, Tahoma, sans-serif;
	color: rgb(68, 68, 68);
}

a {
	display: inline-block;
	text-decoration: none;
}


h1 {
	font-size: 46px;
	text-align: center;
}

h2 {
	font-size: 30px;
}

h3 {
	font-size: 20px;
	text-align: center;
}


h5 {
	width: 100%;
	font-weight: bold;
	font-size: 25px;
	/* font-size: 20vmiax; */
	text-align:center;
	text-transform: uppercase;
}


h9 {
	font-size: 16px;
	text-align: center;
}

h10 {
	font-size: 14px;
	text-transform: uppercase;
	text-align: center;
}
h7 {
	font-size: 14px;
	letter-spacing: 3px;
	text-transform: uppercase;
}


/* --------------------------------- HEADER ------------------------------------ */
header {
	position: fixed;
	height: 100px;
	left: 0px;
    top: 0px;
    right: 0px;
    z-index: 101;
	background-color: #ffffff;
	box-shadow: 0px 4px 4px rgba(68, 68, 68, 0.4);
    animation-name: header;
    animation-duration: 1s;
	animation-fill-mode: forwards;
	transition-property: height;
	transition-duration: 0.3s;
}

@keyframes header {
    from {top: -100px;}
    to {top: 0px;}
}


.header-container {
	width:80%;
	height: 100%;
	padding: 0 20px;
	margin:0 auto;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.logo-container {
	color:#C2BAB5;
	flex-basis: 30%;
}

.logo-container img {
	width: 170px;
	transition-property: width;
	transition-duration: 0.5s;
}

.logo-container img:hover {
	opacity: .9;
}

/* ---- scroll class ---- */

.slim {
	height: 80px;

}

.slim .logo-container img {
	width: 130px;
}

.slim .response-nav {
	width: 50px;
	height: 45px;
}

/* ---- end scroll class ---- */

/* ----------------- navigation menu ------------------------- */
nav {
	height: 100%;
	display:flex;
	justify-content: space-between;
}

nav li div {
  width:0;
  height:3px;
  margin: 0 auto;
  background-color: #00000000;
  transition: width .3s, background-color 1s;
}

nav li:hover div {
	width: 100%;
	background-color: #C62370;
}

.main-menu {
	display:flex;
  	position:relative;
	height: 100%;
	width: 750px;
	justify-content: space-between;
	align-items: flex-end;
	list-style: none; 
}

.main-menu a{
	width: auto;
	display: flex;
	align-items: center;
	text-align: right;
	font-size: 14px;
	text-transform: uppercase;
	padding:10px 15px 10px 0;
	color:#000000;
}

.main-menu a:hover,
.drop-down-menu a:hover span{
	color: #C62370;
}

.main-menu li {
	position: relative;

}

.drop-down-menu {
	position: absolute;
	visibility: hidden;
	list-style: none;
	top: 100%;
	left: 0;
	width: 100%;
	text-align: left;
	box-shadow: 0px 0px 4px rgba(68, 68, 68, 0.6);
	background-color: #fff;
	z-index: 99;
	opacity:0;
	transform: translateY(-2em);
	transition: all 0.3s ease-in-out 0s, visibility 0s linear 0.3s, z-index 0s linear 0.01s;
}

.preload {
	transition: none !important;
 }

 .drop-down-menu a {
	text-transform: capitalize;
	font-size: 13px;
	padding: 12px 0;
	color: grey;
}

.drop-down-menu {
	padding-bottom: 10px;
}

.drop-down-menu span:before {
	content: "";
	position: relative;
	display: inline-block;
	margin-left: 8px;
    vertical-align: middle;
	border-left: 5px dashed;
	border-left-color:grey;
	border-top:5px solid transparent;
	border-bottom: 5px solid transparent;
    border-right: 5px solid transparent;
}

.drop-down-menu span:hover:before {
		border-left-color: #C62370;
		transform: translate(2px, 0);
}

.main-menu > li:hover .drop-down-menu {
	visibility:visible;
	opacity: 1;
	z-index: 100;
	transform: translateY(0%);
	transition-delay: 0s, 0s, 0.3s;
}

#nav-portfolio:after {
	content: "";
	position: relative;
	display: inline-block;
	margin-left: 4px;
    vertical-align: middle;
    border-top: 5px dashed;
    border-right: 5px solid transparent;
    border-left: 5px solid transparent;
}

.main-menu a:before {
	content: "";
	position: relative;
	display: inline-block;
	width: 30px;
	height: 30px;
	margin-right: 5px;
	vertical-align: middle;
	background-repeat: no-repeat;
	transition: background-image .6s;
}

.main-menu ol a:before {
	content: "";
	width: 0px;
	height: 0px;
}

#nav-home:before {
	content: "";
	background-image: url(images/home-icon.svg);
}

#nav-home:hover:before {
	content: "";
	background-image: url(images/home-icon-hover.svg);
}

#nav-about:before {
	content: "";
	background-image: url(images/about-icon.svg);
}

#nav-about:hover:before {
	content: "";
	background-image: url(images/about-icon-hover.svg);
}

#nav-portfolio:before {
	content: "";
	background-image: url(images/portfolio-icon.svg);
}

#nav-portfolio:hover:before {
	content: "";
	background-image: url(images/portfolio-icon-hover.svg);
}

#nav-experience:before {
	content: "";
	background-image: url(images/experience-icon.svg);
}

#nav-experience:hover:before {
	content: "";
	background-image: url(images/experience-icon-hover.svg);
}

#nav-contacts:before {
	content: "";
	background-image: url(images/contacts-icon.svg);
}

#nav-contacts:hover:before {
	content: "";
	background-image: url(images/contacts-icon-hover.svg);
}

.response-nav {
	content: '';
	position: absolute;
	visibility: hidden;
	right: 20px;
	top: 20px;
	width: 60px;
	height: 60px;
	background: linear-gradient(0deg, white 0%, white 16%, transparent 16%, transparent 42%, white 42%, white 58%, transparent 58%, transparent 84%, white 84%) no-repeat center center / 16px 16px;
	background-color: rgb(116, 116, 116);
	opacity: 1;
	transition: height .6s, opacity .3s;
	z-index: 100;
	cursor: pointer;

}



/* ----------------- navigation menu ------------------------- */

main {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	width:auto;
	margin:0 auto;
	flex-wrap: wrap;
}



@media screen and (max-width: 1500px) {
	.header-container {
		width:97%;
	}
}

@media screen and (max-width: 1000px) {

	/* --------------- nav menu ----------------- */
	.overflow-hidden {
		height: 100%;
		overflow: hidden;
	}
	.main-menu {
		display: block;
		position: fixed;
		background-color: #fff;
		opacity: 1;
		top: 100px;
		right: 0;
		width: 0;
		height: 100%;
		overflow-x: hidden;
    	overflow-y: scroll;
		transition: width .6s;
	}

	.transition-none {
		transition: none;
	}

	.main-menu a{
		padding-left:20px;
	}

	.slim .main-menu {
		top: 80px;
		padding-bottom: 80px;

	}
	
	.drop-down-menu {
		height: 100%;
		display: none;
		position: relative;
    }

    .display-none {
        display: none;
        visibility: hidden;
    }

    .display-block {
        display: block;
        visibility: visible;
    }

    /* .visibility-visible {
        visibility: visible;
    } */

	.response-nav {
		visibility: visible;
	}
	
	.displayon {
		width: 100%;
		height: 100vh;
		transition: width .6s;
	}

	.displaynone {
		width: 0;
		transition: width .6s;
	}
}


@media screen and (max-width: 600px) {

	header {
		height: 80px;
	}


	.main-menu {
		top:80px;
	}


	.slim .main-menu {
		top: 60px;
	}

	.logo-container img {
		width: 130px;
	}

	.response-nav {
		width: 50px;
		height: 45px;
	}

	.slim {
		height: 70px;	
	}
	
	.slim .logo-container img {
		width: 110px;
	}
	
	.slim .response-nav {
		width: 40px;
		height: 35px;
	}
}
/* -------------------- HEADER END --------------------------- */

/* -------------------- fixed section --------------------------- */

.img-page-container {
	display: flex;
	flex-direction: row;
	align-items: flex-end;
	width: 100%;
	height: 90vh;
	margin: 0;
}

.background {
	position: fixed;
	top:0;
	width: 100%;
	height: 100%;
	background-image: url("images/home-page-background1.png");
	background-repeat: no-repeat;
	background-position: top;
	background-size: cover;
	opacity: .8;
	margin: 0 auto;
	z-index: -1;
}

.white-container {
	position: relative;
	height: 170px;
	width: 100%;
	background-color: rgba(255, 255, 255, 0.6);
	box-shadow: 0px -4px 4px rgba(68, 68, 68, 0.2);
}


.text-white-container {
	width: 80%;
	height: auto;
	margin: 0 auto;
	text-align: center;
}

.text-white-container h1{
	margin-top:30px;
	font-size: 30px
}

.decoration {
	width: 120px;
	height: 10px;
	border: 3px solid #C62370;
	margin: 10px auto;
}


/* -------------------- end fixed section --------------------------- */

section {
	width:100%;
	display: flex;
	margin-bottom:30px;
	justify-content: space-between;
}


section p {
	text-align: center;
}

.slide-down {
	margin: -40px auto 0 auto;
	height: 80px;
	justify-content: center;
}

.slide-down a{
	margin: 0 auto;
	height: auto;
	width: auto;
}

.slide-down a img{
	margin: 0 auto;
	height: 80px;
	width: 80px;
	position: relative;
}

.slide-down a:hover img{
	animation: move-smoothly 1s infinite;
}

@keyframes move-smoothly {
	0% {
		top:0;
	}
	50% {
		top:5px;
	}
	100% {
		top:0;
	}
}

/* -------------------------------------------- */


#about {
	margin-top: -40px;
	padding-top: 0 20px;
	background-color: #fff;
}

.center-container {
	display: flex;
	width: 100%;
	flex-direction: column;
	margin: 150px auto 100px auto;
}

#about .center-container {
	width: 1000px;
	padding: 0 20px;
}

.center-container h1 {
	margin-bottom: 50px;
}

.center-container h3 {
	margin-bottom: 50px;
}

.center-container p {
	line-height: 1.9;
}

/* --------------------- EXPERIENCE */


#experience {
	display: flex;
	margin-top: -40px;
	background-color: #ffffff;
	width: 100%;
}

.inner-shadow {
	box-shadow: inset 0 0 10px #0000008c;
}

.img-left-container {
	width: 30%;
	height: 100%;
}

.img-experience {
	width: 100%;
	height: 100%;
	background-image: url("images/experience.png");
	background-repeat: no-repeat;
	background-position: top;
	background-size: cover;
	opacity: .9;
	margin: 0 auto;
}

.right-container {
	width: 70%;
	background-color: #EDEDED;
	z-index: 1;
}

.decoration-left {
    width: 100px;
    height: 10px;
	border: 3px solid #C62370;
	margin-top: 10px;
}

.row {
	display: flex;
	align-items: center;
}

#experience .row{
	justify-content: space-between;
}

.years {
    font-size: 12px;
    letter-spacing: 0px;
    color: grey;
	text-align: right;
	text-transform: none;
	padding-left: 15px;
}

.left-align {
	display: flex;
	flex-direction: column;
	margin-bottom: 100px;
	padding:100px 30px 0 30px;
}

h2 {
	margin:5px 30px 30px 0;

}

.left-align h10 {
	text-align: left;
	letter-spacing: 3px;
}

.second {
	padding-top: 0px;
}

.left-align p {
	text-align: left;
}

.experience-rank-container {
	padding: 10px 0 20px 0;
}

.rank-container {
	width: 100%;
	background-color: #ddd;
}

.rank {
	text-align: right;
	padding: 5px 5px 5px 0;
	color: white;
	font-size: 12px;
	margin-top: 5px;
  }

.animation { 
	width: 80%;
	position: relative;
	right: 0;
	background-color:  rgb(68, 68, 68);
	opacity: 0;
}

.web {
	width: 60%;
	position: relative;
	right: 0;
	background-color:  rgb(68, 68, 68);
	opacity: 0;
}
 .design {
	width: 90%;
	position: relative;
	right: 0;
	background-color:  rgb(68, 68, 68);
	opacity: 0;
 }


 .software-container {
	 display: flex;
	 flex-wrap: wrap;
	 width: 100%;
	 padding-top: 20px;
 }

 .skills {
	 color: grey;
	 padding-right: 20px;
	 font-size: 12px;
 }

 .skills::before {
	content: url("images/check-icon.svg");
	width: 20px;
	height: 20px;
	position: relative;
    display: inline-block;
    margin-right: 5px;
    vertical-align: middle;
    background-repeat: no-repeat;
	background-repeat: no-repeat;
 }

 
/* --------------------- PORTFOLIO */

.flex__title {
	margin: 0 !important;
    display: flex;
    justify-content: center;
}

.main-gallery {
	position: relative;
}
.categoties {
	opacity: 1;
}

#portfolio {
	display: flex;
	margin-top: -40px;
	background-color: #fff;
	width: 100%;
}
.main-gallery:first-child {
	text-align: center;
}

.animations {
	grid-area: animations;
	position: relative;
	background: #444444;
	cursor: pointer;
	margin: 4px;
}

.anima-font {
	color: #fff;
}
.gallery {
	overflow: hidden;
	display: flex;
	flex-direction: column;
	align-content: center;
	justify-content: center;
}

.gallery:hover {
	background: rgb(163, 25, 89);
	transition: all .6s;
}

.gallery-img {
	height: 45%;
	padding-bottom: 20px;
	margin: 0 auto;
}

.gallery-img img{
	background: no-repeat center center fixed;
  	background-size: cover;
  	height: 100%;
 	overflow: hidden;
	transition: transform 1s, filter 2s, opacity 1s;
  	/* filter: blur(3px); */
  	transform: scale(1.2);
}

.gallery:hover .gallery-img img {
	filter:brightness(80%);
  	transform: scale(1);
	transition: all .6s;
}

.gamifications {
	grid-area: gamification;
	position: relative;
	background: #444444;
	cursor: pointer;
	margin: 4px;
}

.gamification-font {
	color: #fff;
}

.drawing-skills {
	grid-area: drawing-skills;
	position: relative;
	background: #444444;
	cursor: pointer;
	margin: 4px;
}

.drawing-skills-font {
	color: #fff;
}

.gallery:hover h5 {
	-webkit-text-fill-color:#ffffffea;
	background-size: 110%;
	text-shadow: 0px 0px 3px #3200136b;
	filter:brightness(100%);
	transition: all .6;
}

.web-designs {
	grid-area: web-designs;
	position: relative;
	background: #444444;
	cursor: pointer;
	margin: 4px;
}

.web-designs-font {
	color: #fff;
}



.graphic-designs {
	grid-area: graphic-designs;
	position: relative;
	background:#444444;
	cursor: pointer;
	margin: 4px;
}

.graphic-designs-font {
	color: #fff;
}

.grid-container {
	display: grid;
	margin: 0 auto;
	width: 100%;
	height: 35vw;
	grid-template-columns: 10% 10% 10% 10% 10% 10% 10% 10% 10% 10% ;
	grid-template-rows: 50% 50%;
	grid-template-areas: 
	  "animations animations animations animations web-designs web-designs web-designs drawing-skills drawing-skills drawing-skills"
	  "graphic-designs graphic-designs graphic-designs gamification gamification gamification gamification drawing-skills drawing-skills drawing-skills";
  }

#portfolio .center-container {
	width: 80%;
}

.ovrlay {
	display:none;
}

/* ------------------------- LOADER */

.loader-imgs,
.loader-imgs:before,
.loader-imgs:after {
  position: absolute;
  top:350px;
  right: 48%;
  width: 2.5em;
  height: 2.5em;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
  -webkit-animation: load7 1.8s infinite ease-in-out;
  animation: load7 1.8s infinite ease-in-out;
}
.project-opacity {
  opacity: 0;
}
.loader-imgs {
  color:#C62370;
  font-size: 10px;
  text-indent: -9999em;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-animation-delay: 0.32s;
  animation-delay: 0.32s;
}
.loader-imgs:before,
.loader-imgs:after {
  content: '';
  position: absolute;
  top: 0;
}
.loader-imgs:before {
  left: -3.5em;
  -webkit-animation-delay: 0.48s;
  animation-delay: 0.48s;
}
.loader-imgs:after {
  left: 3.5em;
  -webkit-animation-delay: 0.16s;
  animation-delay: 0.16s;
}
/* ------------------------- CONTACT ME */

#contact {
	display: flex;
	margin-top: -40px;
	background-color: #EDEDED;
	width: 100%;
}

#contact .row {
	flex-wrap: wrap;
}

.img-contact {
	width: 100%;
	height: 100%;
	background-image: url("images/contact.png");
	background-repeat: no-repeat;
	background-position: top;
	background-size: cover;
	opacity: .9;
	margin: 0 auto;
}
.contact-container {
	margin:0 20px 20px 0;
}

/* ------------------------------- FOOTER */
footer {
	position: absolute;
	width: 100%;
	margin-top: -30px;
	height: auto;
	background-color: rgb(68, 68, 68);
}

.color-line {
	width: 100%;
	height: 5px;
	background: linear-gradient(to right, #c72d7e,#8679ef);
}

.footer-container {
	width: 80%;
	margin: 0 auto;
}
.footer-container p{
	font-size: 10px;
	padding:20px 0;
	text-align: center;
	color: white;
}



@media screen and (max-width: 1500px) {
	#portfolio .center-container,
	.footer-container {
		width:94%;
	}
	.grid-container {
		height: 600px;
	}
	.skills {
		width: 160px;
	}
	.skills-contact {
		width: 180px;
	}

}
@media screen and (max-width: 1200px) {
	.grid-container {
		height: 470px;
	}
	h5 {
		font-size: 2vmax;
	}


}

@media screen and (max-width: 1000px) {
	.grid-container {
		display: grid;
		margin: 0 auto;
		width: 100%;
		height: 1000px;
		grid-template-columns: 20% 20% 20% 20% 20%;
		grid-template-rows: 30% 30% 30%;
		grid-template-areas: 
		  "animations animations animations web-designs web-designs"
		  "drawing-skills drawing-skills graphic-designs graphic-designs graphic-designs"
		  "drawing-skills drawing-skills gamification gamification gamification";
	  }

}

 @media screen and (max-width: 600px) {

	h2 {
		font-size: 30px;
	}

	h10,
	h7,
	.rank,
	.skills {
		font-size: 12px;
	}
	.text-white-container h1 {
		font-size: 20px;
	}
	.text-white-container h9 {
		font-size: 15px;
	}
	.img-page-container {
		height: 80vh;
	}

	.slide-down,
	.slide-down a img {
		height: 60px;
		animation: move-smoothly 1s infinite;
	}

	.decoration-left {
		width: 80px;
	}

	#experience,
	#contact  {
		flex-direction: column;
		background-color: #ffffff;
		align-items: center;
	}


	.img-left-container {
		width: 100%;
		height: 450px;
	}

	.right-container {
		margin-top: -200px;
		width: 92%;
		background-color: #EDEDED;
	}

	.left-align {
		padding: 40px 20px;
		margin-bottom: 20px;
	}

	.img-experience {
		background-position: center;
	}

	.img-contact {
		height: 80%;
	}

	#contact .left-align {
		margin-bottom: 0px;
	}

	.skills:before {
		width: 15px;
		height: 15px;
	}

	.second {
		padding-top: 10px;
	}
	.contact-container {
		margin: 0 10px 20px 0;
	}

	  
	
}

@media screen and (max-width: 500px) {
	.grid-container {
		height: 1000px;
		grid-template-columns: 100%;
		grid-template-rows:  20% 20% 20% 20% 20%;
		grid-template-areas: 
		"animations"
		"web-designs"
		"drawing-skills"
		"graphic-designs"
		"gamification";
	  }

}

