/*HERO*/
.hero {
	width: 100%;
	height: 900px;
	margin: 98px 0 0;
	padding-bottom: 200px;
	background-image: url(images/hero.webp);
	background-size: cover;
	background-position: center;
	display: flex;
	align-items: center;
	position: relative;
	z-index: 5;
}
div.herowrap {
	width: 60%;
	margin: 0 auto;
	line-height: 2.4;
	display: flex;
	flex-direction: column;
}
div.hero h1 {
	font-family: waterfall, cursive;
	font-weight: 400;
	font-size: 5.5rem;
	color: var(--f-primdark2);
	text-align: center;
	line-height: 1.2;
	margin-bottom: 20px;
	text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.2);
}
div.hero p {
	font-family: ubuntu-lig, sans-serif;
	font-size: 2rem;
	color: var(--f-primdark2);
	text-align: center;
	line-height: 1.5;
	text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.2);
}
@media (max-width: 990px) {
	.hero {
		margin: 46px 0 0;
	}
}
/*ABOUT*/
.aboutwrap {
	width: 100%;
	padding: 70px 0;
	background-color: var(--primlight);
}
div.about {
	width: 60%;
	max-width: 900px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	padding-bottom: 20px;
}
div.about h2 {
	font-family: ubuntu-reg, sans-serif;
	font-size: 2.2rem;
	color: var(--f-primdark);
	text-align: center;
	padding: 50px 0 40px;
}
div.about p {
	width: 100%;
	font-family: arial, sans-serif;
	font-size: 1.1rem;
	color: var(--f-primdark);
	line-height: 2;
	text-align: left;
	margin: 0 auto;
	padding: 50px 0 0;
}
div.about p::first-letter {
	font-size: 1.8rem;
	line-height: 1.5;
}
@media (max-width: 991px) {
	div.about {
		width: 80%;
	}
}
/*ŠTO RADIMO*/
.whatwedo {
	width: 100%;
	background-color: var(--primmid);
	padding-bottom: 50px;
}
div.work {
	width: 60%;
	max-width: 900px;
	height: auto;
	margin: 0 auto;
	padding: 0 0 30px;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
}
.examples {
	width: /*45rem*/ 100%;
	color: var(--white);
	display: flex;
	background: var(--primdark2);
	margin: 2rem 0;
	border-radius: 20px;
	box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}
.textual {
	padding: 15px 30px;
	width: 50%;
	display: flex;
	justify-content: space-evenly;
	align-items: flex-start;
	flex-direction: column;
}
.slika {
	width: 50%;
	height: 20rem;
    border-radius: 0 20px 20px 0;
	border: none;
	outline: none;
	position: relative;
	overflow: hidden;
}
.slika div {
	width: 100%;
}
div.slikaleft {
    border-radius: 20px 0 0 20px;
}
.slika::before {
	content: '';
	position: absolute;
	left: -4.2rem;
	top: 50%;
	transform: translateY(-50%) rotate(10deg);
	background: var(--primdark2);
	width: 40%;
	height: 140%;
	box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}
.examples-left .slika::before {
	transform: translateY(-50%) rotate(-10deg);
	left: initial;
	right: -5.5rem;
}
img.workimg {
	height: 400px;
	object-fit: cover;
}
div.textual p {
	color: var(--white);
	font-family: arial, sans-serif;
	font-size: 1.1rem;
	line-height: 1.5;
}
div.textual h3 {
	margin: 0;
	padding: 0;
	font-family: ubuntu-reg, sans-serif;
	font-size: 2rem;
}
@media (max-width: 991px) {
	div.work {
		width: 80%;
	}
	.examples {
		display: block;
		width: 20rem;
	}
	.slika {
	    border-radius: 0 0 20px 20px;
	}
	.slika,
	.textual {
		width: 100%;
	}
	div.slikaleft {
    border-radius: 20px 20px 0 0;
}
	div.slika img {
		width: 100%;
	}
	.examples .slika::before {
		width: 120%;
		height: 40%;
		top: -5rem;
		left: 50%;
		transform: translateX(-50%) rotate(10deg);
	}
	.examples-left .slika::before {
		transform: translateX(-50%) rotate(-10deg);
		top: initial;
		bottom: -5rem;
	}
	div.textual h3 {
		padding: 20px 0 10px;
	}
	div.textual p {
		padding: 15px 0 30px;
	}
}
/*CONTACTS*/
.contactwrap {
	width: 100%;
	padding: 50px 0;
	background-color: var(--primlight);
}
.contacttext {
	width: 60%;
	max-width: 900px;
	height: auto;
	margin: 0 auto;
	padding: 0 0 30px;
	display: flex;
	flex-direction: column;
}
div.contacttext > p {
	width: 100%;
	font-family: arial, sans-serif;
	font-size: 1.1rem;
	color: var(--f-primdark);
	line-height: 2;
	text-align: center;
	margin: 0 auto;
	padding: 0;
}
div.contactinfo {
	width: 100%;
	margin: 0 auto;
	padding: 30px 0 0;
	display: flex;
	flex-direction: column;
	justify-content: space-evenly;
}
div.contact {
	width: 60%;
	margin: 20px auto 0;
	background: var(--primdark);
	padding: 5px 10px;
	display: flex;
	flex-direction: row;
	border-radius: 20px;
	box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.2);
}
div.contact img {
	width: auto;
	height: 45px;
	margin: 0 auto/*10px*/;
	padding: 5px 10px 5px 5px;
	border-right: 1px solid var(--white);
	color: var(--white);
	overflow: hidden;
}
div.contact p.cont-p {
	font-family: arial, sans-serif;
	font-size: 1.1rem;
	text-align: left;
	margin: 0 20px;
	padding: 0;
	color: var(--white);
	line-height: 2.3rem;
}
div.contactinfo a {
	width: 60%;
	margin: 0 auto;
	text-align: center;
}
div.contact a {
	width: 100%;
	margin: 0 20px;
	padding: 5px 10px;
	text-align: left;
	font-family: arial, sans-serif;
	font-size: 1.1rem;
	color: var(--white);
	line-height: 2.3rem;
	text-decoration: underline;
}
div.contact:hover {
    background-color: var(--darkhover);
}
.attributing {
	min-width: 60%;
	padding: 5px 0 5px;
	margin: 0 auto;
	background-color: var(--primmid);
	border-top: 3px solid var(--primdark2);
}
.attributing p {
	font-family: ubuntu-reg, sans-serif;
	color: var(--f-primdark);
	font-size: 1.1rem;
	text-align: center;
	padding: 0 20px 0;
	margin: 0;
}
.attributing p a {
	text-decoration: underline;
	color: var(--f-primdark);
}

@media (max-width: 991px) {
	.contacttext {
		width: 80%;
	}
	div.contactinfo {
		padding-top: 10px;
		flex-direction: column;
	}
	div.contact {
		width: 100%;
		max-width: 400px;
		margin: 15px auto;
	}
	div.contact p.cont-p {
		font-size: 1rem;
		margin: 0 0 0 10px;
	}
	div.contact img {
		width: 60px;
		margin: 0 auto;
	}
	div.contactinfo a {
		width: 100%;
	}
	div.contact a {
		width: 100%;
		font-size: 1rem;
	}
	/*a div.contact p {
		margin: 0 10px;
	}*/
}
@media (max-width: 450px) {
    div.contact a {
		font-size: 0.8rem;
	    margin: 0 5px;
	}
}
/*CTA button*/
.herowrap a {
	margin: 0 auto;
}
.ctabutton {
	width: -moz-fit-content;
	width: fit-content;
	height: -moz-max-content;
	height: max-content;
	margin: 40px auto 0;
	padding: 15px;
	background-color: var(--accent);
	color: var(--f-primdark2);
	font-family: ubuntu-reg, sans-serif;
	font-weight: 400;
	font-size: 1.6rem;
	border-width: 0;
	border-radius: 20px;
	box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.2);
	z-index: 10;
	transition: background-color 0.3s ease-in, color 0.3s ease-in;
}
.ctabutton:hover {
	background-color: var(--primdark);
	color: var(--white);
}
@media (max-width: 991px) {
	.ctabutton {
		font-size: 1.4rem;
		padding: 10px;
	}
}
