html,
body {
	overflow-x: hidden;
}

html {
	scroll-behavior: smooth;
} /* ładne przewijanie */

#trex300s,
#trex300st,
#DG2,
#DG3,
#DG33C,
#DG7E,
#DG07,
#DG77-55 {
	scroll-margin-top: 80px;
}

body {
	margin: 0;
	/*background-color: #2f3336;*/
	background-color: #fff;
	/*color: #efefef;*/
	color: #191d21;
	font-family: 'Open Sans', sans-serif;
	font-size: 17px;
}

h1.logo {
	font-size: 44px;
	font-weight: 700;
	/*color: #E6700B;*/
	color: #191d21;
	text-align: center;
	/*text-transform: uppercase;*/
	letter-spacing: 5px;
	margin-top: 100px;
	margin-bottom: 0px;
	padding: 10px;
}

h1.logo1 {
	font-size: 44px;
	font-weight: 700;
	color: #8c8c8c;
	color: #191d21;
	text-align: center;
	text-transform: uppercase;
	letter-spacing: 5px;
	margin-top: 100px;
	margin-bottom: 20px;
	padding: 10px;
}

h1 {
	font-size: 36px;
	font-weight: 400;
	color: #39a5f1;
	margin: 20px;
}

.h11 {
	line-height: 5%;
	color: #39a5f1;
	font-size: 20px;
	font-weight: 700;
}
h2 {
	font-size: 17px;
	margin: 10px;
}

.photo {
	text-align: center;
}

.photo img {
	width: 100%;
	height: auto;
}

.photo p {
	margin-bottom: 20px;
}

.photo figcaption {
	margin-top: 8px;
}

.photo a {
	opacity: 1;
}

.photo a:hover {
	opacity: 0.8;
	transition: opacity 0.3s;
}

#galleryKontakt img {
	width: 100%;
	height: auto;
	object-fit: cover;
	aspect-ratio: 4 / 3;
}

.foto {
	text-align: center;
}

.foto img {
	width: 150px;
	height: 100px;
}

.img-thumbnail {
	/*height: 300px !important;*/
	/*width: 100% !important;
	/*object-fit: cover !important;*/
	border-radius: 30px !important;
	/*display: block !important;*/
	width: auto;
	height: 300px !important;
	object-fit: cover !important;
	display: block;
	margin: 0 auto;
}

/* Miniaturki w galerii */
.gallery-thumbnail {
	height: 200px !important;
	object-fit: cover !important;
}

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

.navbar {
	min-height: 75px;
}

.sticky {
	width: 100%;
	position: fixed;
	left: 0;
	top: 0;
	z-index: 100;
}

.btn-dark {
	color: #8c8c8c;
}

.btn-dark:hover {
	color: #8c8c8c;
}

/*.selector-for-some-widget
{
  box-sizing: content-box;
}*/

/*.scrollup
{
	width: 64px;
	height: 64px;
	text-decoration: none;
	background: url("img/up.png") no-repeat 0px 0px;
	position: fixed;
	right: 50px;
	bottom: 50px;
	display: none;
}*/

.bg-dgms {
	background-color: #191d21;
}

.contact {
	margin-left: auto;
	margin-right: auto;
	width: 100%;
	text-align: center;
	margin-bottom: 50px;
}

.contact p {
	margin-bottom: 50px;
	padding: 10px;
}

/* Wyrównanie kolumn w poziomie i pionie */
.equal-cols {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: stretch; /* obie kolumny będą mieć tę samą wysokość */
}

/* Każda kolumna jest flexboxem, żeby centrować zawartość w pionie */
.wpis1,
.wpis {
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
}

/* Wyrównanie zawartości zdjęcia */
.wpis1 img {
	max-width: 100%;
	height: auto;
	border-radius: 10px;
	margin-bottom: 20px;
}

/* Zachowanie estetyki */
.wpis {
	text-align: center;
	border-radius: 10px;
	color: #191d21;
	padding: 20px;
	margin-bottom: 20px;
}

.photo img {
	max-width: 100%;
	height: auto;
	border-radius: 15px;
}

.content-box {
	padding: 20px;
	border-radius: 15px;
	text-align: center;
	margin-bottom: 20px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.link a {
	display: inline-block;
	margin-top: 10px;
	font-weight: bold;
	color: #e6700b;
	text-decoration: none;
}

.podpis {
	/*color: #8c8c8c;*/
	color: #191d21;
}

.podpis1 {
	text-align: center;
	font-size: 20px;
	font-weight: 700;
	line-height: 35px;
	margin-top: 20px;
	padding: 10px;
	/*color: #8c8c8c;*/
	color: #191d21;
}

.podpis1 a {
	color: #93c748;
	word-break: break-all;
	overflow-wrap: anywhere;
	display: inline-block;
	max-width: 100%;
}

.podpis1 a:hover {
	text-decoration: none;
}

#kontakt-info .podpis1 {
	color: #93c748;
	font-size: 30px; /* duża czcionka na PC */
	line-height: 1.4;
	word-wrap: break-word;
	overflow-wrap: break-word;
	text-align: center;
	max-width: 100%;
	margin: 0 auto;
}

/* Link w środku */
#kontakt-info .podpis1 a {
	color: #93c748;
	text-decoration: none;
}

#kontakt-info .podpis1 a:hover {
	text-decoration: underline;
}

.link {
	color: #93c748;
	font-size: 17px;
	font-weight: 700;
	text-align: center;
}

.link a {
	color: #93c748;
	text-align: center;
}

.link a:hover {
	text-decoration: none;
	text-align: center;
}

@media (max-width: 576px) {
	h1.logo {
		font-size: 28px; /* Opcjonalnie zmniejsz rozmiar czcionki */
		overflow-wrap: normal; /* Zapobiega dzieleniu wyrazów */
	}
	h1.logo1 {
		font-size: 24px; /* Opcjonalnie zmniejsz rozmiar czcionki */
		overflow-wrap: normal; /* Zapobiega dzieleniu wyrazów */
	}
	.wpis {
		font-size: 15px;
	}

	.float-left,
	.float-right {
		max-width: 50%;
	}

	.blockquote {
		font-size: 17px;
	}

	.list-group {
		text-align: center;
	}
	#kontakt-info .podpis1 {
		font-size: 16px; /* mniejsza czcionka na smartfonie */
		line-height: 1.3;
		padding: 0 10px;
	}
}

@media (min-width: 576px) and (max-width: 768px) {
	h1.logo {
		font-size: 36px; /* Nieco większy rozmiar czcionki */
		overflow-wrap: normal;
	}
	.wpis {
		font-size: 16px; /* Nieco większy tekst */
	}

	.float-left,
	.float-right {
		max-width: 60%; /* Większa szerokość elementów pływających */
	}
}

@media (min-width: 768px) and (max-width: 1200px) {
	h1.logo {
		font-size: 40px; /* Domyślny rozmiar czcionki */
		overflow-wrap: normal;
	}
	.wpis {
		font-size: 17px; /* Większy tekst dla lepszej czytelności */
	}
}

/* Dla ekranów o szerokości powyżej 1200px */
@media (min-width: 1200px) {
	h1.logo {
		font-size: 44px; /* Domyślny rozmiar czcionki */
		overflow-wrap: normal;
	}
	.wpis {
		font-size: 18px; /* Większy tekst dla dużych ekranów */
	}

	.float-left,
	.float-right {
		max-width: 70%; /* Jeszcze większa szerokość elementów pływających */
	}
}

/* Dla ekranów o szerokości powyżej 3840px (4K) */
@media (min-width: 3840px) {
	body {
		font-size: 26px; /* Jeszcze większy ogólny rozmiar tekstu */
	}

	h1.logo {
		font-size: 120px; /* Bardzo duży rozmiar czcionki dla nagłówka */
		margin-top: 200px; /* Większy odstęp od góry */
		margin-bottom: 80px;
	}

	.navbar {
		font-size: 28px; /* Jeszcze większy rozmiar tekstu w nawigacji */
		padding: 30px 60px; /* Większe odstępy wewnętrzne */
	}

	.navbar-brand img {
		max-height: 200px; /* Większe logo w nawigacji */
	}

	.navbar-nav .nav-link {
		font-size: 28px; /* Jeszcze większy tekst w linkach nawigacji */
		padding: 20px 40px; /* Większe odstępy między linkami */
	}

	.wpis {
		text-align: center;
		font-size: 32px; /* Jeszcze większy tekst w sekcjach */
		line-height: 2.2; /* Większe odstępy między liniami */
	}

	.float-left,
	.float-right {
		max-width: 95%; /* Maksymalna szerokość elementów pływających */
	}

	.container {
		max-width: 3800px; /* Maksymalna szerokość kontenera */
	}

	.btn-dark {
		font-size: 28px; /* Jeszcze większe przyciski */
		padding: 25px 50px; /* Większe odstępy wewnętrzne */
	}

	footer {
		font-size: 24px; /* Większy tekst w stopce */
		padding: 50px 0; /* Większe odstępy w stopce */
	}

	img {
		max-width: 100%;
		height: auto;
	}
}

.bluebutton {
	position: relative;
	background-color: #191d21;
	padding: 15px;
	color: #8c8c8c;
	font-size: 20px;
	text-decoration: none;
	border-radius: 10px;
	min-width: 200px;
	border: none;
	overflow: hidden;
	cursor: pointer;
}

.bluebutton:focus {
	outline: none;
}

.circle {
	position: absolute;
	width: 80px;
	height: 80px;
	background-color: #fff;
	border-radius: 50%;
	transform: translate(-50%, -50%) scale(0);
	animation: zoom 0.3s;
	/* overflow: hidden; */
}

@keyframes zoom {
	to {
		transform: translate(-50%, -50%) scale(2);
		opacity: 0;
	}
}

.bb {
	width: 100%;
	box-sizing: border-box;
	/*color: #8c8c8c;*/
	color: #191d21;
	text-decoration: none;
	border-radius: 20px;
	padding: 10px;
	margin: 10px 0;
}

.bb:hover {
	/*background-color: #196499;*/
	/*color: #bababa;*/
	text-decoration: none;
}

.bluebutton:hover {
	/*background-color: #196499;*/
	color: #bababa;
	text-decoration: none;
}

.socials {
	text-align: center;
	background-color: #191d21;
}

.socialdivs {
	text-align: center;
}

.fb {
	color: #8c8c8c;
}

.fb:hover {
	background-color: #4668b3;
	border-radius: 10px;
	transition: background-color 0.4s;
}

.yt {
	color: #8c8c8c;
}

.yt:hover {
	background-color: #d94348;
	border-radius: 10px;
	transition: background-color 0.4s;
}

.wa {
	color: #8c8c8c;
}

.wa:hover {
	background-color: #18d32a;
	border-radius: 10px;
	transition: background-color 0.4s;
}

.gplus {
	color: #8c8c8c;
	height: 60px;
}

.gplus:hover {
	background-color: #002f34;
	border-radius: 10px;
	transition: background-color 0.4s;
}

.olx {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

.ox {
	width: 100%;
	height: 100%;
}

.info {
	margin-left: auto;
	margin-right: auto;
	text-align: center;
	padding: 10px;
	color: #8c8c8c;
}
