*, *:after, *:before {
	margin: 0;
	padding: 0;
	font-family: "Averta", sans-serif;
	font-weight: 400;
}

body {
	background-color: #FBF7F6;
}
body>header {
	background: #7E6551;
	display: flex;
    align-items: center;
    justify-content: space-between;
}
body>section {
	margin-top: 220px;
}
.center {
	padding-left: 360px;
	padding-right: 360px;
}


h1 {
	color: #7E6551;
	font-size: 40px;
	text-transform: uppercase;
}
h2 {
	color: #000000;
	font-size: 25px;
	line-height: 21px;
	text-transform: uppercase;
}
p {
	color: #23262F;
	font-size: 18px;
	line-height: 25px;
}
a {
	color: white;
	font-size: 16px;
	line-height: 24px;
	text-decoration: none;
}

.button {
	display: block;
	width: max-content;
	font-size: 15px;
	line-height: 20px;
	padding: 14px 24px;
	border-radius: 6px;
}
.white-button {
	color: #000;
	background-color: #fff;
}
.brown-button {
	color: #E5E5E5;
	background-color: #7E6551;
}


/* Header */
header {
	height: 100px;
}
.header img {
	width: 100px;
}
#main-nav {
	margin-right: 133px;
}
#main-nav>a, #hidden-nav>a {
	margin-right: 30px;
}
#main-nav>a:last-child, #hidden-nav>a:last-child {
	margin-right: 0;
}
#hidden-nav {
	display: none;
	justify-content: center;
	width: 100%;
	height: max-content;
	padding: 15px 0;
	background-color: #FBF7F5;
}
#hidden-nav>a {
	color: #23262F;
}


/* Main */
.main {
	margin-top: 0;
	display: flex;
	width: 100%;
}
.main .main-container-info {
	display: block;
	flex-shrink: 1;
	position: relative;
	max-height: max-content;
	overflow: hidden;
	background: #23262F;
}
.main .filter-background-main-title {
    position:absolute;
    width: 100%;
    height: 100%;
    animation: 0.35s ease-out forwards select-home-in;
}
@keyframes select-home-in {
  100% {
    opacity: 1;
  }
  0% {
    opacity: 0;
  }
}
.main .main-container-info:has(> .title-info:hover) .filter-background-main-title {
	animation: 0.35s ease-out forwards select-home-out;
}
@keyframes select-home-out {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
.main .about-place {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}
.main .title-info {
	position: absolute;
	top: 0;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	box-sizing: border-box;
	padding: 140px 120px;
	width: 100%;
	height: 100%;
	z-index: 2;
}
.main .title-info-right {
	align-items: flex-end;
	text-align: right;
}
.main .title-info h1 {
	color: #fff;
	font-size: 60px;
	line-height: normal;
	font-weight: 600;
}
.main .title-info p {
	color: #fff;
	font-size: 30px;
	line-height: normal;
	text-transform: uppercase;
}
.main .about-info {
	display: flex;
	flex-direction: column;
}
.main .about-info span {
	font-weight: 600;
}
.main .about-info>* {
	margin-bottom: 30px;
}
.main .about-info>*:last-child {
	margin-bottom: 0;
}
.main .background-main-title-container {
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 1;
}
.main .background-main-title {
	animation: 0.35s ease-out forwards select-home-filter-in;
}
@keyframes select-home-filter-in {
  100% {
  	scale: 1.05;
    /*filter: blur(10px);*/
  }
  0% {
  	scale: 1;
    /*filter: blur(0px);*/
  }
}
.main .main-container-info:has(> .title-info:hover) .background-main-title {
	animation: 0.35s ease-out forwards select-home-filter-out;
}
@keyframes select-home-filter-out {
  0% {
  	scale: 1.05;
    /*filter: blur(10px);*/
  }
  100% {
  	scale: 1;
    /*filter: blur(0px);*/
  }
}


/* About */
.about .description-body {
	display: flex;
	margin-top: 60px;
}
.about .text-info {
	margin-top: 25px;
}
.about .text-info p {
	margin-bottom: 14px;
}
.about p>span {
	color: #23262F;
	opacity: 0.55;
}
.about .description-body>* {
	margin-bottom: 20px;
}
.about .description-body>*:last-child, .about .text-info p:last-child {
	margin-bottom: 0;
}
.about .description-body>*:nth-child(1) {
  	width: 46.7%;
  	margin-right: 3.3%;
}
.about .description-body>*:nth-child(2) {
  	width: 50%;
}
.slider-images {
	padding-bottom: 57px;
}
.slider-images img {
	margin-right: 10px;
}

.about .booking {
	width: 100%;
    margin-top: 60px;
	display: flex;
}
.about .booking>* {
	width: 100%;
}
.about .booking .brown-button {
	margin-top: 45px;
}

.info-table {
	margin-top: 45px;
	padding: 33px 35px 42px;
	background-color: #FDFBFA;
}
.info-table h1 {
	font-size: 21px;
	font-weight: 600;
	text-transform: none;
	color: #23262F;
}
.info-table h2 {
	display: flex;
	align-items: center;
	font-size: 18px;
	line-height: 26px;
	font-weight: 600;
	text-transform: none;
	color: #23262F;
	margin-bottom: 10px;
}
.info-table h2 img {
	margin-right: 8px;
}
.info-table p {
	display: flex;
	align-items: flex-start;
	margin-bottom: 8px;
}
.info-table p:last-child {
	margin-bottom: 0;
}
.info-table p img {
	margin-right: 15.5px;
	margin-left: 2px;
}
.info-table .info-grid {
	display: grid;
	grid-template-columns: repeat(3, 30%);
	grid-column-gap: 4.78%;
	grid-row-gap: 39px;
	margin-top: 26px;
}


/* Contancts */
.map .connection-map {
	margin-top: 18px;
	display: flex;
	justify-content: space-between;
}
.map .connection-map * {
	color: #2F323A;
}
.map .connection-map .link-flex {
	text-align: right;
}
.map .address-container {
	display: flex;
}
.map .address {
	margin-left: 18px;
}
.map .address>a {
	margin-bottom: 2px;
}
.map .address>a:first-child {
	margin-bottom: 0;
}
.map .link-flex>a {
	margin-left: 25px;
}
.map .link-flex>a:first-child {
	margin-left: 0;
}


/* Footer */
.footer {
	position: relative;
	display: flex;
	justify-content: space-between;
	margin: 0;
	margin-top: 124px;
	background-color: #7E6551;
	padding-top: 59px;
	padding-bottom: 52px;
}
.footer .pskov-logo {
	position: absolute;
	right: 462px;
	bottom: 0;
}
.footer .left-part-footer {
	display: flex;
	flex-wrap: wrap;
	z-index: 10;
	padding-right: 20px;
}
.footer .left-part-footer img {
	height: 60px;
	margin-bottom: 20px;
	margin-right: 58px;
}
.footer .nav-footer {
	margin-top: -10px;
}
.footer .nav-footer a {
	display: block;
	color: #FFFFFF;
	margin-top: 10px;
}
.footer .right-part-footer {
	position: relative;
	text-align: right;
}
.footer .right-part-footer h1 {
	font-weight: 700;
	font-size: 21px;
	line-height: 26px;
	text-align: right;
	color: #FFFFFF;
}
.footer .right-part-footer .networks {
	margin-left: -12px;
	margin-top: 9px;
}
.footer .right-part-footer .networks a {
	margin-left: 12px;
	width: max-content;
}
.footer .right-part-footer>a {
	color: #FFFFFF;
}
.footer .right-part-footer>.link-to-site {
	display: block;
	margin-top: 24px;
}


/* Body */
@media (max-width: 768px) {
	body>section {
		margin-top: 180px;
	}
}
@media (max-width: 1720px) {
	.center {
		padding-left: 220px;
		padding-right: 220px;
	}
}
@media (max-width: 1470px) {
	.center {
		padding-left: 160px;
		padding-right: 160px;
	}
}
@media (max-width: 1366px) {
	.center, .main .title-info {
		padding-left: 83px;
		padding-right: 83px;
	}
}
@media (max-width: 768px) {
	.center, .main .title-info {
	    padding-left: 32px;
	    padding-right: 32px;
	}
	.main .title-info {
		padding-top: 80px;
		padding-bottom: 80px;
	}
}
@media (max-width: 550px) {
	h1 {
		font-size: 30px;
	}
	h2 {
		font-size: 18px;
		line-height: 21px;
	}
	p, a {
		font-size: 12px;
		line-height: 18px;
	}
	.button {
		font-size: 10px;
		padding: 7px 17px;
		border-radius: 4px;
	}
	body>section {
		margin-top: 100px;
	}
}
@media (max-width: 380px) {
	.center, .main .title-info {
	    padding-left: 10px!important;
	    padding-right: 10px!important;
	}
}


/* Header */
@media (max-width: 1366px) {
	#main-nav {
		margin-right: 0;
	}
}
@media (max-width: 1060px) {
	#main-nav {
		display: none;
	}
	#hidden-nav {
		display: flex;
		justify-content: center;
	}
}
@media (max-width: 550px) {
	#hidden-nav {
		display: none;
	}
}


/* Main */
@media (max-width: 1200px) {
	.main {
		flex-direction: column;
	}
	.main .title-info {
		align-items: flex-start;
		text-align: left;
	}
}
@media (max-width: 768px) {
	.main .background-main-title-container, .main .background-main-title {
		height: 600px;
	}
}
@media (max-width: 550px) {
	.main .title-info h1 {
		font-size: 40px;
	}
	.main .title-info p {
		font-size: 18px;
	}
	.main .about-info>* {
		margin-bottom: 14px;
	}
	.main .about-info>*:last-child {
		margin-bottom: 0;
	}
	.main .title-info {
		padding: 30px 27px;
	}
	.main .background-main-title-container, .main .background-main-title {
		height: 450px;
	}
}
@media (max-width: 400px) {
	.main .background-main-title-container, .main .background-main-title {
		height: 350px;
	}
}


/* About */
@media (max-width: 1000px) {
	.about .description-body {
		flex-direction: column;
	}
	.about .description-body>*:nth-child(1), .about .description-body>*:nth-child(2) {
		margin-right: 0;
		width: 100%;
	}
	.about .description-body>*:nth-child(1) {
		margin-bottom: 25px;
		max-width: 540px;
	}
}
@media (max-width: 768px) {
	.about .description-body>*:nth-child(2) {
		margin-bottom: 57px;
	}
	.about>* {
		margin-top: 65px!important;
	}
	.info-table .info-grid {
    	grid-template-columns: repeat(2, auto);
    	grid-column-gap: 4.43%;
 	}
 	.about .booking {
 		flex-direction: column;
 	}
	.about .booking>*:first-child {
		margin-bottom: 45px;
	}
}
@media (max-width: 550px) {
	.about>* {
		margin-top: 35px!important;
	}
	.about .text-info {
		margin-top: 16px;
	}
	.about .text-info p {
		margin-bottom: 8px;
	}
	.about .description-body>*:nth-child(1) {
		margin-bottom: 18px;
	}
	.about .description-body>*:nth-child(2) img, .about .description-body>*:nth-child(2) {
		height: 35vw; 
	}
	.slick-prev, .slick-next {
		top: calc(35vw + 10px);
	}
	.info-table {
		padding: 12px 12px 16px;
	}
	.info-table .info-grid {
		margin-top: 20px;
	}
	.info-table h1 {
		font-size: 16px;
	}
	.info-table h2 {
		font-size: 12px;
		line-height: 18px;
		margin-bottom: 8px;
	}
	.info-table h2 img {
		margin-right: 3px;
		width: 17px;
	}
	.info-table p {
		margin-bottom: 4px;
	}
	.info-table p:last-child {
		margin-bottom: 0;
	}
	.info-table p img {
		width: 13px;
		margin-right: 7px;
	}
	.about .booking>*:first-child {
		margin-top: 33px;
	}
	.about .booking .brown-button {
		margin-top: 25px;
	}
	.about .booking>*:last-child, .about .booking>*:last-child * {
		height: 355px;
	}
}
@media (max-width: 400px) {
	.info-table .info-grid {
    	grid-template-columns: 1fr;
    	grid-row-gap: 20px;
 	}
}


/* Contancts */
@media (max-width: 768px) {
	.map .address-container #address-title {
		display: none;
	}
	.map .address {
		margin-left: 0;
	}
	.map .link-flex {
		display: flex;
		flex-direction: column;
		align-items: flex-end;
	}
	.map .link-flex>* {
		margin: 0!important;
		margin-bottom: 2px!important;
	}
	.map .link-flex>*:last-child {
		margin: 0;
	}
}
@media (max-width: 450px) {
	.map .connection-map {
		flex-direction: column;
		margin-top: 16px;
	}
	.map .connection-map>* {
		text-align: left;
		align-items: flex-start;
		margin-bottom: 16px;
	}
	.map .connection-map>*:last-child {
		margin-bottom: 0;
	}
}


/* Footer */
@media (max-width: 768px) {
	.footer .left-part-footer img {
		margin-right: 42px;
	}
}
@media (max-width: 550px) {
	.footer .nav-footer a {
		margin-top: 0;
		margin-bottom: 4px;
	}
	.footer .nav-footer a:last-child {
		margin-bottom: 0;
	}
	.footer .nav-footer {
		margin-top: 0;
	}
	.footer .right-part-footer h1 {
		font-size: 16px;
		line-height: 20px;
	}
	.footer .right-part-footer .networks a {
		margin-left: 5px;
	}
	.footer .right-part-footer .networks a img {
		width: 24px;
	}
	.footer .right-part-footer>.link-to-site {
		margin-top: 9px;
	}
}
@media (max-width: 325px) {
	.footer {
		flex-wrap: wrap;
	}
	.footer .right-part-footer {
		margin-top: 30px;
    	text-align: left;
	}
	.footer .right-part-footer .networks {
		margin-left: -4px;
		margin-right: -12px;
	}
	.footer .right-part-footer h1 {
		text-align: left;
	}
}