@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap');
@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');

* {
	outline: none !important;
}

a, button, input, textarea, select {
	transition: all 300ms ease-in-out;
}

::selection {
	background: #70bed1; /* общий стиль выделения */
}

/* Для текста внутри <pre> и <code> */
pre ::selection,
code ::selection,
pre code ::selection,
pre span ::selection,
code span ::selection {
	background: #ff6600 !important; /* Новый цвет выделения */
	color: white !important; /* Цвет текста при выделении */
}




pre[data-filename]::before {
	content: attr(data-filename);
	display: block;
	color: #fff;
	font-size: 14px;
	padding: 5px;
	border-radius: 5px 5px 0 0;
	text-align: end;
}


html {
	font-size: 18px;
	color:#1F2937;
	-webkit-text-size-adjust: 100% !important;
}

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


/* Navbar */
nav, footer {
	font-family: "Nunito", sans-serif;
	font-size: 1rem;
}

.accent:hover, .burger_btn:hover {
	color: #f97316;
	transition-duration: 300ms;
}

.burger_btn {
	color: white;
}

.bg-image {
	background-image: linear-gradient(rgba(0, 0, 0, 0.075), rgba(0, 0, 0, 0.116)), url(../images/bg.jpg);
	background-size: cover;
	background-position: 50% 30%;
	height:500px;
	color: white;
}


/* Home Page */
.title {
	display: grid;
	grid-template-columns: auto auto;
	grid-template-rows: auto auto auto auto auto;
	justify-content: center;
	color: #1F2937;
	padding-top: 20px;
}

.title h1 {
	grid-column-start: 1;
	grid-column-end: 2;
	grid-row-start: 4;
	grid-row-end: 5;
	font-family: "Nunito", sans-serif;
	font-weight: bold;
	font-size: 4rem;

}

.home-title {
	opacity: 0;
	transform: translateY(20px);
	animation: fadeIn 1.2s ease-out forwards;
}

@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(40px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.secondary-title {
	margin-top: 2rem;
	margin-bottom: 1rem;
	text-indent: 1rem;
	font-family: "Nunito", sans-serif;
	font-weight: bold;
	font-size: 1.5rem;
	text-align: center;
}


.home-text {
	margin: 60px auto ;
	display: grid;
	grid-template-columns: 60%;
	grid-template-rows: auto auto;
	justify-content: center;
	color: black;
}


.home-text p{
	padding: 4px 0 0 4px;
	margin-bottom: 10px;
	text-align: justify;
	font-family: "Roboto", sans-serif;
	hyphens: auto;
}

.heroImage {
	max-width: 100%;
	max-height: 300px;
	object-fit: cover;
	display: block;
	margin: auto;

}

.flex-container {
	display: flex;
	flex-wrap: wrap;
}

.image-button-container {
	display: flex;
	flex-direction: column;
	width: 100%;
	max-width: 320px;
	align-items: center;
	justify-content: center;
}

.active-cross-link {
	color: #ff6600 !important;
}

.active-link{
	color: white;
	border-bottom: 2px solid white;
	border-radius: 0;
}

.active-link:hover{
	border-bottom: 2px solid #f97316
}



.contact-link i {
	min-width: 20px; /* Гарантируем одинаковую ширину */
	text-align: center; /* Выравниваем иконку */
	font-size: 18px; /* Делаем иконки чуть больше, если нужно */

}

.contact-link
{
	display: flex;
	align-items: center;
	gap: 10px;
	color:#1F2937;
	width: 100%;
}


.contact-link:hover
{
	color: #f97316;
}

.bg-contact {
	box-shadow: 0px 2px 12px #1f293754;
}


.general-contact-block {
	padding: 1rem;
	border-radius: 10px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	gap: 20px;
	max-width: 85%;
	margin: 0 auto;
}

.general-bg-contact {
	padding: 1rem;
	border-radius: 10px;
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
	gap: 20px;
	width: 100%;
	max-width: 600px;
}



.general-home-contact-block{
	padding: 1rem;
	border-radius: 10px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	gap: 20px;
	width: 100%;
	margin: 0 auto;
}

.general-bg-home-contact {
	padding: 1rem;
	border-radius: 10px;
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
	gap: 20px;
	width: 100%;
	max-width: 600px;

}






/* Menu */
.menu-block {
	width: 100%;
	max-width: 100%;
	padding: 20px;
	margin: 40px auto;
}

.title {
	font-size: 2rem;
	text-align: center;
	margin-bottom: 20px;
	width: 100%;
	font-weight: 600;
	font-family: "Nunito", sans-serif;
}

/* MENU */
.menu-div {
	padding: 40px;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	max-width: calc(200px * 4 + 60px);
	gap: 20px;
	margin: 0 auto;
}

.menu-link {
	margin: 10px;
	padding: 10px;
	height: 100px;
	box-sizing: border-box;
	width: 100%;
	text-align: center;
	display: grid;
	place-items: center;
	background-color: #ffffff;
	color: #1F2937;
	box-shadow: 0px 6px 12px #1f293754;
	border-radius: 10px;
}

.menu-link:hover {
	color: orange;
	box-shadow: 2px 2px 6px #1f293754;
}


/* Text */
.text-block {
	width: 90%;
	max-width: 1200px;
	padding: 20px;
	margin: 40px auto;
	box-sizing: border-box;
	text-align: right;
}

.text-div {
	padding: 40px;
	display: grid;
	max-width: 100%;
	margin: 0 auto;
	font-size: 1rem;
	font-family: "Roboto", sans-serif;
	text-align: left;
	hyphens: auto;
	word-break: break-word;
	overflow: auto;
}

.text-div {
	margin: 0;
}


.text-div pre, i {
	text-indent: 0;
}

.div-link {
	color:#1F2937;
	font-weight: 500;
}

.div-link:hover {
	color:orange;
}

.text-list {
	padding: 10px 10px 10px 40px;
	display: grid;
	max-width: 100%;
	margin: 0 auto;
	font-size: 1rem;
	font-family: "Roboto", sans-serif;
	text-align: left;
	text-indent: 0px;
	hyphens: auto;
	word-break: break-word;
}

.sub-list {
	padding: 10px 10px 10px 40px;
	display: grid;
	max-width: 100%;
	margin: 0 auto;
	font-size: 1rem;
	font-family: "Roboto", sans-serif;
	text-align: left;
	text-indent: 0px;
	hyphens: auto;
	word-break: break-word;
}


.link-return {
	margin-left: 0;
	padding: 10px;
	text-align: center;
	font-style: italic;
	color: #1F2937;
}

.link-return:hover {
	color: orange;
}

.link-container {
	display: flex;
	justify-content: space-between;
	margin-top: 1rem;
	padding: 1.8rem;
}


.link-return i {
	font-size: 1.5rem;
}


.social-icons{
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	gap: 20px;
}


.link-tg-icon {
	display: inline-block;
	width: 50px;
	height: 50px;
	background: url('/images/icon/telegram-icon.png') no-repeat;
	background-size: cover;
	position: relative;
	transition: background-image 0.2s ease;
}


.link-tg-icon::before {
	content: "";
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 50px;
	height: 50px;
	background-image: url('/images/icon/telegram-icon-orange.png');
	background-size: cover;
	opacity: 0;
	transition: opacity 0.2s ease;
}

.link-tg-icon:hover::before {
	opacity: 1;
}

.link-you-icon {
	display: inline-block;
	width: 50px;
	height: 50px;
	background: url('/images/icon/you-bl.png') no-repeat;
	background-size: cover;
	position: relative;
	transition: background-image 0.2s ease;
}


.link-you-icon::before {
	content: "";
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 50px;
	height: 50px;
	background-image: url('/images/icon/you-or.png');
	background-size: cover;
	opacity: 0;
	transition: opacity 0.2s ease;
}

.link-you-icon:hover::before {
	opacity: 1;
}



.learning-image div {
	width: 300px;
	height: 200px;
	min-height: 200px;
	overflow: auto;
	border: 1px solid #ccc;
}

.image img{
	border-radius: 5px;
}

.image{
	display: block;
	height: auto;
	margin-top: 10px;
	margin-bottom: 10px;
	padding-top: 0px;
	border-radius: 5px;

}


notion {
	background-color: rgb(215, 236, 247);
	padding: 1px 2px 1px 2px;
	border-radius: 2px;
}

/* Table STYLES*/
.learning-table {
	border-collapse: collapse;
	width: 100%;
	margin: 20px auto;

}

.learning-table td, .learning-table th{
	border: 1px solid #ddd;
	padding: 8px;
}

.learning-table tr:nth-child(even){background-color: #f2f2f2;}

.learning-table tr:hover {background-color: #ddd;}

.learning-table th {
	padding-top: 12px;
	padding-bottom: 12px;
	text-align: left;
	background-color: #37485f;
	color: white;

}


.important-note {
	font-family: "Nunito", sans-serif;
	display: flex; /* Используем Flexbox */
	justify-content: center; /* Центрируем по горизонтали */
	align-items: center; /* Центрируем по вертикали */
	padding: 1rem;
	background-color: rgb(255, 239, 209);
	border-radius: 5px;
	box-sizing: border-box;
	margin: 20px auto;
	width: 100%;
	max-width: 100vw;
}

div.important-note{
	display: grid;
	grid-template-columns: 1fr;
	grid-template-rows: auto;
	justify-content: center;
}

.important-note p {
	background-color: white;
	padding: 1rem;
	margin: 0;
	border-radius: 5px;
	max-width: 100%;
	width: 100%;
	box-sizing: border-box;
	word-wrap: break-word;
}


.important-note span {
	text-align: left;
	padding: 0 0 1rem 0;
	color: rgb(233, 67, 7);
	font-weight: bold;
	display: flex;
	align-items: center;
	gap: 0.5rem;
	width: 100%;
	margin-left: 0;
	margin-top: 0;
}


.success-note {
	font-family: "Nunito", sans-serif;
	display: flex; /* Используем Flexbox */
	justify-content: center; /* Центрируем по горизонтали */
	align-items: center; /* Центрируем по вертикали */
	padding: 1rem;
	background-color: rgb(179, 243, 179);
	border-radius: 5px;
	box-sizing: border-box;
	margin: 20px auto;
	width: 100%;
	max-width: 100vw;
}



div.success-note{
	display: grid;
	grid-template-columns: 1fr;
	grid-template-rows: auto;
	justify-content: center;
}

.success-note p,
.success-note ul

{	font-family: "Nunito", sans-serif;
	background-color: white;
	padding: 1rem;
	margin: 0;
	border-radius: 5px;
	max-width: 100%;
	width: 100%;
	box-sizing: border-box;
	word-wrap: break-word;
}


.success-note span {
	text-align: left;
	padding: 0 0 1rem 0;
	color: green;
	font-weight: bold;
	display: flex;
	align-items: center;
	gap: 0.5rem;
	width: 100%;
	margin-left: 0;
	margin-top: 0;
}




.info-note {
	font-family: "Nunito", sans-serif;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	padding: 1rem;
	background-color: lightblue;
	border-radius: 5px;
	box-sizing: border-box;
	margin: 20px auto;
	width: 100%;
	max-width: 100vw;
	overflow: auto; 

}

.inline-list {
	color: #1F2937 !important;
	font-weight: normal !important;
	padding: 2px !important;
}

.info-example {
	color:#1F2937 !important;
}

div.info-note{
	display: grid;
	grid-template-columns: 1fr;
	grid-template-rows: auto;
	justify-content: center;
}

.info-note p {
	background-color: white;
	padding: 1rem;
	margin: 0;
	border-radius: 5px;
	max-width: 100%;
	width: 100%;
	box-sizing: border-box;
	word-wrap: break-word;
}


.info-note span {
	text-align: left;
	padding: 0 0 1rem 0;
	color: rgb(6, 97, 128);
	font-weight: bold;
	display: flex;
	align-items: center;
	gap: 0.5rem;
	width: 100%;
	margin-left: 0;
	margin-top: 0;
}



/* Services and prices */
.main-prices-div {
	padding: 40px 20px 40px 20px;
	width: 100%;
	margin: 0 auto;
	display: flex;
	flex-wrap: wrap;
	flex-direction: row;
	align-items: stretch;
	justify-content: center;
	text-align: justify;
	gap:25px;
	background-color:#1F2937;
}

.prices-div {
	padding: 10px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-direction: column;
	gap: 10px;
	flex: 1;
	box-sizing: border-box;
	background-color: #f5f5f5;
	box-shadow: 0px 2px 12px #1f293754;
	border-radius: 10px;
	height: auto;
	min-width: 250px;
	max-width: 320px;
}

.prices-div:hover {
	transition-duration: 300ms;
	box-shadow: 0px 2px 12px #f5f5f5;
}


.prices-div span {
	font-family: "Nunito", sans-serif;
	font-weight: 800;
}

.prices-div h2 {
	text-align: center;
	font-weight: 800;
	font-size: 1.2rem;
	font-family: "Nunito", sans-serif;
}


.text-start {
	display: flex;
	flex-direction: column;
	flex-grow: 1;
	width: 100%;
}

.text-start p{
	margin: 10px 0 10px 0;
}

.text-start span{
	font-style: italic;
	color:#1F2937;
}

.text-start a {
	background-color: #1F2937 ;
	color: #e6e6e6;
	border-radius: 5px;
	padding: 10px;
	margin-top: auto;
	text-align: center;
	width: 100%;
}


.text-start a:hover {
	background-color:#f97316;
	color: white;

}

/* ABOUT Page */
.stack-container {
	background-color: #57534e1A;
	margin: 0 auto;
	display: flex;
	flex-direction:row;
	border-radius: 10px;
	padding: 20px;
	flex-wrap: wrap;
	gap: 20px;
	justify-content: center;
	align-items: flex-start;
	width: 100%;

}

.stack-container p {
	font-family: "Nunito", sans-serif;
	display: flex;
	text-align: center;
	align-items: center;
	justify-content: center;
	height: 80px;
	width: 100%;
	gap: 4px;
	padding-left: 14px;
	padding-top: 14px;
}

.stack {
	display: flex;
	align-items: center;
	justify-content: start;
	flex-wrap: wrap;
	gap: 10px;

}

.stack img {
	object-fit: cover;
	box-shadow: 0px 2px 12px #1f293754;
	border-radius: 10px;
	padding: 4px;
	background-color: white;
	width: 4rem;
	height: 4rem;
}

.stack img:hover {
	scale: 110%;
	transform: scale(1.1);
	transition-duration: 300ms;
}




.tooltip {
	position: absolute;
	background: rgba(0, 0, 0, 0.8);
	color: white;
	padding: 6px 10px;
	font-size: 14px;
	border-radius: 6px;
	white-space: nowrap;
	opacity: 0;
	transition: opacity 0.3s ease-in-out;
	pointer-events: none;
}


/* PORTFOLIOS */
#landing, #e-commerce, #platform{
	scroll-margin-top: 120px;
}

.portfolio-card {
    box-shadow: 0px 2px 12px #1f293754;
    border-radius: 24px; /* Чтобы тень выглядела естественно */
}


.project-image {
	cursor: pointer;
	transition: transform 0.3s ease-in-out;
	box-shadow: 0px 2px 12px #1f293754;

}

.project-image:hover {
	scale: 110%;
	transform: scale(1.1);
}

.cover-portfolio-image {
	width: 100%;
}

.cover-portfolio-i{
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 10px;
	box-shadow: 0px 2px 12px #1f293754;
}







@media (max-width: 1198px) {
	.title h1 {
		font-size: 3rem;
	}

	.home-text {
		grid-template-columns: 1fr;
		margin-top: 30px;
		width: 80%;
	}

}


@media (max-width: 1020px) {
	.project-image:hover {
		scale: 100%;
		transform: scale(1.0);
	}

}


@media (max-width: 972px) {
	.general-bg-contact {
		display: flex;
		flex-direction: column !important;
		gap: 20px;
		align-items: center !important;
		justify-content: center !important;
		max-width: 400px !important;
	}

	.general-bg-home-contact {
		display: flex;
		flex-direction: column !important;
		gap: 20px;
		align-items: center !important;
		justify-content: center !important;
		max-width: 400px !important;
	}



	.contact-link {
		display: flex;
		align-items: center;
		justify-content: flex-start;
		gap: 10px;
		color: #1F2937;
		width: 100%;
		max-width: 250px;
	}


}



/* Медиа-запросы для мобильных устройств */
@media (max-width: 768px) {
	.bg-image {
		height:300px;
	}



	.title {
		grid-template-columns: 1fr; /* Используем один столбец */
		grid-template-rows: auto; /* Используем одну строку для заголовка */
		justify-content: center; /* Центрируем по горизонтали */
		align-items: start; /* Располагаем элементы сверху */
		padding: 20px; /* Добавляем отступы */
	}

	.title h1 {
		font-size: 2rem; /* Уменьшаем размер шрифта для мобильных устройств */
	}


	.secondary-title {
		font-size: 1.2rem;;
	}

	.home-text {
		grid-template-columns: 1fr;
		margin-top: 30px;
		width: 90%;
	}

	.home-text p {
		padding: 2px 0 0 2px;
		margin-bottom: 4px;
	}



	.text-block {
		width: 100%;
		text-align: left;
	}

	.text-div, .text-list, .sub-list {
		padding: 20px;
		width: 100%;
	}

	.title {
		font-size: 1.5rem; /* Уменьшение размера шрифта заголовка на мобильных устройствах */
	}

	.menu-div {
		padding: 20px;
		grid-template-columns: 1fr; /* Отображение меню в один столбец */
		max-width: 100%; /* Ширина контейнера по умолчанию 100% */
	}

	.menu-link {
		height: auto; /* Удаляем фиксированную высоту */
		margin: 5px 0; /* Уменьшаем отступы между элементами */
		font-size: 1rem; /* Уменьшаем размер шрифта для мобильных устройств */
	}

	.important-note p {
		width: 100%; /* Для больших экранов ставим ограничение */
		max-width: 80rem; /* Максимальная ширина */
	}


	.success-note p {
		width: 100%; /* Для больших экранов ставим ограничение */
		max-width: 80rem; /* Максимальная ширина */
	}

	.info-note p {
		width: 100%; /* Для больших экранов ставим ограничение */
		max-width: 80rem; /* Максимальная ширина */
	}

	.stack-container {
		padding: 10px; /* Уменьшаем отступы */
	}

	.stack-container p {
		height: auto; /* Автоматическая высота для текста */
		margin-bottom: 10px; /* Добавляем отступ снизу */
	}

}


/* Медиа-запрос для мобильных устройств */
@media (max-width: 510px) {
	.stack-container {
		flex-direction: row;
		padding: 10px;
		align-items: flex-start;
		justify-content: flex-start;

	}

	.stack-container p {
		align-items: flex-start;
		justify-content: flex-start;
		text-align: start;
		margin-left: 4px;
	}
}




@media (max-width: 485px) {
	.title h1 {
		font-size: 1.5rem;
	}
	.bg-image {
		height: 250px;
		object-fit: cover;
		background-position: 20% 10%;
	}

	.home-text {
		width: 85%;
	}

	.general-bg-home-contact {
		width: 100%;
		margin: 0 2px 0 2px;
	}

}

@media (max-width: 428px) {
	.title h1 {
		font-size: 1.3rem;
	}


}

@media (max-width: 395px) {
	.stack {
		justify-content: center;
}

	.stack-container {
		align-items: center;
		justify-content: center;

	}

	.stack-container p {
		align-items: center;
		justify-content: center;
		text-align: center;
		padding: 0;

	}
}




@media (max-width: 382px) {
	.title h1 {
		font-size: 1.2rem;
	}

	.general-home-contact-block{
		padding: 2px;
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		flex-wrap: wrap;
		width: 85%;

	}

	.general-bg-home-contact {
		width: 100% !important;
		font-size: medium;

	}


}



@media (max-width: 282px) {
/* Menu */
	.menu-block {
		width: 100%;
		max-width: 100%;
		padding: 10px;
		margin: 0 auto;
	}

	.home-text p {
		padding: 10px;
		margin-bottom: 4px;

	}




}






