body {
	max-width: 100%;
	overflow-x: hidden;
	margin: 0;
	padding: 0;
	-webkit-tap-highlight-color: transparent;
}

@font-face {
	font-family: 'main-title';
	src: url('fonts/Princess-Diana.ttf') format('truetype');
}

@font-face {
	font-family: 'main-text';
	src: url('fonts/HelveticaNeue.otf') format('truetype');
}

@font-face {
	font-family: 'date';
	src: url('fonts/CormorantGaramond-Medium.ttf') format('truetype');
}

.main-image {
	width: 100%;
	aspect-ratio: 1;
	background-size: cover;
	background-position: top;
	background-image: url('images/main-image.jpg');
}

.main-title {
	font-family: 'main-title';
	font-size: 38px;
	color: #413937;
}

.main-button {
	height: 49px;
	background-color: #4A403E;
	color: white;
	border-radius: 24px;
	text-decoration: none;
	cursor: pointer;
	font-family: 'main-text';
	display: inline-block;
	transition: opacity .3s;
	display: flex;
	justify-content: center;
	align-items: center;
}

.main-button:hover,
.main-button:active {
	opacity: .7;
}

.main-text {
	font-family: 'main-text';
	font-size: 16px;
	color: rgba(65, 57, 55, 0.76);
	line-height: 130%;
}

.main-input {
	padding: 14px 24px;
	border-radius: 24px;
	border: 1px solid #4B403D;
	outline: none;
	font-family: 'main-text';
	font-size: 16px;
	color: rgba(65, 57, 55, 0.76);
}

.main-input::placeholder {
	color: rgba(75, 64, 61, 0.71);
}

.small-title {
	color: #4A403E;
	font-family: 'main-text';
	font-size: 16px;
	line-height: 130%;
}

.location {
	border-top-right-radius: 15px;
	border-top-left-radius: 15px;
	margin-top: -15px;
	background-color: #F7F3EA;
	padding: 0 16px;
	text-align: center;
	padding-top: 42px;
	padding-bottom: 65px;
}

.location__names {
	margin-bottom: 16px;
}

.location__date {
	font-family: 'date';
	font-size: 46px;
	color: #413937;
	display: flex;
	column-gap: 8px;
	justify-content: center;
	align-items: center;
	margin-top: 36px;
}

.location__vertical {
	height: 42px;
	width: 2px;
	background-color: rgba(46, 46, 46, 0.30);
	border-radius: 10%;
}

.location__block {
	padding: 32px 24px 38px 24px;
	border-radius: 15px;
	background-color: #F2EBE3;
	margin-top: 60px;
	margin-bottom: 50px;
}

.location__heart {
	margin: 26px;
}

.location__address {
	margin-top: 24px;
}

.location__image {
	margin-top: 32px;
	margin-bottom: 28px;
	width: calc(100% + 48px);
	margin-left: -24px;
}

.location .main-button {
	width: 203px;
	justify-self: center;
	height: 41px;
}

.location__timing {
	margin-top: 22px;
	display: flex;
	height: 232px;
}

.location__time {
	margin-right: 15px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	font-family: 'date';
	font-size: 30px;
}

.location__list {
	margin-left: 22px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	font-family: 'main-text';
	text-transform: uppercase;
	padding-top: 14px;
	padding-bottom: 3px;
	align-items: start;
}

.location__line {
	margin-top: 20px;
	align-self: center;
	margin-bottom: 8px;
}

.history {
	border-top-right-radius: 15px;
	border-top-left-radius: 15px;
	margin-top: -15px;
	background-color: #4A403E;
	padding: 50px 16px;
}

.history__titles .main-title {
	color: #F7F3EA;
}

.history__titles .main-title:nth-of-type(2) {
	margin-left: 47px;
}

.history__images {
	margin-top: 36px;
	display: flex;
	flex-direction: column;
	align-items: end;
	margin-right: 8px;
}

.history__image {
	width: 140px;
	aspect-ratio: 1;
	background-size: cover;
	border-radius: 10px;
}

.history__image:nth-of-type(1) {
	background-image: url('images/history-image-1.png');
	background-position: center;
	transform: rotate(-12.518deg);
	margin-right: 80px;
}

.history__image:nth-of-type(2) {
	background-image: url('images/history-image-2.png');
	background-position: top;
	transform: rotate(8.553deg);
	margin-top: -50px;
}

.history .main-text {
	color: #F7F3EA;
	margin-top: 32px;
}

.wishes {
	padding: 50px 16px;
	background-color: #F7F3EA;
}

.wishes .main-title {
	text-align: center;
}

.wishes__items {
	display: flex;
	flex-direction: column;
	row-gap: 16px;
	margin-top: 24px;
}

.wishes__item {
	border-radius: 15px;
	background-color: #F2EBE3;
	padding: 34px 24px;
	display: flex;
	flex-direction: column;
	row-gap: 18px;
	align-items: center;
	text-align: center;
}

.wishes__item--car {
	row-gap: 32px;
}

.wishes__item--rotated {
	border: 1px dashed #4A403E;
	background-color: transparent;
	transform: rotate(-3deg);
	row-gap: 30px;
}

.feedback {
	background-color: #F7F3EA;
	padding: 16px 16px 100px 16px;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.feedback .main-text {
	margin-top: 22px;
	text-align: center;
	max-width: 314px;
}

.feedback__line {
	margin: 32px 0;
}

.feedback__inputs {
	display: flex;
	flex-direction: column;
	row-gap: 12px;
	width: 100%;
	margin-bottom: 28px;
}

.feedback__block {
	text-align: center;
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-gap: 16px 12px;
	width: 100%;
}

.feedback .small-title {
	grid-column: 1 / 3;
}

.feedback__send {
	width: 100%;
	margin-top: 32px;
}

.feedback__button {
	border: 1px solid rgba(75, 64, 61, 0.65);
	background: rgba(74, 64, 62, 0.65);
	cursor: pointer;
	font-family: 'main-text';
	height: 49px;
	color: white;
	border-radius: 24px;
	text-decoration: none;
	display: flex;
	align-items: center;
	justify-content: center;
}

.feedback__button--active {
	background-color: #4A403E;
	border: none;
	cursor: auto;
}

.marquee {
	width: 100%;
	overflow: hidden;
	background-color: #F2EBE3;
	padding: 10px 0;
	white-space: nowrap;
}

.marquee__content {
	display: inline-block;
	animation: marquee 16s linear infinite;
	white-space: nowrap;
}

.marquee__content span {
	display: inline-block;
	padding: 0 16px;
	font-size: 16px;
	color: #867F7A;
	font-family: 'main-text';
}

.marquee__dot {
	padding: 0 10px !important;
	color: #999;
}

@keyframes marquee {
	0% {
		transform: translateX(0);
	}

	100% {
		transform: translateX(-50%);
	}
}

.marquee:hover .marquee__content {
	animation-play-state: paused;
}