html {
	scroll-padding-top: 100px;
}

.bg-white {
	background-color: #fff;
}

.sub header {
	overflow: hidden;
	height: auto;
	background: white;
}

.sub footer {
	border-top: 1px solid var(--borderColor);
	margin-top: var(--sectionPadding);
}

.sub .slogan {
	border-radius: 0px var(--borderRadius) 0px 0px;
	-webkit-border-radius: 0px var(--borderRadius) 0px 0px;
}

.sub .slogan.md\:p-100 {
	width: calc(100% * 5 / 12);
	padding-left: 0 !important;
	animation: slogan 1.5s var(--ease) 1 forwards;
	-webkit-animation: slogan 1.5s var(--ease) 1 forwards;
}

.sub .slogan a {
	font-size: 0.725rem;
	color: var(--linkColor);
	transition: all 0.2s;
	text-decoration: none;
}

ul.pros,
ul.cons {
	padding: 0;
}

ul.pros li,
ul.cons li {
	list-style: none;
	display: block;
	position: relative;
	padding-left: 25px;
}

.pros li + li,
.cons li + li {
	margin-top: 0.5em;
}

ul.pros li::before,
ul.cons li::before {
	content: '';
	display: block;
	width: 16px;
	height: 16px;
	background-size: contain;

	position: absolute;
	top: 6px;
	left: 0;
}

ul.pros li::before {
	background-image: url(/assets/img/pros.svg);
}
ul.cons li::before {
	background-image: url(/assets/img/cons.svg);
}

@keyframes slogan {
	0% {
		transform: translateX(-100px);
		-webkit-transform: translateX(-100px);
		-moz-transform: translateX(-100px);
		-ms-transform: translateX(-100px);
		-o-transform: translateX(-100px);
	}
	100% {
		transform: translateX(0);
		-webkit-transform: translateX(0);
		-moz-transform: translateX(0);
		-ms-transform: translateX(0);
		-o-transform: translateX(0);
	}
}

.sub video,
.sub header img {
	/* height: 100vh;
	max-height: calc(100vh - 160px);
	width: 70vw; */
	height: 55vh;
	width: 55vw;
	object-fit: cover;
	aspect-ratio: auto;
	border-radius: var(--borderRadius) 0 0 var(--borderRadius);
	-webkit-border-radius: var(--borderRadius) 0 0 var(--borderRadius);
}

.sub h1 {font-size: var(--h2);}

.sub .slogan p:first-of-type,
.sub .slogan .time,
.sub .slogan .price {
	display: flex;
	align-items: center;
	flex-direction: row;
	margin-right: 0.5rem;
	line-height: 1.1;
}

.sub .slogan .time::before,
.sub .slogan .price::before {
	content: '';
	display: inline-block;
	width: 32px;
	height: 32px;
	margin-right: 0.5rem;
}

.sub .slogan .time::before {
	background: url(../img/clock.svg);
	background-size: contain;
	background-repeat: no-repeat;
}

.sub .slogan .price::before {
	background: url(../img/wallet.svg);
	background-size: contain;
	background-repeat: no-repeat;
	margin-left: 1rem;
}

aside,
.sub main {
	padding: calc(var(--sectionPadding) / 2) 0;
}

.sub #news .card {
	margin-bottom: 60px;
}

.sub h1 {
	margin-top: 0;
	margin-bottom: 30px;
}

aside h4 {
	font-size: var(--h5);
	margin-top: 0;
}

aside .nav {
	margin: 0;
	padding: 0;
	width: 100%;
}

aside .nav li {
	margin: 0;
	padding: 0;
	list-style: none;
}

aside .nav a {
	display: block;
	box-sizing: border-box;
	width: 100%;
	line-height: 1.3;
	padding: 10px 25px;
	text-decoration: none;
	border-left: 2px solid var(--borderColor);
	transition: all 0.2s;
	color: var(--textColor);
}

aside .nav a:hover,
aside .nav .active > a,
aside .nav a.active {
	border-left-color: var(--primary);
}

aside .nav a:hover {
	padding-left: 30px;
	padding-right: 20px;
}

aside .nav .active > a,
aside .nav a.active {
	color: var(--primary);
}

.gallery a {
	overflow: hidden;
	border-radius: var(--borderRadius);
	-webkit-border-radius: var(--borderRadius);
	-moz-border-radius: var(--borderRadius);
	-ms-border-radius: var(--borderRadius);
	-o-border-radius: var(--borderRadius);
}

.gallery img {
	display: block;
	width: 100%;
	transition: all var(--normalSpeed) var(--ease);
}

.gallery a:hover img {
	transform: scale(1.1);
}

.downloads a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 10px;
	box-sizing: border-box;
	padding: 15px 30px;
	text-decoration: none;
	color: var(--textColor);
	transition: all var(--fastSpeed);
	box-shadow: 0 0 30px hsl(0, 0%, 0%, 0.1);
	border-radius: var(--borderRadius);
	-webkit-border-radius: var(--borderRadius);
	-moz-border-radius: var(--borderRadius);
	-ms-border-radius: var(--borderRadius);
	-o-border-radius: var(--borderRadius);
}

.downloads a:hover {
	color: var(--primary);
	transform: translateY(-2px);
	box-shadow: 0 15px 20px -5px hsl(0, 0%, 0%, 0.2);
}

.downloads a img:not(.download-icon) {
	height: 52px;
	border-radius: 0;
}

.download-icon {
	height: 18px;
	display: block;
	margin-left: 30px;
	border-radius: 0;
	filter: grayscale(1);
}

.downloads .size {
	opacity: 0.6;
	font-size: 0.875rem;
}

.downloads .text {
	flex-grow: 1;
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-left: 30px;
}

.downloads strong {
	font-weight: 400;
	line-height: 1.3;
	display: block;
	padding-right: 30px;
}

form {
	width: 100%;
}

fieldset {
	border: 0;
	padding: 0;
	margin: 0;
}

label {
	margin-top: 10px;
	margin-bottom: 5px;
	font-size: 1.125rem;
}

label p {
	margin: 0;
}

label a {
	text-decoration: none;
	color: var(--primary);
}

label p,
label li {
	font-size: 0.875rem;
	line-height: 1.5;
}

label li {
	margin-bottom: 0.5em;
}

input,
select,
textarea {
	width: 100%;
	box-sizing: border-box;
	padding: 0.8rem 1rem;
	border: 2px solid var(--borderColor);
	border-radius: 0.5rem;
	-webkit-border-radius: 0.5rem;
	-moz-border-radius: 0.5rem;
	-ms-border-radius: 0.5rem;
	-o-border-radius: 0.5rem;
}

[type='checkbox'],
[type='radio'] {
	width: auto;
	flex-shrink: 0;
}

[type='checkbox'] {
	appearance: none;
	width: 1rem;
	height: 1rem;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	flex-shrink: none;
	padding: 0;
	margin-top: 11px !important;
	border-radius: 0.25rem;
	-webkit-border-radius: 0.25rem;
	-moz-border-radius: 0.25rem;
	-ms-border-radius: 0.25rem;
	-o-border-radius: 0.25rem;
	transition: all 0.3s;
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	-ms-transition: all 0.3s;
	-o-transition: all 0.3s;
}

[type='checkbox']:checked {
	background-color: var(--primary);
}

[type='checkbox']:checked::after {
	content: '\2713';
	display: block;
	color: white;
	font-family: monospace;
	font-size: 0.875rem;
}

textarea {
	height: 15rem;
}

.ok {
	border-color: var(--borderColor);
}

.error {
	border-color: red;
}

.error-msg {
	color: red;
	font-size: 1rem;
	margin-top: 5px;
}

.star {
	color: red;
	font-family: sans-serif;
}

#alert {
	display: block;
	box-sizing: border-box;
	width: 100%;
	padding: 0.5rem 1rem;
	color: white;
	font-weight: bold;
}

#alert.success {
	background-color: rgb(0, 133, 22);
}

#alert.danger {
	background-color: rgb(165, 0, 0);
}

.cennik,
.team {
	background: var(--bgLight);
}
.cennik table {
	font-size: 0.725rem;
	border-collapse: separate;
	border-spacing: 0px 10px;
}

.cennik table tr {
	background: white;
	border-radius: 3px;
	overflow: hidden;
	transition: 2s cubic-bezier(0.075, 0.82, 0.165, 1);
}

.cennik table tr td:first-child {
	border-top-left-radius: 3px;
}
.cennik table tr td:last-child {
	border-top-right-radius: 3px;
}

.cennik table tr td:first-child {
	border-bottom-left-radius: 3px;
}
.cennik table tr td:last-child {
	border-bottom-right-radius: 3px;
}

.cennik table tr:hover {
	box-shadow: 0px 0px 30px 1px hsl(236deg 20% 83%);
}

.cennik table td {
	border: none;
	padding: 2rem;
}

.cennik table tr td:nth-of-type(1) strong {
	font-size: 1.5rem;
	line-height: 1;
}

.cennik table tr td:nth-of-type(2) strong {
	font-size: 2rem;
	line-height: 1;
}

.cennik table a,
.sub .slogan a {
	background: hsl(223deg 62% 52% / 15%);
	padding: 0.25rem 0.5rem;
	border-radius: 3px;
	margin-top: 0.5rem;
	display: inline-block;
}

.sub .slogan a {
	margin-top: 0 !important;
}

.cennik table a:hover,
.sub .slogan a:hover {
	background: hsl(223deg 62% 52% / 25%);
}

main .bg-light,
main .bg-primary {
	border-radius: 3px;
}

.sub #oferta {
	margin-top: 0px;
}

.sub #news .card {
	display: flex;
	align-items: stretch;
	background: white;
	border-radius: 3px;
	overflow: hidden;
	transition: 2s cubic-bezier(0.075, 0.82, 0.165, 1);
}

.sub #news .card-body {
	flex-grow: 1;
	padding: 30px;
}

.sub #news .card:hover {
	box-shadow: 0px 0px 30px 1px hsl(236deg 20% 83%);
}

.sub #news .card-image {
	max-width: 30%;
}

.person {
	display: flex;
	justify-content: flex-end;
	position: relative;
	padding-top: 0;
}

.person .sticky-img {
	height: 80vh;
	position: sticky;
	top: 20vh;
	bottom: 1px;
	padding-bottom: 1px;
	mix-blend-mode: darken;
}

.sticky-img img {
	display: block;
	height: 100%;
	width: auto;
}

.member-container + footer {margin-top: 0;}

.member-container main,
.member-container aside {
	padding-bottom: 0;
}

p:empty {display: none;}

.card-title--link {
	text-decoration: none;
	transition: color 200ms;
	color: var(--titleColor);
}

.card-title--link:hover {color: var(--primary);}


/*

			M E D I A
			Q U E R I E S

*/


@media (max-width: 1600px) {
	.sub .slogan.md\:p-100 {
		padding: 50px !important;
		padding-left: 0 !important;
		width: calc(100% * 6 / 12);
	}
}

@media screen and (max-width: 1360px) {
	.sub .slogan.md\:p-100 {
		padding: 30px !important;
		padding-left: 0 !important;
		width: calc(100% * 7 / 12);
	}
}

@media (max-width: 1199px) {
	.sub .slogan p {font-size: 0.875rem;}
}


@media screen and (max-width: 1023px) {
	.sub h1 {
		font-size: clamp(var(--h3), var(--h1), 5vw);
	}
	.sub h2 {
		font-size: clamp(var(--h4), var(--h2), 4vw);
	}
	.sub h3 {
		font-size: clamp(var(--h6), var(--h3), 3.5vw);
	}
	.sub h4 {
		font-size: clamp(var(--h6), var(--h4), 3vw);
	}

	aside {
		order: 999;
	}

	.sub header .absolute {
		position: relative;
		inset: 0;
	}

	.sub .slogan.md\:p-100 {
		padding: 50px 0 !important;
		width: 100%;
	}

	.sub video, .sub header img {
		height: auto;
		max-height: 9999em;
		width: 100%;
		object-fit: cover;
		aspect-ratio: auto;
		border-radius: 0;
	}
}


@media (max-width: 760px) {
	.cennik table tr {
		background: white;
		border-radius: 3px;
		overflow: hidden;
		transition: 2s cubic-bezier(0.075, 0.82, 0.165, 1);
		display: flex;
		flex-direction: column;
		margin-bottom: 5px;
	}

	.cennik table td {
		border: none;
		padding: .5em 1rem;
	}

	.cennik table tr td:first-child {padding-top: 1rem;}
	.cennik table tr td:last-child {padding-bottom: 1rem;}
}


@media screen and (max-width: 639px) {
	.gallery.xs\:grid {
		display: grid;
		grid-template-columns: 1fr;
		gap: 1rem;
	}

	.sub #news .card {
		flex-direction: column;
		margin-bottom: 0;
	}

	.team #news .card-image {
		width: 100%;
		max-width: 100%;
	}

	.team .card-image img {
		width: 100%;
		height: auto;
		aspect-ratio: 1/1;
		object-fit: cover;
		object-position: center top;
	}

}

@media screen and (max-width: 599px) {
	.download-icon,
	.downloads .size {
		display: none;
	}

	.downloads a {
		padding: 15px;
	}

	.downloads .text {
		margin-left: 15px;
	}

	.downloads strong {
		padding-right: 0;
		font-size: 0.875rem;
	}

	.downloads a img:not(.download-icon) {
		height: 30px;
	}

	.sub .slogan p:first-of-type {
		flex-direction: column;
		align-items: flex-start;
		justify-content: flex-start;
	}

	.sub .slogan .price {
		margin-top: 1rem;
		margin-bottom: .5rem
	}

	.sub .slogan .time {margin-bottom: 0.5rem;}

	.sub .slogan .price::before {margin-left: 0;}
}
