body {
	margin: 0;
	padding: 0;
	font-family: 'Montserrat', sans-serif;
}

body a:link {
	text-decoration: none !important;
}

#logo {
	width: auto;
	height: 38px;
}

#logo-alt {
	width: auto;
	height: 38px;
}

.nav-link {
	color: #FFF !important;
	font-size: 20px !important;
	font-weight: 200 !important;
}

.nav-link:hover {
	text-shadow: 4px 4px 4px #000 !important;
}

.navbar {
	/*background-color: rgba(28, 28, 28, 1);
	background-image: linear-gradient(90deg, rgba(28, 28, 28, 1) 0%, rgba(53, 53, 53, 1) 80%);*/
	background-color: transparent;
	/*box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.5);*/
}

.navbar-page {
	background-color: rgba(28, 28, 28, 1);
	background-image: linear-gradient(90deg, rgba(28, 28, 28, 1) 0%, rgba(53, 53, 53, 1) 80%);
	box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.5);
}


@media only screen and (min-width: 768px) {
	.navs {
		opacity: 0.6;
		background-color: rgba(28, 28, 28, 1);
		background-image: linear-gradient(90deg, rgba(28, 28, 28, 1) 0%, rgba(53, 53, 53, 1) 80%);
		-webkit-transition: all 0.3s ease;
		-moz-transition: all 0.3s ease;
		-o-transition: all 0.3s ease;
		transition: all 0.3s ease;

	}

	.navs:hover {
		opacity: 1;
	}

	
}

#uslugi-overflow{
	overflow: auto; 
	height: 90vh;
}

@media only screen and (max-width: 992px) {
	#uslugi-overflow{
		overflow: initial !important;
		height: auto;
	}
}

@media only screen and (max-width: 768px) {
	.navbar {
		background-color: rgba(28, 28, 28, 1);
		background-image: linear-gradient(90deg, rgba(28, 28, 28, 1) 0%, rgba(53, 53, 53, 1) 80%);
		box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.5);
	}
	#uslugi-overflow{
		overflow: initial !important;
		height: auto;
	}
}

#baner-m {
	display: none !important;
}

.banner {
	position: relative;
	height: 800px;
}

@media only screen and (max-width: 576px) {
	.banner {
		height: 500px;
	}
}

@media only screen and (max-width: 768px) {
	#baner-m {
		display: flex !important;
	}

	#baner {
		display: none !important;
	}
}



.img-baner {
	background-image: url("img/banner.JPG");
	background-size: cover;
	background-position: center bottom;
	height: 100%;

}

.baner-gradient {
	background-color: rgba(0, 0, 0, 0.01);
	background-image: linear-gradient(90deg, rgba(0, 0, 0, 0.4) 30%, rgba(0, 0, 0, 0) 100%);
}

.baner-h1 {
	font-size: 1.4em;
	letter-spacing: 0.09em;
	color: #ffffff;
	text-transform: uppercase;
	font-weight: 500;
	text-shadow: 2px 2px 10px #000;
}

.tile-mobile {
	background-color: rgba(118, 0, 0, 1);
	background-image: linear-gradient(220deg, rgba(118, 0, 0, 1) 0%, rgba(63, 1, 1, 1) 60%);
	transition: transform 0.5s ease;
}

.tile-mobile:hover {
	transform: scale(1.1);
}

.tile {
	position: relative;
	background-color: #00000051;
	overflow: hidden;
	transition: transform 0.3s ease-in;
}

.tile span {
	position: relative;
	z-index: 2;
}

.tile p {
	position: relative;
	z-index: 2;
}

.tile::before {
	content: '';
	position: absolute;
	top: 60%;
	left: -60%;
	width: 100%;
	height: 100%;
	transform: scale(0.3);
	border-radius: 50%;
	background-color: rgba(118, 0, 0, 1);
	background-image: linear-gradient(220deg, rgba(118, 0, 0, 1) 0%, rgba(63, 1, 1, 1) 60%);
	transition: transform 0.3s ease-in;
	z-index: 1;
}

.tile:hover {
	transform: scale(1.1);
}

.tile:hover::before {
	transform: scale(3.2);
	cursor: pointer;
}

.banner-icon {
	font-size: 2em;
	color: #fff;
	background-color: rgba(118, 0, 0, 1);
	background-image: linear-gradient(139deg, rgba(118, 0, 0, 1) 0%, rgba(63, 1, 1, 1) 90%);
	border-radius: 50%;
}


.header {
	font-size: 4rem;
	letter-spacing: 2px;
}

@media only screen and (max-width: 768px) {
	.baner-h1 {
		font-size: 5vw;
		letter-spacing: 0.09em;
		color: #ffffff;
		text-transform: uppercase;
		font-weight: 500;
		text-shadow: 2px 2px 10px #000;
	}

	.header {
		font-size: 10vw;
		letter-spacing: 2px;
	}
}


#h1_animate {
	visibility: hidden;
}

#onas-back {
	position: relative;
}

.onas {
	color: #707070;
	font-size: 1.5em;
	text-transform: uppercase;
}

.onas-title {
	color: #000;
	font-weight: 400;
	font-size: 2em;
	font-family: 'Playfair Display', serif;

}

.onas-title span {
	color: #000;
	font-weight: 700;
}

/* CSS */
.button-48 {
	appearance: none;
	border-width: 0;
	color: #fff;
	background-color: #760000;
	border-radius: 30px;
	cursor: pointer;
	display: block;
	font-size: 1em;
	font-weight: 500;
	margin: 0;
	opacity: 1;
	padding: 0.8em 1.2em;
	position: relative;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
	transition: opacity 300ms cubic-bezier(.694, 0, 0.335, 1), background-color 100ms cubic-bezier(.694, 0, 0.335, 1), color 100ms cubic-bezier(.694, 0, 0.335, 1);
	user-select: none;
	-webkit-user-select: none;
	touch-action: manipulation;
	white-space: nowrap;
}

.button-48:before {
	animation: opacityFallbackOut .5s step-end forwards;
	backface-visibility: hidden;
	background-color: #640000;
	clip-path: polygon(-1% 0, 0 0, -25% 100%, -1% 100%);
	content: "";
	height: 100%;
	border-radius: 30px;
	left: 0;
	position: absolute;
	top: 0;
	color: #fff;
	transform: translateZ(0);
	transition: clip-path .5s cubic-bezier(.165, 0.84, 0.44, 1), -webkit-clip-path .5s cubic-bezier(.165, 0.84, 0.44, 1);
	width: 100%;
}

.button-48:hover:before {
	animation: opacityFallbackIn 0s step-start forwards;
	clip-path: polygon(0 0, 101% 0, 101% 101%, 0 101%);
	color: #FFF;
}


.button-48 span {
	z-index: 1;
	max-width: 100%;
	position: relative;
	color: #FFF;
}

.uslugi-desktop {
	display: flex;
}

#uslugi-mobile {
	display: none;
}

@media only screen and (max-width: 768px) {
	.uslugi-desktop {
		display: none !important;
	}

	#uslugi-mobile {
		display: block;
	}
}


.test {
	background-color: rgb(68, 68, 68, 0.5);
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 100%;
	clip-path: polygon(100% 80%, 0% 100%, 100% 100%);
}

.test1 {
	background-color: #1c1c1c70;
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 100%;
	clip-path: polygon(30% 80%, 0 100%, 100% 100%);
}

.test2 {
	background-color: #00000070;
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 100%;
	clip-path: polygon(0 80%, 0 100%, 100% 100%);
}


.ikona {
	font-size: 3em;
	color: rgba(53, 53, 53, 1);
	transition: color ease 0.5s;
}

.uslugi-nazwa {
	font-size: 24px;
	font-weight: 400;
	color: #000;
	border-bottom: 1px solid #8b0000;
}

.uslugi-opis {
	color: #000;
	font-size: 0.9em;
}


#mainmenu {
	margin-bottom: 10px;
	font-size: 20px;
}


#scrollup {

	text-decoration: none;
	background: url("img/up.png") no-repeat 0px 0px;
	width: 64px;
	height: 64px;
	position: fixed;
	right: 50px;
	bottom: 30px;
	opacity: 0.5;
	-webkit-transition: opacity 0.5s ease;
	-moz-transition: opacity 0.5s ease;
	-o-transition: opacity 0.5s ease;
	transition: opacity 0.5s ease;
	display: none;
	z-index: 100;
}

#scrollup:hover {
	opacity: 0.8;
}

ul {
	display: inline-block;
	color: #FFF;
	margin-top: 10px;
}


@media only screen and (min-width: 992px) {
	.navbar li {
		position: relative;
		cursor: pointer;
		transition: all 0.3s;
	}

	.navbar li::before,
	.navbar li::after {
		content: "";
		position: absolute;
		bottom: 0;
		width: 0%;
		/* Start from the middle */
		height: 2px;
		/* Initial border height */
		background-color: #ffffff;
		/* Border color */
		transition: width 0.3s;
	}

	.navbar li::before {
		left: 50%;
		/* Start from the middle */
		transform: translateX(-50%);
		/* Center horizontally */
	}

	.navbar li::after {
		right: 50%;
		/* Start from the middle */
		transform: translateX(50%);
		/* Center horizontally */
	}

	.navbar li:hover::before,
	.navbar li:hover::after {
		width: 80%;
		/* Expand the border width to 100% on hover */
	}

}

.team {
	position: relative;
}

.team::before {
	position: absolute;
	content: "";
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	background-color: rgba(0, 0, 0, 0);
	background-image: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.65) 100%);
	z-index: 100;
}

.team-text {
	position: absolute;
	top: 60%;
	left: 50%;
	transform: translateX(-50%);
	z-index: 100;
	font-size: 1.1em;
	text-shadow: 4px 4px 4px #000
}

.team-button-div {
	position: absolute;
	bottom: 15%;
	left: 50%;
	transform: translateX(-50%);
}

.team_button {
	border: 1px solid #fff;
	color: #fff;
	background-color: transparent;
	border-radius: 1em;
	cursor: pointer;
	display: block;
	font-size: 1em;
	font-weight: 500;
	margin: 0;
	opacity: 1;
	padding: 0.8em 1.2em;
	text-align: center;
	text-decoration: none;
	user-select: none;
	-webkit-user-select: none;
}

.team_button:hover {
	text-decoration: none;
	color: #fff;
	box-shadow: 0px 0px 6px #ffffffc4;
	text-shadow: 0px 0px 4px #fff;
}

.uslugi-header {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	color: #fff;
	font-size: 4vw;
}

.uslugi-container {
	height: 20vh;
	background-color: rgba(118, 0, 0, 1);
	background-image: linear-gradient(139deg, rgba(118, 0, 0, 1) 0%, rgba(63, 1, 1, 1) 70%);
}

@media only screen and (max-width: 768px) {
	.team_button {
		font-size: 0.6em;

	}
	.uslugi-header {
		font-size: 8vw;
	}
	.uslugi-container {
		height: 14vh;
	}
}

.people-name {
	font-size: 1.5em;
	font-weight: 500;
	color: #000;
	text-align: center;
}

.people-lawyer {
	font-size: 1.2em;
	color: #000;
}

.more {
	border-top: 1px solid #000;
}

.more a {
	color: #4f4e4e;
}

.more:hover a {
	color: #212121;
}

.zdjecie {
	margin-top: 67px;
}

.zdjecie img {
	width: 100%;
	height: auto;
}






.uslugi-link {
	display: block;
	position: absolute;
	top: 70%;
	left: 50%;
	transform: translate(-50%, -50%);
	text-decoration: none;
	color: #fff;
	border-bottom: 1px solid #fff;
	font-size: 1.2em;
	font-weight: 500;
}

.uslugi-link:hover {
	text-decoration: none;
	color: #fff;
}

.uslugi-baner {
	background-color: rgba(118, 0, 0, 1);
	background-image: linear-gradient(220deg, rgba(118, 0, 0, 1) 0%, rgba(63, 1, 1, 1) 60%);
}

.ikona-uslugi {
	display: inline-block;
	background-color: #eee;
	font-size: 3vw;
	border-radius: 50%;
}

.uslugi-title {
	font-size: 3vw;
	color: #fff;
	text-shadow: 0px 0px 10px #000 !important;
}

.uslugi-menu {
	cursor: pointer;
	color: #fff;
}


.uslugi-menu.active {
	background-color: #2a2a2a;
}

.uslugi-menu:hover {
	background-color: #2a2a2a;
}


.uslugi-content {
	background-color: #eee;
	display: none;
}

.uslugi-content.active {
	display: block;
}

.uslugi-bar-mobile {
	display: none !important;
	background-color: #131313;
}

.uslugi-icon {
	font-size: 3vw;
	padding-top: 10px;
	display: none !important;
	text-shadow: 0px 0px 10px #000 !important;
	color: #fff;
}

.uslugi-icon.active {
	display: inline-block !important;
}

@media only screen and (max-width: 992px) {

	.uslugi-bar {
		display: none !important;
	}

	.uslugi-bar-mobile {
		display: flex !important;
	}

	.uslugi-menu.active {
		background-color: #131313;
	}

	.uslugi-menu:hover {
		background-color: #131313;
	}

	.uslugi-menu.active span {
		color: #fff !important;
	}

	.uslugi-menu:hover span {
		color: #fff !important;
	}
	.uslugi-icon{
		font-size: 7vw;
	}

	.uslugi-title{
		font-size: 6vw;
	}

}


#footer_wrapper {
	position: absolute;
	bottom: 0;
	left: 0;
}

#footer {
	background-color: #131313;
}


#copy {
	background-color: #131313;
	text-align: center;
	font-size: 14px;
	color: #FFFFFF;

}