html{
	display: flex;
	justify-content: center;
}

body{
	font-family: 'Roboto Condensed', sans-serif;
	background: #f2f2f2;
	min-width: 300px;
	max-width: 3000px;
}

/* SVG ICON */
.svg-icon{
  fill: #0f5bff;
}
/* /SVG ICON */

/* NAV */
#mediumUpperLogo{
	display: none;
	text-align: center;
}

#mediumUpperLogo img{
	width: 9em;
}

nav{
	display: flex;
	justify-content: center;
	align-content: center;
	margin-bottom: 5px;
	font-size: 15px;
	margin-right: 10px;
	margin-left: 10px;
}

nav a{
	text-decoration: none;
	text-align: center;
	color: #48678c;
}

nav img{
	width: 9em;
	min-width: 8em;
	object-fit: contain;
	padding-right: 20px;
}

#smallLogo{
	display: none;
	min-width: 2.5em;
	width: 3em;
}

#mediumLogo{
	display: block;
}

nav .svg-icon{
	width: 2.5em;
	grid-column: 1;
	padding-top: 1px;
}

#ksiegowoscSvg{
	margin-right: 8px;
	padding-top: 5px;
	width: 2.2em;
}

.nav-div{
	display: flex;
	padding: 10px;
	position: relative;
	transition: 0.3s;
	overflow: hidden;
	z-index: 1;
}

.nav-div::before{
	position: absolute;
	content: "";
	width: 100%;
	height: 0%;
	bottom: 0;
	left: 0;
	background: #0f5bff;
	transition: 0.2s;
	z-index: -1;
	border-radius: 65% 65% 0 0;
}
.nav-div:hover::before{
	height: 180%;
}
.nav-div:hover{
	color: #f0f3f5;
}

.nav-div:active{
	box-shadow: 0px 0px 17px 1px #0f5bff;
}

.navUnderline{
	position: relative;
	display: block;
	background: #0f5bff;
	bottom: 0;
	border-radius: 5px;
	width: 100%;
	height: 3px;
}

#audytSvg{
	padding-top: 0px;
}

@media (max-width: 1100px), (max-device-width: 1100px){
	#smallLogo{
		display: block;
	}
	#mediumLogo{
		display: none;
	}
}

@media (max-width: 965px), (max-device-width: 965px){
	nav h4{
		display: none;
	}
	#ksiegowoscSvg{
		margin-right: 0;
	}
}

@media (max-width: 430px), (max-device-width: 430px){
	#smallLogo{
		display: none;
	}

	.navDiv{
		padding-left: 0;
		padding-right: 0;
	}
	nav .svg-icon{
		width: 1.8em;
	}
	#ksiegowoscSvg{
		width: 1.5em;
		margin-right: 0;
	}
	#mediumUpperLogo{
		display: block;
	}
}

/* /NAV */

/* ----------------------HOME PAGE---------------------- */

/* HEADER */

header{
	display: grid;
	background-image: url("images/header_background.png");
	text-align: left;
	margin-bottom: 20px;
	box-shadow: 0px 8px 12px 1px rgba(171,184,204,1), 0px -3px 12px 1px rgba(171,184,204,1);
	grid-template-columns: 4fr auto 5fr;
	background-size: cover;
}
#introDiv{
	padding-top: 40px;
	padding-bottom: 40px;
	padding-left: 60px;
	background: #0f5bff;
	font-size: max(20px, 2.3vw);
	color: #f2f2f2;
	z-index: 2;
}

#slantedDiv{
	z-index: 1;
	display: block;
	height: 100%;
	width: 150px;
	left: 45%;
	background: #0f5bff;
	transform-origin: top left;
	animation: slantDiv 0.7s ease-in-out;
	animation-fill-mode: forwards;
}

#logoDiv{
	display: flex;
	align-content: center;
	justify-content: center;
}

#bigLogo{
	padding-top: 20px;
	padding-bottom: 20px;
	width: max(600px, 70%);
	max-width: 80%;
	min-width: 320px;
	object-fit: contain;
	z-index: 2;
}

@media (max-width: 800px), (max-device-width: 800px){
	header{
		grid-template-columns: 1fr;
		grid-template-rows: auto auto;
		text-align: center;
	}
	#slantedDiv{
		display: none;
	}
	#introDiv{
		padding-top: 0px;
		padding-left: 0px;
		background: none;
		grid-row: 2;
	}
	#bigLogo{
		grid-row: 1;
	}
}

@keyframes slantDiv{
	0%{
		transform: skewX(0deg);
	}
	100%{
		transform: skewX(-10deg);
	}
}

/* /HEADER */

/* REDIRECTION WRAPPER */

.bigContainer{
	display: flex;
	flex-wrap: wrap;
	align-content: center;
	justify-content: center;
}

.bigContainer .svg-icon {
  width: 8em;
}

.smallContainer{
	display: grid;
	grid-template-rows: repeat(4, auto);
	width: max(300px, 25%);
	max-width: 550px;
	margin: 10px;
	padding: 10px;
	background: #f0f3f5;
	place-items: center center;
	text-align: center;
	border-radius: 15px;
	box-shadow: 0px 4px 13px 1px rgba(171,184,204,1);
}

.smallContainer h2{
	color: #0f5bff;
}
.smallContainer p{
	color: #424242;
	padding-top: 20px;
	padding-bottom: 20px;
	min-height: 100px;
}
.smallContainer:hover{
	box-shadow: 0px 1px 13px 1px #0f5bff;
}

.smallContainer a{
	text-decoration: none;
	margin-bottom: 15px;
}
.zobacz-wiecej{
	padding-left: 10px;
	padding-right: 10px;
	color: #0f5bff;
	background: none;
	border: 3px solid #0f5bff;
	border-radius: 5px;
	background-position: left;
	position: relative;
	transition: 0.3s;
	overflow: hidden;
	z-index: 1;
}

.zobacz-wiecej::before{
	position: absolute;
	content: "";
	width: 100%;
	height: 0%;
	top: 0;
	left: 0;
	background: #0f5bff;
	transition: 0.2s;
	z-index: -1;
	border-radius: 0 0 65% 65%;
}
.zobacz-wiecej:hover::before{
	height: 180%;
}
.zobacz-wiecej:hover{
	color: #f0f3f5;
}

.zobacz-wiecej:active{
	box-shadow: 0px 0px 17px 1px #0f5bff;
}

/* /REDIRECTION WRAPPER */

/* ----------------------/HOME PAGE---------------------- */
