@import "fonts.css";

* {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	padding: 0;
	background: #fff;
	font-family: 'open_sansregular';
}

p {
	color: #484848;
}

a {
	color: #557C55;
}

h1 {
	font-family: 'gilroyextrabold';
	font-weight: normal;
	color: #000;
	font-size: 36px;
	line-height: 1;
}

h3 {
	font-family: 'gilroyextrabold';
	font-weight: normal;
	color: #000;
	margin-bottom: 5px;
}

h3 small {
	display: block;
	font-family: 'gilroylight';
}

label {
	width: 70px;
	display: inline-block;
	font-family: 'gilroyextrabold';
}

.banner-text {
	margin-top: 40px;
	
}

.text-center {
	text-align: center;
}

.box-banner {
	padding: 20px;
	border: 1px solid rgba(255,255,255,.2);
	border-radius: 10px;
	backdrop-filter: blur(3px);
	-moz-backdrop-filter: blur(3px);
	-webkit-backdrop-filter: blur(3px);
	height: 170px;
	margin: 0 auto;
	position: relative;
}

.box-banner p {
	font-size: 21px;
	color: #fff;
	margin-top: 10px;
}

.box-banner h1 {
	color: #fff;
}

.mb0 {
	margin-bottom: 0 !important;
}

.mt0 {
	margin-top: 0 !important;
}

.ml0 {
	margin-left: 0 !important;
}

header {
	width: 100%;
	height: 100vh;
	background: url('imgs/banner.jpg') no-repeat top center;
	background-attachment: fixed;
	background-size: cover;
	position: relative;
	z-index: 1;
}

header::before {
	content: '';
	width: 100%;
	height: 100%;
	position: absolute;
	left: 0;
	top: 0;
	background: rgba(0, 0, 0, 0.15);
	z-index: -1;
}

header p {
	line-height: 1;
	margin-top: 4px;
}

.logo {
	color: #000;
	text-decoration: none;
	height: 55px;
	line-height: 55px;
	position: relative;
	z-index: 1000;
}

nav a {
	color: #000;
	text-decoration: none;
	height: 55px;
	line-height: 55px;
	margin-left: 20px;
	transition: .3s all;
	background: rgba(255, 255, 255, 0);
	padding: 4px 15px;
	border-radius: 12px;
	margin-right: -7.5px;
}

.button {
	padding: 9px 25px;
	border-radius: 3px;
	color: #fff;
	text-decoration: none;
	display: inline-block;
	letter-spacing: 1px;
	transition: .3s all ease-in-out;
	background: #A6CF98;
	color: #375837;
	border-bottom: 2px solid #557C55;
}

.button:hover {
	background: #FA7070;
	border-color: #FA7070;
	color: #692020;
}

.abs-bottom {
	position: absolute;
	bottom: -20px;
	width: 100%;
	left: 0;
}

section {
	width: 100%;
	float: left;
	height: 100vh;
}

section img,
section .img {
	width: 70%;
	float: left;
	height: 100%;
	display: block;
	object-fit: cover;
}

section .img {
	background-attachment: fixed;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
}

section .info {
	width: 30%;
	float: left;
	box-sizing: border-box;
	padding: 35px;
}

h2 small {
	display: block;
	font-family: 'gilroylight';
	font-size: 68%;
	margin-bottom: 4px;
	opacity: .3;
}

h2 {
	font-family: 'gilroyextrabold';
}

/*
nav a:hover,
nav a.active {
	background: rgba(255, 255, 255, .2);
	backdrop-filter: blur(5px);
	-webkit-backdrop-filter: blur(5px);
}
*/

nav {
	float: right;
	white-space: nowrap;
	position: relative;
	z-index: 1000;
}

.wrapper {
	width: 94%;
	max-width: 1100px;
	margin: 0 auto;
}

.arrow {
	width: 24px;
	height: 24px;
	display: block;
	text-decoration: none;
	background: url('imgs/arrow.svg') no-repeat center center;
	background-size: contain;
	cursor: pointer;
	position: absolute;
	z-index: 10;
	transform: rotate(90deg);
	left: 0;
	right: 0;
	bottom: 15px;
	margin: auto;
	animation: downarrow 0.9s infinite alternate ease-in-out;
}

@keyframes downarrow {
  0% { transform: rotate(90deg) translateX(0); opacity: 0.4 }
  100% { transform: rotate(90deg) translateX(0.4em); opacity: 1 }
}

footer {
	width: 100%;
	float: left;
	text-align: center;
}

footer p {
	font-size: 12px;
}

#kontakt {
	height: 50vh;
	min-height: 435px;
}

section .img {
	display: none;
}

@media (max-width: 1099px) {
	#kontakt {
		min-height: auto;
	}
	
	.box-banner {
		height: auto;
		padding-bottom: 25px;
	}
	
	.box-banner h1 {
		margin-top: 0 !important;
	}
	
	.box-banner p {
		font-size: 17px !important;
	}
	
	section .info,
	section img,
	section .img {
		width: 100%;
	}
	
	section .img {
		background-attachment: scroll;
		display: none;
	}
	
	section img {
		display: block;
	}
	
	section {
		height: auto !important;
	}
	
	header {
		background-attachment: scroll;
		height: 400px;
	}
	
	header h1 {
		font-size: 28px;
	}
	
	.banner-text {
		margin-top: 85px;
	}
	
	.d-flex {
		display: flex;
		flex-direction: column;
		justify-content: space-between;
		flex-wrap: wrap;
	}
	
	.d-flex .info {
		flex-grow: 1;
		flex-basis: 100px;
		order: 1;
	}
	
	.d-flex img {
		flex: 1 1 100%;
		order: 2;
	}
}

#close,
.mobile {
	display: none;
}

#mover {
	width: 70px;
	height: 30px;
	position: absolute;
	left: 0;
	top: 12px;
	border-radius: 12px;
	background: rgba(255, 255, 255, .2);
	backdrop-filter: blur(5px);
	-webkit-backdrop-filter: blur(5px);
	position: absolute;
	transition: .3s all;
	left: 888px;
	opacity: 0;
	transform: scale(0);
	animation: show 0.4s forwards;
	animation-delay: 0.4s;
}

@keyframes show {
  from { opacity: 0; transform: scale(0); }
  to { opacity: 1; transform: scale(1); }
}

@media (max-width: 540px) {
	#mover {
		display: none;
	}
	
	.mobile {
		padding: 4px 15px;
		display: inline-block;
		background: rgba(255, 255, 255, .2);
		backdrop-filter: blur(5px);
		-webkit-backdrop-filter: blur(5px);
		border-radius: 12px;
		float: right;
		margin-top: 13px;
		position: fixed;
		right: 10px;
		border: 1px solid rgba(0, 0, 0, 0.3);
		font-family: 'gilroyextrabold';
		z-index: 10000;
	}
	
	#close {
		display: inline-block;
		background: #fff !important;
		color: #000;
		width: 250px;
		line-height: 52px;
		padding-top: 0;
		padding-bottom: 0;
		font-size: 28px;
	}
	
	nav {
		background: rgba(0, 0, 0, .4);
		backdrop-filter: blur(4px);
		-webkit-backdrop-filter: blur(4px);
		width: 100%;
		height: 100%;
		position: fixed;
		top: 0;
		left: 0;
		z-index: 100;
		pointer-events: none;
		opacity: 0;
		transition: .3s all;
		display: flex;
		align-items: center;
		justify-content: center;
		flex-direction: column;
		flex-wrap: wrap;
		row-gap: 10px;
	}
	
	nav.active {
		opacity: 1;
		pointer-events: all;
	}
	
	nav a {
		display: block;
		text-align: center;
		width: 100%;
		box-sizing: border-box;
		padding: 0;
		margin: 10px 0;
		font-size: 38px;
		font-family: 'gilroyextrabold';
		background: none !important;
		backdrop-filter: none !important;
		-webkit-backdrop-filter: none !important;
		color: #fff;
	}
}

.div-section {
	clear: both;
	width: 100%;
	float: left;
	padding-top: 20px;
	padding-bottom: 60px;
}

.d-flex {
	display: flex;
	gap: 20px;
	align-content: center;
	flex-direction: row;
}

header .d-flex {
	width: 100%;
	max-width: 94%;
	left: 3%;
	height: 100%;
	position: absolute;
	top: 0;
	align-items: center;
}

.div-section article {
	display: inline-block;
	background: #fff;
	box-sizing: border-box;
	padding: 20px;
	border-radius: 35px 35px 35px 4px;
	max-width: 33%;
	box-shadow: 0 0 25px rgba(0,0,0,0.1);
}

@media (min-width: 600px) and (max-width: 1000px) {
	.div-section article {
		max-width: calc(50% - 10px);
	}
}

@media (max-width: 600px) {
	.div-section article {
		max-width: 100%;
	}
}


