/*reset*/

* {

	margin: 0;
	padding: 0;
	scroll-behavior: smooth;
	font-size: 16px;

}
/*We are now designing the animation page*/
.preloader {
  position: fixed;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
  background-color: #353535;
  overflow: hidden;
  z-index: 1000;
  transition: opacity 0.5s 0.4s;
}

.preloader.preload-finish {
  opacity: 0;
  pointer-events: none;
}

.outer-space {
  width: 37.5em;
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.rocket-container {
  position: absolute;
  bottom: 52%;
  left: 49%;
  transform: translate(-50%, 50%);
}

.rocket {
  height: 20em;
  animation: move 0.2s linear infinite alternate;
}

.preloader.preload-finish .rocket-container {
  animation: finish 0.5s 1 ease forwards;
}

@keyframes finish {
  from {
    bottom: 52%;
  }
  to {
    bottom: 140%;
  }
}

@keyframes move {
  from {
    transform: translateX(-5px);
  }
  to {
    transform: translateX(5px);
  }
}

.title {
  color: #fff;
  letter-spacing: 1px;
  font-weight: 600;
  font-size: 1.5rem;
  position: absolute;
  top: 80%;
  left: 50%;
  transform: translateX(-50%);
}

#circle {
  animation: move-circle 0.2s linear infinite alternate;
}

@keyframes move-circle {
  from {
    transform: translateY(-5px);
  }
  to {
    transform: translateY(5px);
  }
}

@keyframes stars {
  from {
    transform: translateY(-1000px);
  }
  to {
    transform: translateY(1000px);
  }
}
/*The animation ends here*/

.nav-icon, .mobile-navbar {

	display: none;

}
html, body {

  	overflow-x: hidden;
  	width: 100%;
  	font-family: "Lato", sans-serif;
  	font-size: 16px;

}
/*style the header */

header {

  	height: 10vh;
	background-color: #2E2630;
	font-family: "Gugi", cursive;
}
header .nav {

	display: flex;
  	flex-direction: row;
  	justify-content: flex-end;
  	flex-flow: nowrap;
  	align-items: center;
  	padding: 20px 50px 20px 0;
  	position: fixed;
  	z-index: 4;
  	background-color: #2E2630;
  	width: 100%;
  	opacity: .8;
}
.nav a{

	padding: 0 40px 0 50px;
	color: #FFFFFF;
  	text-decoration: none;
  	font-size: 1.5vw;
	margin-top: -5px;
}
.nav a:hover {

  	color: #FC2277;
}


/*styling the welcome section*/

/*add animation class*/


.container .welcome-sec {

	background-color: #2E2630;
  	color: #FFFFFF;
  	text-align: center;
  	height: 90vh;
  	position: relative;


}
.welcome-sec .welcome-part {

  	margin: 0 auto;
 /*for animation*/

}

/*add animation for slider*/

@keyframes sliding-forward {

	from {transform: translateX(0%);}
	to {transform: translateX(400%);}
}

@keyframes sliding-back {

	from {transform: translateX(-400%)}
	to {transform: translateX(0%)}
}



.forward {

	animation: sliding-forward 2s ease-in-out;
	transform: translateX(-400%);

}


.back {

	animation: sliding-back 2s ease-in-out;
	transform: translateX(0%);
}


/*add animation for slider*/


.welcome-part .photo-div {
  padding: 100px 0 30px 0;
  margin: 0 auto;
  text-align: center;
}

.photo-div .photo {
  border-radius: 50%;
  width: 150px;
  height: 150px;
}

.welcome-part h1 {
  font-size: 4vw;
  font-weight: 700;
  padding: 0 0 10px 0;
  font-family: "Gugi", cursive;
}

.welcome-part h1 span {
  color: #A3395B;
	font-size: 3vw
}

.welcome-part p {

	font-size: 2vw;
}
.container .welcome-sec .about {
  	width: 500px;
  	text-align: center;
	margin: -200px auto 0 auto;
}

.welcome-sec .not-visible {

	transform:  translateX(-400%);
}

.container .welcome-sec .about h2 {
  font-size: 3vw;
  font-weight: 600;
  color: #A3395B;
  padding-bottom: 30px;
  text-transform: capitalize;
}

.container .welcome-sec .about p {
  	font-weight: 400;
	padding-bottom: 30px;
	line-height: 20px;

}

.container .welcome-sec .about .social i {
  padding: 15px 0 0 20px;
  clear: both;
  font-size: 25px;
  color: #A6A5A6;
}

.container .welcome-sec .about .social i:hover {
  color: #A3395B;
  cursor: pointer;
}

.container .welcome-sec .contain {
  display: flex;
  justify-content: center;

position: absolute;
  left: 600px;
  top: 450px;

}

.container .welcome-sec .contain .circle {
  display: block;
  border-color: #FFFFFF;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: #FFFFFF;
  cursor: pointer;
  clear: both;
}

.container .welcome-sec .contain .colored {
  background-color: #A3395B;
}

.container .welcome-sec .contain .right {
  margin-left: 10px;
}

/*style projects section*/

.container .projects-sec {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  margin: 100px 0 70px 0;
}

.projects-sec .sec-title {
  text-align: center;
  width: 100%;
  align-items: center;
  margin-bottom: 50px;
}

.projects-sec .sec-title h2 {
  padding-bottom: 5px;
  border-bottom-color: #A3395B;
  border-bottom-width: thick;
  font-size: 30px;
  border-bottom-style: solid;
  font-family: "Gugi", cursive;
  letter-spacing: 2px;
  width: 170px;
  margin: 0 auto;
}

.projects-sec .project-container {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  flex-wrap: wrap;
}

.proj-contain {
	display: none;
  margin: 0 0 70px 0;
  border-radius: 6px;
  border-style: solid;
  border-color: whitesmoke;
  border-width: thin;
  width: 450px;
  height: 350px;
  position: relative;
  overflow: hidden;
}
.project-1 {

	display: block;

}

.project-2 {

	display: block;
}
.proj-screenshot {
  width: 100%;
}

.proj-screenshot:hover {
  width: 120%;
  transition: width 1s ease-in-out;
}

.project-title {
  background-color: #273344;
  z-index: 3;
  opacity: .8;
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 15px 0 0 30px;
  width: 100%;
  height: 40%;
}

.project-title h6 {
  font-size: 20px;
  color: #FFFFFF;
  font-weight: 600;
  font-family: "Gugi", cursive;
}

.project-title p {
  padding: 5px 50px 10px 0;
  color: #FFFFFF;
}
.project-title .links {

	display: flex;
	flex-direction: row;
	justify-content: space-between;
}
.project-title ul {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  padding: 5px 10px 0 10px;
}

.project-title ul li {
  padding-left: 10px;
}

.project-title ul li i {
  font-size: 25px;
}

.project-title ul li .fa-css3-alt {
  color: #1B90D4;
}

.project-title ul li .fa-html5 {
  color: #EC5D28;
}

.project-title ul li .fa-js-square {
  color: #F0D91D;
}

.project-title ul li .fa-java {
  color: #CD6799;
}

.project-title .website-link {
  	position: relative;
	right: 60px;
	font-size: 18px;
 	float: right;
  	color: #FC2277;
  	font-family: "Gugi", cursive;
  	font-weight: 600;
}


.project-container .project-2 {
  margin-left: 90px;
}

.project-3 .project-title .website-link {
  top: -20px;
}



.project-4 .proj-screenshot {
  height: 100%;
  width: 100%;
}

.project-4 .proj-screenshot:hover {
  height: 120%;
  width: 120%;
  transition: width 1s ease-in-out, height 1s ease-in-out;
}

.project-4 .project-title .website-link {
  top: -20px;
}


.project-5 .proj-screenshot {
  height: 100%;
  width: 100%;
}

.project-5 .proj-screenshot:hover {
  height: 120%;
  width: 110%;
  transition: width 1s ease-in-out, height 1s ease-in-out;
}

.project-5 .project-title .website-link {
  top: -20px;
}


.project-6 .proj-screenshot {
  height: 100%;
}

.project-1 .website-link {

	top: 10px;
}

.project-2 .website-link {
	top: 10px;
}

.project-3 .website-link {


	margin-top: 25px;
}

.project-4 .website-link {

	margin-top: 40px;
}

.project-5 .website-link {

	margin-top: 30px;
}

.project-6 .website-link {

	margin-top: 10px;
}
.project-6 .proj-screenshot:hover {
  height: 130%;
  width: 120%;
  transition: width 1s ease-in-out, height 1s ease-in-out;
}

.projects-sec .more, .projects-sec .less {
  width: 140px;
  height: 40px;
  background-color: #A3395B;
  border-color: #A3395B;
  color: #FFFFFF;
  font-family: "Gugi", cursive;
  text-transform: uppercase;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  border-radius: 5px;
  padding: 20px 0 0 20px;
  box-shadow: 4px 4px 4px #CFCFCF;
}

.projects-sec .more i, .projects-sec .less i {
  padding: 0 0 0 5px;
  font-size: 18px;
}

.projects-sec .toggle {
  display: none;
}

/*style conatct section*/

.contact {

  background-color: #2E2630;
  padding: 10px 0 20px 0;

}

.contact .contact-div {
  margin: 20px auto;
  text-align: center;
  border-style: solid;
  border-color: #FFFFFF;
  border-radius: 5px;
  background-color: #FFFFFF;
  width: 600px;
  height: 160px;
  padding: 20px 0 20px 0;
  box-shadow: 2px 3px #CFCFCF;
}

.contact .contact-div h2 {
  font-size: 2vw;
  font-family: "Gugi", cursive;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.contact .contact-div p {
  font-size: 19px;
  padding-top: 20px;
}

.contact .contact-div p span {
  color: #A3395B;
  font-weight: 700;
}

.contact .contact-div .email {
  color: #A3395B;
  padding-bottom: 2px;
  padding-top: 10px;
  border-bottom-style: dotted;
  width: 255px;
  margin: 0 auto;
  border-bottom-color: #A3395B;
  cursor: pointer;
  font-size: 25px;
}

.contact .social {
  margin: 0 auto;
  text-align: center;
}

.contact .social a {
  color: #CFCFCF;
  padding-left: 25px;
}

.contact .social i {

	font-size: 25px;
}
.contact .social a:hover {
  color: #A3395B;
}

footer {
  color: #A6A5A6;
  text-align: left;
  padding: 5px 30px;
}

/*Photography section is designed here*/
/*style projects section*/

.container .photos-sec {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  margin: 100px 0 70px 0;
}

.photos-sec .sec-title {
  margin-top: -4em;
  text-align: center;
  width: 100%;
  align-items: center;
  margin-bottom: 50px;
}

.photos-sec .sec-title h2 {
  padding-bottom: 5px;
  border-bottom-color: #A3395B;
  border-bottom-width: thick;
  font-size: 30px;
  border-bottom-style: solid;
  font-family: "Gugi", cursive;
  letter-spacing: 2px;
  width: 170px;
  margin: 0 auto;
}
.photos-sec p{
  font-size: 2vw;
  text-align: center;
  margin: 0 auto;
    font-weight: 400;
  line-height: 40px;
}
.photos-sec .more1, .photos-sec .less1 {
  width: 140px;
  height: 40px;
  background-color: #A3395B;
  border-color: #A3395B;
  color: #FFFFFF;
  font-family: "Gugi", cursive;
  text-transform: uppercase;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  border-radius: 5px;
  padding: 20px 0 0 20px;
  box-shadow: 4px 4px 4px #CFCFCF;
}

.photos-sec .more1 i, .photos-sec .less1 i {
  padding: 0 0 0 5px;
  font-size: 18px;
}

.photos-sec .toggle1 {
  display: none;
}
hr{
  margin-top: -3em;
  height:1em;
  background-color: #2E2630;
}
.photo-cont {
  box-sizing: border-box;
}

.photo-cont  .row > .column {
  padding: 0 8px;
}
#photo1{
  display: none;
}
.photo-cont  .row:after {
  content: "";
  display: table;
  clear: both;
}

.photo-cont  .column {
  display:inline-block;
  margin:3em;
  width: 20%;
}
.photo-cont .row img{
   border:#b2b2b2 solid;
  border-width:.4em;
}

/* The Modal (background) */
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  padding-top: 6em;
  padding-bottom:8em;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: black;
}

/* Modal Content */
.modal-content {
  position: relative;
  background-color: #fefefe;
  margin: auto;
  padding: 0;
  width: 90%;
  max-width: 40em;
}
.modal .column{
  float: left;
  margin:0;
}
/* The Close Button */
.photo-cont  .close1 {
  color: white;
  position: absolute;
  top: 1.6em;
  right: 9.2em;
  font-size: 35px;
  font-weight: bold;
}

.photo-cont  .close1:hover,
.photo-cont  .close1:focus {
  color: #999;
  text-decoration: none;
  cursor: pointer;
}

.photo-cont  .mySlides {
  display: none;
}

.photo-cont  .cursor {
  cursor: pointer;
}

/* Next & previous buttons */
.photo-cont  .prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -50px;
  color: white;
  font-weight: bold;
  font-size: 20px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  -webkit-user-select: none;
}

/* Position the "next button" to the right */
.photo-cont  .next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.photo-cont  .prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

/* Number text (1/3 etc) */
.photo-cont  .numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

.photo-cont img {
  margin-bottom: -4px;
}

.photo-cont  .caption-container {
  text-align: center;
  background-color: black;
  padding: 2px 16px;
  color: white;
}

.photo-cont  .demo {
  opacity: 0.6;
}

.photo-cont  .active,
.demo:hover {
  opacity: 1;
}

.photo-cont  img.hover-shadow {
  transition: 0.3s;
}

.photo-cont  .hover-shadow:hover {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
/*style for mobile view on screen less than 500px*/

@media only screen and (max-width: 500px) {
	 .outer-space {
  width: 20.5em;
}
.rocket {
  height: 10em;
}

	header .nav {

		display: none;
	}

	.nav-icon, .mobile-navbar {

		display: block;
	}



	.nav-icon i {

		font-size: 40px;
		color: white;
		float: right;
		margin: 10px;
		cursor: pointer;

	}

	.menu {

		position: absolute;
		right: 5px;
		top: 5px;
		opacity: .9;
		text-align: center;
		list-style: none;
		border-radius: 5px;
		background-color: #2E2630;
		z-index: 1;
		height: 99vh;


	}

	.close i {

		font-size: 40px;
		text-align: right;
		color: white;

	}
	.close {

		position: absolute;
		right: 1px;
		top: 1px;
		display: none;

	}
	.menu li:first-of-type {

		margin-top: 200px;
	}
	.menu li {

		margin: 40px;
	}
	.menu li a {

		color: white;
		text-decoration: none;
		margin: 10px;
		font-size: 30px;
	}

	.menu li a:hover {

		color: #A3395B;

	}

/*	class of menu openning*/
	.opened {

		width: 98%;
		transition: width 1s ease-in-out;

	}

	.closed {

		width: 0%;
		transition: width 1s ease-in-out;
	}

	.welcome-part h1 {

		font-size: 40px;
	}

	.welcome-part h1 span {

		font-size: 30px;
	}

	.welcome-part p {

		font-size: 25px;
	}

	.container .welcome-sec .contain {

		left: 45%;

	}

	.container .welcome-sec .about {

		width: 90%;
	}

	.container .welcome-sec .about h2 {
		font-size: 25px;
	}

	.container .proj-contain {

		width: 90%;

	}

	.projects-sec .project-container {

		flex-direction: column;
		align-items: center;
		flex-wrap: nowrap;
	}

	.project-container .project-2 {

		margin-right: 90px;
	}

	.contact .contact-div {

		width: 90%;
	}

	.contact .contact-div h2 {

		font-size: 25px;

	}

	.contact .contact-div p {

		font-size: 20px;
	}
  .photos-sec p{
  font-size: 4vh;
}
.photo-cont  .row .column{
  width: 70%;
 margin-bottom:-10px;
}
.photo-cont  .close1{
  right: 4px;
}

}
