/* Указываем box sizing */
*,
*::before,
*::after {
	box-sizing: border-box;
}

/* Убираем внутренние отступы */
ul[class],
ol[class] {
	padding: 0;
}

/* Убираем внешние отступы */
body,
h1,
h2,
h3,
h4,
p,
ul[class],
ol[class],
li,
figure,
figcaption,
blockquote,
dl,
dd {
	margin: 0;
}

/* Выставляем основные настройки по-умолчанию для body */
body {
	min-height: 100vh;
	scroll-behavior: smooth;
	text-rendering: optimizeSpeed;
	line-height: 1.5;
}

/* Удаляем стандартную стилизацию для всех ul и il, у которых есть атрибут class*/
ul[class],
ol[class] {
	list-style: none;
}

/* Элементы a, у которых нет класса, сбрасываем до дефолтных стилей */
a:not([class]) {
	text-decoration-skip-ink: auto;
}

/* Упрощаем работу с изображениями */
img {
	max-width: 100%;
	display: block;
}

/* Указываем понятную периодичность в потоке данных у article*/
article>*+* {
	margin-top: 1em;
}

/* Наследуем шрифты для инпутов и кнопок */
input,
button,
textarea,
select {
	font: inherit;
}

/* Удаляем все анимации и переходы для людей, которые предпочитай их не использовать */
@media (prefers-reduced-motion: reduce) {
	* {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}

html {
	scroll-behavior: smooth;
}

body {
	background-color: #080808;
	color: #f8f8f8;
	font-family: 'Nata Sans', sans-serif;
	font-weight: 500;
	font-size: 16px;
}

._container {
	max-width: 1300px;
	margin: 0 auto;
	padding: 0 20px;
}

/*header---------header---------header*/

header {
	position: fixed;
	top: 20px;
	left: 50%;
	transform: translateX(-50%);
	background-color: #141414;
	z-index: 1000;
	border-radius: 40px;
	box-shadow: rgba(255, 255, 255, 0.2) 0px 2px 8px 0px;

}

.header_container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 10px 40px;
}

.header_logo {
	margin-right: 50px;
}

.header_logo a {
	font-size: 28px;
	font-weight: 700;
	color: #f8f8f8;
	text-decoration: none;
}

.header_menu {
	display: flex;
	align-items: center;
	margin-right: 50px;
}

.header_menu_item:not(:last-child) {
	margin-right: 30px;
}

.header_menu_item a {
	color: #f8f8f8;
	font-size: 20px;
	text-decoration: none;
	white-space: nowrap;
	background-image: linear-gradient(to right, #080808, #080808);
	background-repeat: no-repeat;
	background-size: 10px 2px;
	background-position: left bottom;
	padding-bottom: 2px;
	text-decoration: none;
	transition: all 0.3s ease-in-out;
}

.header_menu_item a:hover {
	background-size: 100% 2px;
	background-image: linear-gradient(to right, #fff, #fff);

}

.header_btn {
	background-color: #007aff;
	border: 2px solid #007aff;
	box-shadow: inset 0 1px 1px #ffffff7a;
	color: #f8f8f8;
	font-size: 20px;
	border-radius: 20px;
	text-decoration: none;
	transition: all 0.2s ease-in-out;
	padding: 5px 15px;
}

.header_btn:hover {
	transition: all 0.2s ease-in-out;
	box-shadow: rgba(50, 50, 93, 0.25) 0px 30px 60px -12px inset, rgba(0, 0, 0, 0.3) 0px 18px 36px -18px inset;
}

.burger {
	display: none;
	flex-direction: column;
	justify-content: space-between;
	width: 24px;
	height: 18px;
	cursor: pointer;
}

.burger span {
	display: block;
	height: 3px;
	background: #f8f8f8;
	border-radius: 2px;
	transition: 0.3s;
}

/* меню скрыто на мобилке */
@media (max-width: 768px) {
	header {
		position: fixed;
		top: 00px;
		left: 0px;
		transform: translateX(0%);
		background-color: #141414;
		width: 100%;
		border-radius: 0px;
		box-shadow: rgba(255, 255, 255, 0.2) 0px 2px 8px 0px;
		z-index: 1000;
	}

	.header_container {
		padding: 20px 40px;
	}

	.header_logo {
		flex: 1;
	}

	.header_button {
		margin-right: 30px;
	}

	.header_menu {
		position: absolute;
		top: 81px;
		left: 0;
		background: #141414;
		border-radius: 12px;
		padding: 20px;
		width: 100%;
		flex-direction: column;
		box-shadow: rgba(255, 255, 255, 0.15) 0px 4px 12px;
		z-index: 22;
		/* скрытие */
		opacity: 0;
		visibility: hidden;
		transform: translateY(-300px);
		transition: all 0.3s ease-in-out;
	}

	.header_menu_item:not(:last-child) {
		margin-right: 0px;
	}

	.header_menu_item {
		margin-bottom: 40px;
	}

	.header_menu_item a {
		font-size: 20px;
	}

	.header_menu.active {
		opacity: 1;
		visibility: visible;
		transform: translateY(0);
	}

	.burger {
		display: flex;
		margin-right: 20px;
	}

	/* оставляем только логотип и кнопку */
	.header_container {
		justify-content: space-between;
	}
}

/* анимация при открытом меню */
.burger.open span:nth-child(1) {
	transform: rotate(45deg) translate(5px, 5px);
}

.burger.open span:nth-child(2) {
	opacity: 0;
}

.burger.open span:nth-child(3) {
	transform: rotate(-45deg) translate(5px, -5px);
}

.modal {
	display: none;
	/* по умолчанию скрыто */
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.7);
	align-items: center;
	justify-content: center;
	z-index: 999;
}

.modal_overlay {
	position: absolute;
	inset: 0;
}

.modal_content {
	position: relative;
	background: #111;
	color: #fff;
	padding: 40px 30px;
	border-radius: 20px;
	width: 500px;
	max-width: 90%;
	text-align: center;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
	animation: scaleIn 0.4s ease;
	z-index: 1000;
}

/* крестик снаружи */
.modal_header {
	position: absolute;
	top: 0px;
	right: 20px;
}

.moda_flex {
	display: flex;
	align-items: center;
}



.close {
	font-size: 40px;
	color: #fff;
	cursor: pointer;
	transition: 0.3s;
}

.close:hover {
	color: #ff5252;
}

/* контент */
.avatar {
	width: 120px;
	height: 120px;
	border-radius: 50%;
	margin-bottom: 15px;
	border: 3px solid #fff;
	background-image: url('../img/ava.jpg');
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
	margin-right: 30px;
}

@media(max-width: 450px) {
	.moda_flex {
		flex-direction: column;
		align-items: center;
	}

	.avatar {
		margin: 0px;
	}

	.header_logo {
		margin-right: 20px;
	}

	.header_btn {
		border: 1px solid #007aff;
		font-size: 14px;
		padding: 3px 6px;
	}

	.header_button {
		margin-right: 10px;
	}

}

.contacts p {
	margin: 10px 0;
}

.contacts a {
	color: #4da6ff;
	text-decoration: none;
}

.contacts a:hover {
	text-decoration: underline;
}

/* анимация */
@keyframes scaleIn {
	from {
		transform: scale(0.8);
		opacity: 0;
	}

	to {
		transform: scale(1);
		opacity: 1;
	}
}

/*album---------album---------album*/

.album {
	padding-top: 200px;
	padding-bottom: 50px;
}

.album_container {}

.album_subtitle {
	text-align: center;
	font-size: 18px;
	position: relative;
	display: inline-block;
	left: 50%;
	transform: translateX(-50%);
	padding-right: 35px;
	font-family: "Edu NSW ACT Cursive", cursive;
}

.album_subtitle::after {
	content: "";
	position: absolute;
	right: 0;
	top: 7px;
	transform: translateX(-50%);
	width: 12px;
	height: 12px;
	background: red;
	animation: dropShape 2.5s infinite ease-in-out, dropColor 3s infinite linear;
}

@keyframes dropShape {
	0% {
		border-radius: 50% 50% 50% 50%;
		transform: translateX(-50%) scale(1);
	}

	25% {
		border-radius: 60% 40% 70% 30%;
		transform: translateX(-50%) scale(1.2);
	}

	50% {
		border-radius: 30% 70% 40% 60%;
		transform: translateX(-50%) scale(0.8);
	}

	75% {
		border-radius: 80% 20% 50% 50%;
		transform: translateX(-50%) scale(1.1);
	}

	100% {
		border-radius: 50% 50% 50% 50%;
		transform: translateX(-50%) scale(1);
	}
}

@keyframes dropColor {
	0% {
		background: red;
	}

	25% {
		background: orange;
	}

	50% {
		background: yellow;
	}

	75% {
		background: rgb(78, 54, 3);
	}

	100% {
		background: red;
	}
}

.album_title {
	text-align: center;
	font-size: 68px;
	max-width: 800px;
	margin: 0px auto;
	padding-bottom: 50px;
}

.album_wrapper {
	overflow: hidden;
}

.album_content {
	display: flex;
	align-items: center;
	background-color: #1b1818;
	overflow: visible;
}

.album_item {
	padding: 10px;
	background-color: #2c2929;
	flex: 0 0 auto;

}

.album_item img {
	display: block;
	height: auto;
}

.album_button {
	display: flex;
	justify-content: center;
	margin-top: 50px;
}

.album_btn {
	background-color: #007aff;
	border: 2px solid #007aff;
	box-shadow: inset 0 1px 1px #ffffff7a;
	color: #f8f8f8;
	font-size: 20px;
	border-radius: 20px;
	text-decoration: none;
	padding: 5px 15px;
}

.album_btn:hover {
	transition: all 0.2s ease-in-out;
	box-shadow: rgba(50, 50, 93, 0.25) 0px 30px 60px -12px inset, rgba(0, 0, 0, 0.3) 0px 18px 36px -18px inset;
}

/*case---------case---------case*/

.case {
	padding: 70px 0px;
}

.case_container {}


.case_subtitle {
	text-align: center;
	font-size: 18px;
	font-family: "Edu NSW ACT Cursive", cursive;
}

.case_title {
	text-align: center;
	font-size: 68px;
	max-width: 800px;
	margin: 0px auto;
	padding-bottom: 50px;
}

.case_content {
	display: flex;
	align-items: center;
	justify-content: space-evenly;
	align-items: stretch;
}


.case_item {
	width: 490px;
	border: 1px solid #ffffff14;
	background-color: #101010;
	padding: 15px;
	border-radius: 8px;
}

@media(max-width: 530px) {
	.case_item {
		max-width: 100%;
	}
}

.case_media {
	height: 320px;
	border-radius: 10px;
}

.case_media video {
	width: 100%;
	object-fit: cover;
	border-radius: 10px;
	height: 100%;
}

.case_info {
	margin-top: 20px;
}

.case_info_title {
	font-size: 24px;
	font-weight: 600;
	color: #f8f8f8;
	margin-bottom: 10px;
}

.case_info_subtitle {
	font-size: 18px;
	font-weight: 500;
	color: #b0b0b0;
	margin-bottom: 20px;
}

.case_info_footer {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	margin: 20px 0px;
}

.case_info_elem {
	background-color: #ffffff14;
	padding: 3px 30px;
	border-radius: 20px;
	margin: 10px;
}


/*about---------about---------about*/

.about {
	padding: 70px 0px;
}

.about_container {}

.about_subtitle {
	text-align: center;
	font-size: 18px;
	font-family: "Edu NSW ACT Cursive", cursive;
}

.about_title {
	text-align: center;
	font-size: 68px;
	max-width: 800px;
	margin: 0px auto;
	padding-bottom: 50px;
}

.about_content {
	display: flex;
	align-items: stretch;
}

.about_item {
	flex: 1;
	border: 1px solid #ffffff14;
	background-color: #101010;
	padding: 15px;
	border-radius: 8px;
	transition: flex 0.4s ease-in-out;
	cursor: pointer;
	color: #fff;
}

@media(max-width: 1080px) {
	.case_content {
		flex-direction: column;
		align-items: center;
	}

	.case_item:first-child {
		margin-bottom: 20px;
	}

	.about_content {
		flex-direction: column;
		align-items: center;
	}

}

.about_content:hover .about_item {
	flex: 1.3;
}

.about_content:hover .about_item:hover {
	flex: 2;
}

.about_item_media {
	height: 320px;
	width: 100%;
	background-image: url('https://admission.tuit.uz/assets/img/update1/normal/video_2.jpg');
	background-repeat: no-repeat;
	background-size: cover;
	border-radius: 10px;
}

.about_item_media2 {
	height: 320px;
	width: 100%;
	background-image: url('https://admission.tuit.uz/assets/img/update1/normal/video_2.jpg');
	background-repeat: no-repeat;
	background-size: cover;
	border-radius: 10px;
}

.about_item_media2 {
	background-image: url('https://cdn.kwork.com/images/video-modal/video-bg-min-en.png');
	background-position: center;
}

.about_item_media3 {
	background-image: url('https://framerusercontent.com/images/4b4jOKafscZLoMZWTjc1jHemuI.png');
	background-position: center;
}

.about_item_content {}

.about_item_title {
	font-size: 24px;
	font-weight: 600;
	color: #f8f8f8;
	margin: 10px 0px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.about_item_subtitle {
	font-size: 18px;
	font-weight: 500;
	color: #b0b0b0;
	margin-bottom: 20px;
}


/*resume---------resume---------resume*/

.resume {
	padding: 70px 0px;
	position: relative;

}

.resume_container {}

.resum_subtitle {
	text-align: center;
	font-size: 18px;
	font-family: "Edu NSW ACT Cursive", cursive;
}

.resume_title {
	text-align: center;
	font-size: 68px;
	max-width: 800px;
	margin: 0px auto;
	padding-bottom: 50px;
}

.resum_header {
	display: flex;
	align-items: center;
}

.resume_ava {
	margin-right: 30px;
}

.resume_ava_img {
	width: 250px;
	height: 250px;
	border-radius: 50%;
	background-image: url('../img/ava.jpg');
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
}

.resum_text {
	font-size: 20px;
}

@media(max-width: 960px) {
	.resume_ava_img {
		width: 150px;
		height: 150px;
	}
}

@media(max-width: 670px) {
	.resum_header {
		flex-direction: column;
		align-items: center;
		text-align: center;
	}

	.resum_text {
		margin: 20px 0px;
		font-size: 16px;
	}
}

/* Container baseline */
.resume-skills {
	max-width: 680px;
}

/* Linear progress */
.skill {
	margin-bottom: 18px;
}

.skill-head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 8px;
}

.skill-name {
	font-weight: 600;
	font-size: 15px;
	color: #FFFFFF;
}

.skill-value {
	font-size: 13px;
	color: #AAB0B6;
}

/* Progress track */
.progress {
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
	border-radius: 12px;
	height: 12px;
	overflow: hidden;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

/* Progress fill */
.progress__bar {
	height: 100%;
	width: var(--percent, 0%);
	max-width: 100%;
	border-radius: 12px;
	transform-origin: left center;

	/* Gradient + subtle glow */
	background: linear-gradient(90deg, #3b82f6, #7c5cff);
	box-shadow: 0 6px 20px rgba(92, 102, 255, 0.12), 0 2px 6px rgba(59, 130, 246, 0.12);
	transition: width 1s cubic-bezier(.2, .9, .2, 1), box-shadow 0.3s ease;
}

/* Hover micro-interaction */
.progress:hover .progress__bar {
	box-shadow: 0 10px 30px rgba(92, 102, 255, 0.16), 0 4px 10px rgba(59, 130, 246, 0.12);
}

/* Circular progress */
.circular {
	position: relative;
	width: 94px;
	height: 94px;
	display: flex;
	align-items: center;
}

.circular__svg {
	width: 94px;
	height: 94px;
	transform: rotate(-90deg);
}

.circular__bg {
	fill: none;
	stroke: rgba(255, 255, 255, 0.06);
	stroke-width: 2.8;
}

.circular__progress {
	fill: none;
	stroke-width: 2.8;
	stroke-linecap: round;
	stroke: url(#grad1);
	/* fallback if gradient not supported */
	stroke: #6C8CFF;
	/* fallback color */
	stroke-dasharray: 100;
	stroke-dashoffset: 100;
	transition: stroke-dashoffset 1.1s cubic-bezier(.2, .9, .2, 1);
}

/* number inside circle */
.circular__text {
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	color: #FFFFFF;
	font-size: 20px;
}

.circular__text span {
	font-size: 20px;
	color: #E9F0FF;
}

/* Responsive small */
@media (max-width:480px) {
	.resume-skills {
		padding: 0 12px;
	}
}

.circular__label {
	font-size: 20px;
	margin-left: 20px;
}


.css,
.html,
.js {
	position: absolute;
	bottom: 0px;
	right: 0px;
	animation: float 3s ease-in-out infinite;
}

.html {
	bottom: 400px;
	animation-delay: 1s;
	right: 300px;
}

.js {
	bottom: 200px;
	right: 500px;
	animation-delay: 2s;
}

.css {
	bottom: 100px;
	right: 780px;
	transform: rotate(15deg);
}

@media(max-width: 1500px) {
	.html {
		right: 100px;
	}

	.js {
		right: 300px;
	}

	.css {
		right: 580px;
	}
}

@media(max-width: 1200px) {
	.html {
		right: 000px;
	}

	.js {
		right: 150px;
		bottom: 150px;
	}

	.css {
		right: 400px;
	}
}

@media(max-width: 920px) {


	.css,
	.html,
	.js {
		display: none;
	}
}

@keyframes float {

	0%,
	100% {
		transform: translateY(0);
	}

	50% {
		transform: translateY(-25px);
	}
}

/*form---------form---------form*/

.form {
	padding: 70px 0px;
}

.form_container {}


.form_subtitle {
	text-align: center;
	font-size: 18px;
	font-family: "Edu NSW ACT Cursive", cursive;
}

.form_title {
	text-align: center;
	font-size: 68px;
	max-width: 800px;
	margin: 0px auto;
	padding-bottom: 50px;
	color: #f8f8f8;
	font-family: 'Nata Sans', sans-serif;
}

.form_content {
	padding: 30px;
	background: #0f0f0f;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 16px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
}

.contact-form {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

/* Поля */
.form-group {
	display: flex;
	flex-direction: column;
}

.form-group label {
	font-size: 14px;
	margin-bottom: 6px;
	color: #bbb;
}

.form-group input,
.form-group textarea {
	background: #151515;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 10px;
	padding: 12px 14px;
	font-size: 15px;
	color: #fff;
	transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
	outline: none;
	border-color: #3b82f6;
	box-shadow: 0 0 10px rgba(124, 92, 255, 0.4);
}

/* Кнопка */
.btn-submit {
	background: linear-gradient(90deg, #3b82f6, #7c5cff);
	border: none;
	border-radius: 12px;
	padding: 14px;
	color: #fff;
	font-weight: 600;
	font-size: 16px;
	cursor: pointer;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-submit:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(92, 102, 255, 0.4);
}

@media (max-width: 768px) {
	.album {
		padding-top: 100px;
		padding-bottom: 30px;
	}

	.album_subtitle {
		font-size: 14px;
	}

	.album_title {
		font-size: 38px;
	}

	.case {
		padding: 30px 0px;
	}

	.case_subtitle {
		font-size: 14px;
	}

	.about {
		padding: 30px 0px;
	}

	.case_title {
		font-size: 38px;
	}

	.about_subtitle {
		font-size: 14px;
	}

	.about_title {
		font-size: 38px;
	}

	.resume {
		padding: 30px 0px;
	}

	.resum_subtitle {
		font-size: 14px;
	}

	.resume_title {
		font-size: 38px;
	}

	.form {
		padding: 30px 0px;
	}

	.form_subtitle {
		font-size: 14px;
	}

	.form_title {
		font-size: 38px;
	}
}

.show_animate {
	opacity: 0;
	transform: translateY(150px);
	transition: all 0.8s ease-out;
}

.show_animate.show {
	opacity: 1;
	transform: translateY(0);
}