html {
	box-sizing: border-box;
}

*,
*:before,
*:after {
	box-sizing: inherit;
}

body {
	max-width: 1000px;
	margin: 25px auto;
	display: block;
	font-family: 'Montserrat', sans-serif;
	color: black;
}

h1,
h2,
h3 {
	text-align: center;
	margin-top: 50px;
}

a {
	text-decoration: none;
	color: black;
	cursor: pointer;
	z-index: 2;
}

#logo img {
	width: 250px;
	margin: 0 auto;
	display: block;
}

#header p {
	display: block;
	margin: 50px auto 0;
	font-size: 25px;
	font-weight: bold;
	font-style: normal;
	font-stretch: normal;
	line-height: 1.2;
	letter-spacing: 1.1px;
	text-align: center;
}

#social-links {
	margin: 50px auto 0;
	text-align: center;
	/* margin-bottom: 50px; */
}

#social-links img {
	width: 40px;
}

.block {
	display: block;
	height: auto;
	margin: 100px auto;
}

.block-title .title {
	display: inline-block;
	margin: -26px 0 0 5px;
	font-size: 120px;
	font-weight: bold;
	font-style: normal;
	font-stretch: normal;
	line-height: 1.2;
	text-align: left;
}

.block-title .number {
	display: inline-block;
	width: 35px;
	font-size: 25px;
	font-weight: 500;
	vertical-align: top;
}

.block-links,
#register,
.plac {
	margin-left: 35px;
}

.block-links a {
	font-size: 16px;
	font-weight: bold;
	font-style: normal;
	font-stretch: normal;
	line-height: 2;
	letter-spacing: 0.4px;
	text-align: left;
	margin-left: 12px;
	margin-bottom: 25px;
}

.targetDiv {
	margin-top: 25px;
	display: none;
	/* max-width: 700px; */
}

.popup {
	display: inline-block;
	max-width: 290px;
	text-align: left;
}

.popup img {
	max-width: 290px;
	border: 1px solid black;
	margin-bottom: 25px;
}

.popup p {
	margin-top: 0;
	margin-bottom: 25px;
}

.popup a {
	text-decoration: none;
	font-size: 16px;
	font-weight: bold;
	font-style: normal;
	font-stretch: normal;
	line-height: 1.21;
	letter-spacing: 0.8px;
	text-align: center;
	border: 2px solid black;
	padding: 5px 50px;
	margin-left: 0;
}

#register {
	font-size: 20px;
	font-weight: 300;
	font-style: normal;
	font-stretch: normal;
	line-height: 1.2;
	letter-spacing: 0.8px;
	text-align: left;
}

#register p {
	margin-bottom: 50px;
}

#register #reg-button,
#back {
	text-decoration: none;
	font-size: 16px;
	font-weight: bold;
	font-style: normal;
	font-stretch: normal;
	line-height: 1.21;
	letter-spacing: 0.8px;
	text-align: center;
	border: 2px solid black;
	padding: 5px 50px;
	margin-top: 50px;
}

#back {
	background-color: white;
	position: fixed;
	bottom: 50px;
	left: 35px;
	margin: 0;
}

#footer {
	display: block;
	font-size: 12px;
	font-weight: 500;
	font-style: normal;
	font-stretch: normal;
	line-height: 1.17;
	letter-spacing: 0.3px;
	text-align: center;
	margin-top: 100px;
}

@media only screen and (max-width: 600px) {
	body {
		max-width: 600px;
	}

	#header p {
		font-size: 18px;
	}

	.block-title .number {
		font-size: 18px;
		width: 20px;
	}

	.block-title .title {
		font-size: 60px;
	}

	.popup img {
		max-width: 250px;
		margin-top: 25px;
	}
}

@media only screen and (max-width: 320px) {
	body {
		max-width: 320px;
	}

	.block-title .title {
		font-size: 40px;
	}
}
