@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,500;1,600;1,700;1,800;1,900&family=Raleway:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/* OUTLINE HELPERS */
/* header,
nav,
section,
article,
div,
img,
ul,
li,
p,
svg,
fieldset,
input,
label,
textarea {
	border: 1px dotted red;
} */
/* OUTLINE HELPERS */
/* RESET */
*,
::before,
::after {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}
a {
	text-decoration: none;
}
ul {
	list-style: none;
}
img,
input,
label,
picture,
iframe,
textarea,
fieldset,
input[type='submit'],
input[type='file'] {
	border: none;
	background: none;
}
svg {
	display: block;
}
q {
	font-weight: 300;
	font-style: italic;
}
/* RESET END */
/* GENERAL SETUP */
body {
	/* Custom variables */
	/* font colors */
	--logo-fcolor1: hsl(204, 3%, 32%);
	--logo-fcolor2: hsl(200, 2%, 50%);
	/* other colors */
	--accent-fcolor: hsl(40, 80%, 50%);
	--btn-color: hsl(141, 54.4%, 15.5%);
	/* shadows */
	--box-shadow: 0 0.1em 0.5em hsla(0, 0%, 0%, 0.5);
	--text-shadow: 0 0.05em 0.0125em hsla(0, 0%, 0%, 0.8);
	/* body bg colors */
	--body-bg1: linear-gradient(
		180deg,
		hsl(47, 37%, 70%),
		hsl(47, 35%, 85%),
		hsl(47, 29%, 100%)
	);
	--body-bg2: linear-gradient(
		180deg,
		rgb(179, 147, 34),
		rgb(245, 214, 102),
		rgb(255, 240, 187)
	);
	/* transform/transition parameters */
	--button-transition: transform 0.3s ease-in-out;

	background: var(--body-bg1);
	max-width: 2560px;
	margin: 0 auto;
	font-family: 'Raleway', sans-serif;
}
header,
main,
footer {
	width: 90%;
	margin: 0 auto;
}
section:not(#kontakt) {
	box-shadow: var(--box-shadow);
	padding: clamp(0.125em, 3.333vw, 2em);
	border-radius: clamp(0.25em, 5.333vw, 0.5em);
	margin: clamp(0.25em, 5.333vw, 2em) auto;
}
section h2:not(#intro article h2) {
	letter-spacing: clamp(0em, 3.333vw, 0.45em);
	border-left: 0.125em solid var(--btn-color);
	padding: 0.5em 0 0.5em 0.5em;
}

button,
label,
summary,
.cta,
.nav_item,
input[type='submit'] {
	cursor: pointer;
}
h1 {
	font-size: clamp(1.375rem, 3.333vw, 3rem);
	font-weight: 800;
}
h2 {
	font-size: clamp(1.25rem, 3.333vw, 2.75rem);
	font-weight: 700;
}
h3 {
	font-size: clamp(1.125rem, 3.333vw, 2.25rem);
	font-weight: 600;
}
h4 {
	font-size: clamp(1.15rem, 3.333vw, 2rem);
	font-weight: 600;
}
h5 {
	font-size: clamp(1.115rem, 3.333vw, 1.75rem);
	font-weight: 600;
}
h6 {
	font-size: clamp(1rem, 3.333vw, 1.5rem);
	font-weight: 500;
}
h1,
h2,
h3,
h4,
h5,
h6,
nav {
	color: var(--logo-fcolor1);
	text-transform: uppercase;
}
hr {
	display: none;
}
ul {
	list-style: none;
}
a {
	color: inherit;
	text-decoration: none;
}
/* LOGO */
header {
	display: flex;
	align-items: center;
	justify-content: space-evenly;
	flex-wrap: wrap;
	margin-block: 1.25rem;
	gap: 0.5rem;
}
#logo_wrapper {
	display: inline-block;
}
#logo_subwrapper {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}
#logo_wrapper h1 {
	font-family: 'Playfair Display', serif;
	font-style: italic;
	color: var(--logo-fcolor1);
	text-shadow: var(--text-shadow);
	border-bottom: 0.075em solid var(--logo-fcolor1);
	text-align: center;
	letter-spacing: 0.1em;
	word-spacing: 0.05em;
	margin: 0 auto 0.2em;
}
.logo_line {
	height: 0.25rem;
	width: clamp(0.75rem, 3.333vw, 4rem);
	stroke: var(--accent-fcolor);
	stroke-width: 5;
}
#ap_logo {
	background-image: url(gfx/ap_2.svg);
	width: 3rem;
	height: 2.5rem;
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center;
	filter: drop-shadow(0 0.125em 0.0125em rgba(0, 0, 0, 0.6));
}
#logo_subwrapper h2 {
	font-size: clamp(1rem, 3.333vw, 1.5rem);
	margin: 0 clamp(0.125em, 3.333vw, 0.25em);
	color: var(--logo-fcolor2);
	text-align: center;
	text-shadow: var(--text-shadow);
}
/* LOGO END */
/* MAIN NAV */
#main_nav {
	min-width: 60%;
}
#main_nav ul {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-evenly;
}
.nav_item {
	position: relative;
	font-size: clamp(0.875rem, 3.333vw, 1.5rem);
	font-weight: 600;
	padding: 1em;
	letter-spacing: 0.1em;
}
.nav_item::after {
	content: '';
	position: absolute;
	width: 100%;
	height: 0.125em;
	left: 0;
	bottom: 0;
	background-color: var(--btn-color);
	transform: scale(0);
	transition: var(--button-transition);
}
.nav_item:hover::after {
	transform: scale(1);
	transition: var(--button-transition);
}
/* MAIN NAV END */
/* MAIN */
/* intro section */
#intro {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-around;
	align-items: center;
	gap: 2em;
}
#intro article {
	display: flex;
	flex-wrap: wrap;
	flex-direction: column;
	justify-content: space-between;
	gap: 1em;
}
#intro article p:not(#intro article p:first-of-type) {
	font-size: clamp(1em, 1.333vw, 1.25em);
	margin-top: clamp(0.5em, 3.333vw, 2em);
	max-width: 60ch;
	line-height: 2;
}
#intro img {
	width: clamp(15em, 100%, 30em);
	box-shadow: var(--box-shadow);
	border-radius: 0.5em;
}
.cta_container {
	width: 100%;
	display: flex;
	align-items: flex-start;
	justify-content: space-evenly;
	flex-wrap: wrap;
	margin-top: 2em;
}
#meeting,
#on-line {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.5em;
}
.cta {
	width: 100%;
	text-align: center;
	position: relative;
	font-size: clamp(1.5em, 3.333vw, 1.75em);
	font-weight: 800;
	text-transform: uppercase;
	margin-block: clamp(0.15em, 5.333vw, 0.25em);
	padding: clamp(0.25em, 5.333vw, 1em) clamp(0.25em, 5.333vw, 1.5em);
	background-color: var(--accent-fcolor);
	border-radius: 0.5em;
}
.cta::after {
	content: '';
	position: absolute;
	width: 90%;
	height: 0.125em;
	left: 5%;
	bottom: 0;
	background-color: var(--btn-color);
	transform: scale(0);
	transition: var(--button-transition);
}
.cta:hover::after {
	transform: scale(1);
	transition: var(--button-transition);
}
.cta:hover {
	box-shadow: var(--box-shadow);
	transition: box-shadow 0.3s ease-in-out;
}
#intro article h2 {
	position: relative;
	font-size: clamp(1.115rem, 3.333vw, 1.75rem);
	font-weight: 600;
	text-transform: uppercase;
}
#intro article h2::after {
	content: ' ';
	position: absolute;
	left: -0.25em;
	bottom: -0.125em;
	height: 0.15em;
	width: 36%;
	background-color: var(--btn-color);
}
#intro article p:first-of-type {
	position: relative;
	font-weight: 500;
	font-size: clamp(1rem, 1.333vw, 1.25rem);
	text-transform: uppercase;
}

/* praktyka section */
#opisy {
	margin-block: 2em;
}
#praktyka_intro {
	position: relative;
    margin: 1em clamp(0.1em, 5.333vw, 5em) 1em;
	max-width: 100%;
	font-size: clamp(1.115rem, 3.333vw, 1.5rem);
	font-weight: 400;
	text-transform: none;
}
#opisy details {
	position: relative;
	font-size: clamp(0.875rem, 3.333vw, 1.5rem);
	margin: 0 clamp(0.1em, 5.333vw, 5em) 1em;
	max-width: 100%;
}
#opisy details summary {
	font-weight: 600;
	padding: clamp(0.25em, 3.333vw, 0.75em) clamp(0.5em, 3.333vw, 1.5em);
	border-radius: 0.25em;
	box-shadow: var(--box-shadow);
	color: var(--logo-fcolor1);
	transition: color 0.6s ease-in-out, background-color 0.3s ease-in-out;
}
#opisy details:hover summary {
	background-color: var(--btn-color);
	color: var(--accent-fcolor);
}
#opisy details ul {
	position: relative;
	list-style: inside;
}
#opisy details li {
	margin-top: 0.5em;
}
#opisy details[open] li {
	margin-left: 1em;
}
#opisy details[open] summary {
	background-color: var(--btn-color);
	color: var(--accent-fcolor);
	text-decoration: none;
	border-radius: 0.25em;
}
/* map section*/
#kontakt iframe {
	width: 100%;
	height: max(20rem, 50vw);
}
/* MAIN END */
/* FOOTER */
#footer_wrapper {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 2em;
	flex-wrap: wrap;
	margin: clamp(0em, 3.333vw, 5em) auto;
}
#footer_nav {
	font-size: clamp(1em, 3.333vw, 1.25em);
	line-height: 1.5;
	letter-spacing: 0.125em;
}
#footer_nav li {
	position: relative;
	padding: 0.5em;
}
#footer_nav li::after {
	content: ' ';
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 0.125em;
	background-color: var(--btn-color);
	transform: scaleX(0);
	transition: var(--button-transition);
}
#footer_nav li:hover::after {
	transform: scaleX(1);
	transition: var(--button-transition);
}

@media screen and (max-width: 60rem) {
	#footer_nav {
		display: flex;
	}
}

address p:nth-child(1) {
	font-size: clamp(1em, 3.333vw, 1.75em);
	line-height: 1.5;
	letter-spacing: 0.15em;
	font-weight: 500;
}
address p:nth-child(2) {
	font-size: clamp(1em, 3.333vw, 1.25em);
	line-height: 1.5;
	letter-spacing: 0.125em;
}
address p {
	line-height: 1.5;
	font-size: clamp(0.875em, 3.333vw, 1.125em);
	letter-spacing: 0.1em;
}
address p:nth-last-child(1),
address p:nth-last-child(2) {
	font-size: clamp(1.075em, 3.333vw, 1.5em);
	line-height: 2;
	letter-spacing: 0.125em;
}
.extra_info {
	font-size: clamp(1em, 3.333vw, 1.25em);
	line-height: 1.75;
	font-weight: 600;
	letter-spacing: 0.125em;
}
.fa-facebook-square {
	width: clamp(1.5em, 3.333vw, 4em);
}
#copyright,
#author {
	font-size: clamp(0.875em, 3.333vw, 1.15em);
	text-align: center;
	margin: 1em auto;
}
/* FOOTER END */

/* BLOG ARTICLES */
#blog article {
	max-width: 90ch;
	text-align: justify;
	box-shadow: var(--box-shadow);
	padding: clamp(0.125em, 3.333vw, 2em);
	border-radius: clamp(0.25em, 5.333vw, 0.5em);
	margin: clamp(0.25em, 5.333vw, 2em) auto;
}
#blog h6 {
	font-size: clamp(1.15em, 3.333vw, 1.5em);
}
#blog p,
#blog li {
	font-size: clamp(0.875em, 3.333vw, 1.15em);
	line-height: 1.5;
	margin-block: 1em;
}
#blog ol{
        padding-left: 1em;
        line-height: 1;
}
#blog ol li{
	font-size: clamp(0.875em, 3.333vw, 1em);
	line-height: 1.15;
}
/* O MNIE */
#about {
	margin-block: 6em;
}
#about section {
	max-width: 75ch;
	font-size: clamp(0.875em, 3.333vw, 1.25em);
}
#about img {
	width: clamp(5rem, 100%, 20rem);
	box-shadow: var(--box-shadow);
	border-radius: 0.5em;
	float: left;
	margin: 1em 1.5em 1em 0;
}
#about h3 {
	letter-spacing: clamp(0em, 3.333vw, 0.45em);
	border-left: 0.125em solid var(--btn-color);
	padding: 0.5em 0 0.5em 0.5em;
}
#about p {
	margin-block: 2em;
	line-height: 1.5;
	text-align: justify;
}
