html{
	 scroll-behavior: smooth;
 }

:root{
	--background-color: #2d2e53;
	--navbar-color: #35395c;
	--content-color: #999bac;
	--shadow-color: rgba(255, 255, 255, 0.3);
	--h1-color: #f4edf4;
	--h2-color: #f3f3f5;
	--h3-color: rgba(255, 255, 255, 0.7);
	--svg-fill-color: rgba(255, 255, 255, 0.7);
	--card-title-color: #e6e7eb;

	--lite-gradient: linear-gradient(90deg, rgba(153,155,172,.2) 0%, rgba(192,192,203,.7) 50%, rgba(153,155,172,.2) 100%);
	--main-gradient: linear-gradient(90deg, #2d2e53 0%, rgba(153,155,172,.2) 15%, rgba(192,192,203,.7) 35%, rgba(153,155,172,.2) 65%, #2d2e53 100%);
	--card-border-gradient: linear-gradient(90deg, rgba(153,155,172,.1) 15%, rgba(153,155,172,.2) 25%, rgba(192,192,203,.7) 50%, rgba(153,155,172,.2) 75%, rgba(153,155,172,.1) 100%);
}

body{
	font-family: 'Montserrat', sans-serif;
	min-width: 320px;

	color: #999bac;
	background-color: #2d2e53;
}

section{
	padding: 2rem 0;
}

h1{
	font-size: 3rem;
	font-weight: 600;

	color: #f4edf4;
}

h2{
	font-size: 2.5rem;
	font-weight: 600;

	text-align: center;

	color: #f3f3f5;
}

.h2{
	color: #f3f3f5;
}

h3{
	font-size: 2rem;
}

h4{
	font-size: 1.5rem;
	/*margin-bottom: 20px;*/
}

.overlay {

	/*position: absolute; !* Sit on top of the page content *!*/

	display: block;  /* Hidden by default */
	width: 100%; 	 /* Full width (cover the whole page) */
	height: auto; 	 /* Full height (cover the whole page) */

	/*top: 0;*/
	/*left: 0;*/
	/*right: 0;*/
	/*bottom: 0;*/

	background-color: rgba(0,0,0,0.1); /* Black background with opacity */
	z-index: 2; /* Specify a stack order in case you're using a different order for other elements */
}

.navbar-overlay{
	background-color: #35395c;
	transition: background 1s;
	opacity: .95;
}

.sm-photo {
	padding-top: 20px;

	max-width: 39vh;
	max-height: 39vh;
}

.xs-photo{
	max-width: 25vh;
	max-height: 25vh;
}

.card{
	margin: 10px auto;
	height: 97%;
	/*background-color: #34385a;*/
	background: none;
	border: none;
}

.card-title{
	background-color: transparent;
	color: #e6e7eb;
}

.card-header{
	background-color: transparent;
	color: #9b9cab;
}

.card-footer{
	background-color: transparent;

	/*border-top: 0;*/
	/*border-bottom: 1px solid;*/
	/*border-image: var(--card-border-gradient) 1;*/

	border: none;
}

.white-shadow:hover {
	border-color: #34385a;
	box-shadow: 0 0 30px 0 rgba(255, 255, 255, 0.3);
}

/*.btn:before{*/
/*	content: "";*/
/*	position: absolute;*/
/*	top: -1px;*/
/*	bottom: -1px;*/
/*	left: -1px;*/
/*	right: -1px;*/
/*	background-image: var(--main-gradient);*/
/*	z-index: -1;*/
/*}*/

/*.btn:before{*/
/*	border-radius: 4px;*/
/*}*/

/*.btn.rounded-pill:before{*/
/*	border-radius: 50rem;*/
/*}*/

.btn{
	position: relative;

	font-size: .85rem;
	font-weight: 600;

	color: #fff;

	border: #999bac solid thin;
	background-color: transparent;

	/*border: none;*/
	/*background-color: var(--background-color);*/

	text-transform: uppercase;
}

.btn:hover{
	color: #fff;
}

.btn-pink{
	/*background-color: #ff1b33;*/
	background: linear-gradient(60deg, rgba(255,12,44,1) 0%, rgba(255,118,134,1) 95%, rgba(255,188,188,1) 100%);
	border: none;
}

.btn-pink:hover{
	/*background: linear-gradient(60deg, rgba(255,188,188,1) 5%, rgba(255,118,134,1) 15%, rgba(255,12,44,1) 100%);*/
	background: linear-gradient(60deg, rgba(255,12,44,1) 0%, rgba(255,12,44,1) 100%);
}

.btn-violet{
}

.btn-violet:hover{
	background-color: #595bff;
}

.svg-icon{
	height: 64px;
	width: 64px;
	fill: rgba(255, 255, 255, .7);
}

.svg-icon-big{
	height: 80px;
	width: 80px;
	fill: rgba(255, 255, 255, .7);
}

.svg-icon-large{
	height: 128px;
	width: 128px;
	fill: rgba(255, 255, 255, .7);
}

.svg-icon-small{
	height: 32px;
	width: 32px;
	fill: rgba(255, 255, 255, .7);
}

a.frontpage-anchor{
	display: block;
	position: relative;
	top: -104px;
	visibility: hidden;
}

/* =============================frontpage-header============================== */
.frontpage-header{
	position: relative;
	height: 100vh;
	min-height: 600px;

	/*background-image:  url(../img/ivan-bg-min.webp);*/
	/*background-image: radial-gradient(at 70% 100%, rgba(135, 115, 173, .2) -40%, rgba(45, 46, 83, .1) 50%), url(../img/ivan-bg-min.webp);*/

	background-image:  url(../img/ivan-bg-min.png);
	background-image: radial-gradient(at 70% 100%, rgba(135, 115, 173, .2) -40%, rgba(45, 46, 83, .1) 50%), url(../img/ivan-bg-min.png);

	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
}

.logo{
	margin-top: -4px;
	margin-left: .75rem;
	padding: 0 !important;
	height: 3.25rem;
	width: 4.25rem;
}

.frontpage-header .navbar{
	justify-content: flex-start;
	opacity: .85;
}

.frontpage-header .navbar-brand{
	font-size: 2rem;
}

.frontpage-header .navbar-toggler{
	color: #fff;
}

.frontpage-header .svg-bars{
	display: inline-block;

	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill= 'rgba(255, 255, 255)' viewBox='0 0 384 384'%3E%3Cg%3E%3Cg%3E%3Cg%3E%3Crect x='0' y='277.333' width='384' height='42.667'/%3E%3Crect x='0' y='170.667' width='384' height='42.667'/%3E%3Crect x='0' y='64' width='384' height='42.667'/%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/svg%3E%0A");
	background-size: cover;

	height: 38px;
	width: 33.25px;
}

.frontpage-header .navbar-brand,
.frontpage-header ul li a{
	color: #fff;
	font-weight: 600;
}

.frontpage-header ul li a{
	font-size: 1rem;
}

.frontpage-header ul li a::after{
	content: '';
	display: block;
	width: 100%;
	background-color: #fff;
	height: 1px;
	transform: scale(0);
	transition: all .3s;
}

.frontpage-header ul li a:hover::after{
	transform: scale(1);
}

.frontpage-header h1{
	color: rgba(255,255,255, 1);
}

.frontpage-header h2{
	font-size: 1.75rem;
	color: rgba(255,255,255,0.7);
	text-align: unset;
}

.frontpage-header-content {
	padding-top: 2rem;
}

.frontpage-header-text{
	position: absolute;
	top: 18%;
	left: 5%;
	max-width: 600px;
	color: #fff;
	padding: 20px;
}

.frontpage-header .competencies{
	/*max-width: 652px;*/
}

.frontpage-header .competencies li{

	list-style-image: url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0' y='0' viewBox='0 0 512 512' width='16' height='16' fill= 'rgba(255, 255, 255)' xml:space='preserve'%3E%3Cg%3E%3Cpath d='M497.36,69.995c-7.532-7.545-19.753-7.558-27.285-0.032L238.582,300.845l-83.522-90.713 c-7.217-7.834-19.419-8.342-27.266-1.126c-7.841,7.217-8.343,19.425-1.126,27.266l97.126,105.481 c3.557,3.866,8.535,6.111,13.784,6.22c0.141,0.006,0.277,0.006,0.412,0.006c5.101,0,10.008-2.026,13.623-5.628L497.322,97.286 C504.873,89.761,504.886,77.54,497.36,69.995z'/%3E%3C/g%3E%3Cg%3E%3Cpath d='M492.703,236.703c-10.658,0-19.296,8.638-19.296,19.297c0,119.883-97.524,217.407-217.407,217.407 c-119.876,0-217.407-97.524-217.407-217.407c0-119.876,97.531-217.407,217.407-217.407c10.658,0,19.297-8.638,19.297-19.296 C275.297,8.638,266.658,0,256,0C114.84,0,0,114.84,0,256c0,141.154,114.84,256,256,256c141.154,0,256-114.846,256-256 C512,245.342,503.362,236.703,492.703,236.703z'/%3E%3C/g%3E%3C/svg%3E%0A");
	/*list-style-image: url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0' y='0' viewBox='0 0 17.837 17.837' width='16' height='16' fill= 'rgba(255, 255, 255)' xml:space='preserve'%3E%3Cg%3E%3Cpath d='M16.145,2.571c-0.272-0.273-0.718-0.273-0.99,0L6.92,10.804l-4.241-4.27 c-0.272-0.274-0.715-0.274-0.989,0L0.204,8.019c-0.272,0.271-0.272,0.717,0,0.99l6.217,6.258c0.272,0.271,0.715,0.271,0.99,0 L17.63,5.047c0.276-0.273,0.276-0.72,0-0.994L16.145,2.571z'/%3E%3C/g%3E%3C/svg%3E");*/
	/*list-style-image: url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0' y='0' viewBox='0 0 44.56 44.56' width='16' height='16' fill= 'rgba(255, 255, 255)' xml:space='preserve' %3E%3Cg%3E%3Cg%3E%3Cpath d='M23.297,38.74c-1.17,1.588-2.992,2.564-4.962,2.661c-1.97,0.098-3.878-0.696-5.198-2.162L1.308,26.112 c-1.88-2.085-1.713-5.299,0.372-7.179c2.087-1.88,5.299-1.712,7.179,0.374l8.369,9.288c0.124,0.138,0.304,0.212,0.489,0.203 c0.186-0.009,0.356-0.102,0.467-0.25L35.386,5.217c1.665-2.26,4.847-2.741,7.108-1.075c2.259,1.666,2.739,4.848,1.073,7.107 L23.297,38.74z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");*/

}

.frontpage-header .contacts{
	margin-top: 1.5rem;
}

.frontpage-header .email {
	margin: 1rem;
}

.frontpage-header .phone {
	margin: 1rem;
}

.frontpage-header-buttons{
}

.frontpage-header-buttons .btn{

	min-height: 60px;
	margin-top: 30px;
	padding: 1rem 40px;

	transition: all .5s;
}

/* =============================daily-tasks============================== */
.daily-tasks{
	background-image: radial-gradient(90% 70% at top 0% left 70%, rgba(135, 115, 173, .2) -40%, rgba(45, 46, 83, .1) 50%);
}

/* ============================crm============================== */
.crm{
}

.crm h2{
}

.crm .card{
	color: #e6e7eb;
	/*background-color: #2d2e53;*/
	background-color: #34385a;
	border: solid thin;
}

.lead-text{
	color: #e6e7eb;
}

/* ===============================ai-tools====================================== */
.ai-tools{
}

.ai-tools h2{
}

/* Секция самодостаточна: не требует класса crm.
   Повторяет оформление карточки секции crm, но без заливки, рамки и подсветки. */
.ai-tools .card{
	color: #e6e7eb;
	background: none;
	border: none;
	position: relative;
}


/* =============================top-management-tools============================== */
.top-management-tools{
}

.top-management-tools h2{
}

/* =============================featured-tasks============================== */
.featured-tasks{
}

.featured-tasks .card{
	/*background-color: #34385a;*/
	border: solid thin;
}

/* ============================project-technology============================== */
.project-technology{
}

.project-technology .container{
	position: relative;
}

.steps{
	display: flex;
	align-items: stretch;
	alignment: center;
	justify-content: center;
}

.step{
	margin: 10px;
	width: 188px;
	position: relative;
	text-align: center;
	padding: 0 5px 15px;
	box-shadow: 0 4px 15px 3px rgba(0,0,0,0.15);
	border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	-ms-border-radius: 5px;
	-o-border-radius: 5px;
	background: linear-gradient(45deg, #34385a 80%, #ff86b6 100%);
}

.step_number{
	font-size: 3rem;
	color: rgba(255, 255, 255, .7);
	position: absolute;
	right: .7rem;
	top: 0;
}

.step_icon{
	margin-bottom: 13px;
	height: 9rem;
	display: flex;
	justify-content: center;
	align-content: flex-end;
}

.step_icon  > svg {
	margin-top: auto;
	align-self:flex-end;
}

.step_title{
	color: #e6e7eb;
	font-weight: 600;
	line-height: 1.4;
	margin-bottom: 1rem;
}

.step_text{
	font-size: .85rem;
}

/* =============================featured-tasks============================== */
.featured-tasks {
}

.featured-tasks h2{
}

/* =============================accounting============================== */
.accounting{
}

.accounting .h3{
	color: rgba(255,255,255,0.7);
}

/* =============================addons-catalog============================== */
.addons-catalog {
	min-height: 250px;
}

.addons-catalog h2{
}

/* =============================contacts-form============================== */
.contacts-form{
}

.contacts-form .info{
	color: #e6e7eb;
}

.contacts-form form{
}

.contacts-form .form-control{
	height: 51px;
	background-color: transparent;
	color: #fff;
	border: #999bac solid thin;
	padding-left: 40px;
	padding-right: 40px;
	margin-bottom: 20px;
}
.contacts-form .form-control::placeholder{
	/*color: #fff;*/
}
.contacts-form .form-control:focus{
	box-shadow: 0 0 0 .2rem rgba(255,255,255,.25);
}

.contacts-form #message{
	height: 14em;
}

/* =============================frontpage-footer============================== */
.frontpage-footer{
	height: 5rem;
	font-size: 1rem;
}

/* Large Devices, Wide Screens */
@media only screen and (min-width : 1200px) {
	section{
		margin: 4rem auto;
	}
	section:first-of-type{
		margin-top: 0;
		padding-top: 4rem;
	}
	h2, .h2{
		margin-bottom: 2rem;
	}
	.btn-section{
		margin-top: 1rem;
	}
	.step{
		margin: 1.5rem;
	}
}

@media only screen and (max-width: 1125px){
	.top-management-tools h3{
		font-size: 1.65rem;
		font-weight: 600;
	}
}

@media only screen and (max-width: 1060px){
	h3, .h3 {
		font-size: 1.75rem;
	}
	.featured-tasks h3{
		font-size: 1.2rem;
		font-weight: 600;
	}
}

@media only screen and (min-width : 992px) {
	.offcanvas-close {
		display: none;
	}
}

/* Medium Devices, Desktops */
@media only screen and (max-width : 992px) {

}

@media (max-width: 991.98px) {

	.offcanvas-collapse {
		position: fixed;
		top: 0;
		bottom: 0;
		left: -300px;
		width: 300px;
		padding-top: 3rem;
		padding-right: 1rem;
		padding-left: 1rem;
		overflow-y: auto;
		visibility: hidden;
		background-color: rgba(45,46, 83,.98);
		border-top-right-radius: 25px;
		border-bottom-right-radius: 25px;
		transition: visibility .3s ease-in-out, -webkit-transform .3s ease-in-out;
		transition: transform .3s ease-in-out, visibility .3s ease-in-out;
		transition: transform .3s ease-in-out, visibility .3s ease-in-out, -webkit-transform .3s ease-in-out;
	}

	.offcanvas-collapse.open {
		visibility: visible;
		-webkit-transform: translateX(300px);
		transform: translateX(300px);
		z-index: 2;
	}

	.offcanvas-close {
		position: absolute;
		font-size: 2.5rem;
		font-weight: 700;
		cursor: pointer;
		color: #fff;
		border: none;
		-webkit-appearance: button;
		background-color: transparent;
		right: 0;
		top: 0;
		padding: 0 1.5rem;
		z-index: 2;
	}

	.offcanvas-open {
		overflow: hidden;
	}

	.navbar-nav{
		position: relative;
		z-index: 1;
		padding: 0 1rem;
	}

	.frontpage-header{
		height: unset;
		min-height: unset;
		/*background-image: none;*/
		background-image: radial-gradient(at 70% 100%, rgba(135, 115, 173, .2) -40%, rgba(45, 46, 83, .1) 50%);
	}

	.top-management-tools h3{
		font-size: 2rem;
		font-weight: 400;
	}

	.steps {
		flex-wrap: wrap;
		justify-content: space-around;
	}

}

@media only screen and (max-width : 991px) {
}

/* Small Devices, Tablets */
@media only screen and (max-width : 767px) {
	/*h1{*/
	/*	font-size: 2rem;*/
	/*}*/
	h2, .h2, h3, .h3{
		font-size: 1.75rem;
	}
	.h4{
		font-size: 1.25rem;
	}
	.frontpage-header {
		height: unset;
	}
	.card-footer{
		border-top: 0;
		border-bottom: 1px solid;
		border-image: linear-gradient(90deg, rgba(153,155,172,.2) 0%, rgba(192,192,203,.7) 50%, rgba(153,155,172,.2) 100%) 1;
	}
	.frontpage-header-text{
		left: 0;
		margin: 0 1.25rem;
		max-width: 80%;
	}
	.top-management-tools h3{
		font-size: 1.75rem;
		font-weight: 400;
	}
	.featured-tasks h3{
		font-size: 1.75rem;
		font-weight: 400;
	}
	.accounting .flow-arrow{
		-webkit-transform: rotate(90deg);
		-moz-transform: rotate(90deg);
		-ms-transform: rotate(90deg);
		-o-transform: rotate(90deg);
		transform: rotate(90deg);
	}
	.contact-me-photo {
		max-width: 30vh;
		max-height: 30vh;
	}
}

@media only screen and (max-width : 600px) {
	.frontpage-header-text{
		top: 6rem;
		margin: 1.25rem auto;
		max-width: 100%;
	}
	.frontpage-header-buttons .btn{
		display: block;
		max-width: 100%;
		margin: 2rem auto 1rem;
	}
	.daily-tasks .my-5{
		margin-bottom: 1rem !important;
	}
}

/* Extra Small Devices, Phones */
@media only screen and (max-width : 480px) {
	.frontpage-header .navbar-brand{
		font-size: 1.5rem;
	}
	.frontpage-header h2 {
		font-size: 1.5rem;
	}
	.frontpage-header-text{
		max-width: 100%;
		margin: 0;
	}
	.crm .h4{
		font-size: 1rem;
	}
	.accounting .m-5{
		margin: 1rem !important;
	}
}

@media only screen and (max-width : 380px) {
	h1, .h1{
		font-size: 2.5rem;
	}
	h3, .h3{
		font-size: 1.6rem;
	}
	.frontpage-header .logo{
		height: 51px;
		width: 59px;
	}
	.frontpage-header h4{
		font-size: 1.25rem;
	}
	.top-management-tools h3{
		font-size: 1.6rem;
	}
}

/* Nokia 3310 */
@media only screen and (max-width : 320px) {
}

.header {
	height: 5rem;
	transition: background 1s;
}

.header .navbar{
	justify-content: flex-start;
	opacity: .85;
}

.header .navbar-brand{
	font-size: 2rem;
	font-weight: 600;
	color: #fff;
}

/*.header .logo{*/
/*	margin-top: -4px;*/
/*	margin-left: .75rem;*/
/*	padding: 0 !important;*/
/*	height: 3.25rem;*/
/*	width: 4.25rem;*/
/*}*/

.footer{
	height: 4rem;
	font-size: 1rem;
	position:relative;
}
/* Виньетка мобильного фото в форме-блобе.
   Обёртка — градиентная подложка; фото заполняет её почти целиком, оставляя тонкий кант. */
.photo-glow-wrap {
	position: relative;
	width: 39vh;
	aspect-ratio: 1 / 1;
	max-width: 100%;
	margin: 1.5rem auto;
	overflow: hidden;
	clip-path: url(#photo-vignette-clip);
	background: linear-gradient(342deg, rgba(255, 255, 255, 0.7) 0%, rgb(45, 46, 83) 64%, rgb(45, 46, 83) 100%);
}

.photo-glow-wrap > img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	background: transparent;
	clip-path: url(#photo-vignette-clip);
}

.photo-glow-wrap--xs {
	width: 25vh;
}

.photo-glow-wrap--fluid {
	width: 100%;
}

/* Ссылки в шагах внедрения: заголовок шага ведёт на страницу-разбор этапа.
   Цвет и начертание наследуются, подчёркивание появляется только при наведении. */
.step_title a{
	color: inherit;
	text-decoration: none;
	border-bottom: 1px solid transparent;
	transition: border-color .2s;
}

.step_title a:hover{
	border-bottom-color: currentColor;
}
/* Кликабельная карточка коммуникаций: ссылка-наложение на весь блок.
   Цвета и рамка не меняются; подсветка только при наведении (на мобильных её нет). */
.crm .card{
	position: relative;
}

.crm .comm-link{
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 2;
	display: block;
	border: none;
	text-decoration: none;
}

.crm .comm-link:hover{
	box-shadow: 0 0 0 2px rgba(255, 255, 255, .75), 0 0 24px rgba(255, 255, 255, .4);
}

.crm .card:hover{
	background:
		linear-gradient(90deg, rgba(255, 255, 255, .32) 0%, rgba(255, 255, 255, .27) 50%, rgba(255, 255, 255, .22) 100%),
		#34385a;
}
/* Кликабельный шаг внедрения: ссылка-оверлей на всю карточку.
   Подсветка появляется из правого верхнего угла при наведении и разворачивается
   на карточку; цвета и рамка карточки не меняются. */
.step{
	overflow: hidden;
}

.step-link{
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 2;
	display: block;
}

.step:hover{
	box-shadow: 0 0 0 2px rgba(255, 255, 255, .75), 0 0 24px rgba(255, 255, 255, .4);
	background:
		linear-gradient(90deg, rgba(255, 255, 255, .32) 0%, rgba(255, 255, 255, .27) 50%, rgba(255, 255, 255, .22) 100%),
		#34385a;
}
