*,
*::before,
*::after {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html,
body,
nav {
	max-width: 100vw;
	overflow-x: hidden;
}

body {
	font-family: 'Poppins', sans-serif;
	background-color: white;
}

nav {
	text-transform: uppercase;
	z-index: 1;
}

.nav-link,
.navbar-brand {
	color: green;
}

.navbar-brand {
	font-weight: bold;
	letter-spacing: 2px;
}

.nav-link:hover,
.navbar-brand:hover {
	color: rgb(0, 0, 0);
	font-weight: bold;
}

i {
	padding: 10px;
}

header {
	color: whitesmoke;
	height: 100vh;
	max-width: 100vw;
	background-image: url('../img/bg-small.jpg');
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center;
	background-attachment: fixed;
}

.logo {
	text-align: center;
	margin-top: 80px;
	background-color: white;
	width: 100%;
}

.logo-text {
	height: 60%;
	display: flex;
	flex-direction: column;
	justify-content: space-evenly;
	align-items: center;
	margin: 0 50px;
	text-align: center;
}

.logo-text span {
	font-size: 40px;
}

.button {
	color: white;
	border: 1px solid;
	padding: 15px;
	font-size: 5px;
}

.doyouneed a {
	font-size: 15px;
	text-transform: uppercase;
	transition: 0.3s;
	/* letter-spacing: 1px; */
}

.doyouneed a:hover {
	background: whitesmoke;
	color: green;
	letter-spacing: 1px;
}

.wrapper {
	margin: 0 auto;
	max-width: 1400px;
}

.text {
	text-align: center;
}

.info {
	margin: 20px 100px;
	font-size: 20px;
	text-align: center;
}

.pesel-info {
	color: green;
	font-size: 10px;
	text-align: justify;
}

.form-message {
	color: green;
	font-size: 15px;
	text-align: justify;
	
}


input:invalid {
	border: 2px solid;
	border-image: linear-gradient(45deg, #ed213a, #93291e) 1;
}

.form {
	margin: 20px;
	max-width: 500px;
}

.banner p {
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 16px;

	font-weight: bold;
	height: 100px;
	text-align: center;
	color: white;
	background: green;
	border: solid white;
	border-bottom: solid 1px black;
}

.kwotapozyczki,
.kwotadosplaty,
.prowizja {
	font-weight: 700;
	font-size: 16px;
}

.oferta {
	scroll-margin-top: 200px;
	margin: 20px;
	margin-top: 100px;
	/* overflow-x: hidden; */

	-webkit-box-shadow: 8px 8px 24px 0px rgba(66, 68, 90, 1);
	-moz-box-shadow: 8px 8px 24px 0px rgba(66, 68, 90, 1);
	box-shadow: 8px 8px 24px 0px rgba(66, 68, 90, 1);
}

.kalkulacja {
	width: 100%;
	display: flex;
	flex-direction: column;
	line-height: 40px;
}
.kalkulacja-row {
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	font-size: 13px;
}

.range-slider {
	margin: 0 auto;
}

.zgody {
	margin: 20px;
}

.zgody label {
	font-size: 10px;
	text-align: justify;
}

form div i {
	position: absolute;
	padding: 10px;
	right: 20vw;
	color: red;
}

.daneosobowe {
	font-size: 10px;
	margin: 10px;
	text-align: justify;
}

.kimjestem {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;

	padding: 0 30px;
	font-size: 13px;
	text-align: justify;
}

.kimjestem ul {
	text-align: justify;
}

.kimjestem ul li {
	margin: 5px 0;
}

.faq {
	display: flex;
	flex-direction: column;
	margin: 10px;
}

.faq button {
	margin: 10px;
}

.answer {
	font-size: 12px;
	padding: 10px;
	color: green;
	text-align: justify;
}

.kontakt {
	font-size: 13px;
	padding: 20px;
	text-align: center;
}

.kontakt i {
	color: green;
}

.threesteps {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

.step {
	display: flex;
	justify-content: space-around;
	align-items: center;
	color: black;
	display: flex;
	flex-direction: column;
	text-align: center;
	border-radius: 20px;
	border: solid 1px;
	padding: 20px;
	margin: 20px;
	font-size: 12px;
	width: 270px;
	height: 250px;
	transition: all 0.3s;
	cursor: pointer;
}

.step i {
	color: green;
}

.heartbeat {
	-webkit-animation: heartbeat 2s ease-in-out infinite both;
	animation: heartbeat 2s ease-in-out infinite both;
}

.step:hover {
	transform: scale(0.9);
}

#tabs {
	font-size: 14px;
}

.ui-widget-header {
	background: green;
	border: 1px solid #000000;
	color: rgb(0, 0, 0);
	font-weight: bold;
}

.ui-tabs .ui-tabs-nav {
	text-align: center;
}
.minbutton{
	    float: none !important;
    display: inline-block;
    border: 1px solid #000000;
	top: 0;
    margin: 1px .2em 0 0;
	background: #f6f6f6;
    font-weight: normal;
    color: #454545;
	padding: 7px 14px !important;
	margin: 0 auto 10px; 
}
li.minbutton.active {
    background: #92efb7;
}
.ui-tabs .ui-tabs-nav li {
	float: none !important;
	display: inline-block;
	border: 1px solid #000000;
}

.ui-state-active {
	background: #5ba63c !important;
}

input[type='range'],
input[type='range']::-webkit-slider-runnable-track,
input[type='range']::-webkit-slider-thumb {
	-webkit-appearance: none;
}

/* ::-moz-range-track
  ::-moz-range-thumb */

input[type='range'] {
	margin: 10px 0;
	width: 100%;
}

input[type='range']:focus {
	outline: none;
}

input[type='range']::-webkit-slider-runnable-track {
	width: 500px;
	height: 5px;
	cursor: pointer;
	background: #4caf50;
	border-radius: 25px;
	border: 2px solid #000101;
}

input[type='range']::-webkit-slider-thumb {
	position: relative;
	height: 20px;
	width: 20px;
	margin-top: -8px;
	background: rgb(255, 255, 255);
	border-radius: 50%;
	border: 2px solid rgb(0, 0, 0);
}

input[type='range']::-webkit-slider-thumb::before {
	position: absolute;
	content: '';
	height: 10px; /* equal to height of runnable track */
	width: 500px; /* make this bigger than the widest range input element */
	left: -502px; /* this should be -2px - width */
	top: 8px; /* don't change this */
	background: #777;
}

input[type='range']::-moz-range-track {
	width: 100%;
	height: 5px;
	cursor: pointer;
	background: #4caf50;
	border-radius: 25px;
	border: 2px solid #000101;
}

input[type='range']::-moz-range-thumb {
	position: relative;
	height: 20px;
	width: 20px;
	margin-top: -8px;
	background: rgb(255, 255, 255);
	border-radius: 50%;
	border: 2px solid rgb(0, 0, 0);
}

input[type='range']::-moz-range-thumb::before {
	position: absolute;
	content: '';
	height: 10px; /* equal to height of runnable track */
	width: 500px; /* make this bigger than the widest range input element */
	left: -502px; /* this should be -2px - width */
	top: 8px; /* don't change this */
	background: #777;
}

.footer {
	/* padding: 20px; */
	background-color: black;
	height: 150px;
	color: white;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

.footer-info {
	padding: 10px;
	font-size: 12px;
}
.footer-info i {
	padding: 5px;
	color: green;
}

@media (min-width: 600px) {
	header {
		background-image: url('../img/bg-large.jpg');
	}
	header {
		background-size: cover;
	}
	.form {
		margin: 0 auto;
	}

	.faq {
		margin: 0 100px;
	}
}

@media (min-width: 1200px) {
	.logo img {
		width: 300px;
	}

	.kimjestem {
		display: flex;
		flex-direction: row;
		margin-right: 100px;
	}

	.doyouneed a {
		font-size: 20px;
	}
	.logo-text span {
		font-size: 80px;
	}

	.zgody {
		margin: 0 100px;
	}
	.threesteps {
		display: flex;
		flex-direction: row;
		justify-content: center;
		align-items: center;
	}
	.footer-info {
		font-size: 13px;
	}

	.knf {
		display: flex;
		justify-content: center;
	}

	.knf img {
		width: 70%;
	}
}
