/*! modern-normalize v3.0.1 | MIT License | https://github.com/sindresorhus/modern-normalize */
*,::after,::before{box-sizing:border-box}html{font-family:system-ui,'Segoe UI',Roboto,Helvetica,Arial,sans-serif,'Apple Color Emoji','Segoe UI Emoji';line-height:1.15;-webkit-text-size-adjust:100%;tab-size:4}body{margin:0}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:ui-monospace,SFMono-Regular,Consolas,'Liberation Mono',Menlo,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-color:currentcolor}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}legend{padding:0}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}

:root {
	--background: #0D1B3B;
	--accent: #CFC190;
	--text-dark: #333333;
	--text-light: white;
	
	--container-width: 1440px;
	--padding-section: 5rem;
}

html {
	scroll-behavior: smooth;
}

body {
	font-size: 16px;
	line-height: 1.5;
	
	background: #0B111D;
	color: var(--text-light);
	
	font-family: "Inter", sans-serif;
	font-optical-sizing: auto;
	font-weight: 300;
	font-style: normal;
}

a {
	color: white;
	text-decoration: none;
}

b {
	font-weight: 600;
}

h1, h2, h3, h4, h5, h6 {
	font-family: "Jost", sans-serif;
	font-optical-sizing: auto;
	font-weight: 600;
	font-style: normal;
	
	line-height: 1.2;
	margin: 0 0 0.25em;
}

h2 {
	font-size: 4rem;
	font-weight: 500;
}

h3 {
	font-size: 2.25rem;
	font-weight: 400;
}

hr + h3 {
	margin-top: 4rem;
}

header, section, footer {
	position: relative;
	width: 100%;
}

header, .vita, .footer-copy {
	background-color: var(--background);
}

header .background-image {
	background-image: url('dr_tomasz_potempa.jpg');
}

nav {
	display: flex;
	justify-content: end;
	gap: 2.75rem;
}

.lang {
	display: flex;
	gap: 0.25em;
}

.lang .current {
	font-weight: 700;
}

.container {
	width: 100%;
	max-width: var(--container-width);
	margin: 0 auto;
}

section > .container,
footer > .container  {
	padding: var(--padding-section);
}

.cols .container {
	max-width: calc((var(--container-width) - 5.75rem )/ 2);
}

.cols, .cols-3 {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 5.75rem;
}

.cols-3 {
	grid-template-columns: 1fr 1fr 1fr;
}

header > .cols {
	gap: 2rem;
}

.min-100 {
	display: flex;
	min-height: min(100vh, 900px);
}

.background-light {
	color: var(--text-dark);
	background: white;
}

.background-light h2,
.background-light h3 {
	color: var(--background);
}

.background-light a {
	color: var(--text-dark);
}

.background-light hr {
	background: var(--background);
}

.background-image {
	background-repeat: no-repeat;
	background-size: cover;
	background-position: top center;
}

header .background-image,
.vita .background-image {
	background-position: top right;
}

.p-bottom {
	position: absolute;
	bottom: 0;
	width: 100%;
	text-align: center;
	
	display: flex;
	justify-content: center;
	gap: 1rem;
}

.footer-copy {
	padding: 1.25rem;
	font-size: 0.875rem;
	text-align: center;
	width: 100%;
}

header h1 {
	font-size: 80px;
	font-weight: 700;
	color: var(--accent);
	
	margin-left: -8rem;
	white-space: nowrap;
}

hr {
	display: block;
	border: 0;
	height: 2px;
	background: white;
	width: 100%;
	margin: 2.4rem 0;
}

.buttons {
	display: flex;
	gap: 1rem;
}

.button {
	display: inline-block;
	
	padding: 0.75rem 1.5rem;
	border-radius: 99em;
	
	background: white;
	color: var(--background);
	border: 1px solid white;
	
	line-height: 1;
	text-align: center;
	cursor: pointer;
}

.button-outline {
	background: transparent;
	color: var(--text-light);
}

.header-container {
	display: flex;
	flex-direction: column;
	padding-top: 30px;
	padding-bottom: 150px;
	padding-right: var(--padding-section);
	margin: 0 auto 0 0;
	height: 100%;
}

.header-content {
	display: flex;
	flex-direction: column;
	justify-content: center;
	flex: 1 1 auto;
}

.vita h2 {
	text-align: right;
}

.vita .container p {
	margin: 0 0 1.5rem;
}

.maps-cols > div {
	display: flex;
	flex-direction: column;
}

.maps-cols p {
	line-height: 1.75;
}

iframe {
	display: block;
}

.map-wrap {
	border-radius: 0.625rem;
	overflow: clip;
}

.footer-info {
	text-align: right;
}

.footer-info h3 {
	font-weight: 700;
	font-size: 2.125rem;
	margin-bottom: 1.5rem;
}

.footer-info p {
	display: flex;
	align-items: center;
	justify-content: end;
	gap: 0.5em;
	
	font-size: 1.75rem;
	margin: 0 0 0.5rem;
}

a:has(svg) {
	display: inline-flex;
	align-items: center;
	gap: 0.5em;
}

.adwokat {
	font-size: 20px;
	text-transform: uppercase;
}

.nav-menu {
	display: none;
}

.mobile-only {
	display: none;
}

#dzialalnosc h2 {
	text-align: right;
}

.vita .container {
	margin: 2.5rem auto 2.5rem 0;
	padding-right: var(--padding-section)
}

.maps-cols {
	margin-top: 3rem;
}

.transakcje2 .background-image {
	background-image: linear-gradient(90deg, rgba(0, 0, 0, 0.3) 40%, rgba(255, 0, 0, 0) 60%), url('transakcje2.jpg');
}

.arrow-down {
	position: absolute;
	bottom: 5rem;
	right: var(--padding-section);
}

@media (max-width: 1000px) {
	:root {
		--padding-section: 2rem;
	}
	
	.mobile-only {
		display: block;
	}
	
	.cols .container {
		max-width: unset;
	}
	
	header, section, footer {
		overflow: clip;
	}
	
	header {
		flex-direction: column;
	}
	
	header > .cols {
		grid-template-columns: 100%;
		grid-template-rows: 100vh;
		grid-template-areas: "stack"
	}
	
	header > .cols > div {
		grid-area: stack;
	}
	
	header .background-image {
		background-image: url('dr_tomasz_potempa_mobile.jpg');
		background-position: bottom right;
		background-size: min(115%, 52vh);
		background-color: #0B111D;
	}
	
	header .background-image .container {
		margin-top: 2rem !important;
		margin-left: 0 !important;
	}
	
	.header-container {
		padding: 2rem;
		background: linear-gradient(rgba(0,0,0,0) 80%, rgba(0, 0, 0, 0.8));
	}
	
	.header-content {
		position: relative;
		padding-top: calc(25px + 2rem);
	}
	
	.header-container .mobile-only {
		display: flex;
		justify-content: space-between;
		margin-bottom: 2rem;
	}
	
	.nav-menu {
		position: absolute;
		display: flex;
		flex-direction: column;
		justify-content: space-between;
		
		cursor: pointer;
		
		top: 0;
		right: 0;
		
		width: 25px;
		height: 25px;
		
		padding: 3px 0;
		margin: 0;
		background: unset;
		border: 0;
	}
	
	.nav-menu > div {
		height: 3px;
		width: 100%;
		background: white;
	}
	
	nav {
		position: fixed;
		display: none;
		
		background: rgba(11, 17, 29, 0.7);
		backdrop-filter: blur(10px);
		
		z-index: 100;
		padding: 2rem;
		flex-direction: column;
		justify-content: start;
		gap: 1.5rem;
		top: 0;
		left: 0;
		right: 0;
		max-height: 100vh;
	}
	
	nav .nav-menu {
		position: static;
		align-self: end;
	}
	
	nav.is-open {
		display: flex;
	}
	
	.adwokat {
		font-size: min(4vw, 20px);
	}
	
	header h1 {
		font-size: min(10.1vw, 80px);
		margin: 0;
		letter-spacing: -1px;
	}
	
	h1 .dr {
		font-size: 0.6em;
	}
	
	.header-content > p:not(.adwokat) {
		flex: 1 1 auto;
		font-size: 0.875rem;
		max-width: 400px;
	}
	
	.header-content > p:not(.adwokat) br {
		display: none;
	}
	
	.p-bottom {
		position: static;
		flex-wrap: wrap;
		font-size: 0.75rem;
		gap: 0.5em;
		
		margin: 0;
		padding: 2rem 1rem;
	}
	
	.p-bottom .bull:nth-child(4),
	.p-bottom .bull:nth-child(8) {
		flex: 1 1 100%;
		height: 0;
		opacity: 0;
	}
	
	.buttons {
		justify-content: center;
	}
	
	.button {
		padding: 1rem;
	}
	
	hr {
		margin: 1.5rem 0;
	}
	
	hr + h3 {
		margin-top: unset;
	}
	
	section > .cols,
	section > .container > .cols,
	footer > .container > .cols {
		display: flex;
		flex-direction: column-reverse;
		justify-content: start;
		gap: 0;
	}
	
	section > .container > .cols,
	footer > .container > .cols {
		flex-direction: column;
	}
	
	#dzialalnosc .background-image {
		background-position: top left;
	}
	
	h2 {
		font-size: min(10.1vw, 80px);
		letter-spacing: -1px;
		text-align: left !important;
		margin: 0;
	}
	
	h3 {
		font-size: min(8vw, 2.5rem);
		letter-spacing: -1px;
		text-align: left;
		margin: 0;
	}
	
	.transakcje2 .background-image {
		background-image: linear-gradient(270deg, rgba(0, 0, 0, 0.2) 30%, rgba(255, 0, 0, 0) 60%), url('transakcje2.jpg');
		background-position: center center, 10% 0%;
	}
	
	.czlonkostwo .container {
		padding-top: 100px;
		padding-bottom: 100px;
	}
	
	.cols-3 {
		display: flex;
		flex-direction: column;
		gap: 1rem;
	}
	
	.vita .background-image {
		display: none;
	}
	
	.vita .container {
		margin: 0;
		padding: 2rem;
	}
	
	.vita .container .cols {
		margin-bottom: 2rem;
	}
	
	.vita h2 {
		text-align: right !important;
	}
	
	.maps-cols {
		margin-top: 1rem;
		gap: 3rem !important;
	}
	
	footer.min-100 {
		min-height: min(80vh, 900px);
	}
	
	footer .background-image {
		background-size: 300%;
	}
	
	.footer-info {
		text-align: left;
	}
	
	.footer-info p {
		flex-direction: row-reverse;
		justify-content: start;
		font-size: 1.1rem;
		font-weight: 600;
	}
	
	.footer-info svg {
		width: 1.5rem;
		height: 1.5rem;
	}
	
	.arrow-down {
		right: 0;
	}
}

@media (max-width: 400px) {
	.buttons {
		justify-content: space-between;
	}
	
	html[lang=de] .buttons {
		flex-direction: column;
	}
	
	html[lang=de] .arrow-down {
		bottom: 10rem;
	}
}

@media (max-width: 375px) {
	.header-content > p:not(.adwokat) {
		font-size: 0.75rem;
	}
}