@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,400;0,500;0,700;0,900;1,700&display=swap');
* {
	padding: 0;
	margin: 0;
	box-sizing: border-box;
}
html {
	font-size: 10px;
	font-family: 'Roboto', 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: 700;
	letter-spacing: 0.05rem;
}
.section-title {
	font-size: 4rem;
	font-weight: 300;
	color: black;
	margin-bottom: 10px;
	text-transform: uppercase;
	letter-spacing: 0.2rem;
	text-align: center;
}
.section-title span {
	color: crimson;
}

.cta {
	display: inline-block;
	padding: 10px 30px;
	color: white;
	background-color: transparent;
	border: 2px solid crimson;
	font-size: 2rem;
	text-transform: uppercase;
	letter-spacing: 0.1rem;
	margin-top: 30px;
	transition: 0.3s ease;
	transition-property: background-color, color;
}
.cta:hover {
	color: white;
	background-color: crimson;
}
.brand h1 {
	font-size: 3rem;
	text-transform: uppercase;
	color: white;
}
.brand h1 span {
	color: crimson;
}

/* 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: 0.3s ease background-color;
}
#header .nav-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	height: 100%;
	max-width: 1300px;
	padding: 0 20px;
}
#header .nav-list ul {
	list-style: none;
	position: absolute;
	background-color: rgb(31, 30, 30);
	background: #4e0213f3;
	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: 0.5s ease left;
}
#header .nav-list ul.active {
	left: 0%;
}
#header .nav-list ul a {
	font-size: 2.5rem;
	font-weight: 500;
	letter-spacing: 0.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: 0.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 #711227;
	border-radius: 50%;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 100;
	cursor: pointer;
	transform: scale(0.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: 0.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 */

/* Hero Section */
#hero {
	background-image: url(https://cautdemunca.com/inchis/cdm2/img/inchis.jpg);
	background-size: cover;
	background-position: top center;
	position: relative;
	z-index: 1;
}
#hero::after {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	height: 100%;
	width: 100%;
	background-color: black;
	opacity: 0.7;
	z-index: -1;
}
#hero .hero {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 50px;
	justify-content: flex-start;
}
#hero h1 {
	display: block;
	width: fit-content;
	font-size: 4rem;
	position: relative;
	color: transparent;
	animation: text_reveal 0.5s ease forwards;
	animation-delay: 1s;
}
#hero h1:nth-child(1) {
	animation-delay: 1s;
}
#hero h1:nth-child(2) {
	animation-delay: 2s;
}
#hero h1:nth-child(3) {
	animation: text_reveal_name 0.5s ease forwards;
	animation-delay: 3s;
}
#hero h1 span {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 0;
	background-color: crimson;
	animation: text_reveal_box 1s ease;
	animation-delay: 0.5s;
}
#hero h1:nth-child(1) span {
	animation-delay: 0.5s;
}
#hero h1:nth-child(2) span {
	animation-delay: 1.5s;
}
#hero h1:nth-child(3) span {
	animation-delay: 2.5s;
}



/* Projects section */
#projects .projects {
	flex-direction: column;
	max-width: 1400px;
	margin: 0 auto;
	padding: 100px 0;
}
#projects .projects-header h1 {
	margin-bottom: 25px;
}
#projects .projects nav{
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	margin: 10px;
	/* background-color: #29323c; */
}

/* ---------------- filtru deschis inchis --------------------- */



.items span{
  padding: 7px 25px;
  font-size: 18px;
  font-weight: 500;
  cursor: pointer;
  color: #711227;
  border-radius: 50px;
  border: 2px solid #711227;
  transition: all 0.3s ease;
  margin-bottom: 10px;
  margin-left: 10px;
}
.items .inactiv{
	background: #711227;
}
.items .inactiv a{
	color: #fff;
}

.wrapper .items{
  display: flex;
  flex-wrap: wrap; 
  max-width: 720px;
  width: 100%;
  vertical-align: middle; 
    justify-content: center;
 }

.items span.active,
.items span:hover{
  color: #fff;
  background: #711227
}
.gallery .image img{
  width: 100%;
  vertical-align: middle;
  transition: all 0.3s ease;
}

.gallery .image.hide{
  display: none;
}
.gallery .image.show{
  animation: animate 0.4s ease;
}

@keyframes animate {
  0%{
    transform: scale(0.5);
  }
  100%{
    transform: scale(1);
  }
}
/* final adaugat */


.gallery{
  width: 100%;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
	margin-top: 20px;
}
.gallery .image{
  /* width: 35px; */
  height: 500px;
  position: relative;
  padding: 10px;
  width: 300px;
  background-color: aliceblue;
  margin: 20px;
  border: 4px solid #711227;
  border-radius: 20px;
  overflow: hidden;
  transition: .5s;
  text-align: center;
	
}
.gallery .image img{	
  width: 80px;
  height: 80px;
  margin: 20px;
  transition: .5s;
}
.gallery .image h1{
	color: #711227;
  font-size: 1.2em;
	text-transform: uppercase;
}
.gallery .image h1:hover{
	color: #fff;
}
.gallery .image .content{
  padding: 15px;
  text-align: justify;
}

.gallery .image {
	font-size: 1.9em;
	margin-top: 10px;
	padding: 0 10px;
	box-shadow:12px 15px 15px #7874765d;
}
.gallery .image .button{
	padding-left: 0;
	padding-right: 0;
	display: flex;

	justify-content: space-around;
	/* background-color: #485563; */
}

.gallery .image a{
	backface-visibility: hidden;
  position: relative;
  cursor: pointer;
  display: inline-block;
  white-space: nowrap;
  background: linear-gradient(180deg,#d79d9d 0.3024701730801546%,#711227 46.9052820254299%,#711227 51%,#d05e5e 100%);
  border-radius: 5px;
  border: 1px solid #711227;
  border-width: 1px 1px 1px 1px;
  padding: 10px 20px 10px 20px;
  box-shadow: inset 0px 1px 0px rgba(255,255,255,1),0px 1px 3px rgba(0,0,0,0.3);
    color: #fff;
  font-size: 16px;
  font-style: normal;
  text-shadow: 0px -1px 0px rgba(0,0,0,0.4)
}
.gallery .image  span{
	backface-visibility: hidden;
  position: relative;
  cursor: not-allowed;
  display: inline-block;
  white-space: nowrap;
  background: linear-gradient(180deg,#d79d9d 0.3024701730801546%,#711227 46.9052820254299%,#711227 51%,#d05e5e 100%);
  border-radius: 5px;
  border: 1px solid #711227;
  border-width: 1px 1px 1px 1px;
  padding: 10px 20px 10px 20px;
  box-shadow: inset 0px 1px 0px rgba(255,255,255,1),0px 1px 3px rgba(0,0,0,0.3);
    color: #fff;
  font-size: 16px; 
  font-style: normal;
  text-shadow: 0px -1px 0px rgba(0,0,0,0.4)
}
.gallery .image:hover{
  background-color: brown;
  color: white;
  margin-top: -5px;
  box-shadow: 2px 15px 15px #dc2e685d;
  border-color: brown;
}

.gallery .image:hover .content p{
  color: white;
}

.gallery .image:hover .content a{
  color: black;
  background-color: white;
}
/* End Projects section */



/* --------------- contact Section ---------------------------------- */
section .containerr{
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background: #711227;
}
section .containerr::before{
  content: " ";
  position: absolute;
  
  left: 0;
  width: 50%;
  height: 100%;
  background: #e2cfd3;
}
.container1{
  position: relative;
  min-width: 1100px;
  min-height: 550px;
  display: flex;
  z-index: 80;
  /* background: #fff; */
}
.container1 .contactInfo{
  position: absolute;
  top: 40px;
  width: 350px;
  height: calc(100% - 80px);
  background: #711227;
  z-index: 1;
  padding: 40px;
  display: flex;
  justify-content: center;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 20px 25px rgba(0, 0, 0, 0.15);
}
.container1 .contactForm{
  position: absolute;
  padding: 70px 50px;
  padding-left: 250px;
  margin-left: 150px;
  width: calc(100% - 150px);
  height: 100%;
  background: #fff;
  box-shadow: 0 50px 50px rgba(0, 0, 0, 0.25);
}
.container1 .contactForm h2{
  color: #711227;
  font-size: 24px;
  font-weight: 500;
}
/* Icoana de la titlu din email*/
.titluIcon{
  position: relative;
  background-color: #00bf8e;
  display: flex;
  justify-content: center;
  align-items: center;
  /* justify-content: space-between; */
}
.container1 .contactForm .spam .img{
  width: 40px;
  min-width: 30px;
  /* position: relative; */
  margin: 5px 0; 
  list-style: none;
  /* display: flex; */
}

.container1 .contactForm .formBox {
  /* position: absolute; */
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  padding-top: 30px;
}
.container1 .contactForm .formBox .inputBox{
  position: relative;
  margin-bottom: 35px;
  border: none;
}
.container1 .contactForm .formBox .inputBox.w50{
  width: 47%;
}
.container1 .contactForm .formBox .inputBox.w150{
  width: 100%;
  border: none;
}
/* .container1 .contactForm .formBox .inputBox.w250{
  position: relative;
  cursor: pointer; */
  /* background: #711227; */
  /* color: #fff;
  border: none;
  max-width: 150px;
  padding: 12px;
  border-radius: 3px;
} */
.container1 .contactForm .formBox .inputBox input,
.container1 .contactForm .formBox .inputBox textarea{
  width: 100%;
  resize: none;
  padding: 5px 0;
  font-size: 18px;
  font-weight: 300;
  color: blue;
  border: none;
  outline: none;
  border-bottom: 3px solid #711227;
  
}
.container1 .contactForm .formBox .inputBox textarea{
  height: 120px;
}
.container1 .contactForm .formBox .inputBox span{
  position: absolute;
  left: 0;
  padding: 5px 0;
  pointer-events: none;
  font-size: 18px;
  font-weight: 300;
  transition: 0.3s;
}
.container1 .contactForm .formBox .inputBox input:focus ~ span,
.container1 .contactForm .formBox .inputBox input:valid ~ span,
.container1 .contactForm .formBox .inputBox textarea:focus ~ span,
.container1 .contactForm .formBox .inputBox textarea:valid ~ span{
  transform: translateY(-20px);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 1px;
  color: #711227;
  /* font-weight: 500; */
}

.inputBox.w250 button[type="submit"]{
  position: relative;
  cursor: pointer;
  background: #711227;
  color: #fff;
  border: none;
  max-width: 150px;
  padding: 12px;
 
}
.inputBox.w250 button[type="submit"]:hover{
  background: #d33859;
}
.container1 .contactForm .formBox .inputBox input[type="submit"]{
  position: relative;
  cursor: pointer;
  background: #711227;
  color: #fff;
  border: none;
  max-width: 150px;
  padding: 12px;
  
}
.container1 .contactForm .formBox .inputBox input[type="submit"]:hover{
  background: #d33859;
}
.success{
  background: #9fd2a1;
	width: 50%;
	height: 50%;
  /* padding: 12px 20px; */
  text-align: center;
  color: #711227; 
}
.failed{
  background: #711227;
	width: 50%;
	height: 50%;
  /* padding: 12px 20px; */
  text-align: center;
  color: white; 
}
.container1 .contactInfo h2{
  color: #fff;
  font-size: 24px;
  font-weight: 500;
}
.container1 .contactInfo a{
	color: #fff;
  font-size: 14px;
  font-weight: 500;
}
.container1 .contactInfo ul.info{
  position: relative;
  margin: 20px 0;
}
.container1 .contactInfo ul.info li{
  position: relative;
  list-style: none;
  display: flex;
  margin: 20px 0;
  cursor: pointer;
  align-items: flex-start;
}
.container1 .contactInfo ul.info li span:nth-child(1){  /* prima linie de spam */
  width: 30px;
  min-width: 30px;
}
.container1 .contactInfo ul.info li span:nth-child(1) img{
  max-width: 100%;
  filter: invert(1); /* pune iconurile in alb */
}
.container1 .contactInfo ul.info li span:nth-child(2){  /* a doualinie de spam */
  color: #fff;
  margin-left: 10px;
  font-weight: 300;
	font-size: 15px;
}
.container1 .contactInfo ul.sci{
  position: relative;
  display: flex;
}
.container1 .contactInfo ul.sci li{
  list-style: none;
  margin-right: 15px;
}
.container1 .contactInfo ul.sci li a{
  text-decoration: none;
}
.container1 .contactInfo ul.sci li a img{
  filter: invert(1);
}
@media (max-width: 1200px) {
  .container1{
    width: 90%;
    min-width: auto;
    margin: 20px;
    box-shadow: 0 50px 50px rgba(0, 0, 0, 0.25);
  }
  .container1 .contactInfo{
    top: 0;
    height: 550px;
    position: relative;
    box-shadow: none;
  }
  .container1 .contactForm{
    position: relative;
    width: calc(100% - 350px);
    padding-left: 0;    
    margin-left: 0;
    padding: 40px;
    height: 550px;
    box-shadow: none;
  }
}
 @media (max-width: 991px) {
  section .containerr {
    background: #E2CFD3;
  }
  section .containerr::before{
    display: none;
  }
  .container1{
    display: flex;
    flex-direction: column-reverse;
  }
  .container1 .contactForm{
    width: 100%;
    height: auto;
  }
  .container1 .contactInfo{
    width: 100%;
    height: auto;
    flex-direction: row;
  }
  .container1 .contactInfo ul.sci{
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
  }
}
@media (max-width: 600px) {
  .containerr .container1 .contactForm{
    padding: 25px;
  }
  .container1 .contactInfo{
    padding: 25px;
    flex-direction: column;
    align-items: flex-start;
  }
  .container1 .contactInfo ul.sci{
    margin-top: 40px;
  }
  .container1 .contactForm .formBox .inputBox.w50{
    width: 100%;
  }
} 
/* ------------ End contact Section -------------------------------------- */


/* Footer */
#footer {
	background-image: linear-gradient(60deg, #29323c 0%, #485563 100%);
}
#footer .footer {
	min-height: 120px;
	flex-direction: column;
	/* padding-top: 30px;
	padding-bottom: 10px; */
}
#footer a{
	color: white;
	font-weight: 500;
	font-size: 1.3rem;
	letter-spacing: 0.1rem;
	margin-top: 10px;
	margin-bottom: 10px;
}
#footer a:hover{
	color: #a38289;
}

#footer p {
	color: white;
	font-size: 1.3rem;
	text-align: center;
	margin: 15px;
}

/* 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;
	}

	/* Hero */
	#hero h1 {
		font-size: 7rem;
	}
	/* End Hero */

	/* Services Section */
	#services .service-bottom .service-item {
		flex-basis: 45%;
		margin: 2.5%;
	}
	/* End Services Section */

	/* Project */
	#projects .project-item {
		flex-direction: row;
	}
	#projects .project-item:nth-child(even) {
		flex-direction: row-reverse;
	}
	#projects .project-item {
		height: 400px;
		margin: 0;
		width: 100%;
		border-radius: 0;
	}
	#projects .all-projects .project-info {
		height: 100%;
	}
	#projects .all-projects .project-img {
		height: 100%;
	}
	/* End Project */

	/* About */
	#about .about {
		flex-direction: row;
	}
	#about .col-left {
		width: 600px;
		height: 400px;
		padding-left: 60px;
	}
	#about .about .col-left .about-img::after {
		left: -45px;
		top: 34px;
		height: 98%;
		width: 98%;
		border: 10px solid crimson;
	}
	#about .col-right {
		text-align: left;
		padding: 30px;
	}
	#about .col-right h1 {
		text-align: left;
	}
	/* End About */

	/* contact  */
	#contact .contact {
		flex-direction: column;
		padding: 100px 0;
		align-items: center;
		justify-content: center;
		min-width: 20vh;
	}
	#contact .contact-items {
		width: 100%;
		display: flex;
		flex-direction: row;
		justify-content: space-evenly;
		margin: 0;
	}
	#contact .contact-item {
		width: 30%;
		margin: 0;
		flex-direction: row;
	}
	#contact .contact-item .icon {
		height: 100px;
		width: 100px;
	}
	#contact .contact-item .icon img {
		object-fit: contain;
	}
	#contact .contact-item .contact-info {
		width: 100%;
		text-align: left;
		padding-left: 20px;
	}
	/* End contact  */
}
/* 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.8rem;
	}
	#header .nav-list ul a:after {
		display: none;
	}
	/* End header */

	#services .service-bottom .service-item {
		flex-basis: 22%;
		margin: 1.5%;
	}
}
/* End  Media Query For Desktop */
