@font-face {
	font-display: swap;
	font-family: "Montserrat";
	font-style: normal;
	font-weight: 400;
	src: url('./fonts/Montserrat-Regular.woff2') format('woff2'), url('./fonts/Montserrat-Regular.woff') format('woff');
}


@font-face {
	font-display: swap;
	font-family: "Montserrat";
	font-style: normal;
	font-weight: 600;
	src: url('./fonts/Montserrat-SemiBold.woff2') format('woff2'), url('./fonts/Montserrat-SemiBold.woff') format('woff');
}

:root {
	--grey-5: #f2f2f2;
	--grey-70: #4d4d4d;
	--grey-85: #262626;
	--grey-90: #191919;
	--grey-95: #0d0d0d;
	--text-color: #ffffff;
	--title-color: #555555;
	--text-font: "Montserrat", sans-serif;
}

*,
*:before,
*:after {
	box-sizing: border-box;
}

:focus,
:active {
	outline: none;
}

a:focus,
a:active {
	outline: none;
}

nav,
footer,
header,
aside {
	display: block;
}

input,
button,
textarea {
	font-family: inherit;
}

input::-ms-clear {
	display: none;
}

button {
	cursor: pointer;
}

button::-moz-focus-inner {
	padding: 0;
	border: 0;
}

link {
	text-decoration: none;
}

a,
a:visited {
	text-decoration: none;
	color: #FFFFFF;
}

a:hover {
	text-decoration: none;
}

img {
	vertical-align: top;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	padding: 0;
	margin: 0;
	font-size: inherit;
	font-weight: inherit;
}

html,
body {
	position: relative;
	margin: 0;
	width: 100%;
	font-size: 100%;
	line-height: 1;
	-ms-text-size-adjust: 100%;
	-moz-text-size-adjust: 100%;
	-webkit-text-size-adjust: 100%;
	font-family: var(--text-font);
	background-color: rgb(10, 10, 10);
	color: var(--text-color);
	font-synthesis: none;
}

body.lock {
	overflow: hidden;
}

.container {
	position: relative;
	max-width: 1200px;
	width: 100%;
	padding: 0 30px;
	margin: 0 auto;
}

.header {
	position: absolute;
	width: 100%;
	z-index: 10;
}

.loader {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	display: flex;
	justify-content: center;
	align-items: center;
	background-color: var(--grey-95);
	opacity: 0;
	visibility: hidden;
	z-index: 30;
	animation: loading 2s;
}

.loader img {
	width: 250px;
	height: auto;
	animation: loader 2s;
}

.nav {
	display: flex;
	height: 220px;
	width: 100%;
	flex-grow: 1;
}

.nav__section {
	height: 100%;
	display: flex;
	flex-basis: 100%;
	align-items: center;
	gap: 20px;
	font-size: 1.25rem;
}

.nav__section:last-child {
	justify-content: flex-end;
}

.nav__item {
	cursor: pointer;
	transition: 0.3s ease-in-out;
}

.nav__item:hover {
	color: var(--grey-70);
}

.nav__item_border {
	border: 1px solid #FFFFFF;
	height: 40px;
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 0 5px;
}

.nav__item_border:hover {
	border: 1px solid var(--grey-70);
}

.nav__item_border-yellow {
	border: 1px solid #b6615d;
	color: #b6615d;
}

.nav__item_language {
	width: 40px;
	padding: 0;
}

.logo {
	flex-basis: 100%;
	margin: 10px auto 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-transform: uppercase;
}

.logo__img {
	position: relative;
	height: 100px;
}

.logo__title {
	position: relative;
	width: 200px;
	height: auto;
	margin: 10px 0;
}

.burger {
	display: none;
}

.burger__language {
	position: absolute;
	top: 15px;
	left: 15px;
	border: 1px solid #fff;
	width: 50px;
	height: 50px;
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 1.125rem;
}

.burger__btn {
	top: 15px;
	position: absolute;
	right: 15px;
	width: 50px;
	height: 50px;
	cursor: pointer;
	z-index: 11;
}

.burger__btn span,
.burger__btn::before,
.burger__btn::after {
	content: "";
	display: inline-flex;
	position: absolute;
	top: 50%;
	width: 50px;
	height: 1px;
	background-color: #FFFFFF;
	transition: 0.3s;
}

.burger__btn::before {
	transform: translateY(-15px);
}

.burger__btn::after {
	transform: translateY(15px);
}

.burger__btn.active {}

.burger__btn.active span {
	opacity: 0;
}

.burger__btn.active::before {
	transform: rotate(45deg);
}

.burger__btn.active::after {
	transform: rotate(-45deg);
}

.burger__content {
	position: fixed;
	left: 0;
	top: 0;
	height: 100dvh;
	width: 100%;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: center;
	background-color: var(--grey-95);
	font-size: 1.5rem;
	transition: 0.3s ease-in-out;
	visibility: hidden;
	opacity: 0;
	margin-right: -100%;
}

.burger__content .logo {
	height: auto;
	margin: 50px 10px;
}

.burger__content .nav__item {
	padding: 20px;
}

.burger__btn.active+.burger__content {
	visibility: visible;
	opacity: 1;
	margin-right: 0;
}

.hero {
	position: relative;
	background-image: linear-gradient(#00000080, #00000080), url(./images/main.webp);
	background-position: center;
	background-repeat: repeat, no-repeat;
	background-size: auto, cover;
	flex-flow: column;
	justify-content: center;
	align-items: center;
	height: 100dvh;
	display: flex;
}

.hero__slogan {
	position: relative;
	margin: auto;
	display: flex;
	padding: 20px;
	margin: auto;
	border: 1px solid #fff;
}

.hero__slogan span {
	display: flex;
	background-color: #fff;
	position: absolute;
	left: 0;
	top: 0;
	width: 0%;
	height: 100%;
	transition: 0.5s ease-in-out;
}

.hero__slogan:hover span {
	width: 100%;
}

.hero__text {
	position: relative;
	font-size: 1.25rem;
	font-weight: 600;
	transition: 0.5s;
	z-index: 2;
}

.hero__slogan:hover .hero__text {
	color: var(--grey-95);
}

.hero__footer {
	position: absolute;
	bottom: 0;
	width: 100%;
	background-color: var(--grey-95);
	height: 100px;
	display: flex;
}

.hero__footer .contacts {
	animation: fade-up 2s 0.5s both;

}

.contacts {
	display: flex;
	justify-content: space-between;
	align-items: center;
	height: 100%;
	font-size: clamp(1rem, 0.909rem + 0.45vw, 1.25rem);
}

.contacts_section {
	padding: 50px 0;
}

.contacts__adress {
	width: 50%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: start;
	gap: 20px
}

.contacts__item {
	height: 100%;
	text-align: center;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 10px
}

.contacts__item_border {
	border: 1px solid #fff;
	padding: 10px;
}

.discount {
	position: relative;
	filter: grayscale(100%);
	background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url(./images/barber-pole.webp);
	background-position: center;
	background-repeat: repeat, no-repeat;
	background-size: auto, cover;
	flex-flow: column;
	justify-content: center;
	align-items: flex-start;
	height: 500px;
	display: flex;
}

.discount__text {
	text-align: center;
	font-size: clamp(1.875rem, 1.193rem + 3.41vw, 3.75rem);
	line-height: 120%;
	border: 1px solid #fff;
	padding: 10px;
}

.title {
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 50px 0 0;
	font-size: clamp(2rem, 1.818rem + 0.91vw, 2.5rem);
	text-transform: uppercase;
	font-weight: 400;
	text-align: center;
}

.services {
	padding: 20px;
}

.services__item {
	padding: 40px;
	margin: 30px 0;
	display: flex;
	flex-direction: column;
	gap: 20px;
	border: 2px solid var(--grey-85);
}

.services__title {
	font-weight: 400;
	text-transform: uppercase;
	letter-spacing: 2px;
	font-size: clamp(1.125rem, 0.989rem + 0.68vw, 1.5rem);
	line-height: 150%;
}

.services__description {
	margin-top: 1.875rem;
	display: flex;
	gap: 50px;
	font-size: 1rem;
	line-height: 1.375rem;
	font-weight: 600;
}

.services__column {
	position: relative;
}

.services__column:last-child::before {
	content: "";
	height: 80%;
	width: 1px;
	background-color: var(--grey-70);
	position: absolute;
	left: 0;
	top: 50%;
	display: flex;
	align-items: center;
	transform: translate(-25px, -50%);
}

.services__label {
	color: var(--grey-70);
}

.background-dark-grey {
	background-color: var(--grey-95);
}

.contacts__map {
	position: relative;
	width: 50%;
	height: 400px;
	border: 1px solid var(--grey-5);
}

.contacts__map iframe {
	top: 0;
	position: absolute;
	width: 100%;
	height: 100%;
}

.about {
	display: flex;
}

.about__title {
	margin: 10px 0 0;
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 2rem;
	text-transform: uppercase;
	font-weight: 400;
	text-align: center;
}

.about__text {
	width: 50%;
	padding: 1.25rem;
	font-size: 0.875rem;
	line-height: 1.5;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 10px;
}

.about__text p {
	margin: 0;
}

.about__img {
	width: 50%;
	height: auto;
	flex-direction: column;
	flex: 0 0 auto;
	position: relative;
	overflow: hidden;
	min-height: 450px;
}

.about__img img {
	min-height: 300px;
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	object-fit: cover;
}

.footer {
	background: var(--dark-grey);
	height: 200px;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 100px
}

.footer img {
	height: 40px;
}

.booking-btn {
	border-radius: 50%;
	font-size: 1rem;
	line-height: 1.25rem;
	cursor: pointer;
	font-weight: 600;
	height: 100px;
	width: 100px;
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: center;
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 9;
	transition: .3s;
	box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.3);
	animation: pulse 2.25s infinite cubic-bezier(0.16, 0, 0, 1);
	background-color: #5c2b2b;
	color: #fff;
	text-transform: uppercase;
}

@media (prefers-reduced-motion: no-preference) {
	.in-view {
		animation: fade-up 0.3s 0.1s both;
	}

	.not-in-view {
		opacity: 0;
	}
}

@keyframes loading {
	0% {
		opacity: 1;
		visibility: visible;
	}

	80% {
		opacity: 1;
		visibility: visible;
	}

	100% {
		opacity: 0;
		visibility: hidden;
		display: none;
	}
}

@keyframes loader {
	0% {
		opacity: 0;
		transform: translate(0, 3rem) scale(0);
	}

	50% {
		opacity: 1;
		transform: translate(0, 0) scale(1);
	}

	100% {
		opacity: 0;
		transform: translate(0, -20rem) scale(0.75);
	}
}

@keyframes pulse {
	to {
		box-shadow: 0 0 0 33px rgba(255, 255, 255, 0);
	}
}

@keyframes fade-up {
	0% {
		opacity: 0;
		transform: translate(0, 3rem);
	}

	100% {
		opacity: 1;
		transform: translate(0, 0);
	}
}

@media (min-width: 769px) and (max-width: 991px) {
	.nav {
		flex-wrap: wrap;
		height: 100px;
	}

	.nav__section {
		flex-basis: 50%;
	}

	.logo {
		order: 3;
	}

	.hero {
		background-image: linear-gradient(#00000080, #00000080), url(./images/main-992.webp);
	}

	.discount {
		background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url(./images/barber-pole-992.webp);
	}

}

@media screen and (max-width: 768px),
screen and (max-width: 991px) and (orientation: landscape) {

	.container {
		padding: 0 15px;
	}

	.nav__section {
		display: none;
	}

	.logo {
		flex-basis: auto;
		align-self: start;
	}

	.logo__img {
		height: 50px;
	}

	.logo__title {
		width: 150px;
	}

	.burger {
		display: flex;
	}

	.burger .logo {
		align-self: center;
	}

	.hero {
		background-image: linear-gradient(#00000080, #00000080), url(./images/main-768.webp);
	}

	.hero__footer {
		height: auto;
	}

	.discount {
		background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url(./images/barber-pole-768.webp);
	}

	.contacts {
		width: 100%;
		display: flex;
		flex-direction: column;
		height: 100%;
		color: #fff;
		padding: 20px 0;
		gap: 10px
	}

	.contacts__adress {
		width: 100%;
		align-items: center;
		padding: 20px 0;
	}

	.contacts__item {
		text-align: center;
		line-height: 22px;
	}

	.contacts__map {
		width: 100%;
	}

	.services {
		padding: 20px 0;
	}

	.services__item {
		gap: 0px;
		margin: 15px 0;
		padding: 15px;
	}

	.services__column:last-child::before {
		display: none;
	}

	.services__description {
		margin-top: 1rem;
		flex-direction: column;
		gap: 10px;
	}

	.services__label {
		font-size: 0.875rem;
	}

	.about {
		flex-direction: column;
	}

	.about_reverse {
		flex-direction: column-reverse;
	}

	.about__text,
	.about__img {
		width: 100%;
	}

	.about__text {
		padding: 1.25rem 0;
	}

	.about__img {
		min-height: clamp(17.5rem, 3.214rem + 71.43vw, 37.5rem);
	}
}

@media screen and (max-device-width: 480px) {

	.hero {
		background-image: linear-gradient(#00000080, #00000080), url(./images/main-480.webp);
	}

	.hero__text {
		font-size: clamp(1rem, 0.5rem + 2.5vw, 1.25rem);
	}

	.discount {
		background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url(./images/barber-pole-480.webp);
	}
}

@media screen and (max-height: 480px) and (orientation: landscape) {

	.logo__title {
		width: 100px;
	}

	.logo__subtitle {
		font-size: 14px;
	}

	.burger__content {
		flex-direction: column-reverse;
		justify-content: flex-end;
	}

	.burger__content .logo {
		margin: 10px 0;
	}

	.hero__slogan {
		padding: 10px;
	}

	.hero__text {
		font-size: clamp(0.75rem, 0.5rem + 2.5vw, 1rem);
	}

	.hero__footer .contacts {
		flex-direction: row;
	}

	.services {
		display: flex;
		flex-wrap: wrap;
		gap: 10px;
	}

	.services__item {
		margin: 0px;
		width: calc(100% / 2 - 20px / 2);
	}

	.about {
		flex-direction: row;
	}

	.about__text,
	.about__img {
		width: 50%;
	}

	.about__text {
		padding: 1.25rem;
	}
}