@import 'https://fonts.googleapis.com/css?family=Montserrat:300, 400, 700&display=swap';
* {
	padding: 0;
	margin: 0;
	box-sizing: border-box;
}

body {
	width: 100%;
}

html {
	font-size: 10px;
	font-family: 'Montserrat', sans-serif;
	scroll-behavior: smooth;
}
a {
	text-decoration: none;
}
.container {
	min-height: 100vh;
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}
img {
	height: 100%;
	width: 100%;
	object-fit: cover;
}
p {
	color: black;
	font-size: 1.6rem;
	margin-top: 5px;
	line-height: 2.5rem;
	font-weight: 300;
	text-align: justify;
	letter-spacing: 0;
}

.section-title {
	font-size: 4rem;
	font-weight: 300;
	color: black;
	margin-bottom: 10px;
	text-transform: uppercase;
	letter-spacing: .2rem;
	text-align: center;
}

.section-title-min {
	font-size: 2.5rem;
	font-weight: 300;
	color: black;
	margin-bottom: 10px;
	text-transform: uppercase;
	letter-spacing: .2rem;
	text-align: center;
}

.section-title span {
	color: crimson;
}
.section-title-min span {
	color: crimson;
}

.brand h1 {
	font-size: 3rem;
	text-transform: uppercase;
	color: white;
	position: relative;
    left: 70%;
}
.brand h1 span {
	color: crimson;
}

.brand h2 {
	text-transform: uppercase;
	color: white;
	font-size:15.5px;
	position: relative;
    left: 70%;
}

.brand img {
	width: 57px;
    height: 50px;
    position: absolute;
}

/* Header section */
#header {
	position: fixed;
	z-index: 1000;
	left: 0;
	top: 0;
	width: 100vw;
	height: auto;
}
#header .header {
	min-height: 8vh;
	background-color: rgba(31, 30, 30, 0.24);
	transition: .3s ease background-color;
}
#header .nav-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	height: 100%;
	max-width: 1300px;
	padding: 5px 10px;
}
#header .nav-list ul {
	list-style: none;
	position: absolute;
	background-color: rgb(31, 30, 30);
	width: 100vw;
	height: 100vh;
	left: 100%;
	top: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	z-index: 1;
	overflow-x: hidden;
	transition: .5s ease left;
}
#header .nav-list ul.active {
	left: 0%;
}
#header .nav-list ul a {
	font-size: 2.5rem;
	font-weight: 500;
	letter-spacing: .2rem;
	text-decoration: none;
	color: white;
	text-transform: uppercase;
	padding: 20px;
	display: block;
}
#header .nav-list ul a::after {
	content: attr(data-after);
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%) scale(0);
	color: rgba(240, 248, 255, 0.021);
	font-size: 13rem;
	letter-spacing: 50px;
	z-index: -1;
	transition: .3s ease letter-spacing;
}
#header .nav-list ul li:hover a::after {
	transform: translate(-50%, -50%) scale(1);
	letter-spacing: initial;
}
#header .nav-list ul li:hover a {
	color: crimson;
}
#header .hamburger {
	height: 60px;
	width: 60px;
	display: inline-block;
	border: 3px solid white;
	border-radius: 50%;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 100;
	cursor: pointer;
	transform: scale(.8);
	margin-right: 20px;
}
#header .hamburger:after {
	position: absolute;
	content: '';
	height: 100%;
	width: 100%;
	border-radius: 50%;
	border: 3px solid white;
	animation: hamburger_puls 1s ease infinite;
}
#header .hamburger .bar {
	height: 2px;
	width: 30px;
	position: relative;
	background-color: white;
	z-index: -1;
}
#header .hamburger .bar::after,
#header .hamburger .bar::before {
	content: '';
	position: absolute;
	height: 100%;
	width: 100%;
	left: 0;
	background-color: white;
	transition: .3s ease;
	transition-property: top, bottom;
}
#header .hamburger .bar::after {
	top: 8px;
}
#header .hamburger .bar::before {
	bottom: 8px;
}
#header .hamburger.active .bar::before {
	bottom: 0;
}
#header .hamburger.active .bar::after {
	top: 0;
}
/* End Header section */

/* home Section */
#home {
	background-image: url(./images/16607-2.jpg);
	background-size: cover;
	background-position: top center;
	position: relative;
	z-index: 1;
}
#home::after {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	height: 100%;
	width: 100%;
	background-color: black;
	opacity: .7;
	z-index: -1;
}
#home .home {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 50px;
	justify-content: flex-start;
}
#home h1 {
	display: block;
	width: fit-content;
	font-size: 4rem;
	position: relative;
	color: transparent;
	animation: text_reveal .5s ease forwards;
	animation-delay: 1s;
}
#home h1:nth-child(1) {
	animation-delay: 1s;
}
#home h1:nth-child(2) {
	animation: text_reveal_name .5s ease forwards;
	animation-delay: 2s;
}
#home h1:nth-child(3) {
	animation-delay: 3s;
}
#home h1:nth-child(4) {
	animation: text_reveal_name .10s ease forwards;
	animation-delay: 4s;
}
#home h1 span {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 0;
	background-color: crimson;
	animation: text_reveal_box 1s ease;
	animation-delay: .5s;
}
#home h1:nth-child(1) span {
	animation-delay: .5s;
}
#home h1:nth-child(2) span {
	animation-delay: 1.5s;
}
#home h1:nth-child(3) span {
	animation-delay: 2.5s;
}
#home h1:nth-child(4) span {
	animation-delay: 3.5s;
}

/* End home Section */


/* products section */
#products .products {
	flex-direction: column;
	max-width: 1200px;
	margin: 0 auto;
	padding: 100px 0;
}
#products .products-header h1 {
	margin-bottom: 50px;
}
#products .all-products {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
}
#products .project-item {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	width: 80%;
	margin: 20px auto;
	overflow: hidden;
	border-radius: 10px;
}
#products .project-info {
	padding: 30px ;
	flex-basis: 70%;
	height: 100%;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	flex-direction: column;
	color: black;
}
#products .project-info h1 {
	font-size: 4rem;
	font-weight: 500;
}
#products .project-info h2 {
	font-size: 2.2rem;
	font-weight: 600;
	margin-top: 10px;
}

#products .project-info h3 {
	font-size: 1.7rem;
	font-weight: 500;
	margin-top: 10px;
}

#products .project-info ul {
	padding:10px 40px;
}

#products .project-info ul li{
	padding:5px;
	font-size: 1.5rem;
	font-weight: 500;
}

#products .project-info p {
	color: black;
	font-size: 1.5rem;
}
#products .project-img {
	flex-basis: 50%;
	height: 300px;
	overflow: hidden;
	position: relative;
	text-align: center;
}

#products .project-img:after {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	height: 100%;
    width: 100%;
}
#products .project-img img {
	transition: .3s ease transform;
	border-radius: 20px;
	height: 100%;
    width: 100%;
}
#products .project-item:hover .project-img img {
	transform: scale(1.3);
}

.productBtn {
	margin-top: 10px;
    font-size: 1.5rem;
    padding: 10px 36px;
    background-color: #fff;
    border: 1px solid crimson;
    border-radius: 5px;
    color: crimson;
}

.productBtn:hover {
	margin-top: 10px;
    font-size: 1.5rem;
    padding: 10px 36px;
    background-color: crimson;
    color: #fff;
}


/* End products section */

/* contact Section */

#contact {
	padding-bottom: 40px;
}

.contact {
	position: relative;
    min-height: 100vh;
    padding: 50px 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    position: relative;
    background-color: #e6e4e4;
    z-index: 1;
}
.contact::after {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	height: 100%;
	width: 100%;
	opacity: .7;
	z-index: -1;
}

.contact .container_ {
	width:100%;
	display: flex;
	justify-content: center;
	align-items: center;
	margin-top: 30px;
} 

.contact .contactInfo {
	width: 50%;
	display: flex;
	flex-direction: column;
}

.contact .contactInfo .box{
	position: relative;
	padding:20px 0;
	display: flex;
}

.contact .contactInfo .box .icon{
	min-width: 60px;
	height: 60px;
	background:crimson;
	display: flex;
	justify-content: center;
	align-items: center;
	border-radius: 50%;
	font-size:22px;
}

.contact .contactInfo .box .icon:hover{
	min-width: 60px;
	height: 60px;
	background:#fff;
	display: flex;
	justify-content: center;
	align-items: center;
	border-radius: 50%;
	font-size:22px;
}

.contact .contactInfo .box .icon a{
	color: #fff;
	font-size: 25px;
}

.contact .contactInfo .box .icon:hover a{
	color: crimson;
	font-size: 25px;
}

.contact .contactInfo .box .text{
	display: flex;
	margin-left:20px;
	font-size:16px;
	flex-direction: column;
	font-weight: 300;
	color:black;
}

.contact .contactInfo .box .text h3{
	font-weight: 600;
	color: crimson;
}

.contact .contactInfo .box .text p{
	font-weight: 500;
	color: black;
}

.contact .contactInfo .box .text a{
	font-weight: 500;
	color:black;
}

.contact .contactInfo .box .text a:hover{
	font-weight: 700;
	color: black;
}

.contact .contactInfo .box .text a:hover p{
	font-weight: 700;
	color: black;
}


.contactForm {
	width: 40%;
	padding:40px;
	background:#FFF;
}

.contactForm h2 {
	font-size:30px;
	color:#333;
	font-weight: 500;
}

.contactForm .inputBox{
	position: relative;
	width:100%;
	margin-top: 10px;
}

.contactForm .inputBox input,
.contactForm .inputBox textarea{
	width: 100%;
	padding:5px 0;
	font-size:16px;
	margin: 10px 0;
	border:none;
	border-bottom: 2px solid #333;
	outline: none;
	resize: none;
}

.contactForm .inputBox span {
	position: absolute;
	left: 0;
	padding:5px 0;
	font-size:16px;
	margin: 10px 0;
}

.contactForm .inputBox input:focus ~ span,
.contactForm .inputBox input:valid ~ span,
.contactForm .inputBox textarea:focus ~ span,
.contactForm .inputBox textarea:valid ~ span
{
	color: #E91E63;
	font-size: 12px;
	transform: translateY(-20px);
	transition: .2s ease transform;
}

.contactForm .inputBox input[type="submit"]
{
	width: 100px;
	background:crimson;
	color: #FFF;
	border:none;
	cursor: pointer;
	padding:10px;
	font-size:18px;
}



/*End contact Section */

/* Footer */
#footer {
	background-image: linear-gradient(60deg, #29323c 0%, #485563 100%);
}
#footer .footer {
	min-height: 50px;
	flex-direction: column;
	padding-top: 10px;
	padding-bottom: 10px;
}
#footer h2 {
	color: white;
	font-weight: 500;
	font-size: 1.8rem;
	letter-spacing: .1rem;
	margin-top: 10px;
	margin-bottom: 10px;
}
#footer p {
	color: white;
	font-size: 1.3rem;
}
/* End Footer */

/* Keyframes */
@keyframes hamburger_puls {
	0% {
		opacity: 1;
		transform: scale(1);
	}
	100% {
		opacity: 0;
		transform: scale(1.4);
	}
}
@keyframes text_reveal_box {
	50% {
		width: 100%;
		left: 0;
	}
	100% {
		width: 0;
		left: 100%;
	}
}
@keyframes text_reveal {
	100% {
		color: white;
	}
}
@keyframes text_reveal_name {
	100% {
		color: crimson;
		font-weight: 500;
	}
}
/* End Keyframes */

/* Media Query For Tablet */
@media only screen and (min-width: 768px) {
	.cta {
		font-size: 2.5rem;
		padding: 20px 60px;
	}
	h1.section-title {
		font-size: 6rem;
	}

	h1.section-title-min {
		font-size: 3rem;
	}

	/* home */
	#home h1 {
		font-size: 7rem;
	}
	/* End home */

	/* products */
	#products .project-item {
		flex-direction: row;
	}
	#products .project-item:nth-child(even) {
		flex-direction: row-reverse;
	}
	#products .project-item {
		height: 300px;
		margin: 15px;
		width: 100%;
		border-radius: 0;
	}
	#products .all-products .project-info {
		height: 100%;
	}
	#products .all-products .project-img {
		height: 100%;
	}
	/* End products */

}
/* End Media Query For Tablet */

/* Media Query For Desktop */
@media only screen and (min-width: 1200px) {
	/* header */
	#header .hamburger {
		display: none;
	}
	#header .nav-list ul {
		position: initial;
		display: block;
		height: auto;
		width: fit-content;
		background-color: transparent;
	}
	#header .nav-list ul li {
		display: inline-block;
	}
	#header .nav-list ul li a {
		font-size: 1.6rem;
	}
	#header .nav-list ul a:after {
		display: none;
	}
	/* End header */
}
/* End  Media Query For Desktop */


@media  (max-width: 991px) {

	.brand h1 {
		font-size: 2.5rem;
		text-transform: uppercase;
		color: white;
		position: relative;
		left: 70%;
	}
	.brand h1 span {
		color: crimson;
	}
	
	.brand h2 {
		text-transform: uppercase;
		color: white;
		font-size: 13px;
		position: relative;
		left: 70%;
	}

	.brand img {
		height: 45px;
		width: 47px;
	}

	.contact {
		padding:50px;
	}

	.container_ {
		flex-direction: column;
	}

	.container_ .contactInfo {
		margin-top: 40px;
	}

	.container_ .contactInfo, .contactForm {
		width:100%;
	}

	.contact .container_ {
		width:100%;
		display: grid;
		justify-content: center;
		align-items: center;
		margin-top: 30px;
	} 

	#products .project-item {
		display: contents;
		align-items: center;
		justify-content: center;
		flex-direction: column;
		width: 80%;
		margin: 20px auto;
		overflow: hidden;
		border-radius: 10px;
	}

	#products .project-img:after {
		content: '';
		position: absolute;
		left: 0;
		top: 0;
		height: 100%;
		width: 90%;
	}
	#products .project-img img {
		transition: .3s ease transform;
		border-radius: 20px;
		height: 100%;
		width: 90%;
	}
}