@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

a {
	text-decoration: none;
	color: initial;
}

body,
input {
	font-family: 'Roboto', sans-serif;
}

body {
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: #fafafa;
}

.container {
	text-align: center;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
}

.login_container {
	text-align: center;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	height: 100vh;
	width: 100%;
}

.h1 {
	color: #1877f2;
	font-weight: bold;
	font-size: 3rem;
}

.h1 span {
	color: #333;
}

.h1:hover {
	color: #126bdf;
	text-decoration: underline;
}

.login__form {
	margin-top: 2rem;
	display: flex;
	flex-direction: column;
	width: 20rem;
	padding: 1rem;
	border-radius: 0.5rem;
	background-color: white;
	box-shadow: 1px 1px 10px 1px;
	margin-bottom: 1rem;
}

input {
	margin: 0.5rem 0;
	height: 3rem;
	padding: 0.5rem;
	font-size: 1.1rem;
	font-weight: 400;
	border-radius: 0.3rem;
	outline: none;
	border: none;
	background-color: #ebebeb;
}

.button {
	height: 3rem;
	margin: 0.5rem 0;
	background-color: #1877f2;
	color: #fff;
	border: none;
	border-radius: 0.3rem;
	font-weight: bold;
	font-size: 1.3rem;
	cursor: pointer;
}

.button:hover {
	background-color: #126bdf;
}

.forgot__password {
	font-size: 1rem;
	text-decoration: none;
	color: #1877f2;
}

.forgot__password:hover {
	text-decoration: underline;
}

hr {
	margin-top: 1rem;
	margin-bottom: 1rem;
}

.create {
	background-color: #42b72a;
	font-size: 1rem;
}

.create:hover {
	background-color: green;
}

/* МОДАЛЬНОЕ ОКНО */
.login__modal {
	position: fixed;
	inset: 0;
	background-color: hsla(0, 0%, 0%, 0.8);
	/* padding: 1rem; */
	display: flex;
	justify-content: center;
	align-items: center;
	visibility: hidden;
	z-index: 99999999;
}

.modal-content {
	position: relative;
	background-color: #fff;
	padding: 4.5rem 1.5rem 2.5rem;
	width: 20rem;
	border-radius: 0.5rem;
}

.modal-title,
.modal-subtitle {
	text-align: center;
}

.modal-title {
	font-size: 4rem;
	color: #1877f2;
	margin-bottom: 0rem;
	font-weight: 800;
}

.modal-subtitle {
	font-size: 1rem;
	font-weight: 500;
	color: #1877f2;
	margin-bottom: 1rem;
}

.modal-close {
	position: absolute;
	top: 1.5rem;
	right: 1.5rem;
	font-size: 1.5rem;
	color: #333;
	cursor: pointer;
}

.modal-close:hover {
	color: #e01935;
}

/*Active modal*/
.active-modal {
	opacity: 1;
	visibility: visible;
}

/* forgot MODAL */
.forgot-modal-content {
	position: relative;
	background-color: #fff;
	padding: 4.5rem 1.5rem 2.5rem;
	width: 22rem;
	border-radius: 0.5rem;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
}

.forgot-modal-content input {
	width: 19rem;
}

.forgot-modal-content button {
	width: 19rem;
}

/* шапка и выпадающее меню */
.dd__container {
	position: fixed;
	top: 0;
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-around;
	padding: 0.3rem;
	z-index: 99;
	background: #fafafa;
	border-bottom: 1px solid #ebebeb;
}

.dropdown {
	position: relative;
	width: max-content;
}

.dropdown__button,
.dropdown__item {
	display: flex;
	align-items: center;
	column-gap: 0.5rem;
	overflow: hidden;
}

.dropdown__button {
	border: none;
	outline: none;
	background-color: #fafafa;
	border-radius: 0.3rem;
	cursor: pointer;
	width: max-content;
	padding: 0.1rem 1rem 0.1rem 1rem;
}

.dropdown__button:hover {
	background-color: #e9e9ed;
}

.dropdown__btn__name {
	color: #333;
	font-weight: 600;
	font-size: 0.8rem;
}

.dropdown__icon,
.dropdown__icons {
	font-size: 1.25rem;
	color: #1877f2;
}

.dropdown__icons {
	width: 1.5rem;
	height: 1.5rem;
	display: grid;
	place-items: center;
}

.dropdown__arrow,
.dropdown__close {
	position: absolute;
	transition: opacity 0.1s, transform 0.4s;
}

.dropdown__close {
	opacity: 0;
}

.dropdown__menu {
	background-color: #fff;
	padding: 1rem 1.25rem;
	border-radius: 0.75rem;
	display: grid;
	row-gap: 1.5rem;
	position: absolute;
	width: 100%;
	right: 0;
	top: 2rem;
	transform: scale(0.1);
	transform-origin: 8rem -2rem;
	pointer-events: none;
	transition: opacity 0.4s, transform 0.4s;
	opacity: 0;
	border: 2px solid #1877f2;
	z-index: 999;
}

.dropdown__item {
	cursor: pointer;
	transition: color 0.3s;
	font-size: 0.8rem;
	font-weight: 500;
}

.dropdown__item:hover {
	color: #126bdf;
}

.show-dropdown .dropdown__close {
	opacity: 1;
	transform: rotate(-180deg);
}

.show-dropdown .dropdown__arrow {
	opacity: 0;
	transform: rotate(-180deg);
}

.show-dropdown .dropdown__menu {
	opacity: 1;
	transform: scale(1);
	pointer-events: initial;
	z-index: 999;
}

.main__logo {
	font-size: 1.3rem;
	font-weight: 600;
	color: #333;
}

.main__logo span {
	font-size: 1.3rem;
	font-weight: 700;
	color: #1877f2;
	padding-left: 0.1rem;
}

/* DD MENU */
.search__wrapper {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	width: 100%;
	position: absolute;
	bottom: 0.5rem;
	width: 20rem;
}

.search__wrapper.active .content {
	display: block;
}

.select-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	justify-self: center;
	cursor: pointer;
	width: 20rem;
	height: 3rem;
	padding: 1rem;
	font-size: 1.3rem;
	font-weight: 600;
	color: #fff;
	border-radius: 0.3rem;
	background-color: #1877f2;
}

.select-btn:hover {
	background-color: #126bdf;
}

.options li {
	display: flex;
	cursor: pointer;
	align-items: center;
	justify-content: center;
	width: 100%;
	color: #333;
	height: 3rem;
}

.content {
	width: 20rem;
	padding-bottom: 0;
	padding-top: 2rem;
	margin-bottom: 1rem;
	display: flex;
	align-items: center;
	justify-content: center;
	justify-self: center;
	flex-direction: column;
	font-size: 1rem;
	font-weight: 600;
	display: none;
	border-radius: 0.3rem;
	z-index: 999;
	background-color: #fff;
}

.content .search {
	position: relative;
}

/* Сбросить Фильтр Услуг */
.return {
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.5rem;
	position: absolute;
	width: 1rem;
	height: 1rem;
	border-radius: 50%;
	cursor: pointer;
	color: #333;
	right: 0.5rem;
	top: 0.5rem;
}

.return:hover {
	color: #e01935;
}

.options {
	width: 100%;
	max-height: 25rem;
	overflow-y: auto;
	overflow-x: hidden;
	padding: 0.5rem;
}

.options li:hover,
li.selected {
	margin-right: 1rem;
	color: #333;
	border-radius: 0.3rem;
	background-color: #f2f2f2;
}

.error__find {
	text-align: center;
	color: var(--greyDark);
}

.overlay.active {
	position: fixed;
	z-index: 100;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.7);
	cursor: pointer;
}

.main__title {
	position: absolute;
	font-weight: 600;
	font-size: 2.8rem;
	line-height: 3rem;
	text-align: center;
	color: #333;
	top: 0;
	padding: 0.5rem;
}

.main__title span {
	color: #1877f2;
}

/* .poisk {
	position: absolute;
	top: 10rem;
	display: flex;
}

.poisk input{
	border-radius: .3rem;
	border: none;
	outline: none;
	background-color: #ebebeb;
	color: #333;
	font-size: 1.4rem;
	font-weight: 500;
	line-height: 1.5rem;
	padding: 2rem;
}

.poisk input:hover{
	background-color: #dedede;
}

.poisk button{
	border-radius: .3rem;
	border: none;
	outline: none;
	background-color: #ebebeb;
	color: #333;
	font-size: 1.4rem;
	font-weight: 500;
	line-height: 1.5rem;
	padding: 2rem;
	height: 3rem;
} */

/* CARD */
.cards__wrapper {
	/* border: 1px solid black; */
	position: absolute;
	bottom: 3.7rem;
	top: 3rem;
	left: 0rem;
	right: 0rem;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	overflow: auto;
	padding-top: 2rem;
}

.card {
	position: relative;
	width: 350px;
	height: 190px;
	background: #fff;
	border-radius: 20px;
	box-shadow: 0 35px 80px rgba(0, 0, 0, 0.15);
	transition: 0.5s;
	margin: 2rem;
}

.card:hover {
	height: 450px;
}

.imgBx {
	position: absolute;
	left: 50%;
	top: -50px;
	transform: translateX(-50%);
	width: 150px;
	height: 150px;
	background: #fff;
	border-radius: 20px;
	box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
	overflow: hidden;
	transition: 0.5s;
}

.card:hover .imgBx {
	height: 250px;
	width: 250px;
}

.imgBx img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.card .content_card {
	position: absolute;
	width: 100%;
	height: 100%;
	display: flex;
	justify-content: center;
	align-items: flex-end;
	color: black;
	overflow: hidden;
}

.card:hover .content_card .details {
	transform: translateY(0px);
}

.card .content_card .details {
	padding: 40px;
	text-align: center;
	width: 100%;
	transition: 0.5s;
	transform: translateY(150px);
	color: #333;
}

.card .content_card .details h2 {
	font-size: 1.25rem;
	font-weight: 600;
	color: #555;
	line-height: 0.8;
}

.card .content_card .details h2 span {
	font-size: 0.75rem;
	font-weight: 500;
	opacity: 0.5;
}

.card .content_card .details .data {
	display: flex;
	justify-content: space-between;
	margin: 20px 0;
}

.card .content_card .details .data h3 {
	font-size: 1.5rem;
	color: #555;
	line-height: 1.2rem;
	font-weight: 600;
}

.card .content_card .details .data h3 span {
	font-size: 0.85rem;
	opacity: 0.5;
	font-weight: 400;
}

.card .content_card .details .actionBtn {
	display: flex;
	justify-content: space-between;
}

.card .content_card .details .actionBtn a {
	padding: 10px 30px;
	border-radius: 5px;
	border: none;
	outline: none;
	font-size: 1rem;
	font-weight: 600;
	background-color: #1877f2;
	color: #fff;
	cursor: pointer;
}

.card .content_card .details .actionBtn a:hover {
	background-color: #126bdf;
}

.card .content_card .details .actionBtn a:nth-child(2) {
	border: 2px solid #333;
	color: #333;
	background: #fff;
	/* font-size: 1.5rem; */
	/* padding: .5rem; */
}

.card .content_card .details .actionBtn a:nth-child(2):hover {
	color: #1877f2;

	/* font-size: 1.5rem; */
	/* padding: .5rem; */
}

/* PROFILE */
.scene {
	position: relative;
	width: 21rem;
	height: 21rem;
	margin: auto;
	perspective: 1000px;
	margin-bottom: 0;
	/*  */
	overflow: hidden;
}

.carousel {
	width: 100%;
	height: 100%;
	position: absolute;
	transform: translateZ(-288px);
	transform-style: preserve-3d;
	transition: transform 1s;
}

.carousel__cell {
	position: absolute;
	width: 19rem;
	height: 19rem;
	left: 10px;
	top: 10px;

	border-radius: 0.65rem;
	transition: transform 1s, opacity 1s;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.carousel__cell img {
	max-width: 100%;
	height: auto;

	border-radius: 0.7rem;
	object-fit: cover;
}

.carousel__cell:nth-child(1) {
	transform: rotateY(0deg) translateZ(288px);
}
.carousel__cell:nth-child(2) {
	transform: rotateY(40deg) translateZ(288px);
}
.carousel__cell:nth-child(3) {
	transform: rotateY(80deg) translateZ(288px);
}
.carousel__cell:nth-child(4) {
	transform: rotateY(120deg) translateZ(288px);
}
.carousel__cell:nth-child(5) {
	transform: rotateY(160deg) translateZ(288px);
}
.carousel__cell:nth-child(6) {
	transform: rotateY(200deg) translateZ(288px);
}
.carousel__cell:nth-child(7) {
	transform: rotateY(240deg) translateZ(288px);
}
.carousel__cell:nth-child(8) {
	transform: rotateY(280deg) translateZ(288px);
}
.carousel__cell:nth-child(9) {
	transform: rotateY(320deg) translateZ(288px);
}

.projects__container {
	overflow: initial;
}

.projects__content {
	display: grid;
	justify-content: center;
}

.carousel-options {
	display: none;
}

.pn_buttons {
	display: flex;
	align-items: center;
	justify-content: center;
}

.pn-button {
	display: flex;
	align-items: center;
	justify-content: center;
	border: 3px solid #333;
	color: #333;
	font-size: 2rem;
	width: 3rem;
	height: 3rem;
	text-align: center;
	margin: 1rem;
	border-radius: 0.5rem;
	cursor: pointer;
	margin-top: 0;
}

.pn-button:hover {
	color: #1877f2;
}

.section {
	padding-block: 4.5rem;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
}

.section__title,
.section__subtitle {
	text-align: center;
}

.section__title {
	font-size: 1.5rem;
	font-weight: 600;
	margin-bottom: 0.25rem;
	line-height: 1;
	color: #333;
}

.section__subtitle {
	display: block;
	font-size: 1.1rem;
	font-weight: 600;
	color: gray;
	margin-bottom: 1rem;
}

.profile__description {
	border: 3px solid #126bdf;
	border-radius: 0.3rem;
	margin: 0.5rem;
	padding: 0.5rem;
	max-width: 30rem;
	color: #333;
	font-weight: 500;
}

.phone__number {
	font-size: 2rem;
	color: #292824;
	font-weight: 600;
	text-align: center;
	display: block;
}

.phone__number:hover {
	color: #126bdf;
}

.profile__social {
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	margin-top: 0.5rem;
	flex-wrap: wrap;
}

.soc__href {
	font-size: 2.5rem;
	color: #292824;
	font-weight: 600;
	text-align: center;
	margin-left: 0.5rem;
	margin-right: 0.5rem;
}

.soc__href:hover {
	color: #126bdf;
}

.tooltip {
	display: none;
	padding: 15px;
	position: absolute;
	background: #333;
	border-radius: 0.3rem;
	color: #fff;
	z-index: 200;
}
