@font-face {font-family: Buongiorno;src: url(fonts/Buongiorno-Rastellino-Cyr.woff) format('woff');font-weight: 400;font-style: normal;}
@font-face {font-family: Poiret;src: url(fonts/Poiret-One.ttf) format('truetype');font-weight: 400;font-style: normal;}
@font-face {font-family: Arsenica;src: url(fonts/Arsenica-Regular.woff) format('woff');font-weight: 400;font-style: normal;}
@font-face {font-family: Arsenica;src: url(fonts/Arsenica-Bold.woff) format('woff');font-weight: 700;font-style: normal;}
button:hover, input[type="submit"]:hover { cursor: pointer; }
input, button, select, textarea, a, img {
	transition: 250ms;
	text-decoration: none !important;
}
p { margin: 0 0 10px 0; }
.tac { text-align: center; }
.tal { text-align: left; }
.tar { text-align: right; }
.ttu { text-transform: uppercase; }
.m0 { margin: 0; }
.p0 { padding: 0; }
.posr { position: relative; }
.mb0 { margin-bottom: 0 !important; }
.db { display: block; }
.dib { display: inline-block; }
img {
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: 100%;
	vertical-align: middle;
}
:root {
	--blue: #10294E;
	--brown: #9A8366;
	--white: #FFFCF8;
}
body {
	max-width: 1920px;
	margin: 0 auto !important;
	font-family: Poiret;
	color: var(--blue);
	font-size: 24px;
	background-color: var(--white);
	overflow-x: hidden !important;
}
*, *:hover, *:focus, *:active, *:before, *:after {
	box-sizing: border-box;
	outline: none !important;
}
h2 {
	font-family: Arsenica;
	font-weight: 400;
}

header { position: relative; }

header .line {
	position: relative;
	margin: 160px 0 282px 0;
	display: flex;
	flex-flow: row wrap;
	align-items: center;
	justify-content: center;
	gap: 185px;
}

header .line:before {
	position: absolute;
	content: '';
	width: 100%;
	height: 1px;
	background-color: var(--blue);
	top: 0;
	bottom: 0;
	left: 0;
	margin: auto;
	z-index: -2;
}

h1 {
	font-family: Buongiorno;
	font-size: 152px;
	display: flex;
	flex-flow: column wrap;
	width: 608px;
	color: var(--brown);
	letter-spacing: 14px;
	margin: 0;
	font-weight: 400;
	line-height: 0.6;
	gap: 16px;
}

h1 span:nth-child(2) {
	text-align: center;
	position: relative;
	margin-bottom: 44px;
}

h1 span:nth-child(2):after {
	position: absolute;
	content: '';
	height: 100%;
	width: 80px;
	background-color: var(--white);
	left: 0;
	right: 16px;
	margin: auto;
	z-index: -1;
}

h1 span:last-child { text-align: right; }

header .date {
	display: flex;
	flex-flow: row wrap;
	margin: 0;
	font-size: 96px;
	font-family: Arsenica;
	font-weight: 400;
	gap: 32px;
	letter-spacing: 2px;
}

header .date span {
	padding: 0 8px;
	background-color: var(--white);
}

header .wrap {
	width: 98%;
	max-width: 1240px;
	display: flex;
	flex-flow: row wrap;
	align-items: center;
	justify-content: flex-end;
	margin: 0 auto 224px auto;
}

header p.sub {
	margin: 0;
	font-size: 40px;
	letter-spacing: 1px;
	line-height: 1.08;
	font-family: Arsenica;
	display: flex;
	flex-flow: column wrap;
	width: 100%;
	max-width: 426px;
	font-weight: 400;
}

header p.sub span:last-child { text-align: right; }

#player {
	width: 190px;
	height: 100px;
	padding: 8px;
	letter-spacing: -0.4px;
	position: fixed;
	bottom: 40px;
	left: calc(50% - 620px);
	border-radius: 16px;
	background-color: rgba(255,252,248,0.25);
	backdrop-filter: blur(24px);
	z-index: 9999999;
}

#player .title {
	font-family: Arsenica;
	color: var(--brown);
	line-height: 1.4;
	margin-bottom: 8px;
	font-size: 16px;
}

#player .controls {
	display: flex;
	align-items: center;
	gap: 8px;
}

#player button {
	background-color: transparent;
	border: none;
	padding: 0;
}

#player button:hover { opacity: 0.6; }

#player button img { display: none; }

#player button img.active { display: block; }

#player button.play {
	width: 32px;
	height: 32px;
}

#player button.mute {
	width: 24px;
	height: 24px;
}

#player .volume {
	width: 120px;
	height: 32px;
	border-radius: 100px;
	border: 1px solid var(--brown);
	padding: 0 8px;
	display: flex;
	align-items: center;
	gap: 8px;
}

#player .volume input {

}

#volume {
  --fill: 50%;
  --track: rgba(151,128,94,0.15);
  --active: #97805E;
  --thumb: #ffffff;
  --thumb-border: #97805E;
  -webkit-appearance: none;
  appearance: none;
  width: 72px;
	height: 6px;
	border-radius: 4px;
  background: transparent;
  outline: none;
  cursor: pointer;
}

/* Chrome / Safari */
#volume::-webkit-slider-runnable-track {
  height: 6px;
  border-radius: 4px;
  background: linear-gradient(
    to right,
    var(--active) 0%,
    var(--active) var(--fill),
    var(--track) var(--fill),
    var(--track) 100%
  );
}

#volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 5px;
  height: 12px;
  margin-top: -3px;
  border-radius: 4px;
  background: var(--thumb);
  border: 1px solid var(--thumb-border);
  box-sizing: border-box;
}

/* Firefox */
#volume::-moz-range-track {
  height: 6px;
  border-radius: 4px;
  background: var(--track);
}

#volume::-moz-range-progress {
  height: 6px;
  border-radius: 4px;
  background: var(--active);
}

#volume::-moz-range-thumb {
  width: 5px;
  height: 12px;
  border-radius: 4px;
  background: var(--thumb);
  border: 1px solid var(--thumb-border);
  box-sizing: border-box;
}

section#first {
	border-top: 1px solid var(--blue);
	padding-top: 78px;
	margin-bottom: 200px;
	position: relative;
}

#first:after {
	content: url(img/rings.svg);
	position: absolute;
	width: 178px;
	height: 90px;
	background-color: var(--white);
	text-align: center;
	left: 0;
	right: 0;
	top: -52px;
	margin: auto;
}

#first h2 {
	margin: 0 0 60px 0;
	font-size: 64px;
	text-align: center;
}

#first .text {
	text-align: center;
	max-width: 680px;
	margin: 0 auto;
	line-height: 1.4;
}

section#history {
	position: relative;
	margin-bottom: 200px;
	padding-top: 80px;
	background-repeat: no-repeat;
	background-image: url(img/leaves.png);
	background-position: 0 285px;
	min-height: 1384px;
}

.history_mobile { display: none; }

#history .images {
	position: absolute;
	top: 0;
	right: 0;
	width: 868px;
	gap: 40px 34px;
	display: flex;
	flex-flow: row wrap;
	justify-content: flex-end;
}

#history .img1 {
	width: 37vw;
	max-width: 712px;
}

#history .img2 {
	width: 21.6vw;
	max-width: 416px;
}

#history .img3 {
	width: 21.6vw;
	max-width: 416px;
}

#history h2 {
	margin: 0 0 130px 33.3%;
	text-align: center;
	display: inline-block;
	font-size: 48px;
	letter-spacing: 2px;
}

#history .textm { display: none; }

#history .text1 {
	width: 452px;
	margin: 0 0 168px 33.3%;
	letter-spacing: -0.4px;
}

#history .text2 {
	width: 496px;
	margin: 0 0 268px calc(33.3% - 40px);
	letter-spacing: -1px;
}

#history .text3 {
	width: 440px;
	margin: 0 0 300px 27.5%;
	letter-spacing: -1px;
}

#history .text3 span {
	font-family: Buongiorno;
	font-size: 96px;
	color: var(--brown);
	vertical-align: top;
}

section#location {
	margin: 200px 0;
	position: relative;
	min-height: 677px;
	padding-top: 80px;
}

#location .images {
	position: absolute;
	top: 0;
	display: flex;
	flex-flow: row wrap;
	justify-content: space-between;
	width: 100%;
	filter: grayscale(1);
	height: 676px;
}

#location .images img:first-child {
	width: 45%;
	max-width: 866px;
	height: 100%;
	object-fit: cover;
}

#location .images img:last-child {
	width: 9.5%;
	max-width: 182px;
	height: 100%;
	object-fit: cover;
}

#location .content {
	margin-left: 50%;
	max-width: 600px;
	position: relative;
	z-index: 9;
}

#location h2 {
	margin: 0 0 24px 0;
	font-size: 48px;
}

#location p.sub { margin-bottom: 286px; }

#location .blocks {
	display: flex;
	flex-flow: row wrap;
	justify-content: space-between;
}

#location .blocks .block {
	width: 282px;
	position: relative;
	letter-spacing: -0.4px;
}

#location .blocks .block:first-child:after {
	position: absolute;
	content: '';
	top: 0;
	right: -50px;
	height: 117px;
	width: 1px;
	background-color: var(--blue);
}

#location .blocks .block:last-child { width: 220px; }

#location .blocks .block p.title {
	margin-bottom: 24px;
	font-size: 32px;
	font-family: Arsenica;
	font-weight: 700;
	letter-spacing: 0.4px;
}

#location .blocks .block p.text { margin-bottom: 0; }

section#dresscode {
	margin-bottom: 200px;
	position: relative;
	text-align: center;
}

#dresscode:before {
	position: absolute;
	content: '';
	width: 100%;
	left: 0;
	top: 32px;
	height: 1px;
	background-color: var(--blue);
}

#dresscode h2 {
	display: inline-block;
	margin: 0 0 24px 0;
	font-size: 64px;
	background-color: var(--white);
	padding: 0 12px;
	position: relative;
	z-index: 9;
	line-height: 1.08;
}

#dresscode p.text {
	max-width: 420px;
	margin: 0 auto 60px auto;
	line-height: 1.4;
}

#dresscode img.colors { margin-bottom: 80px; }

#dresscode .images {
	display: flex;
	flex-flow: row wrap;
	justify-content: space-between;
}

#dresscode .images img { width: 16.4%; }

section#wishes {
	overflow: hidden;
	margin-bottom: 200px;
	position: relative;
	background-repeat: no-repeat;
	background-image: url(img/wishes.svg);
	background-position: center;
	text-align: center;
}

#wishes:before {
	content: url(img/wine.svg);
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	margin: auto;
	height: 230px;
}

#wishes:after {
	content: url(img/wine.svg);
	position: absolute;
	top: 0;
	bottom: 0;
	right: 0;
	margin: auto;
	height: 230px;
	transform: scaleX(-1);
}

#wishes .content {
	max-width: 930px;
	margin: auto;
	letter-spacing: -0.4px;
	min-height: 260px;
	display: flex;
	flex-flow: column wrap;
	justify-content: center;
}

#wishes h2 {
	margin: 0 0 24px;
	font-size: 64px;
	line-height: 1.08;
}

#wishes p {
	margin-bottom: 0;
	line-height: 1.4;
}

section#program {
	color: white;
	background-color: #141937;
	padding: 200px 0;
	text-align: center;
	position: relative;
}

#program:before {
	position: absolute;
	content: '';
	width: 100%;
	height: 1px;
	background-color: white;
	top: 410px;
	left: 0;
}

#program h2 {
	font-size: 64px;
	margin: 0 0 120px 0;
	line-height: 1.08;
}

#program .blocks {
	position: relative;
	display: flex;
	flex-flow: row wrap;
	align-items: flex-start;
	justify-content: space-between;
	max-width: 1320px;
	margin: auto;
}

#program .blocks .block { width: 230px; }

#program .blocks p.title {
	margin-bottom: 16px;
	line-height: 1;
	font-size: 40px;
	letter-spacing: 1px;
	padding: 4px 12px 0 12px;
	background-color: #141937;
	font-family: Arsenica;
	display: inline-block;
}

#program .blocks p.text {
	margin-bottom: 0;
	font-size: 24px;
	letter-spacing: -0.4px;
	line-height: 1.4;
}

section#survey {
	color: white;
	background-color: #141937;
	padding-bottom: 200px;
}

#survey h2 {
	text-align: center;
	margin: 0 0 24px 0;
	font-size: 64px;
	line-height: 1.08;
}

#survey p.text {
	text-align: center;
	line-height: 1.4;
	letter-spacing: -0.4px;
	max-width: 750px;
	margin: 0 auto 80px auto;
}

#guest_form {
	max-width: 420px;
	margin: auto;
	transition: 250ms;
}

#guest_form.send {
	height: 0;
	overflow: hidden;
	opacity: 0;
}

#guest_form .name, #guest_form .guests, #guest_form .coming, #guest_form .drinks, #guest_form .dj, #guest_form .transfer {
	display: block;
	margin-bottom: 40px;
	position: relative;
}

#guest_form input, #guest_form textarea {
	font-family: Poiret;
	color: white;
	background-color: #141937;
	letter-spacing: 0.2px;
	line-height: 1.36;
}

#guest_form .name span, #guest_form .dj span {
	position: absolute;
	background-color: #141937;
	padding: 0 4px;
	top: -16px;
	left: 12px;
	line-height: 1.4;
	font-size: 20px;
	letter-spacing: 0.2px;
}

#guest_form .name input {
	border: 1px solid white;
	width: 100%;
	height: 66px;
	padding: 0 12px;
	font-size: 24px;
}

#guest_form .dj textarea {
	border: 1px solid white;
	width: 100%;
	height: 100px;
	padding: 16px 12px;
	font-size: 24px;
	resize: none;
}

#guest_form .guests p.title {
	margin-bottom: 8px;	
	font-size: 20px;	
	line-height: 1.4;	
}

#guest_form .guests button.add {
	font-family: Poiret;
	width: 100%;
	height: 62px;
	color: white;
	background-color: #141937;
	border: 1px solid white;
	letter-spacing: 0.2px;
	font-size: 24px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	transition: 250ms;
}

#guest_form .guests button.add:hover {
	background-color: white;
	color: #141937;
}

#guest_form .guests button.add:hover img { filter: brightness(0); }

#guest_form .guests input[name="guest_name"] {
	font-family: Poiret;
	color: white;
	background-color: #141937;
	letter-spacing: 0.2px;
	line-height: 1.36;
	width: 100%;
	border: 1px solid white;
	height: 44px;
	color: white;
	margin-bottom: 4px;
	padding: 0 12px;
	font-size: 16px;
}

#guest_form .coming .title {
	line-height: 1.4;
	margin-bottom: 16px;
	font-size: 20px;
	letter-spacing: 0.2px;
}

#guest_form .inputs {
	display: flex;
	flex-flow: row wrap;
	align-items: center;
	gap: 20px 34px;
}

#guest_form input[type="radio"], #guest_form input[type="checkbox"] { display: none; }

#guest_form input[type="radio"] + span, #guest_form input[type="checkbox"] + span {
	position: relative;
	padding-left: 36px;
	line-height: 1.4;
	min-height: 34px;
	display: flex;
	align-items: center;
	transition: 250ms;
	cursor: pointer;
}

#guest_form input[type="radio"] + span:hover, #guest_form input[type="checkbox"] + span:hover { opacity: 0.6; }

#guest_form input[type="radio"] + span:before, #guest_form input[type="checkbox"] + span:before {
	position: absolute;
	content: '';
	top: 0;
	bottom: 0;
	left: 0;
	width: 20px;
	height: 20px;
	border: 1px solid white;
	margin: auto;
	background-color: transparent;
	transition: 250ms;
}

#guest_form input[type="radio"] + span:before { border-radius: 100%; }

#guest_form input[type="radio"]:checked + span:before, #guest_form input[type="checkbox"]:checked + span:before { background-color: white; }

#guest_form input[type="radio"] + span:after, #guest_form input[type="checkbox"] + span:after {
	position: absolute;
	content: url(img/check.svg);
	display: flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	left: 0;
	top: 0;
	bottom: 0;
	margin: auto;
	line-height: 0;
}

#guest_form input[type="submit"] {
	width: 100%;
	height: 62px;
	background-color: white;
	color: #141937;
	border: 1px solid white;
	font-size: 24px;
	letter-spacing: 0.4px;
}

#guest_form input[type="submit"]:hover {
	background-color: #141937;
	color: white;
}

#survey .thanks {
	margin: 0 auto 0 auto;
	font-family: Buongiorno;
	font-size: 160px;
	line-height: 0.5;
	text-align: center;
	height: 0;
	overflow: hidden;
	transition: 250ms;
	opacity: 0;
}

#survey .thanks.active {
	height: auto;
	opacity: 1;
	margin-top: 20px;
	overflow: visible;
}

section#adress { padding: 200px 0 190px 0; }

#adress .wrap {
	max-width: 1320px;
	margin: auto;
	display: flex;
	flex-flow: row wrap;
	align-items: center;
	justify-content: space-between;
}

#map { width: 750px; }

#adress .content {
	height: 502px;
	width: calc(100% - 790px);
	display: flex;
	flex-flow: column wrap;
	justify-content: space-between;
}

#adress h2 {
	margin: 0 0 24px 0;
	font-size: 48px;
}

#adress h2.mobile { display: none; }

#adress p.text {
	margin-bottom: 16px;
	letter-spacing: -0.4px;
}

#adress a.button {
	display: flex;
	width: 205px;
	height: 62px;
	color: white;
	background-color: #141937;
	border: 1px solid #141937;
	align-items: center;
	justify-content: center;
	text-align: center;
	letter-spacing: 0.2px;
	font-size: 24px;
}

#adress a.button:hover {
	color: #141937;
	background-color: white;
}

#adress .blocks {
	display: flex;
	flex-flow: column wrap;
	gap: 40px;
}

#adress .block .title {
	margin-bottom: 24px;
	display: flex;
	flex-flow: row wrap;
	gap: 16px;
	font-family: Arsenica;
	font-size: 32px;
	align-items: baseline;
}

#adress .block .title span {
	font-family: Poiret;
	font-size: 24px;
}

#adress .block .line {
	display: flex;
	flex-flow: row wrap;
	align-items: center;
	gap: 24px;
}

#adress .block a.tel { color: var(--blue); }

#adress .block a.tel:hover { opacity: 0.6; }

#adress .socials {
	display: flex;
	flex-flow: row wrap;
	align-items: center;
	gap: 8px;
}

#adress .socials a:hover { opacity: 0.6; }

footer {
	position: relative;
	padding-bottom: 120px;
	text-align: center;
}

footer:before {
	position: absolute;
	content: '';
	left: 0;
	top: 70px;
	width: 100%;
	height: 1px;
	background-color: var(--blue);
}

footer h3 {
	display: inline-block;
	margin: 10px auto 0 auto;
	font-size: 96px;
	width: 200px;
	line-height: 1.08;
	background-color: var(--white);
	position: relative;
	z-index: 9;
}

footer p.sub { margin-bottom: 90px; }

footer p.text {
	margin: 0 auto;
	max-width: 500px;
}

@media(min-width: 1320px) and (max-width: 1739px) {
	header .line { margin-bottom: 200px; }
	section#history {
		min-height: 1000px;
		margin-bottom: 0;
	}
	#history .images { width: 730px; }
	#history .img1 {
		margin-bottom: 40px;
		width: 30vw;
	}
	#history .img2, #history .img3 { width: 20vw; }
	#history .text1 { margin-left: 30%; }
	#history .text2 {
		margin: 0 0 120px 20%;
		width: 470px;
	}
	#history .text3 { margin-left: 24%; }
	section#location { margin-top: -200px; }
	#location .content {
		margin-left: 46%;
		max-width: 570px;
	}
	#location .blocks .block:first-child:after { right: -30px; }
	#map { width: 700px; }
	#adress .content {
		height: 470px;
		width: calc(100% - 740px);
	}
}

@media(min-width: 1320px) and (max-width: 1399px) { #history .images { width: 640px; } }

@media(min-width: 1200px) and (max-width: 1319px) {
	#player { left: 30px; }
	header .line {
		margin: 100px 0;
		gap: 60px;
	}
	section#history {
		padding-top: 40px;
		background-position: 0 120px;
		background-size: 300px auto;
		margin-bottom: 0;
		min-height: 800px;
	}
	#history h2 { margin: 0 0 80px 30%; }
	#history .text1 { margin: 0 0 180px 26%; }
	#history .text2 {
		width: 600px;
		margin: 0 0 40px 40px;
	}
	#history .text2 br { display: none; }
	#history .text3 {
		width: 420px;
		margin: 0 0 0 200px;
	}
	#history .images {
		width: 610px;
		gap: 40px 20px;
	}
	#location p.sub { margin-bottom: 140px; }
	#location .blocks {
		flex-flow: column wrap;
		gap: 60px;
	}
	#location .blocks .block:first-child:after {
		width: 100%;
		height: 1px;
		right: unset;
		top: unset;
		left: 0;
		bottom: -30px;
	}
	#location .images img:last-child { width: 20%; }
}

@media(min-width: 768px) and (max-width: 1199px) {
	body { font-size: 20px; }
	#player { left: 20px; }
	header .wrap { margin-bottom: 130px; }
	header .line {
		gap: 0;
		margin: 80px 0 100px 0;
	}
	h1 {
		font-size: 90px;
		width: 320px;
	}
	h1 span:nth-child(2) { margin-bottom: 12px; }
	h1 span:nth-child(2):after { width: 60px; }
	header .date {
		gap: 24px;
		font-size: 60px;
	}
	section#first { margin-bottom: 100px; }
	#first h2 { font-size: 42px; }
	section#history {
		padding-top: 20px;
		background-position: 0 240px;
		background-size: 200px auto;
		margin-bottom: 0;
		min-height: 800px;
	}
	#history h2 {
		font-size: 42px;
		margin: 0 0 20px 80px;
	}
	#history .text1 {
		width: 440px;
		margin: 0 0 140px 40px;
	}
	#history .text2 {
		width: 340px;
		margin: 0 0 120px 220px;
	}
	#history .text2 br { display: none; }
	#history .text3 {
		width: 420px;
		margin: 0 0 0 140px;
	}
	#history .images {
		width: 100%;
		flex-flow: column wrap;
		align-items: flex-end;
		gap: 40px 20px;
	}
	section#location { margin: 100px 0; }
	#location .content {
		margin: 0 auto 40px auto;
		max-width: 90%;
	}
	#location p.sub { margin-bottom: 40px; }
	#location .blocks .block p.title { font-size: 28px; }
	#location .images {
		position: initial;
		height: 360px;
	}
	#location .images img:last-child { width: 40%; }
	section#dresscode { margin-bottom: 100px; }
	#dresscode img.colors { width: 400px; }
	section#wishes {
		margin-bottom: 100px;
		padding: 0 140px;
	}
	#wishes:before {
		transform: scale(0.6);
		left: -70px;
	}
	#wishes:after {
		transform: scale(-0.6, 0.6);
		right: -70px;
	}
	section#program { padding: 100px 0; }
	#program:before { top: 224px; }
	#program h2 {
		font-size: 42px;
		margin-bottom: 60px;
	}
	#program .blocks .block { width: 18%; }
	#program .blocks p.title {
		margin-bottom: 8px;
		font-size: 32px;
	}
	#program .blocks p.text { font-size: 16px; }
	section#survey { padding-bottom: 100px; }
	#survey h2 { font-size: 42px; }
	#survey p.text { max-width: 90%; }
	section#adress { padding: 100px 0; }
	#adress .wrap { flex-flow: column wrap; }
	#adress h2.desktop { display: none; }
	#adress h2.mobile { display: block; }
	#adress .info {
		display: flex;
		flex-flow: row wrap;
		align-items: center;
		justify-content: space-between;
		margin-bottom: 32px;
	}
	#adress p.text {
		margin: 0;
		width: calc(100% - 220px);
	}
	#map { margin: auto; }
	#adress .content {
		height: auto;
		width: 90%;
		margin: 24px auto 0 auto;
	}
	#adress .blocks {
		gap: 100px;
		flex-flow: row wrap;
	}
	footer p.sub { margin-bottom: 40px; }
}

@media(min-width: 1px) and (max-width: 767px) {
	#player {
		width: 100%;
		max-width: 330px;
		left: 0;
		right: 0;
		margin: 0 auto;
		bottom: 10px;
		display: flex;
		flex-flow: row wrap;
		align-items: flex-end;
		gap: 8px;
		height: auto;
		justify-content: center;
	}
	#player .title { margin-bottom: 0; }
	body { font-size: 16px; }
	header .line {
		align-items: flex-start;
		flex-flow: column wrap;
		padding-top: 60px;
		margin: 0 0 24px 0;
		gap: 40px;
	}
	header:before {
		content: '';
		position: absolute;
		top: 0;
		height: 100%;
		width: 1px;
		background-color: var(--blue);
		left: 56px;
	}
	header .line:before { content: none; }
	h1 {
		margin-left: auto;
		width: 300px;
		font-size: 82px;
		letter-spacing: 12px;
	}
	h1 span:nth-child(2) { margin-bottom: 0; }
	header .date {
		flex-flow: column wrap;
		line-height: 1;
		font-size: 64px;
		width: 112px;
		text-align: center;
		gap: 16px;
	}
	header .date span { padding-top: 4px; }
	header .wrap {
		display: block;
		width: 100%;
		padding: 0 16px;
		padding-bottom: 150px;
		margin-bottom: 120px;
	}
	header p.sub {
		font-size: 28px;
		text-align: right;
	}
	section#first {
		margin-bottom: 120px;
		padding-top: 56px;
	}
	#first:after {
		transform: scale(0.53);
		top: -48px;
	}
	#first h2 {
		max-width: 330px;
		font-size: 36px;
		margin: 0 auto 32px auto;
		letter-spacing: 2px;
	}
	#first .text {
		max-width: 100%;
		padding: 0 16px;
	}
	section#history {
		padding-top: 0;
		min-height: 1px;
		background: none;
		margin-bottom: 124px;
	}
	#history .wrap {
		padding-left: 16px;
		display: flex;
		flex-flow: row wrap;
		align-items: center;
		justify-content: space-between;
		margin-bottom: 12px;
	}
	#history .text { width: calc(100% - 180px); }
	#history h2 {
		margin: 0 0 20px 0;
		font-size: 36px;
		text-align: left;
		line-height: 1.08;
	}
	#history .img1m {
		width: 172px;
		height: 258px;
		object-fit: cover;
	}
	#history .text1m, #history .text2m {
		padding: 0 16px;
		margin-bottom: 40px;
		letter-spacing: -0.4px;
	}
	#history .img2m {
		text-align: right;
		background-repeat: no-repeat;
		background-image: url(img/hm1.png);
		background-position: left center;
		margin-bottom: 40px;
		height: 386px;
	}
	#history .img2m img {
		height: 100%;
		width: 258px;
		object-fit: cover;
	}
	#history .img3m {
		text-align: right;
		background-repeat: no-repeat;
		background-image: url(img/hm2.png);
		background-position: left center;
		margin-bottom: 40px;
		height: 410px;
	}
	#history .img3m img {
		height: 100%;
		width: 274px;
		object-fit: cover;
	}
	#history .text3m {
		padding: 0 16px;
		position: relative;
		letter-spacing: -0.4px;
	}
	#history .text3m:after {
		position: absolute;
		content: '«Да»';
		font-family: Buongiorno;
		font-size: 64px;
		line-height: 1;
		bottom: -2px;
		left: 244px;
		color: var(--brown);
	}
	.history_desktop { display: none; }
	.history_mobile { display: block; }
	section#location {
		margin: 0 0 120px 0;
		padding-top: 0;
		min-height: 1px;
	}
	#location .content {
		margin: 0;
		width: auto;
	}
	#location h2 {
		text-align: center;
		margin-bottom: 16px;
		font-size: 36px;
	}
	#location p.sub {
		text-align: center;
		margin-bottom: 270px;
	}
	#location .images {
		top: 110px;
		height: 200px;
	}
	#location .images img:first-child { width: 71.6%; }
	#location .images img:last-child {
		max-width: 18%;
		width: 18%;
	}
	#location .blocks { padding: 0 16px; }
	#location .blocks .block {
		width: 144px !important;
		height: 124px;
		display: flex;
		flex-flow: column wrap;
		justify-content: space-between;
	}
	#location .blocks .block:first-child { width: 154px !important; }
	#location .blocks .block:first-child:after {
		height: 100%;
		right: -15px;
	}
	#location .blocks .block p.title {
		margin: 0;
		font-size: 24px;
	}
	section#dresscode { margin-bottom: 94px; }
	#dresscode:before { top: 18px; }
	#dresscode h2 { font-size: 36px; }
	#dresscode p.text {
		margin-bottom: 40px;
		max-width: 100%;
		padding: 0 16px;
		letter-spacing: -0.4px;
	}
	#dresscode img.colors {
		margin-bottom: 40px;
		max-width: 320px;
	}
	#dresscode .images { gap: 3px 0; }
	#dresscode .images img { width: 33%; }
	section#wishes {
		margin-bottom: 114px;
		background-size: 98% auto;
		background-position: center bottom;
		padding: 24px 0 10px 0;
	}
	#wishes:before {
		margin: 0;
		transform: scale(0.4);
		top: -68px;
		left: -118px;
	}
	#wishes:after {
		margin: 0;
		transform: scale(-0.4,0.4);
		top: -68px;
		right: -118px;
	}
	#wishes .content 	{ min-height: 1px; }
	#wishes h2 { font-size: 36px; }
	#wishes p { padding: 0 16px; }
	section#program { padding: 120px 0; }
	#program:before { content: none; }
	#program h2 {
		font-size: 36px;
		margin-bottom: 24px;
	}
	#program .blocks {
		position: relative;
		flex-flow: column wrap;
		align-items: center;
		gap: 48px;
		padding: 36px 0;
	}
	#program .blocks:before {
		position: absolute;
		content: '';
		height: 100%;
		width: 1px;
		left: 0;
		top: 0;
		right: 0;
		margin: auto;
		background-color: white;
	}
	#program .blocks .block {
		width: 220px;
		background-color: #141937;
		position: relative;
		z-index: 9;
		padding: 8px 0;
	}
	#program .blocks p.title {
		font-size: 36px;
		margin-bottom: 12px;
	}
	#program .blocks p.text { font-size: 16px; }
	section#survey { padding-bottom: 120px; }
	#survey h2 { font-size: 36px; }
	#survey p.text {
		margin-bottom: 40px;
		padding: 0 16px;
	}
	#guest_form { padding: 0 16px; }
	#guest_form .inputs { gap: 16px 34px; }
	section#adress { padding: 120px 0; }
	#adress h2.desktop { display: none; }
	#adress h2.mobile {
		width: 100%;
		display: block;
		text-align: center;
		font-size: 36px;
	}
	#map {
		padding: 0 16px;
		height: 440px;
		margin-bottom: 32px;
	}
	#map img {
		width: 100%;
		height: 100%;
		object-fit: cover;
	}
	#adress .content {
		width: 100%;
		padding: 0 16px;
		gap: 60px;
		height: auto;
	}
	#adress p.text {
		text-align: center;
		margin-bottom: 24px;
		max-width: 320px;
	}
	#adress a.button {
		width: 100%;
		height: 56px;
		font-size: 20px;
	}
	#adress .blocks {
		gap: 0;
		flex-flow: row wrap;
		justify-content: space-between;
		align-items: flex-start;
	}
	#adress .block .title {
		flex-flow: column-reverse wrap;
		gap: 6px;
		font-size: 24px;
	}
	#adress .block .title span { font-size: 16px; }
	#adress .block .line {
		flex-flow: column wrap;
		align-items: flex-start;
	}
	footer { padding-bottom: 80px; }
	footer:before { top: 50px; }
	footer h3 {
		font-size: 64px;
		width: 142px;
	}
	footer p.sub { margin-bottom: 40px; }
	footer p.text {
		max-width: 100%;
		padding: 0 16px;
		letter-spacing: -0.4px;
	}
}