:root {
	--navigation: black;
}

/* Hide Opera detach video popup button
   May remove other useful browser popups, inserted after "body" element.
*/
html > div[style] {
  display: none !important;
}

html,body {
	margin: 0px;
	padding: 0px;
	font-family: 'Baloo Tammudu 2', cursive;
	font-size: 1.3em;
	scroll-behavior: smooth;
}

h1,h2,h3,h4,h5,p {
	margin: 0px;
	line-height: 120%;
}

h4 {
	margin-top: 20px;
	margin-bottom: 20px;
}


body {	
	background-image: url("assets/plasterbc.jpg");
	background-size: 200px, 200px;
}

video {
	width: 100%;
	height: auto;
	border-radius: 5px;
}

.secvideo {
	max-height: 50vh;
	min-height: 504px;
	width: 100%;
	max-width: 1200px;
	object-fit: fill;
	box-shadow: 0px 0px 20px 0px #000000;
	margin-bottom: 25px;
}

nav {
	height: 75px;
	width: 100vw;
	background-color: var(--navigation);
}

main {
	margin-left: auto;
	margin-right: auto;
	width: 65%;
	min-height: 100vh;

	transition: 0.25s;

	padding: 20px;
	padding-top: 75px;


	margin-top: -50px;
	padding-top: 120px;
}

footer {
	color: #ffffff;
	box-shadow: 0px 5px 20px 20px #424242;
	margin-top: 50px;
	font-size: 0.7em;
}

.btn-full {
	width: 100%;
}

.card-custom {
	background-color: #c0c0c0;
}

.alink {
	color: inherit;
	text-decoration: inherit;
}

footer div {
	background-color: #1A1A1A;
	height: 25vh;
}

footer .top,footer .bottom {
	padding: 20px;
}

footer .bottom {
	color: #6d6e71;
	background: #0D0D0D;
	height: 75px;
}

.scroll_up {
	border: 2px solid #ffffff;
	border-radius: 5px;
	width: 45px;
	height: 45px;
	text-align: center;
	padding-top: 6px;
	cursor: pointer;
	opacity: 0.7;
}

.scroll_up:hover {
	opacity: 1.0;
	transition: 0.25s;
}

@keyframes unblur {
	from {
		filter: blur(10px);
	}

	to {
		filter: blur(0px);
	}
}

.hero-image {
	background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("assets/works/talo1.jpg");
	height: 85vh;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	position: relative;

	clip-path: polygon(100% 0, 100% 72%, 98% 97%, 86% 100%, 60% 95%, 32% 100%, 14% 97%, 0 99%, 0 0);
	clip-path: polygon(0 0, 100% 0, 100% 89%, 85% 95%, 68% 94%, 31% 100%, 14% 94%, 0 96%);
}

.hero-text {
	text-align: center;
	position: absolute;
	color: white;
	margin-top: 35vh;
}

.contactus {
	margin-bottom: 45px;
}

.promo {
	margin-bottom: 25px;
	cursor: pointer;
	opacity: 0.8;
	transition: 0.25s;
}

.promo:hover {
	opacity: 1.0;
}

.promo img {
	max-height: 230px;
	width: 100%;
}

#suositukset .item {
	margin-left: auto;
	margin-right: auto;
	width: 30vw;
	font-size: 0.9em;
}

#suositukset h4 {
	margin-top: 25px;
	margin-bottom: 25px;
}

#suositukset p {
	font-size: 0.9em;
}

.person {
	text-align: center;
}

.person img {
	box-shadow: 0px 0px 20px 8px #888888;
}

.person p {
	margin-top: 15px;
	font-size: 0.9em;
}

.services {
	//background-color: #ffffff;
	//clip-path: polygon(50% 0%, 73% 12%, 98% 30%, 97% 78%, 82% 96%, 46% 94%, 21% 81%, 7% 93%, 1% 38%, 24% 9%);
}

.anDelay {
	animation-delay: 0.5s;
}

.center {
	text-align: center;
}

.close_x {
	float: right;
	color: #ffffff;
	font-size: 1.5em;
	cursor: pointer;
}

.noscroll {
	overflow-y: hidden;
}

.close_x:hover {
	color: red;
	transition: 0.25s;
}


.gallery {
	width: 100vw;
	height: 100vh;
	background-color: rgb(0 0 0 / 76%);
	z-index: 10;
	position: fixed;
}

.gallery .wrapper {
	margin-left: auto;
	margin-right: auto;
	width: 80%;
	margin-top: 5vh;
}

.gallery_item {
	margin-top: 15px;
	cursor: pointer;
	filter: brightness(90%);
}

.gallery_item img {
	width: auto;
	max-height: 250px;
	border-radius: 5px;
	box-shadow: 0px 0px 20px 0px #000000;
}

.gallery_item img:hover {
	transition: 0.25s;
	box-shadow: 0px 0px 20px 8px #747474;
}

.gallery_item:hover {
	filter: brightness(100%);
	transition: 0.25s;

}


.imageDisplay,.videoDisplay {
	background-color: #000000;
	padding: 15px;
}

.imageDisplay img {
	max-height: 80vh;
}


@media screen and (max-width: 1200px) {
	main {
		width: 90%;
	}
}

@media screen and (max-width: 768px) {
	main {
		width: 100%;
		padding-left: 40px;
		padding-right: 40px;
	}

	.hero-text {
		margin-top: 10vh;
	}

	h4 {
		text-align: center;
		margin-bottom: 20px;
	}

	.gallery {
		background-color: #000000;
	}

	.gallery .wrapper {
		width: 95%;
		margin-top: 2vh;
	}

	.gallery_item img {
		max-height: 150px;
	}

	.imageDisplay img {
		max-height: 50vh;
	}

	.person {
		margin-top: 50px;
	}

	.person img {
		border-radius: 100%;
	}

	.secvideo {
		max-height: auto;
		min-height: auto;
	}


}

@media screen and (max-width: 600px) {
	.promo img {
		max-height: 120px;
	}

	#suositukset .item {
		margin-left: auto;
		margin-right: auto;
		width: 50vw;
		margin-top: 50px;
	}

}


.createdby {
	padding: 0px;
	margin: 0px;
	float: right;
	font-size: 0.9em;
}

.createdby:hover {
	transition: 0.50s;
	color: #a4a5a7;
}