@import url("reset.css");
/*--------------------*/


body{
	font-family: "Rubik";
	font-size: 16px;
	color: #000;
	/*color: #616161;*/
}

.wrapper {
	overflow: hidden;
	display: flex;
	flex-direction: column;
	min-height: 100%;
}

.main {
	flex: 1 1 auto;
}

[class*="__container"] {
	max-width: 1130px;
	margin: 0px auto;
	padding: 0px 15px;
}

.header {
	background-color: #171720;
	border-bottom: 1px solid rgb(62, 74, 233);
}

.header__container {
	display: flex;
	min-height: 75px;
	align-items: center;
}
.header__container p {
	font-weight: 700;
	font-size: 18px;
	line-height: 1.2;
	color: #fff;
	letter-spacing: 5px;
	margin-left: 10px;

}

.header__logo{
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	z-index: 5;
	color: inherit;
	font-weight: 800;
	font-size: 26px;
	line-height: 1;
	letter-spacing: 2px;
	color: rgb(62, 74, 233);
	transition: all 0.3s ease 0s;
	text-transform: uppercase;
	background-color: #fff;
	border-radius: 50px;
	width: 50px;
	height: 50px;
}
.header__logo:hover{
	/*color: rgb(84, 231, 84);*/
	color: rgb(8, 21, 199);
	transform: translate(0px, 3px) scale(0.95);
}

.header__menu{
	flex: 1 1 auto;
}

.header__icon-menu {
	position: relative;
	z-index: 5;
	display: flex;
	justify-content: flex-end;
	align-items: center;
}

.menu {
	display: flex;
	justify-content: flex-end;
	padding: 0px 0px 0px 0px;
}

.menu__list {
	display: flex;
}

.menu__item:not(:last-child) {
	margin: 0px 40px 0px 0px;
}

.menu__link {
	font-weight: 700;
	font-size: 18px;
	line-height: 1.2;
	color: #fff;
	letter-spacing: 1px;
	transition: all 0.3s ease 0s;
}

.menu__link_active{
	color: rgb(62, 74, 233);
	text-decoration: underline;
}

.menu__link:hover{
	color: rgb(62, 74, 233);
	text-decoration: underline;

}

@media (max-width:767.98px) {
	.menu__body{
		position: fixed;
		top: 0;
		left: -100%;
		width: 100%;
		height: 100%;
		overflow: auto;
		background-color: #fff;
		padding: 90px 15px 30px 15px;
		transition: left 0.3s ease 0s;
	}

	.header:target .menu__body{
		left: 0;
	}
	.header:target .menu__body::before{
		content: "";
		position: fixed;
		top: 0;
		left: 0;
		height: 80px;
		width: 100%;
		background-color: #fff;
	}

	.menu__list {
		flex-direction: column;
		justify-content: center;
		align-items: center;
	}

	.menu__item:not(:last-child) {
		margin: 0px 0px 25px 0px;
	}

	.menu__item:last-child {
		margin-bottom: 0px;
	}

	.menu__link {
		color: #000;
		font-size: 20px;
	}
}
/*-----------------*/

.button {
	display: inline-block;
	font-family: Raleway;
	text-transform: uppercase;
	font-weight: 800;
	font-size: 14px;
	line-height: 12px;
	letter-spacing: 1px;
	color: #FCFDFE;
	padding: 14px 25px;
	background: rgb(62, 74, 233);
	border-radius: 5px;
	transition: background-color 0.3s ease 0s;
}
.button:hover {
	background: rgb(30, 42, 207);
}

/*--------------------------*/
.close-icon-menu,
.icon-menu{
	display: none;
	}

@media (max-width:767.98px){
	.icon-menu {
		display: flex;
		position: relative;
		flex: 0 0 30px;
		height: 18px;
		flex-direction: column;
		justify-content: space-between;
		margin: 0 0 0 20px;
	}
	
	.icon-menu::before,
	.icon-menu::after {
		content: "";
		background-color: #fff;
		height: 2px;
	}

	.icon-menu span {
		height: 2px;
		background-color: #fff;
	}

	.close-icon-menu {
		flex: 0 0 30px;
		height: 30px;
		position: relative;
		margin: 0px 0px 0px 20px;
	}



	.close-icon-menu::before,
	.close-icon-menu::after {
		content: "";
		position: absolute;
		top: 50%;
		left: 0;
		width: 100%;
		background-color: #000;
		height: 2px;
	}

	.close-icon-menu::before {
		transform: rotate(45deg);
	}

	.close-icon-menu::after{
		transform: rotate(-45deg);
	}

	.header:target .icon-menu{
		display: none;
	}

	.header:target .close-icon-menu{
		display: flex;
	}
}
/*---------main----------*/

.main__block {
	padding: 50px 0px 50px 0px;
	background-color: #171720;
	overflow: hidden;
}
.block-main {
}
.block-main__container {
	display: flex;
	flex-direction: column-reverse;
	align-items: center;
	gap: 20px;
}

.block-main__body {
	color: #fff;
	text-align: center;
	line-height: 1.3;
}

.block-main__body p{
	font-size: 45px;
	font-weight: 500;
}
.block-main__title {
	font-size: 60px;
	font-weight: 600;
}
.block-main__title:not(:last-child) {
	margin-bottom: 15px;
}
.block-main__title span {
	color: rgb(62, 74, 233);
}
.block-main__image{

}
.block-main__image img{
	border-radius: 50%;
	border: 8px solid  rgb(62, 74, 233);
	max-width: 100%;
}
@media (max-width: 991.98px) {
	.block-main__body p{
		font-size: 35px;
	}
	.block-main__title {
		font-size: 50px;
	}
}
@media (max-width: 767.98px) {
	.block-main__body p{
		font-size: 30px;
	}
	.block-main__title {
		font-size: 45px;
	}
}
@media (max-width: 479.98px) {
	.block-main__body p{
		font-size: 26px;
	}
	.block-main__title {
		font-size: 40px;
	}
}
/*-----------projects---------*/
.projects {
	padding: 75px 0px 75px 0px;
	background-color: #f1f1f8;
}
.projects__container {
}
/*------------------------*/
.title {
	font-size: 55px;
	font-weight: 600;
	text-align: center;
	color: rgb(62, 74, 233); 
}

@media (max-width: 991.98px) {
	.title {
		font-size: 45px;
	}
}

@media (max-width: 479.98px) {
	.title {
		font-size: 34px;
	}
}

.sub-title {
	font-size: 40px;
	font-weight: 700;
}
@media (max-width: 991.98px) {
	.sub-title {
		font-size: 36px;
	}
}

@media (max-width: 479.98px) {
	.sub-title {
		font-size: 26px;
	}
}

.projects__title:not(:last-child) {
	margin-bottom: 60px;
}
.projects__row {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	column-gap: 20px;
	row-gap: 40px;
}

.projects__item {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 20px;
	box-shadow: 0px 4px 4px 0px #00000040;
	border-radius: 15px;
	background-color: #ffffffc9;
}

.projects__item img {
	max-width: 100%;
	transition: all 0.3s ease 0s;
	border-radius: 10px;
	box-shadow: 0px 4px 4px 0px #00000040;

}
.projects__item img:hover {
	transform:scale(1.05);
}

.projects__item img:not(:last-child) {
	margin-bottom: 15px;
}
.item-projects__title {
	font-size: 24px;
	font-weight: 600;
	color: #000;
	transition: all 0.3s ease 0s;
}
.item-projects__title:not(:last-child) {
	margin-bottom: 15px;
	font-size: 24px;
	font-weight: 600;
	color: #000;
	transition: all 0.3s ease 0s;
}

.item-projects__title:hover {
	color: rgb(62, 74, 233);
}

@media (max-width: 991.98px) {
	.projects {
		padding: 40px 0px 40px 0px;
	}	
	.projects__title:not(:last-child){
		margin-bottom: 30px;
	}
	.item-projects__title {
		font-size: 16px;
	}
	
}

@media (max-width: 767.98px) {
	.projects__row {
		grid-template-columns: repeat(2, 1fr);
	}
	.projects__item {
		padding: 15px;
	}
	
}
@media (max-width: 479.98px) {
	.projects__row {
		grid-template-columns: repeat(1, 1fr);
		column-gap: 0px;
		row-gap: 25px;
	}

	.projects__title:not(:last-child) {
		margin-bottom: 20px;
	}
	
}
/*-------scills---------*/
.scills {
	padding: 75px 0px 195px 0px;
}
.scills__container {
}
.scills__body {
	display: flex;
	flex-direction: column;
	align-items: center;
}
.scills__title {
}
.scills__title:not(:last-child) {
	margin-bottom: 50px;
}
@media (max-width: 991.98px) {
	.scills__title:not(:last-child) {
		margin-bottom: 30px;
	}
}
.scills__sub-title {

}
.scills__sub-title:not(:last-child) {
	margin-bottom: 15px;
}
.scills__text {
	font-size: 18px;
	font-weight: 400;
	line-height: 1.5; /* 27/18 */
}
/*--------contacts----------*/
.contacts {
	padding: 40px 0px 90px 0px;
}
.contacts__container {
}
.contacts__body {
	display: flex;
	flex-direction: column;
	align-items: center;
}
.contacts__title {
}
.contacts__title:not(:last-child) {
	margin-bottom: 30px;
}
.contacts__list {
}
.contacts__list-item {
	display: flex;
	flex-direction: column;
	align-items: center;	
}
.contacts__list-item p{
	font-size: 20px;
}
.contacts__list-item:not(:last-child) {
	margin-bottom: 20px;
}
.contacts__sub-title {
}
.contacts__sub-title:not(:last-child) {
	margin-bottom: 10px;
}

.sub-title {
}
.contacts__text {
	color: inherit;
	font-size: 20px;
	transition: all 0.3s ease 0s;
}
.contacts__text:hover {
	color: rgb(10, 24, 221);
	font-size: 20px;
	text-decoration: underline;
}

/*-----------footer------------*/
.footer {
	background-color: #171720;
	border-top: 1px solid rgb(62, 74, 233);

}
.footer__container {
	font-weight: 400;
	font-size: 18px;
	line-height: 1.2;
	color: #fff;
	letter-spacing: 1px;
	display: flex;
	min-height: 75px;
	align-items: center;
	justify-content: center;
}
/*----------project-page----------*/

.project-page {
	padding: 60px 0px 60px 0px;
}
.project-page__container {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 40px;
}
.project-page__image {
}
.project-page__image img{
	border-radius: 25px;
	max-width: 100%;
	box-shadow: 0px 4px 4px 0px #00000040;

}
.project-page__title{

}
.project-page__text {
	font-size: 24px;
	font-weight: 700;
}
.project-page__button {
}
@media (max-width: 767.98px) {
	.project-page {
		padding: 40px 0px 40px 0px;
	}
	.project-page__container {
		gap: 20px;
	}
	

}




