html{
    overflow-y: scroll;
}

* {
	font-family: 'Roboto', sans-serif;
}

body {
	margin: 0;
	display: flex;
	justify-content: center;
}

.main {
	width: 100%;
	max-width: 1280px;
	min-width: 400px;
	height: 100%;
}

nav {
	width: 100%;
	height: 72px;
	padding:  15px 100px;
	position: sticky;
	top: 0;
	background-color: white;
	z-index: 10;
}

.logo {
	text-decoration: none;
}

h1 {
	margin: 0;
	width: 190px;
	height: 41px;
	float: left;
	font-size: 22.0pt;
}
.logo span {
	font-size: 22.0pt;
	font-family: "Arial Black",sans-serif !important;
	color: #3a67b8;
}

.logo span:nth-child(2){
	font-size: 12.0pt;
}

.logo span:nth-child(3){
	font-size: 13.0pt;
}

.nav_ul {
	list-style: none;
	float: right;
	display: flex;
	padding: 0;
	margin: 0;
}

.nav_ul li {
	font-size: 16.0pt;
	padding: 9px 10px 0 10px;
}

.nav_ul li a {
	text-decoration: none;
	color: black;
	font-weight: 400;
	position: relative;
}

.nav_ul li a::after {
	position: absolute;
	content: "";
	width: 0%;
	height: 4px;
	background-color: #3a67b8;
	bottom: -4px;
	left: 50%;
	transition: all .5s;
}

.nav_ul li a:hover:after{
	width: 100%;
	left: 0%;
}
.nav_ul li a:hover{
	width: 100%;
	color: #3a67b8;
}

.burger {
	display: none;
	margin-top: 2px;
	cursor: pointer;
	float: right;
}

.bar {
	display: block;
	width: 30px;
	height: 5px;
	margin: 6px auto;
	transition: all 0.3s ease-in-out;
	background-color: black;
}

@media(max-width:1000px) {
	.burger {
		display: block;
	}

	.burger_activate .bar:nth-child(2){
		opacity: 0;
	}

	.burger_activate .bar:nth-child(1){
		transform: translateY(11px) rotate(45deg);
	}

	.burger_activate .bar:nth-child(3){
		transform: translateY(-11px) rotate(-45deg);
	}

	nav {
		padding:  15px 25px;
	}

	.nav_ul {
		position: fixed;
		left: -100%;
		top: 72px;
		gap: 0;
		flex-direction: column;
		width: 100%;
		text-align: center;
		transition: 0.3s;
		background-color: white;
		z-index: 5;
		padding-bottom: 10px;
	}

	.nav_actiivate {
		left: 0;
	}
}


.content {
	display: flex;
	flex-direction: column;
	max-width: 1280px;
	min-width: 400px;
	width: 100%;
	gap: 30px;
}

.photo {
	background-color: black;
	width: 100%;
	overflow: hidden;
	position: relative;
}

.photo_img {
	max-width: 100%;
	position: absolute;
	left: 100%;
}

.photo_img1 {
	max-width: 100%;
}


.photo_img:nth-child(2) {
	animation-name: photo_slider;
	animation-duration: 20s;
	animation-iteration-count: infinite;
	animation-delay: -2s;
}

.photo_img:nth-child(3) {
	animation-name: photo_slider;
	animation-duration: 20s;
	animation-delay: 8s;
	animation-iteration-count: infinite;
}

@keyframes photo_slider {
	0% {
		left: 100%;
	}
	10% {
		transform: scale(100%);
		left: 0;
	}
	50% {
		left: 0;
		transform: scale(110%);
	}
	60% {
		left: -100%;
		transform: scale(100%);
	}
	100% {
		left: -100%;
	}
}


.top_box {
	width: 100%;
	display: flex;
	flex-direction: column;
	gap: 25px;
}

.top_box h2 {
	padding-top: 10px;
	font-weight: bold;
	font-size: 30px;
	text-align: center;
	color: #3a67b8;
	width: 90%;
	margin: 0 5%;
}

.top_box div {
	display: flex;
	justify-content: center;
}

.top_box p {
	font-size: 16px;
	text-align: center;
	max-width: 600px;
	margin: 0 5%;
}

.main_box {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	max-width: 1060px;
	position: relative;
	margin-bottom: 20px;
}

.whole_box {
	display: flex;
	justify-content: center;
}

.big_container {
	height: 500px;
	width: 340px;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.box1 {
	height: 100%;
	width: 100%;
	padding: 20px;
	background-color: #ADE8F4;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 10px;
	border-radius: 10px;
}

.box2 {
	height: 240px;
	width: 340px;
	padding: 15px 20px 20px 20px;
	background-color: #ADE8F4;
	border-radius: 10px;
}

@media(max-width:1100px) {
	.main_box {
		max-width: 700px;
	}

	.big_container2 {
		flex-direction: column;
		height: 500px !important;
		width: 340px !important;
	}

	.big_container3 {
		position: static !important;
	}


}

@media(max-width:740px) {
	.main_box {
		max-width: 340px;
	}

	.big_container3 {
		position: static !important;
	}
}

.box_icon {
	height: 72px;
	width: 72px;
}

.box1 h3 {
	color: black;
	font-weight: bold;
}

.box1 span {
	color: black;
}

.box1 a {
	text-decoration: none;
	color: black;
	border: 3px solid black;
	width: 160px;
	padding: 4px;
	border-radius: 6px;
	font-weight: bold;
	text-align: center;
}

.box1 a:hover {
	color: #3a67b8;
	border-color: #3a67b8;
	transition: .3s;
}

.box2 h3 {
	color: black;
	font-weight: bold;
	margin-top: 6px;
}

.box2 span {
	color: black;
}

.big_container2 {
	height: 240px;
	width: 700px;
	display: flex;
	gap: 20px;
}

.big_container3 {
	position: absolute;
	bottom: 0;
	height: 240px;
	width: 700px;
	padding: 20px;
}

.big_container3 p {
	text-align: justify;
}

footer {
	background-color: rgba(51, 51, 51, 0.9);
	height: 40px;
	width: 100%;
	display: flex;
	justify-content: center;
	padding-top: 10px;
}

footer span {
	color: #b3b3b3;
	height: 20px;
}





/*kontakt*/

/* width */
::-webkit-scrollbar {
  width: 12px;
}

/* Track */
::-webkit-scrollbar-track {
  background: #f1f1f1;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #888;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #555;
}

.content2 {
	margin-top: 80px;
	display: flex;
	max-width: 1280px;
	min-width: 400px;
	width: 100%;
	gap: 80px;
}

.right_cont {
	width: 700px;
	display: flex;
	gap: 20px;
	flex-wrap: wrap;
}

.box3 {
	height: 240px;
	width: 340px;
	padding: 15px 20px 20px 20px;
	background-color: #ADE8F4;
	border-radius: 10px;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.box3 h3 {
	color: black;
	font-weight: bold;
	margin-top: 10px;
}

.box3 span {
	color: black;
	font-size: 20px;
	text-align: center;
	width: 250px;
	display: flex;
	justify-content: center;
	align-items: center;
	height: 60px;
}

.box_icon {
	margin-top: 20px;
	height: 64px;
	width: 64px;
}

.content2 form {
	display: flex;
	flex-direction: column;
	gap: 10px;
	width: 100%;
	max-width: 500px;
}

.form_top {
	display: flex;
	gap: 20px;
}

.form_top div {
	width: 240px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.form_top input{
	width: 100%;
}

.content2 form label {
	font-size: 18px;
	font-weight: bold;
}

.content2 form input{
	border: none;
	border-bottom: #3a67b8 solid 4px;
	padding-bottom: 10px;
}

.content2 form textarea {
	border: none;
	border-bottom: #3a67b8 solid 4px;
	height: 160px;
	resize: none;
	padding: 4px 0;
}

.content2 form input:focus, .content2 form textarea:focus {
	outline: none;
}

.content2 form input[type="submit"]{
	border: none;
	background-color: #3f6dc2;
	color: white;
	padding: 0;
	height: 60px;
	border-radius: 10px;
	font-weight: bold;
	font-size: 22px;
}

.form_bottom {
	display: flex;
	justify-content: end;
	flex-direction: column;
	flex-grow: 1;
}

.google_maps {
	margin: 40px 0;
	height: 500px;
	width: 100%;
}

@media(max-width:1400px) {
	.content2 {
		flex-direction: column-reverse;
		align-items: center;
		margin-top: 40px;
	}

	.img_all {
		width: 840px !important;
	}
}

@media(max-width:740px) {
	.right_cont {
		max-width: 340px;
	}

	.content2 form {
		padding: 0 20px;
	}

}


@media(max-width:855px) {
	.img_all {
		width: 400px !important;
	}

	#pop_close {
		height: 32px !important;
		width: 32px !important;
	}

}


/*galerie*/

.content_g {
	margin: 40px 0;
	display: flex;
	max-width: 1280px;
	min-width: 400px;
	width: 100%;
	justify-content: center;
}


.img_all {
	display: flex;
	max-width: 1280px;
	min-width: 400px;
	width: 100%;
	gap: 40px;
	flex-wrap: wrap;
}

.img_all a {
	height: 400px;
	width: 400px;
}

.img_all a img {
	height: 400px;
	width: 400px;
}

#pop_back {
	position: fixed;
	height: 100%;
	width: 100%;
	display: none;
	justify-content: center;
	align-items: center;
	background-color: rgba(0, 0, 0, 0.9);
	z-index: 20;
}

#pop_up {
	position: relative;
	max-width: 90vw;
}

#pop_up img {
	max-height: 80vh;
	max-width: 90vw;
	z-index: 21;
}

#pop_close {
	position: absolute;
	z-index: 501;
	display: block;
	height: 48px;
	width: 48px;
	top: 10px;
	right: 10px;
	opacity: 0.5;
	cursor: pointer;
}

#pop_close:hover {
	opacity: 0.7;
}


/*prostory*/

.content_p {
	margin: 40px 0;
	display: flex;
	flex-direction: column;
	max-width: 1280px;
	min-width: 400px;
	width: 100%;
	justify-content: center;
	align-items: center;
	gap: 20px;
}

.box_pr {
	max-width: 800px;
	width: 100%;
	margin: 0 20px;
	padding: 20px;
	display: flex;
	height: 200px;
	border-radius: 10px;
	background-color: white;
	gap: 20px;
	overflow: hidden;

	-webkit-box-shadow: 4px 5px 29px 0px rgba(0,0,0,0.75);
	-moz-box-shadow: 4px 5px 29px 0px rgba(0,0,0,0.75);
	box-shadow: 4px 5px 29px 0px rgba(0,0,0,0.75);
}

.img_p {
	height: 160px;
	width: 160px;
}

.info_p {
	width: 100%;
}

.info_p h3 {
	font-weight: bold;
	color: #3a67b8;
}

.info_p table, th, td{
	border-collapse: collapse;
}

.info_p table tr td{
	min-width: 80px;
}

.info_p p {
	max-height: 72px;
	overflow: hidden;
}

.content_p table {
	width: 90%;
}

.content_p table{
	border-collapse: collapse;
	overflow: hidden;
	box-sizing: border-box;
}

.content_p th {
	background-color: #362f4b;
	color: white;
	padding: 8px 0 8px 20px;
}

.content_p tr:first-child th:first-child {
	border-radius: 20px 0 0 0;
}

.content_p tr:first-child th:last-child {
	border-radius: 0 20px 0 0;
}

.content_p tr:last-child td:first-child {
	border-radius: 0 0 0 20px;
}

.content_p tr:last-child td:last-child {
	border-radius: 0 0 20px 0;
}

.content_p tr {
	border: white solid;
	border-width: 2px 0;
}

.content_p tr:hover {
	background-color: #ADE8F4;
}

.content_p td {
	color: black;
	padding: 8px 0 8px 20px;
}
