/* BASE STYLES */

:root {
	--primary-font: "FuturaBookC";
	--secondary-font: "FuturaDemiC";
	--slider-pagination-bullet: url(../images/slider-pagination.png) no-repeat;
	--slider-pagination-bullet-active: url(../images/slider-pagination-active.png) no-repeat;
	--background-image: url(../images/bg-1.jpg);
	--icon-shadow: 10px 10px 15px 0px;
}

@font-face {
	font-family: "FuturaBookC";
	src: url("../fonts/Futurabookc.otf") format("opentype");
}

@font-face {
	font-family: "FuturaDemiC";
	src: url("../fonts/Futurademic.ttf") format("truetype"), url("../fonts/Futurademic.woff") format("woff"),
		url("../fonts/Futurademic.woff2") format("woff2");
}

html {
	width: 100vw;
	height: 100vh;
}

body {
	background-color: #e6e6ef;
	margin: 0;
	padding: 0;
	border: none;
	overflow-x: hidden;
}

.background-wrap,
.content-wrap {
	margin: 0 auto;
	overflow: hidden;
}

.background-wrap {
	position: relative;
	display: flex;
	justify-content: center;
	width: 100%;
	max-width: 1920px;
	min-height: 1080px;
	max-height: 1440px;
}

.background-wrap > picture > img {
	object-fit: cover;
	object-position: top center;
	z-index: -2;
}

.content-wrap {
	position: absolute;
	height: 1080px;
	z-index: 3;
}

.img-fluid {
	max-width: 100%;
	height: auto;
}

/* BASE STYLES - END */

header {
	padding: 30px 0 106px 0;
}

.menu-slider {
	display: flex;
	flex-direction: row;
	position: relative;
	left: 425px;
}

.menu {
	display: flex;
	flex-direction: column;
}

.menu ul {
	padding: 0;
	margin: 0;
	list-style-type: none;
}

.menu ul li:nth-of-type(2) {
	margin: 10px 0;
}

.menu img {
	margin-right: 30px;
}

.menu li a {
	display: flex;
	align-items: center;
	font-family: var(--primary-font);
	font-size: 26px;
	text-decoration: none;
	color: #495562;
	padding: 14.5px 0;
}

.menu li:hover {
	display: flex;
	background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, #ffffff 30.29%, #ffffff 59.62%, rgba(255, 255, 255, 0) 89.9%);
}

.menu li:hover img {
	border-radius: 0 0 5px 0;
}

.menu li:nth-of-type(1):hover img {
	box-shadow: var(--icon-shadow) #25c8ff4d;
}

.menu li:nth-of-type(2):hover img {
	box-shadow: var(--icon-shadow) #30df3c4d;
}

.menu li:nth-of-type(3):hover img {
	box-shadow: var(--icon-shadow) #fcb0664d;
}

.menu-text {
	margin-top: 30px;
}

.menu-text p {
	font-family: var(--secondary-font);
	font-weight: 600;
	font-size: 30px;
	line-height: 40px;
	text-transform: uppercase;
	margin: -1px 0;
	/* чтобы не двоился текст */
}

.menu p span {
	color: #00c3bc;
}

.menu-text a {
	font-family: var(--primary-font);
	font-weight: 400;
	font-size: 26px;
	line-height: 40px;
	text-decoration: underline;
	text-decoration-style: solid;
	color: #495562;
}

.slider {
	background: url(../images/phone-1.png) no-repeat;
	max-width: 600px;
	position: relative;
	bottom: 210px;
}

.f-progress {
	height: 0 !important;
	background: none !important;
}

/* почему-то опция showProgressbar: false не срабатывает */

.is-horizontal .f-carousel__nav .f-button.is-prev,
.is-horizontal .f-carousel__nav .f-button.is-next {
	position: absolute;
	top: 44.3rem;
}

.is-horizontal .f-carousel__nav .f-button.is-prev {
	background: url(../images/arrow-left.svg) no-repeat;
	left: 7rem;
}

.is-horizontal .f-carousel__nav .f-button.is-next {
	background: url(../images/arrow-right.svg) no-repeat;
	right: 7.92rem;
}

.f-carousel__dots {
	position: relative;
	top: 17px;
	left: -8px;
}

.f-carousel__dots li {
	opacity: 1;
}

.f-carousel__dots .is-current button {
	opacity: 0;
}

.f-carousel__dot {
	width: 12px;
	height: 12px;
}

.f-carousel__dot {
	background: var(--slider-pagination-bullet);
}

.f-carousel__dots li.is-current {
	background: var(--slider-pagination-bullet-active) center;
}

footer {
	display: flex;
	justify-content: center;
	position: relative;
	bottom: 35px;
	right: 226px;
}

footer p {
	margin: 0;
	font-family: var(--secondary-font);
	font-weight: 600;
	font-size: 16px;
	line-height: 20px;
	color: #858e9f;
}

/* MEDIA QUERIES */

@media (min-width: 1921px) and (max-width: 2560px) {
	html {
		overflow-x: scroll;
	}

	.background-wrap {
		width: 1920px;
	}
}

@media (max-width: 1439px) {
	body {
		overflow-x: hidden;
	}

	/* 	* {
		outline: 1px solid red;
	} */

	.background-wrap {
		overflow-x: hidden;
	}
}

@media (min-width: 1440px) and (max-width: 2560px) {
	.mobile_only {
		display: none;
	}
}

@media (max-width: 1440px) {
	.is-horizontal .f-carousel__nav .f-button.is-prev {
		left: 8.3rem;
	}

	.is-horizontal .f-carousel__nav .f-button.is-next {
		right: 6rem;
	}

	.f-carousel__dots {
		top: 17px;
		left: 14px;
	}

	footer {
		bottom: 215px;
		right: 226px;
	}
}

@media (min-width: 1024px) and (max-width: 1439px) {
	.mobile_only {
		display: none;
	}

	.background-wrap {
		max-height: 900px;
	}

	.content-wrap {
		width: 1024px;
		max-height: 900px;
	}

	header {
		padding: 10px 0 0px 10px;
	}

	.menu-slider {
		left: 81px;
		top: 105px;
	}

	.menu {
		position: relative;
		top: 24px;
		left: 52px;
	}

	.menu li a {
		font-size: 22px;
	}

	.menu-text {
		margin-top: 20px;
	}

	.menu-text p {
		font-size: 26px;
	}

	.menu-text a {
		font-size: 22px;
		position: relative;
		bottom: -1px;
		/* чтобы не двоился текст */
	}

	.slider {
		bottom: 135px;
		right: -56px;
		background-size: 73.33%;
	}

	.f-carousel__slide img {
		width: 73.33%;
	}

	.is-horizontal .f-carousel__nav .f-button.is-prev,
	.is-horizontal .f-carousel__nav .f-button.is-next {
		top: 33.3rem;
	}

	.is-horizontal .f-carousel__nav .f-button.is-prev {
		left: 3.4rem;
	}

	.is-horizontal .f-carousel__nav .f-button.is-next {
		right: 12rem;
	}

	.f-carousel__dots {
		top: 20px;
		left: -69px;
	}

	footer {
		top: -26px;
		right: 314px;
	}
}

@media (min-width: 860px) and (max-width: 1023px) {
	.mobile_only {
		display: none;
	}

	.background-wrap {
		max-height: 1280px;
	}

	.background-wrap > picture > img {
		position: relative;
		right: 2px;
		height: 1080px;
	} /* чтобы совпадало с фоном из макета */

	.content-wrap {
		height: 720px;
		margin: 0 auto;
	}

	header {
		padding: 10px 0 130px 5px;
		position: relative;
	}

	.menu-slider {
		left: 158px;
	}

	.menu {
		position: relative;
		top: -1px;
		right: 58px;
	}

	.menu li a {
		font-size: 22px;
	}

	.menu-text {
		margin-top: 21px;
	} /* чтоб не двоился текст */

	.menu-text p {
		font-size: 26px;
	}

	.menu-text a {
		font-size: 22px;
	}

	.slider {
		bottom: 159px;
		right: 55px;
		background-size: 73.33%;
	}

	.f-carousel__slide img {
		width: 73.33%;
	}

	.is-horizontal .f-carousel__nav .f-button.is-prev,
	.is-horizontal .f-carousel__nav .f-button.is-next {
		top: 33.2rem;
	}

	.is-horizontal .f-carousel__nav .f-button.is-prev {
		left: 2rem;
	}

	.is-horizontal .f-carousel__nav .f-button.is-next {
		right: 13rem;
	}

	.f-carousel__dots {
		top: 18px;
		left: -86px;
	}

	footer {
		bottom: 155px;
		right: 314px;
	}
}

@media (max-width: 859px) {
	.background-wrap {
		max-height: 1280px;
	}

	/* 	.background-wrap > picture > img {
		max-width: 859px;
	}
 */

	/* 	.content-wrap {
		max-width: 859px;
		top: -20px
	} */

	header {
		padding: 10px 0 100px 10px;
		position: relative;
		top: 18px;
	}

	header > picture > img {
		width: 90%;
	}

	.menu-slider {
		display: flex;
		flex-direction: column;
		align-items: center;
		position: initial;
		max-width: 440px;
	}

	.menu {
		display: flex;
		flex-direction: column;
	}

	.menu ul {
		display: flex;
		flex-direction: row;
		justify-content: center;
	}

	.menu ul li:nth-of-type(2) {
		margin: 0 15px;
	}

	.menu img {
		margin: 0 0 22px 0;
	}

	.menu li a {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		font-size: 17px;
		padding: 17px 10px 10px 10px;
	}

	.menu li:hover {
		background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #ffffff 19.71%, #ffffff 80.29%, rgba(255, 255, 255, 0) 100%);
	}

	.menu-text {
		margin-top: 20px;
		padding-left: 10px;
		position: relative;
		bottom: 8px;
	}

	.menu-text p {
		font-size: 22px;
		margin: 0;
	}

	.menu-text a {
		font-size: 20px;
		position: relative;
		bottom: 6px;
	}

	.slider {
		bottom: -10px;
		background-size: 100%;
	}

	.f-carousel__slide img {
		left: 0;
	}

	.is-horizontal .f-carousel__nav .f-button.is-prev,
	.is-horizontal .f-carousel__nav .f-button.is-next {
		position: absolute;
		top: 12rem;
	}

	.is-horizontal .f-carousel__nav .f-button.is-prev {
		left: 2rem;
	}

	.is-horizontal .f-carousel__nav .f-button.is-next {
		right: 2rem;
	}

	.f-carousel__dots {
		/* top: 18px;
		left: 0; */

		display: none;
	}

	footer {
		right: 0;
		top: 1rem;
	}
}

/* MEDIA QUERIES - END */
