/* AUTO Serwis fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Saira+Stencil+One&display=swap');

/* Codebreve fonts */
@import url('https://fonts.googleapis.com/css2?family=SUSE+Mono:ital,wght@0,300;1,300&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poltawski+Nowy:ital@1&display=swap');

@font-face {
	font-family: 'Material Symbols Outlined';
	font-style: normal;
	font-weight: 100 700;
	font-size: inherit;
	line-height: inherit;
	letter-spacing: inherit;
	transform: translate(0px, 0.3ex);
	src: url(res/material_icons.woff2) format('woff2');
}

.material-symbols-outlined {
	font-family: 'Material Symbols Outlined';
	font-weight: normal;
	font-style: normal;
	font-size: 24px;
	line-height: 1;
	letter-spacing: normal;
	text-transform: none;
	display: inline-block;
	white-space: nowrap;
	word-wrap: normal;
	direction: ltr;
	-webkit-font-feature-settings: 'liga';
	-webkit-font-smoothing: antialiased;
	font-size: inherit;
	line-height: inherit;
	letter-spacing: inherit;
	transform: translate(0px, 0.1ex);
}

html, body {
	margin: 0;
	color: #ffffff;
	font-family: "Montserrat", sans-serif;

	background-color: rgba(0, 0, 0, 0.4);
	background-image: url('bg.svg');
	background-attachment: fixed;
	background-size: cover;
	background-blend-mode: darken;
	background-position: center;

	display: flex;
	flex-direction: column;
	height: 100%;
}

main p {
	text-align: justify;
}

#cont {
	flex: 1 0 auto;
}

header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 10px 20px;
	background-color: #000000;
	border-bottom: 2px solid #cd2025;
}

header > nav > a {
	margin-left: 20px;
	font-weight: 600;
}

@media (max-width: 600px) {
	header {
		flex-direction: column;
		align-items: flex-center;
	}
	header > nav {
		margin-top: 10px;
	}
	header > nav > a {
		margin-left: 0;
		margin-right: 20px;
	}
}

#logo {
	text-decoration: none;
	max-width: 200px;
	max-height: 100px;
	overflow: hidden;
	display: flex;
	justify-content: center;
	align-items: center;
}

#logo > img {
	width: 205px;
	clip-path: padding-box;
}

main {
	padding: 20px;
	max-width: 800px;
	margin: 0 auto;
}

footer {
	flex-shrink: 0;
	text-align: center;
	padding: 24px;
	background-color: #0700004f;
	margin-top: 2em;
	/* bg blur effect */
	backdrop-filter: blur(12px);
	border-top: 2px solid #7d0000;
	color: #888888;
	font-size: 0.85em;
}

footer a {
	color: #888888
}

h1 {
	font-weight: 800;
	margin-bottom: 0.2em;
	font-size: 2.5em;
	color: #ffffff;
}

h2 {
	font-weight: 500;
	margin-top: 1.2em;
	margin-bottom: 1.0em;
	padding-bottom: 0.2em;
	font-size: 2.0em;
	color: #dd272c;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	font-family: 'Saira Stencil One', sans-serif;
}

h2.nbm {
	margin-bottom: 0;
}

a {
	color: #efefef;
	transition: color 0.1s;
	text-decoration: none;
}

a:hover {
	color: #cd2025;
}

.contact-info {
	line-height: 1.8em;
}

.contact-info > a {
	display: inline-block;
}
.contact-info > a > span {
	margin-right: 10px;
}

#navtous {
	/* display: block;
	padding: 0.8em; */
	display: inline-block;
	padding: 0.8em 1.2em;
	background-color: #cd2025;
	color: white;
	font-weight: 600;
	border: none;
	cursor: pointer;
	transition: background-color 0.2s ease;
}

#navtous:hover, #navtous:focus {
	background-color: #a81a1faf;
}

/* codebreve CSS */

p.bybreve {
	font-size: 0.9em;
	color: #888888;
	margin-top: -10px;
	margin-bottom: 10px;
}

.codebreve {
	font-family: 'SUSE Mono', monospace;
	font-weight: 600;
	color: #888888;
}

.codebreve > i {
	font-family: 'Poltawski Nowy', serif;
	font-size: 1.1em;
	font-weight: 600;
	margin-left: 0.02em;
	letter-spacing: 0.02em;
}
