@import url("fonts.css");
@import url("null.css");

body {
	font-family: "Source Sans Pro", sans-serif;
}
/* ---------------------- */
[class*="__container"] {
	max-width: 1054px;
	padding-inline: 15px;
	margin: 0 auto;
}
/* ---------------------- */
[class*="page__"],
.footer {
	padding-block: 64px;
}
@media (max-width: 767.98px) {
	[class*="page__"],
	.footer {
		padding-block: 32px;
	}
}
/* ---------------------- */

/* Components */
.button {
	border-radius: 4px;
	background-color: #d8ae5e;
	color: #f4f4f4;
	text-transform: uppercase;
	padding: 8px 16px;
	transition: background-color 0.3s;
}
@media (any-hover: hover) {
	.button:hover {
		background-color: #9a7c43;
	}
}
.header-block {
	text-align: center;
}
.header-block::after {
	content: "";
	width: 120px;
	height: 1px;
	background-color: #d8ae5e;
	margin-top: 32px;
}
.header-block__title {
	font-family: "Bodoni 72", serif;
	text-transform: uppercase;
	font-size: 64px;
}
.header-block__title:not(:last-child) {
	margin-bottom: 8px;
}
.header-block__text {
	letter-spacing: 0.8px;
	line-height: 1.2;
	text-transform: uppercase;
}
.header-block__text p:not(:last-child) {
	margin-bottom: 5px;
}
@media (max-width: 767.98px) {
	.header-block__title {
		font-size: 46px;
	}
	.header-block::after {
		margin-top: 16px;
	}
	.header-block__text {
		font-size: 14px;
	}
}
@media (max-width: 479.98px) {
	.header-block__title {
		font-size: 32px;
	}
}

/* ---------------------- */
.wrapper {
	min-height: 100%;

	display: flex;
	flex-direction: column;
}
.wrapper > main {
	flex-grow: 1;
}
/* ---------------------- */
.hero {
	position: relative;
	color: #fff;
}
.hero::before {
	content: "";
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	background-color: #000;
	z-index: 2;
	opacity: 0.6;
}
.hero__container {
	position: relative;
	z-index: 3;
	min-height: 100svh;

	display: flex;
	flex-direction: column;
	align-items: center;
	row-gap: 15.533981svh;
}
.hero__header {
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
}
.hero__logo {
	width: 12.5rem;
	height: 9.375rem;
}
.menu__list {
	display: flex;
	justify-content: center;

	/* ОБОВ'ЯЗКОВО */
	flex-wrap: wrap;

	column-gap: 16px;
	row-gap: 15px;
}
@media (any-hover: hover) {
	.menu__link:hover {
		text-decoration: underline;
	}
}
.hero__content {
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	row-gap: 2.427184svh; /* 20/824 */
}
.hero__title {
	text-transform: uppercase;
	font-family: "Bodoni 72", serif;
	font-size: 96px;
}
.hero__label {
	letter-spacing: 3.6px;
	font-size: 24px;
	text-transform: uppercase;
}
.hero__image {
	position: absolute;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	object-fit: cover;
}

@media (max-width: 767.98px) {
	.hero__title {
		font-size: 66px;
	}
	.menu__link {
		font-size: 20px;
	}
}
/* ---------- */
.about__header {
	margin-bottom: 32px;
}
.about__content {
	max-width: 600px;
	margin: 0 auto;
	text-align: center;
}
.about__text {
	letter-spacing: 1px;
	line-height: 1.5;
	font-size: 20px;
}
.about__text:not(:last-child) {
	margin-bottom: 32px;
}

.about__text p:not(:last-child) {
	margin-bottom: 10px;
}
@media (max-width: 767.98px) {
	.about__text {
		font-size: 16px;
	}
	.about__text:not(:last-child) {
		margin-bottom: 16px;
	}
	.about__header {
		margin-bottom: 16px;
	}
}
/* ------------------- */
.amenities__header:not(:last-child) {
	margin-bottom: 64px;
}
.amenities__section:not(:last-child) {
	margin-bottom: 74px;
}
.section-amenities__title {
	text-align: center;
	text-transform: uppercase;
	letter-spacing: 3.6px;
	font-size: 24px;
}
.section-amenities__title:not(:last-child) {
	margin-bottom: 32px;
}
.section-amenities__items {
	display: flex;
	flex-wrap: wrap;
	gap: 15px;
	justify-content: center;
}
.section-amenities__item {
	border-radius: 4px;
	overflow: hidden;

	flex-basis: 291px;
}

@media (any-hover: hover) {
	.section-amenities__item:hover .section-amenities__image {
		transform: scale(1.05);
	}
}
.section-amenities__link {
	position: relative;
	display: flex;
	justify-content: center;
	/* align-items: center; */
	text-align: center;
	padding: 11px;
	aspect-ratio: 291 / 286;
}
.section-amenities__link::after {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	content: "";
	background-color: #000;
	opacity: 0.2;
}
.link_poster{
		position: relative;
	display: flex;
	justify-content: center;
	/* align-items: center; */
	text-align: center;
	padding: 11px;
	aspect-ratio: 291 / 286;
}
.link_poster::after {
	position: absolute;
	/* width: 100%; */
	height: 100%;
	top: 0;
	left: 0;
	content: "";
	background-color: #000;
	opacity: 0.2;
}
.section-amenities__label {
	position: relative;
	z-index: 2;
	color: #fff;
	text-transform: uppercase;
	font-weight: 600;
	letter-spacing: 3.2px;
	font-size: 21px;
	line-height: 1.2;
}
.section-amenities__image {
	position: absolute;
	top: 0;
	left: 0;
	transition: all 0.5s;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.section-amenities__image1 {
	position: absolute;
	top: 0;
	/* left: 0; */
	transition: all 0.5s;
	/* width: 100%; */
	height: 100%;
	object-fit: cover;
}
@media (max-width: 1049.98px) {
	.section-amenities__items {
		justify-content: center;
	}
}
@media (max-width: 767.98px) {
	.amenities__header:not(:last-child) {
		margin-bottom: 32px;
	}
	.amenities__section:not(:last-child) {
		margin-bottom: 32px;
	}
}
/* --------------- */
.contacts {
	background-color: #f4f4f4;
}
.contacts__container {
	display: flex;
	flex-direction: column;
	gap: 64px;
}
.contacts__items {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 32px;
}

.contacts__link {
	letter-spacing: 0.8px;
	display: flex;
	gap: 10px;
	align-items: center;
}

.contacts__link--phone::before {
	content: url("../img/contacts/phone.svg");
}
.contacts__link--mail::before {
	content: url("../img/contacts/mail.svg");
}
.contacts__link--map::before {
	content: url("../img/contacts/map.svg");
}
@media (any-hover: hover) {
	.contacts__link:hover {
		text-decoration: underline;
	}
}

@media (max-width: 767.98px) {
	.contacts__container {
		gap: 32px;
	}
	.contacts__items {
		gap: 15px;
	}
}

/* --------------- */
.social {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	column-gap: 32px;
	row-gap: 16px;
}
/* --------------- */
.footer__container {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 64px;
	letter-spacing: 0.8px;
}

.footer__text {
	line-height: 1.5;
	text-align: center;
}
.footer__copy {
	text-align: center;
}
.footer__copy p:not(:last-child) {
	margin-bottom: 15px;
}
.footer__copy a {
	font-weight: 600;
}
@media (any-hover: hover) {
	.footer__text a:hover {
		text-decoration: underline;
	}
	.footer__copy a:hover {
		text-decoration: underline;
	}
}
@media (max-width: 767.98px) {
	.footer__container {
		gap: 32px;
	}
}
/* ---------------------------- */
[class*="__forms"] {
	background-color: rgb(171, 242, 242);
	width: 31.25rem;
	height: 2.8125rem;
	border-radius: 0.3125rem;
    font-size: 1rem;
	margin-bottom: 1.25rem;
	padding-left: 0.9375rem;
}
#myForm {
	display: flex;
	flex-direction: column ;
	align-items: center;
	padding-bottom: 2.1875rem;
}

.forms {
	margin-top: 3.125rem;
	width: 37.5rem;
	padding-bottom: 3.125rem;
}
.form4{
	font-weight: 600;
	font-size: 1.625rem;
	padding: 1.25rem;
}
.form_a__forms {
	padding: 0.9375rem;
	height: 9.375rem;

}
.form_s {
	border-radius: 4px;
	background-color: #d8ae5e;
	color: #f4f4f4;
	text-transform: uppercase;
	padding: 8px 16px;
	transition: background-color 0.3s;
	/* padding: 1.25rem; */
}

@media (max-width: 767.98px) {
	.form_1__forms,
	.form_2__forms,
	.form_a__forms{
		width: 27.875rem;
	}

}
@media (max-width: 430px) {
	.form_1__forms,
	.form_2__forms,
	.form_a__forms{
		width: 15.625rem;
	}
}