* {
	box-sizing: border-box;
	line-height: normal;
}

.slide {
	opacity: 0;
	-webkit-transition: 0.5s;
	-moz-transition: 0.5s;
	-o-transition: 0.5s;
	transition: 0.5s;
}
.rightSlide {
	transform: translateX(50px);
}

.leftSlide {
	transform: translateX(-50px);
}

.slide.show {
	transform: translateX(0);
	opacity: 1;
}

body {
	font-family: 'Open Sans', sans-serif;
	color: #fff;
	font-size: 14px;
	background-color: #000;
	margin: 0;
	background-image: url(../images/bg.jpg);
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center center;
}

a {
	-webkit-transition: 0.3s;
	-moz-transition: 0.3s;
	-o-transition: 0.3s;
	transition: 0.3s;
	color: #fff;
}

a:hover, a:focus {
	color: #fff;
}

h1, h2, h3, h4, h5, h6, p {
	margin: 0;
}

.container {
	width: 100%;
	max-width: 960px;
	margin: auto;
	display: grid;
	gap: 40px;
	padding: 40px 0;
}

.banner {
	display: grid;
	grid-template-areas:
    'logo frame'
    'logo text';
	grid-template-columns: 105px 310px;
	background-image: url(../images/banner.jpg);
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center bottom;
	width: 820px;
	justify-self: center;
}

.banner .logo {
	grid-area: logo;
	padding-bottom: 25px;
}

.banner .frame {
	grid-area: frame;
	border: 1px solid #fff;
	text-transform: uppercase;
	text-align: center;
	position: relative;
}

.banner .frame h1 {
	font-family: 'Anton', sans-serif;
	font-size: 62px;
	padding: 15px 0 20px 0;
}

.banner .frame h2 {
	color: #fb0707;
	font-family: 'Poppins', sans-serif;
	font-size: 18px;
	transform: rotate(-7deg);
	position:absolute;
	right: 10px;
	bottom: 15px;
}

.banner .text {
	grid-area: text;
	font-style: italic;
	padding-top: 25px;
	padding-bottom: 90px;
}

.headline {
	max-width: 730px;
	justify-self: center;
	padding-top: 15px;
}

.headline p {
	padding-top: 10px;
	padding-bottom: 25px;
	font-size: 23px;
	font-weight: 700;
	line-height: 27px;
}

.headline span {
	font-size: 60px;
	font-weight: 800;
	line-height: 60px;
	text-transform: uppercase;
}

.form {
	width: 820px;
	justify-self: center;
	border: 1px solid #fff;
	padding: 45px;
}

.form #mainForm {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr;
	grid-template-areas:
    'form_text form_inputs form_inputs'
    'form_text audio ebook'
	'form_text error_wersja error_wersja'
	'zgody zgody zgody'
	'btn btn btn';
}

.form #mainForm .text {
	grid-area: form_text;
	padding-right: 20px;
}

.form #mainForm h4 {
	font-size: 24px;
	font-weight: 800;
	padding-bottom: 22px;
}

.form #mainForm h5 {
	font-size: 18px;
	font-weight: 700;
}

.form #mainForm .form_inputs {
	grid-area: form_inputs;
	position: relative;
}

.form #mainForm .audio {
	grid-area: audio;
}

.form #mainForm .ebook {
	grid-area: ebook;
}

.form #mainForm .error_wersja {
	grid-area: error_wersja;
}

.form #mainForm .zgody {
	grid-area: zgody;
	padding-top: 55px;
}

.form #mainForm .btn {
	grid-area: btn;
	font-family: 'Open Sans', sans-serif;
	display: block;
	margin: auto;
	margin-top: 50px;
	margin-bottom: 20px;
	width: 100%;
	max-width: 340px;
	border: 1px solid #fff;
	color: #302b27;
	font-size: 24px;
	font-weight: 800;
	text-transform: uppercase;
	padding: 15px 0 18px 0;
	background-color: #fb0707;
	-webkit-transition: 0.3s;
	-moz-transition: 0.3s;
	-o-transition: 0.3s;
	transition: 0.3s;
	cursor: pointer;
}

.form #mainForm .btn:hover, .form #mainForm .btn:focus {
	color: #fff;
	background-color: transparent;
}

.inputs {
	position: relative;
	height: 50px;
	margin-bottom: 25px;
}

.form_input {
	background-color: #d4d1cf;
	font-size: 14px;
	font-family: 'Open Sans', sans-serif;
	width: 100%;
	height: 100%;
	padding: 25px 10px 25px 10px;
	color: #302b27;
	border: none;
	outline: none;
	position: absolute;
	top: 0;
	left: 0;
	-webkit-transition: transform 0.3s;
	-moz-transition: transform 0.3s;
	-o-transition: transform 0.3s;
	transition: transform 0.3s;
}

input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus, 
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px #000 inset !important;
}

input:autofill,
input:autofill:hover, 
input:autofill:focus, 
input:autofill:active {
	box-shadow: 0 0 0 30px #000 inset !important;
	background-color: #000 !important;
	background-clip: content-box !important;
}

input:-webkit-autofill{
    -webkit-text-fill-color: #ffffff !important;
}

.form_label {
	position: absolute;
	left: 10px;
	top: 15px;
	color: #302b27;
	font-style: italic;
	transition: top 200ms ease-in, left 200ms ease-in, font-size 200ms ease-in;
}

.form_input:focus ~ .form_label, .form_input:not(:placeholder-shown).form_input:not(:focus)~.form_label {
	top: -7px;
	font-size: 10px;
	color: #fff;
	background-color: #000;
	padding: 0 5px;
}

.form_input:focus, .form_input:not(:placeholder-shown).form_input:not(:focus) {
	border: 1px solid #fff;
	background-color: transparent;
	color: #ffffff;
}

.check_inputs {
	position: relative;
	padding-bottom: 10px;
}

.check_label {
	display: flex;
	display: -webkit-box;
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	padding-top: 15px;
}

input[type="checkbox"] {
	position: relative;
	margin: 0;
	margin-right: 10px;
	width: 15px;
	height: 15px;
	-webkit-appearance: none;
	outline: none;
	-webkit-transition: 0.3s;
	-moz-transition: 0.3s;
	-o-transition: 0.3s;
	transition: 0.3s;
	flex-shrink: 0;
	border: none !important;
}

input[type="checkbox"]::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: transparent;
	border: 1px solid #fff;
	box-sizing: border-box;
	-webkit-transition: 0.3s;
	-moz-transition: 0.3s;
	-o-transition: 0.3s;
	transition: 0.3s;
}

input:checked[type="checkbox"]::before {
	 border-left: none;
	 border-top: none;
	 width: 8px;
	 background-color: transparent;
	 transform: rotate(45deg) translate(2px, -4px);
}

.tooltip {
	position: relative;
}
.tooltip .tooltip_text {
	width: 100%;
	background: rgba(0, 0, 0, 0.8);
	color: #fff;
	font-size: 10px;
	text-transform: none;
	font-weight: 400;
	border-radius: 5px;
	padding: 5px 10px;
	position: absolute;
	z-index: 2;
	margin-top: 20px;
	margin-left: 20px;
	left: 0;
	-webkit-transition: transform 0.3s;
	-moz-transition: transform 0.3s;
	-o-transition: transform 0.3s;
	transition: transform 0.3s;
	transform: scaleY(0);
	transform-origin: top;
}

.tooltip .tooltip_text::after {
	content: '';
	position: absolute;
	bottom: 100%;
	left: 3px;
	border-width: 5px;
	border-style: solid;
	border-color: transparent transparent #000 transparent;
}

.tooltip:hover .tooltip_text {
	transform: scaleY(1);
}

.thankyou, #no-thanks {
	display: none;
}

.invalid {
	border: 1px solid #fb0707;
}

.form p.error {
	display: none;
	color: #fb0707;
	font-size: 12px;
	line-height: normal;
	padding: 0;
	-webkit-transition: transform 0.3s;
	-moz-transition: transform 0.3s;
	-o-transition: transform 0.3s;
	transition: transform 0.3s;
	margin-top: 3px;
}

.form #mainForm .audio .check_label, .form #mainForm .ebook .check_label {
	text-transform: uppercase;
	font-size: 12px;
	font-weight: 700;
}

.form #mainForm .form_inputs p.error {
	margin-top: -22px;
	padding-bottom: 8px;
}

.form #mainForm .size11 {
	font-size: 11px;
}

.form #mainForm p.size11 {
	padding-left: 25px;
	padding-top: 35px;
}

.form #mainForm .more {
	font-weight: 700;
	text-decoration: underline;
	cursor: pointer;
}

.more {
	background-color: transparent;
	padding: 0;
	margin: 0;
	border: none;
	outline: none;
	cursor: pointer;
}

.popup {
	opacity: 0;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	display: flex;
	justify-content: center;
	align-items: center;
	background: rgba(0, 0, 0, 0.5);
	padding: 20px;
	z-index: 99;
	color: #000;
	overflow-y: scroll;
	pointer-events: none;
}

.popup-inner {
	background-color: #fff;
	box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.5);
	border-radius: 5px;
	margin: auto;
	padding-bottom: 5px;
	max-width: 1000px;
	position: relative;
	transform: scale(0);
	-webkit-transition: transform 0.3s;
	-moz-transition: transform 0.3s;
	-o-transition: transform 0.3s;
	transition: transform 0.3s;
}

.popup-inner h5 {
	padding: 20px 30px 15px 30px;
	margin: 0px;
	font-size: 16px;
	border-bottom: 2px solid #000;
}

.popup-inner ol {
	padding: 10px 45px;
	margin: 0px;
}

.popup-inner li {
	margin: 15px 0;
}

.popup-inner ul li {
	margin: 5px 0;
}

.button {
	text-decoration: none;
	color: #ccc;
	position: absolute;
	right: 5px;
	top: 5px;
	font-size: 80px;
	line-height: 40px;
	font-weight: 300;
}

.popup a {
	text-decoration: none;
	color: #00523b;
	font-weight: 700;
}
.popup a:hover {
	text-decoration: underline;
	color: #00523b;
}

.popup.show {
	opacity: 1;
	pointer-events: all;
	-webkit-transition: transform 0.3s;
	-moz-transition: transform 0.3s;
	-o-transition: transform 0.3s;
	transition: transform 0.3s;
}

.popup.show .popup-inner {
	transform: scale(1);
}

.overflow {
	overflow-y: hidden;
}


.recommendations {
	display: flex;
	justify-content: space-between;
	width: 820px;
	justify-self: center;
	padding-top: 20px;
	flex-direction: column;
	gap: 25px;
}

.recommendations .box {
	background-color: #fff;
	padding: 25px 30px;
	border: 2px solid #302b27;
	color: #302b27;
	width: 100%;
}

.recommendations .box .about {
	display: grid;
	grid-template-areas:
    'zdj txt';
	grid-template-columns: 80px 1fr;
	padding-bottom: 20px;
}

.recommendations .box .about .image {
	grid-area: zdj;
}

.recommendations .box .about .text {
	grid-area: txt;
	align-self: center;
}

.recommendations .box .about .text h5 {
	font-size: 14px;
	font-weight: 700;
}

.recommendations .box .about .text p {
	font-size: 11px;
}

.recommendations .text {
	font-size: 13px;
}
.footer {
	display: flex;
	justify-content: space-around;
}
.footer a{
	text-decoration: none;
	color: #ffffff;
}