@import url('https://fonts.googleapis.com/css?family=Rajdhani:300,400,500,600,700&subset=latin-ext');


html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;

}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}


* {
  font-family: 'Rajdhani', sans-serif;
  padding: 0;
  margin: 0;
  box-sizing: border-box;
	font-size: 16px;
}
body {
	width: 100%;
	/* min-height: 100%; */
	min-height: 95vh;
	/* overflow: hidden; */
	background: url(img/bg_newsletter.png);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
}

.logo img {
    margin: 58px auto;
    width: 200px;
    display: block;
}

.formularze {
	max-width: 800px;
	width: auto;
	min-height: 500px;
  display: block;
  margin: 40px auto auto auto;
  color: #fff;
  background-color: rgba(69,78,109,.9);
  border-radius: 40px;
  padding: 30px;
}

.formularze h1 {
	text-align: center;
	position: relative;
	margin-bottom: 20px;
	font-size: 26px;
}

.formularze h1::before {
	display: block;
	content: '';
	border: 1px solid #fff;
	width: 25%;
	position: absolute;
	top: 11px;
}
.formularze h1::after {
	display: block;
	content: '';
	position: absolute;
	border: 1px solid #fff;
	width: 25%;
	right: 0;
	top: 11px;
}


.formularze h1 span {
	font-size: 26px;
	text-transform: uppercase;
	width: 50%;
	padding: 10px 10px;
}

.formularze p {
  font-size: 24px;
  margin: 20px 0 0 0;
  line-height: 28px;
}

.formularze p input[type=checkbox] {
	visibility: hidden;
	width: 0;
	height: 0;

}
.active_agree {
	height: 100% !important;
	-webkit-mask-size: none !important;
	-webkit-mask-image: none !important;
}

.agree_rotate {
	transform: rotate(180deg);
}

.agree_cont {
	margin: 10px 0;
	height: 70px;
	overflow: hidden;
	-webkit-mask-size: 300px 150px;
	-webkit-mask-image: -webkit-gradient(linear, center bottom, center top, color-stop(0.00, rgba(0,0,0,0)), color-stop(1.00, rgba(0,0,0,1)));
}

.agree_scroll {
	transition: 1s all;
	position: relative;
	display: block;
	float: right;
	font-size: 34px;
}

.formularze p .agree {
  position: absolute;
  width: 32px;
  height: 32px;
  border: 1px solid #333;
  display: inline-block;
  margin-right: 5px;
  background-color: #fff;
}
.formularze p label {
  font-weight: 400;
	width: calc(100% - 40px);
  cursor: pointer;
}
.formularze p label span {
  display: inline-block;
  width: calc(95% - 40px);
	padding-left: 40px;
}
.formularze input.active ~  span {
  color: #000;
}
.formularze input.active ~ .agree::before {
  content: '';
  display: block;
  background: url(img/chech.png);
  position: absolute;
  margin-top: 4px;
  margin-left: 4px;
  width: 22px;
  height: 22px;
}
.broom {
	float: right;
	margin: -55px -110px 0 0;
	color: rgba(69,78,109,.9);
	font-size: 50px;
}
.broom:active {
	animation: shake .25s linear alternate infinite;
}
.email, .name {
  font-size: 30px;
  padding: 5px 10px;
  width: 100%;
  text-align: center;
}

.required {
  color: #e9266d;
}

.klauzura {
	color: #ef0080;
	margin: 15px 0;
}

#success, #error {
	display: none;
	width: auto;
	padding: 5px;
	background-color: rgba(255,255,255,.8);
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 750px;
	text-align: center;
	border-radius: 5px;
	padding: 30px;
	font-weight: 600;
}
#success span, #error span {
	display: block;
	margin: 0 auto;

}
#success span p,
#error span p {
	margin: 0;
	font-size: 50px;
	line-height: 50px;
}

#success span p {
	color: #ef0080;
}
#error span p {
	color: #c0392b;
}

.error {
	display: block;
	width: 100%;
	color: #f00;
	font-size: 18px;
}
.btn_send {
  width: 100%;
  font-size: 30px;
  padding: 10px;
  text-align: center;
  display: block;
  color: #fff;
  background-color: #454E6D;
  font-weight: 900;
  border: 1px solid #fff;
}
.zgoda {
	text-transform: uppercase;
	font-size: 25px;
	width: 50%;
	padding: 10px 10px;
	color: #fff;
	font-weight: 600;
}
a {
	text-decoration: none;
}
#touchMessage {
	display: none;
}

.fa-arrows-alt {
	font-size: 30px;
	color: #ef0080;
}

.reload_close {
	position: relative;
}

.reload_arrow {
	position: absolute;
	top: 25px;
	left: 25px;
}
.reload i{
	color: rgba(69,78,109,.9);
	font-size: 70px;
}

div.wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
	margin: 0;
	overscroll-behavior: none;
}

canvas {
	background-color: #fff;
  margin: 10px;
	border: 2px rgba(69,78,109,.9) solid;
	border-radius: 40px;
}

.modal-content {
	max-width: 60vw;
	margin: 0 auto;
}
.modal-header h5 {
	color: rgba(69,78,109,.9);
}
.modal-footer p {
	width: 100%;
}

@media only screen and (max-width: 800px) {
	.formularze {
		margin-top: 140px;
	}
	.formularze h1::before {
		width: 15%;
	}
	.formularze h1::after {
		width: 15%;
	}
}

@keyframes shake {
	0%   {
				 transform: rotate(-10deg);
		 }
 
	100% {
				 transform: rotate(10deg);
	 }
	}
	