@font-face {
  font-family: 'Rubik';
  font-style: italic;
  font-weight: 300 900;
  font-display: swap;
  src: url(iJWEBXyIfDnIV7nEnXO61F3f.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Rubik';
  font-style: italic;
  font-weight: 300 900;
  font-display: swap;
  src: url(iJWEBXyIfDnIV7nEnXq61F3f.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url(iJWKBXyIfDnIV7nMrXyi0A.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url(iJWKBXyIfDnIV7nFrXyi0A.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url(iJWKBXyIfDnIV7nPrXyi0A.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url(iJWKBXyIfDnIV7nBrXw.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


:root {
    --bg: #ffffff;
    --color: #535252;
    --logo: #535252;
    --logo-hover: #535252c4;
    --btn-bg: #b750b7;
    --btn-bg-hover: #b750b7a3;
}

* {
	margin: 0;
	padding: 0;
	list-style-type: none;
	box-sizing: border-box;
	font-family: "Rubik", serif;
	transition: .3s;
}

body {
    background: var(--bg);
    height: 100vh;
    overflow: hidden;
}
body.baners {
    overflow: auto;
}

a {
    text-decoration: none;
    color: #fff;
    transition: 0.3s all;
}
input,
textarea {
	outline: none;
	resize: none;
}
.header {
    width: 100%;
}
.header>.menu-header {
    width: 1050px;
    margin: 0 auto;
    display: flex;
    padding: 0.3rem 0rem;
    gap: 1.5rem;
    align-items: center;
    justify-content: space-between;
    position: relative;
}
.header>.menu-header>.logo {
	color: var(--logo);
	font-size: 1.5rem;
	font-weight: 700;
}
.header>.menu-header>.logo:hover {
	opacity: .8;
}
.header>.menu-header>.logo>img {
    width: 10rem;
}

.header>.menu-header>.auth {
	display: flex;
	gap: .6rem;
	background: var(--btn-bg);
	padding: .8rem 2rem;
	border-radius: 1.5rem;
	font-size: 1rem;
	font-weight: 600;
	align-items: center;
	color: #ffffff;
}
.header>.menu-header>.auth:hover {
    background: var(--btn-bg-hover);
}

.wrapper {
    width: 1050px;
    margin: 0 auto;
    display: flex;
    height: max-content;
    flex-direction: column;
}
.wrapper>h2 {
    color: var(--color);
    font-size: 1.5rem;
    line-height: 3rem;
    padding-bottom: 1rem;
    padding-top: 2rem;
}
.wrapper>.list-baner {
    display: flex;
    gap: 1rem;
}
.wrapper>.list-baner>.block {display: block;background: #F5F5F5;padding: 1rem 1rem;border-radius: 1rem;box-shadow: 0 2px 2px #1f1f1f2b;width: max-content;}
.wrapper>.list-baner>.block>p {
    font-size: 1.1rem;
    color: #535252;
    width: 100%;
}
.wrapper>.list-baner>.block:hover {
    background: #e7e7e7;
}


.baner {
	width: 1050px;
    margin: 0 auto;
    height: max-content;
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
}
.baner>h1 {
	color: var(--color);
	font-size: 2rem;
	padding-bottom: 2rem;
}
.baner>.flex {
    display: flex;
    gap: 1.5rem;
}
.baner>.flex>.left {
    height: max-content;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: #F5F5F5;
    padding: .5rem;
    border-radius: .5rem;
}
.baner>.flex>.left>a {
    color: var(--color);
    width: 4rem;
    height: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 600;
    border-radius: .5rem;
    background: #fff;
}
.baner>.flex>.left>a:hover, .baner>.flex>.left>a.active {
    background: var(--btn-bg);
    color: #fff;
}
.baner>.flex>.right {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}
.baner>.flex>.right>.title {
    display: flex;
    gap: .9rem;
    flex-direction: column;
    /* background: #F5F5F5; */
    border-radius: .5rem;
    height: max-content;
    /* padding: 1rem; */
    padding: 0;
}
.baner>.flex>.right>.title>.block {
    display: flex;
    justify-content: space-between;
    font-size: .9rem;
    padding-bottom: .4rem;
    color: var(--color);
}
.baner>.flex>.right>.title>.block:not(:last-child) {
    border-bottom: 1px solid #53525230;
}
.baner>.flex>.right>.title>.block:last-child {
	padding-bottom: 0;
}
.baner>.flex>.right>.title>.block>span:nth-child(2) {
    font-weight: 600;
}
.baner>.flex>.right>.images {
    position: relative;
    overflow: hidden;
    border-radius: .5rem;
    cursor: pointer;
	height: 19rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.baner>.flex>.right>.images:hover::after {
    opacity: 1;
}

.baner>.flex>.right>.images::after {
    content: "";
    position: absolute;
    background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA1MTIgNTEyIj48IS0tISBGb250IEF3ZXNvbWUgUHJvIDcuMC4xIGJ5IEBmb250YXdlc29tZSAtIGh0dHBzOi8vZm9udGF3ZXNvbWUuY29tIExpY2Vuc2UgLSBodHRwczovL2ZvbnRhd2Vzb21lLmNvbS9saWNlbnNlIChDb21tZXJjaWFsIExpY2Vuc2UpIENvcHlyaWdodCAyMDI1IEZvbnRpY29ucywgSW5jLiAtLT48cGF0aCBmaWxsPSIjNDA3QkZGIiBkPSJNMjA4IDQ4YTE2MCAxNjAgMCAxIDEgMCAzMjAgMTYwIDE2MCAwIDEgMSAwLTMyMHptMCAzNjhjNDguOCAwIDkzLjctMTYuOCAxMjkuMS00NC45TDQ3MSA1MDVjOS40IDkuNCAyNC42IDkuNCAzMy45IDBzOS40LTI0LjYgMC0zMy45TDM3MS4xIDMzNy4xQzM5OS4yIDMwMS43IDQxNiAyNTYuOCA0MTYgMjA4IDQxNiA5My4xIDMyMi45IDAgMjA4IDBTMCA5My4xIDAgMjA4IDkzLjEgNDE2IDIwOCA0MTZ6bTAtMzA0Yy0xMy4zIDAtMjQgMTAuNy0yNCAyNGwwIDQ4LTQ4IDBjLTEzLjMgMC0yNCAxMC43LTI0IDI0czEwLjcgMjQgMjQgMjRsNDggMCAwIDQ4YzAgMTMuMyAxMC43IDI0IDI0IDI0czI0LTEwLjcgMjQtMjRsMC00OCA0OCAwYzEzLjMgMCAyNC0xMC43IDI0LTI0cy0xMC43LTI0LTI0LTI0bC00OCAwIDAtNDhjMC0xMy4zLTEwLjctMjQtMjQtMjR6Ii8+PC9zdmc+);
    background-color: #f5f5f554;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-size: 2rem;
    background-repeat: no-repeat;
    margin: 0 auto;
    background-position: center;
    transition: opacity .2s ease-in-out;
    opacity: 0;
}

.baner>.flex>.right>.images>img {
    width: auto;
    height: 100%;
    border-radius: .5rem;
}
#map {
    width: 100%;
    height: 23rem;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 0 11px 1px #1f1f1f2b;
	margin-top: 3rem;
}

.fancybox {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000000c2;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.fancybox>.link {
    position: absolute;
    top: .5rem;
    right: .5rem;
    height: max-content;
    display: flex;
    flex-direction: row;
    gap: .5rem;
    background: #232323;
    padding: .5rem;
    border-radius: .5rem;
    z-index: 9999999;
}
.fancybox>.link>button {
    color: #fff;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 600;
    border-radius: .5rem;
    background: var(--btn-bg);
    border: none;
    cursor: pointer;
}
.fancybox>.link>button>svg {
    width: 1.5rem;
    height: 1.5rem;
}
.fancybox>.link>button:hover {
    transform: scale(1.05);
}
.fancybox>.images-box {
	overflow: hidden;
	width: auto;
	height: 50%;
}
.fancybox>.images-box.zoom-plus {
	width: 100%;
	height: max-content;
	cursor: grabbing;
	transition: none;
}
.fancybox>.images-box.zoom-plus>img {
	cursor: grabbing;
}
.fancybox>.images-box>img {
    cursor: zoom-in;
    width: 100%;
    height: 100%;
    transition: none;
}

.logauth {
    position: absolute;
    right: 0;
    top: 86%;
    z-index: 9999;
    background: #f5f5f5;
    padding: 1.5rem;
    border-radius: .5rem;
    box-shadow: 0 0 11px 1px #1f1f1f2b;
	display: none;
}
.logauth.show {
	display: block;
}
.logauth>form>h2 {
    color: var(--color);
    font-size: 1.2rem;
    padding-bottom: .5rem;
    text-align: center;
}
.logauth>form>button {
	font-size: 1.1rem;
	background: var(--btn-bg);
	width: 100%;
	height: 3rem;
	color: #fff;
	border-radius: .5rem;
	border: none;
	cursor: pointer;
}
.logauth>form>button:hover {
	transform: scale(1.03);
	background: var(--btn-bg-hover);
}

.form-group {
    padding-bottom: 1rem;
}
.form-group>label {
    display: block;
    color: #8A8A8A;
    padding-bottom: .2rem;
}
.form-group>.block {
    position: relative;
}
.form-group>.block>input {
    width: 100%;
    height: 50px;
    background: #fff;
    border: 2px solid #c7c7c770;
    border-radius: .5rem;
    padding: 0 1.23rem;
    font-size: 1rem;
    color: #535252;
    font-weight: 500;
}
.form-group>.block>input::placeholder {
	color: #D5D7D9;
}

.form-group>.block>input:focus, .form-group>.block>input:hover {
    border: 2px solid #407BFF;
    transition: .3s;
}
.form-group>.block>input.error  {
	border: 2px solid #cf080870!important;
}

@media (min-width: 1023px) and (max-width: 1440px){
	.header>.menu-header, .wrapper, .baner {
		width: 900px;
	}
}
@media (min-width: 701px) and (max-width: 1023px){
	.header>.menu-header, .wrapper, .baner {
		width: 650px;
	}
	.baner>h1 {
		font-size: 1.5rem;
	}
	.baner>.flex>.right {
		grid-template-columns: repeat(1, minmax(0, 1fr));
	}
	.baner>.flex>.right>#map {
		grid-column: 1 / 2;
		box-shadow: none;
	}
	.baner {
		padding-bottom: 2rem;
	}
}
@media screen and (max-width: 700px){
	.header>.menu-header, .wrapper, .baner {
        width: 95%;
    }
	.wrapper>h2 {
		padding-top: 1rem;
	}
	.wrapper>.list-baner>.block {
		width: 100%;
		text-align: center;
	}
	.baner {
		padding-top: 1rem;
		padding-bottom: 1rem;
	}
	.baner>h1 {
		font-size: 1.3rem;
	}
	.baner>.flex {
		flex-direction: column;
	}
	.baner>.flex>.right {
		display: flex;
		flex-direction: column;
	}
	.baner>.flex>.right>#map {
		box-shadow: none;
	}
	.baner>.flex>.right>.images {
		height: max-content;
	}
	.baner>.flex>.right>.images>img {
		width: 100%;
		height: 100%;
	}
	.fancybox {
		position: fixed;
	}
	.baner>.flex>.left {
		flex-direction: row;
	}
	.baner>.flex>.left>a {
		margin: 0 auto;
		width: 100%;
	}
}