:root {
	--main-color: green;
	--secondary-color: orange;
	--accent-light-color: #e1f2e1;
	--grey-color: #606060;
}

h1, h2, h3, h4, h5, h6 {
	font-family: 'Raleway', sans-serif;
	font-weight: 800;
	color: black;
}

:is(h1, h2, h3, h4, h5, h6) .color {
	color: var(--main-color);
}

html {
	font-size: 12px;
}
a {
	color: var(--main-color);
	transition: all 0.3s ease;
}
a:hover {
	text-decoration: none;
	color: var(--secondary-color);
}

body {
	font-family: 'Rubik', Helvetica, Arial, sans-serif;
	font-weight: 400;
	color: #606060;
	background:white;
}

.navbar-nav>.nav-item a {
	text-transform: uppercase;
	font-size: 1.4em;
}

section {
	width: 100%;
	padding: 5rem 0px;
}

.section-title {
	text-align: center;
	margin: 0 0 40px;
	width: 100%;
	position: relative;
}

.section-title h4 {
	color: #303030;
	font-size: 14px;
	font-weight: bold;
	letter-spacing: 4px;
	margin-bottom: 15px;
	text-transform: uppercase;
}

.section-title:after {
	height: 2px;
	margin: 15px auto;
	width: 90px;
	left: calc(50% - 45px);
	background: var(--main-color);
	display: block;
	content: "";
}

.dropdown:hover>.dropdown-menu {
	display: block;
}

.project-block {
	position: relative;
	display: block;
	-webkit-transition: all .3s ease;
	-moz-transition: all .3s ease;
	-o-transition: all .3s ease;
	transition: all .3s ease;
	box-shadow: 5px 5px 20px rgba(0, 0, 0, .1);
}

#mainBild {
	background: url(../img/balcony2.jpg) bottom center no-repeat;
	background-size: cover;	
	display: flex; 
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
}
#mainBild img {
	width:auto;
	box-shadow: 0 0 1.2rem rgba(0,0,0,0.5);
	height: 100px;
	margin:100px;
}
#home .bild {
	border:2px solid #fff;
	background-size: cover;
}
#servicii, #proiecte {
	background: var(--accent-light-color);
}

#servicii .icon {
	border-radius: 50%;
	background: var(--secondary-color);
	display: inline-block;
	text-align: center;
	padding: 1.5rem;
	margin-bottom: 1.5rem;
}

#servicii .icon img {
	max-width: 4rem;
}
#clip video {
	width:100%;
	margin-top:30px;
}
#clip p {
	font-size:1.2rem;
}

.blog-image {
	overflow: hidden;
	display: block;
}

.single-blog {
	margin-top: 30px;
	position: relative;
	overflow: hidden;
	transition: all 0.3s ease;
	display: block;
	color:var(--grey-color);
}
.single-blog:hover {
	color:var(--main-color);
}
.image-scale {
	position: relative;
	transform: scale(1.1);
	display: block;
	transition: 0.5s;
}
.blog-content {
	position: relative;
}
.blog-content:after {
	position: absolute;
	content: "";
	background: var(--main-color);
	width: 0;
	height: 8px;
	left: -5px;
	top: -8px;
	transition: all 0.3s ease;
	transition-delay: 0.2s;
	z-index: 1;
}

.single-blog:hover .image-scale {
	transform: scale(1);
	transition: 0.5s;
}

.single-blog:hover .blog-content::after {
	width: calc(100% + 10px);
}

.blog-content {
	padding: 10px 20px 20px 20px;
	border: 5px solid #f8f8f8;
	position: relative;
}

.blog-title {
	margin-top: -10px;
}

.blog-meta {
	position: relative;
	top: -25px;
	background: var(--secondary-color);
	display: inline-block;
	padding: 5px 20px;
	left: 10px;
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	z-index: 6;
}

.blog-btn {
	display: inline-block;
	font-weight: 700;
	color: #fff;
	position: relative;
	text-transform: uppercase;
	font-size: 12px;
	border: none;
	background: var(--main-color);
	border-radius: 5px;
	padding: 8px 20px 8px 20px;
	transition: all 0.3s ease;
}

.single-blog:hover .blog-btn {
	color: #fff;
	background: #606060;
	padding: 8px 30px 8px 10px;
}

.blog-btn:hover.blog-btn::after {
	right: 1px;
	opacity: 1;
	transition: 0.5s;
}
#home :is(#mainBild, .split > div) {
	position: relative;
}
.split a {
	overflow: hidden;
}
.split :is(a, a > img) {
	width:100%;
	height: 100%;
	display: block;
	transition: all 0.3s ease;
	object-fit: cover;
}
.split a:hover img{
	transform:scale(105%);
}
#topBild a img {
	object-position: 50% 15%;
}
#home .actionTitle {
	color:white;
	position: absolute;
	bottom:2rem;
	left: 2rem;
	text-shadow: 0 0 3px black;
	max-width: calc( 100% - 4rem );
}
#home h2 {
	color:white;
}

.banner {
	width:100%;
	height:150px;
	overflow: hidden;
	position: relative;
	margin:0.5rem auto 2rem;
	background:transparent center no-repeat;
	background-size: cover;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}
.banner h4 {
	color:white;
	text-transform: uppercase;
	font-weight: 400;
}
.banner h2 {
	color:#fff;
	text-align: center;
	font-size:4em;
	text-transform: uppercase;
}
a.project {
	display: flex;
	margin: 1rem 0;
	color:var(--grey-color);
	border-left:3px solid var(--main-color);
}
.project .prjImage {
	flex:1 25%;
	overflow: hidden;
}
.prjImage .image {
	background:transparent center no-repeat;
	background-size: cover;
	width:100%;
	height: 100%;
}
.project .prjDesc {
	flex: 1 75%;
	padding:1rem 0 1rem 3%;
	border: 5px solid #f8f8f8;
}
.prjDesc p {
	display: none;
}
.prjDesc div i {
	opacity:0.4;
}
footer {
	background:#222;
	color:#fff;
	margin-top:2rem;
}
footer ul {
	list-style:none;
	padding: 0;
}
footer li {
	padding-bottom: 1rem;
}
footer h3 {
	color:var(--secondary-color);
	margin-bottom: 1.2rem;
}
footer [class^="icon-"] {
	color:var(--secondary-color);
	padding-right: 1rem;
}
footer .certs li{
	display: inline-block;
	padding-right:1rem;
}
footer .certs li:last-child {
	padding:0;
}
.footer-contact li {
	display: flex;
}
.arrowz {
	text-align: right;
}
.arrowz button{
	background:transparent;
	border: none;
	font-size:2em;
	transition:all 0.3s ease;
}
.arrowz button:hover {
	color:var(--main-color);
}
.location {
	padding-left: 2rem;
	font-size:1.3rem;
	position: relative;
}

.location i {
	position: absolute;
	display: block;
	left: 0;
	color:var(--secondary-color);
}
#viewLarge {
	position: fixed;
	top:0;
	left: 0;
	right: 0;
	bottom: 0;
	background:rgba(0,0,0,0.7);
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: -255;
	width:0;
	height: 0;
	overflow: hidden;
}
#viewLarge .showCase {
	opacity: 0;
	height: 90vh;
	transition:all 0.5s ease;
	display: flex;
	justify-content: center;
	align-items: center;
	max-width: 90%;
}
#viewLarge img {
	max-height: 100%;
	max-width: 100%;
}
body.showModal {
	overflow: hidden;
}
body.showModal #viewLarge {
	z-index: 100;
	width:auto;
	height: auto;
}
body.showModal #viewLarge .showCase{
	opacity:1;
}
.closeModal {
	width:3rem;
	height: 3rem;
	position: absolute;
	z-index: 101;
	right:2rem;
	top:2rem;
	font-size: 1.5rem;
	color:var(--main-color);
	background:white;
	border:2px solid var(--grey-color);
	border-radius: 50%;
	display: flex;
	justify-content: center;
	align-items: center;
	transition:all 0.3s ease;
}
.closeModal:hover {
	color:var(--secondary-color);
	transform:rotate(180deg);
}
.borderFrame {
	border: 5px solid #f8f8f8;
	padding: 1rem;
}
.img-performante {
	width:100%;
	height: 100%;
	content:"";
	background:url(../img/about.jpg) center center no-repeat;
	background-size: cover;
}
#map {
	width:100%;
	min-height: 40vh;
}
.blog-image img {
	height:280px;
	object-fit: cover;
}
.blog-content h4 {
	text-transform: uppercase;
}

@media (min-width: 576px) {
	.prjDesc p {
		display: block;
	}
	#home div[class^="col-"] {
		padding: 0;
		height: 100%;
	}
	#home .split div[class^="col-"] {
		height: 50%;
	}
}

@media (min-width: 768px) {
	html {
		font-size: 16px;
	}
	.ln {
		border-left: solid 3px var(--secondary-color);
		width: 100%;
		padding-left: 3rem;
	}
	#home {
		height: calc(100vh - 180px);
		max-width: 1920px;
		max-height: 860px;
	}
	#home .row {
		height: 100%;
	}
	.banner {
		height:250px;
	}
	#mainBild img {
		width:21%;
		height: auto;
		margin:0;
	}
	#clip video {
		width:640px;
	}
}
@media (min-width: 768px) and (orientation:portrait) {
	#home {
		height: calc(100vh - 590px);
	}
}
@media (min-width: 992px) {
	.navbar-nav>.nav-item a {
		font-size: 0.9rem;
	}
	.navbar-nav .dropdown-menu a {
		color: #444;
		text-align: left;
		border-radius: 0px;
		background: transparent;
		text-transform: capitalize;
		padding: 10px 15px;
		font-weight: 600;
		display: block;
		border-bottom: 1px solid #f0f0f0;
	}
	.navbar-nav .dropdown-menu a:hover {
		color: #fff;
		background-color: var(--main-color);
	}
	.navbar-light .navbar-nav .nav-link {
		padding: 8px 15px;
		border-radius: 3px;
		transition: all 0.3s ease;
	}
	.navbar-light .navbar-nav .nav-link:hover {
		background: var(--main-color);
		color: white;
	}
	.banner {
		max-width:1600px;
		height:320px;
	}
	a.project {
		border-left: 10px solid var(--main-color);
	}
	a.project .image{
		width:105%;
		height: 105%;
		position: relative;
		top:-2.5%;
		left: -2.5%;
		transition: all 0.3s ease;
	}
	a.project h4 {
		transition:all 0.3s ease;
		text-transform: uppercase;
	}
	a.project:hover .image {
		transform: scale(0.95);
	}
	a.project:hover h4 {
		transform:translateX(10px);
		color:var(--main-color);
	}
	.location:after {
		position: absolute;
		content:"";
		display: block;
		left: 0;
		bottom: 0;
		width:75px;
		height: .75rem;
		background:var(--main-color);
	}
	.location {
		padding-bottom: 2rem;
		margin-bottom: 1rem;
	}
	#home .actionTitle { 
		max-width: 50%;
	}

}

@media (min-width: 1200px) {
	.navbar-light .navbar-nav .nav-link {
		padding: 8px 20px;
	}
}