html {
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}

@font-face {
	font-family: 'Fira Sans';
	font-weight: 400;
	font-style: normal;

	src: url('fonts/FiraSans-Regular.eot');
	src: url('fonts/FiraSans-Regular.eot') format('embedded-opentype'),
		url('fonts/FiraSans-Regular.woff2') format('woff2'),
		url('fonts/FiraSans-Regular.woff') format('woff'),
		url('fonts/FiraSans-Regular.ttf') format('truetype');
}

@font-face {
	font-family: 'Fira Sans';
	font-weight: 600;
	font-style: normal;

	src: url('fonts/FiraSans-SemiBold.eot');
	src: url('fonts/FiraSans-SemiBold.eot') format('embedded-opentype'),
		url('fonts/FiraSans-SemiBold.woff2') format('woff2'),
		url('fonts/FiraSans-SemiBold.woff') format('woff'),
		url('fonts/FiraSans-SemiBold.ttf') format('truetype');
}

*,
*:before,
*:after {
	-webkit-box-sizing: inherit;
	box-sizing: inherit;
	margin: 0;
	padding: 0;

	cursor: default;
	letter-spacing: -.025em;

	font-family: 'Fira Sans', sans-serif;
	line-height: 100%;

	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
}

/* Mobile */
.container {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	flex-direction: column;

	width: 290px;
	height: 400px;
	margin: 0 auto;

	background-image: url('img/bg.jpg');
	background-position: center;
	background-size: cover;
}

.block_info__logo {
	display: block;

	width: auto;
	height: 20px;
}

.popup {
	position: absolute;
	z-index: 100;

	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	visibility: visible;

	width: inherit;
	height: inherit;

	background-color: #fff;

	align-items: center;
	-webkit-box-align: center;
	-webkit-box-pack: center;
	-ms-flex-align: center;
	-ms-flex-pack: center;
	justify-content: center;
}

.popup__text {
	text-align: center;

	color: #e3000f;

	font-size: 22px;
}

.is-hidden {
	visibility: hidden;
}

.popup_loading svg {
	position: relative;

	width: 50px;
	height: 50px;

	-webkit-animation: rotate 2s linear infinite;
	animation: rotate 2s linear infinite;
}

.popup_loading circle {
	-webkit-animation: dash 1.5s ease-in-out infinite;
	animation: dash 1.5s ease-in-out infinite;

	stroke: #e3000f;
	stroke-dasharray: 1, 200;
	stroke-dashoffset: 0;
	stroke-linecap: round;
}

.block {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	flex-direction: column;

	width: 100%;

	-webkit-box-direction: normal;
	-webkit-box-orient: vertical;
	-ms-flex-direction: column;
}

.block_info {
	height: 120px;
	padding-top: 15px;

	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;

	align-items: center;
	-webkit-box-align: center;
	-webkit-box-pack: start;
	-ms-flex-align: center;
	-ms-flex-pack: start;
	justify-content: flex-start;
}

.block_info__text {
	width: inherit;
	margin-top: 20px;
	padding: 0 20px;

	text-align: center;

	color: #fff;

	font-size: 18px;
	line-height: 100%;
}

.block_info__text strong {
	color: #ffe500;
}

.block_form {
	height: 280px;
	padding: 15px;
}

.block_form form {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	flex-direction: column;

	height: 100%;

	align-items: center;
	-webkit-box-align: center;
	-webkit-box-direction: normal;
	-webkit-box-orient: vertical;
	-webkit-box-pack: center;
	-ms-flex-align: center;
	-ms-flex-direction: column;
	-ms-flex-pack: center;
	justify-content: center;
}

input[type=text],
input[type=email] {
	width: 100%;
	height: 35px;
	margin-bottom: 3px;
	padding: 0 12px;

	cursor: text;

	color: #00204d;
	border: 0;
	border-radius: 0;
	background-color: #fff;

	font-size: 14px;
}

.form-checkbox {
	width: 100%;
	height: 40px;
	margin-bottom: 3px;

	background-color: rgba(176, 0, 12, .75);

	font-size: 18px;
}

.form-checkbox input {
	position: absolute;
	z-index: -10;

	display: block;

	width: 20px;
	height: 20px;
	margin: 10px;

	opacity: 0;
	border: 0;
}

.form-checkbox__input {
	float: left;

	width: 20px;
	height: 20px;
	margin: 10px;

	cursor: pointer;

	border-radius: 50%;
	background: #fff;
}

.form-checkbox__input:after {
	position: absolute;

	display: block;

	width: 10px;
	height: 10px;
	margin: 5px;

	content: '';
	cursor: pointer;
	-webkit-transition: .09s ease-in-out;
	transition: .09s ease-in-out;

	border-radius: 50%;
	background-color: #fff;
}

.form-checkbox__input:hover::after {
	background-color: #ff8c8c;
}

.form-checkbox input:checked~.form-checkbox__input:after {
	background-color: #ff0d0d;
}

.form-checkbox__text {
	margin-top: 5px;
	padding-right: 15px;

	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;

	color: #fff;

	font-size: 14px;
	line-height: 100%;
}

.form-checkbox__text a,
.form-checkbox__text a:visited {
	cursor: pointer;
	-webkit-transition: .075s ease-in-out;
	transition: .075s ease-in-out;

	color: #ffe500;
}

.form-checkbox__text a:hover,
.form-checkbox__text a:active {
	text-decoration: none;

	color: inherit;
}

.form-checkbox__text a:active {
	color: #000;
}

input[type=submit] {
	position: relative;

	height: 40px;
	margin-top: 10px;
	padding: 0 40px;

	cursor: pointer;
	text-transform: uppercase;

	color: #000;
	border: 0;
  background-color: #ffd400;
	font-size: 14px;
	font-weight: 600;
	line-height: 14px;

}

input[type=submit]:hover,
input[type=submit]:focus {
background-color: #ffea00;
}


/* Desktop */
@media screen and (min-width: 520px) {
	.container {
		flex-direction: row;

		width: 480px;
		height: 300px;

		-webkit-box-direction: normal;
		-webkit-box-orient: horizontal;
		-ms-flex-direction: row;
	}

	.block {

		height: 300px;
	}

	.block_info {
		width: 220px;
		padding: 0;

		-webkit-box-pack: center;
		-ms-flex-pack: center;
		justify-content: center;
	}

	.block_info__text {
		margin-top: 40px;
		padding: 0 15px;

		font-size: 20px;
	}

	.block_form {
		width: 260px;
		padding: 15px 10px;
	}

	.form-checkbox__text {
		margin-top: 6px;

		font-size: 13px;
		line-height: 105%;
	}
	.form-checkbox__text.small {
		margin-top: 7px;
		font-size: 12px;
	}
}

.reeglid {
	width: 100%;
	max-width: 1024px;
	height: 100%;
	margin: auto;
	padding: 10vh 10vh 0 5vh;
}

h1 {
	margin-bottom: 30px;

	font-size: 50px;
	font-weight: 600;
}

h3 {
	margin-bottom: 15px;

	color: #e3000f;

	font-size: 28px;
}

p {
	margin-bottom: 1em;

	font-size: 15px;
	line-height: 150%;
}

/* Animations */
@-webkit-keyframes rotate {
	100% {
		-webkit-transform: rotate(360deg);
		transform: rotate(360deg);
	}
}

@keyframes rotate {
	100% {
		-webkit-transform: rotate(360deg);
		transform: rotate(360deg);
	}
}

@-webkit-keyframes dash {
	0% {
		stroke-dasharray: 1, 200;
		stroke-dashoffset: 0;
	}

	50% {
		stroke-dasharray: 89, 200;
		stroke-dashoffset: -35;
	}

	100% {
		stroke-dasharray: 89, 200;
		stroke-dashoffset: -124;
	}
}

@keyframes dash {
	0% {
		stroke-dasharray: 1, 200;
		stroke-dashoffset: 0;
	}

	50% {
		stroke-dasharray: 89, 200;
		stroke-dashoffset: -35;
	}

	100% {
		stroke-dasharray: 89, 200;
		stroke-dashoffset: -124;
	}
}