@media (max-width: 768px) {
	:root {
		--font1: 32px;
		--font2: 20px;
		--font3: 18px;
	}
}
li {
	list-style: none;
}
html {
	scroll-behavior: smooth;
	overflow-x: hidden;
}
.body {
	overflow-x: hidden;
	background-color: black;
}
.body.light_theme {
	background-color: white;

}
@media (max-width: 768px) {
	.html {
		max-width: 768px;
		overflow-x: hidden;
	}
	.body {
		width: 768px;
		overflow-x: hidden;
	}
}
.container {
	width: 1440px;
	margin: 0 auto;
}

/* Container ================================================*/

.container {
	width: 100%;
	max-width: 1440px;
	margin: 0 auto;
}

/* Body ================================================*/

body {
	font-family: "Inter", sans-serif;
	font-weight: 300;
	font-size: 20px;
	margin: 0;
	padding: 0;
}
.body.dark_theme {
	background-color: black;
}
.body.light_theme {
	background-color: white;
}

/* Header ================================================*/

.header-container {
	width: 100%;
	position: absolute;
}
.header__content {
	height: 50px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin: 0px;
	padding: 20px 0;
}

/* Logo ================================================*/
.logo-section {
	margin-left: 0px;
}
.logo {
	background: url(assets/svg/logo.svg);
	background-repeat: no-repeat;
	display: block;
	width: 50px;
	height: 50px;
	margin-left: 20px;
}

.logo:hover {
	transition: 1s;
	filter: invert(26%) sepia(15%) saturate(638%) hue-rotate(7deg) brightness(92%) contrast(87%);
}

.logo.light_theme {
	filter: invert(100%);
}
.logo.light_theme:hover {
	transition: 1s;
	filter: invert(26%) sepia(15%) saturate(638%) hue-rotate(7deg) brightness(92%) contrast(87%);
}

@media screen and (max-width: 768px) {
	.logo {
		padding-left: 40px;
		background-position: 40px;
	}
}

/* Navigation ================================================*/

.site-nav {
	margin-left: auto;
	display: flex;
	margin-right: 0px;
}
.nav {
	display: flex;
	font-size: 20px;
	line-height: 50px;
	margin-right: 0px;
}

.nav-link {
	display: inline-block;
	margin: 0 15px;
	color: white;
	text-decoration: none;
	transition: color 0.1s linear;
	position: relative;
}

.nav-link:hover {
	color: #bdae82;
	transition: 1s;
	cursor: pointer;

}

.nav-link-skills.light_theme {
	color: black;
}
.nav-link-skills.light_theme:hover {
	color: #bdae82;
	transition: 1s;
	cursor: pointer;
}
.nav-link-portfolio.light_theme {
	color: black;
}
.nav-link-portfolio.light_theme:hover {
	color: #bdae82;
	transition: 1s;
	cursor: pointer;
}
.nav-link-video.light_theme {
	color: black;
}
.nav-link-video.light_theme:hover {
	color: #bdae82;
	transition: 1s;
	cursor: pointer;
}
.nav-link-price.light_theme {
	color: black;
}
.nav-link-price.light_theme:hover {
	color: #bdae82;
	transition: 1s;
	cursor: pointer;
}
.nav-link-contacts.light_theme {
	color: black;
}
.nav-link-contacts.light_theme:hover {
	color: #bdae82;
	transition: 1s;
	cursor: pointer;
}

.nav-link:hover:after {
	opacity: 1;
}


.change_theme {
	outline-style: none;
	border-style: none;
	background-color: transparent;
	width: 45px;
	height: 45px;
}
.change_theme:hover {
	transition: 0.5s;
	cursor: pointer;
}

.sun_theme {
	background-image: url(assets/svg/carbon_sun.svg);
	background-repeat: no-repeat;
	margin-left: 35px;
	margin-right: 18px;
}
.moon_theme {
	background-image: url(assets/svg/carbon-moon.svg);
	background-repeat: no-repeat;
	margin-left: 35px;
	margin-right: 18px;
}


@media screen and (max-width: 768px) {
	.site-nav {
		display: none;
		z-index: 2;
		position: absolute;
		right: -620px;
		top: 0;
		width: 620px;
		height: 1024px;
		background-color: var(--black);
	}

	.nav-link {
		flex-direction: column;
	}

	.nav-link {
		margin-bottom: 15px;
		font-size: 35px;
	}

	.nav li {
		font-size: 35px;
		line-height: 73px;
	}

	/*class active - toggle in JS*/
	.active {
		display: block;
		right: 0;
	}
}

/* Switcher ================================================*/

.language__swither {
	padding-left: 15px;
	letter-spacing: 1px;
	padding: 0px;
	font-size: 20px;
}
.radio__swither {
	display: flex;
	padding-left: 10px;
	color: white;
	padding: 0px;
	margin-left: 20px;
}
.radio__swither.light_theme {
	color: black;
}
.languages__item {
	display: none;
}
.language__label:hover {
	color: #bdae82;
	transition: 0.5s;
}
.between {
	padding: 0px 8px 0px 8px;
}
@media screen and (max-width: 768px) {
	.radio__swither {
		margin-left: auto;
	}
	.russian__label {
		margin-right: 20px;
		padding-left: 12px;
	}
	.nav-link {
		display: block;
	}
}

/* Hamburger ================================================*/

@media screen and (max-width: 768px) {
	.nav {
		/* display: none; */
		z-index: 2;
		position: absolute;
		top: 0px;
		width: 620px;
		height: 1024px;
		background-color: black;
	}

	.nav.light_theme {
		background-color: white;
	}


	.nav {
		margin: 0px;
		padding-top: 0px;
		flex-direction: column;
		padding-top: 134px;
		padding-left: 127px;
	}

	.nav-link {
		margin-bottom: 15px;
	}

	.nav li {
		font-size: 35px;
		line-height: 73px;
	}

	.active {
		display: block;
		right: 0;
	}

	.burger-menu {
		z-index: 2;
		position: relative;
		width: 50px;
		height: 28px;
		margin-right: 65px;
		margin-bottom: 0px;
	}

	.burger-line {
		position: absolute;
		left: 0;
		display: block;
		width: 100%;
		height: 2px;
		background-color: white;
		transition: 0.3s all linear;
	}

	.burger-line-one.light_theme {
		background-color: black;
	}
	.burger-line-two.light_theme {
		background-color: black;
	}
	.burger-line-three.light_theme {
		background-color: black;
	}
	.burger-line-four.light_theme {
		background-color: black;
	}


	.burger-line-one {
		top: 1px;
	}

	.burger-line-two,
	.burger-line-three {
		top: 50%;
		transform: translateY(-50%);
	}

	.burger-line-four {
		bottom: 1px;
	}

	.active .burger-line-one,
	.active .burger-line-four {
		opacity: 0;
	}

	.active .burger-line-two {
		transform: translateY(-50%) rotate(45deg);
	}

	.active .burger-line-three {
		transform: translateY(-50%) rotate(-45deg);
	}
}

/* Hero ================================================*/

.hero {

	background-image: url(assets/img/bg.jpg);
	background-position: center 0px;
	background-repeat: no-repeat;
	background-size: cover;
	width: 500px;
	height: 330px;
	justify-content: space-between;
	padding: 250px 860px 330px 80px;
}
.hero.dark_theme {
	background-image: url(assets/img/bg.jpg);
	background-position: center 0px;
	background-repeat: no-repeat;
	background-size: cover;
}
.hero.light_theme {
	background-image: url(assets/img/bg-light.png);
	background-position: center 0px;
	background-repeat: no-repeat;
	background-size: cover;
}
.hero_title {
	font-family: "Merriweather", serif;
	font-weight: bold;
	font-size: 60px;
	line-height: 120px;
	margin: 0;
	color: white;
}
.hero_title.light_theme {
	color: black;
}
.hero_text {
	font-family: inherit;
	line-height: 40px;
	text-decoration: none;
	width: 470px;

	color: white;
}
.hero_text.light_theme {
	color: black;

}
.hero_text p {
	margin-top: 10px;
	margin-bottom: 25px;
}
.btn {
	height: 55px;
	width: 220px;
	background-color: transparent;
	border: 2px solid #bdae82;
	font-family: inherit;
	font-size: 20px;
	cursor: pointer;
	color: #bdae82;
}
.btn:hover {
	background-color: #bdae82;
	color: black;
	transition: 1s;
}
.btn.light_theme {
	background-color: white;
	color: black;
}
.btn.light_theme:hover {
	background-color: black;
	color: white;
}
.nav-list img {
	margin-right: 800px;
}

@media screen and (max-width: 768px) {
	.hero {
		background-size: auto 620px;
		background-position: -5px -30px;
		padding: 168px 207px 152px 60px;
		height: 270px;
	}
	.hero_title {
		font-size: var(--font1);
		line-height: 64px;
		padding-bottom: 10px;
	}
	.hero_text {
		font-size: var(--font2);
		line-height: 24px;
		padding-bottom: 35px;
		width: 390px;
	}
}
/* Skills ================================================*/

.skills {
	background: #000;
	height: 482px;
}
.skills.light_theme {
	background-color: white;
}
.skills_title {
	font-family: "Merriweather";
	font-size: 40px;

	background-color: black;
}
.skills_title.light_theme {
	background-color: white;
	color: black;

}
.skills_list {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	list-style: none;
	margin: 0px;
	padding: 0px 20px;
}
.title {
	background-color: black;
}
.title_line {
	color: #bdae82;
	font-family: "Merriweather";
	font-weight: 700;
	font-size: 40px;
	line-height: 80px;
	margin: 0 auto;
	width: 50%;
	background-image: linear-gradient(to top, #000 39px, #bdae82 35px, #bdae82 41px, #000 35px);
	padding-top: 100px;
}

.title.light_theme {
	background-color: white;
	color: black;
}
.title_line.light_theme {
	background-image: linear-gradient(to top, #fff 39px, #000 35px, #000 41px, #fff 35px);
}
.title_line h2 {
	margin: 0 auto;
	padding: 0 22px;
	width: min-content;
}

.skills_item {
	color: white;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	line-height: 36px;
	width: 320px;
	height: 240px;
	padding-top: 60px;
}
.skills_item.light_theme {
	color: black;
}

.skills_item img {
	height: 50px;
}
.skills_item h3 {
	margin: 50px 0px 20px 0px;
	font-size: 20px;
	line-height: 40px;
}
.skills_item p {
	margin: 0px 0px 8px 0px;
	align-content: center;
	font-size: 18px;
	width: 280px;
}
@media screen and (max-width: 768px) {
	.skills {
		width: 768px;
		height: 729px;
	}
	.skills_title {
		font-size: var(--font1);
	}
	.title_line {
		padding-top: 80px;
	}
	.skills_list {
		display: flex;
		justify-content: space-evenly;
		width: 728px;
		height: 520px;
		padding-top: 45px;
	}
	.skills_item {
		width: 280px;
		height: 184px;
		padding: 0px;
		line-height: 22px;
	}
	.skills_item h3 {
		font-size: var(--font2);
		margin-top: 30px;
	}
	.skills_item p {
		line-height: 24px;
		font-size: var(--font3);
	}
	.skills_list {
		padding-right: 10px;
	}
}

/* Portfolio ================================================*/

.portfolio {
	background-color: black;
	height: 1500px;
}
.portfolio.light_theme {
	background-color: white;
}
.title_portfolio {
	font-family: "Merriweather";
	font-size: 40px;
}
.nav_portfolio {
	color: white;
	display: flex;
	flex-direction: column;
	align-items: center;
	margin-top: 60px;
}
.nav_port_list {
	list-style: none;
	display: flex;
	padding: 0;
	margin: 0;
}
.nav_port_item {
	padding: 0px 2.5px 0px 2.5px;
}
.photo_portfolio {
	margin-top: 60px;
}
.portfolio_list {
	display: flex;
	padding: 0px 7.5px 12.5px 7.5px;
	list-style: none;
	margin: 0px;
}
.portfolio_list_1 {
	display: flex;
	padding: 0;
	margin: 0px;
	list-style: none;
	padding: 12.5px 7.5px 0px 7.5px;
}
.portfolio_item {
	padding: 0 12.5px;
	height: 560px;
}
.portfolio_item img {
	width: 450px;
	height: 560px;
}

.btn.btn_portfolio.light_theme {
	background-color: #bdae82;
	color: black;
}
.btn.btn_portfolio.light_theme:hover {
	background-color: black;
	color: #bdae82;
}

@media screen and (max-width: 768px) {
	.portfolio {
		width: 768px;
		height: 3870px;
	}
	.title_portfolio {
		font-size: var(--font1);
	}
	.nav_port_list {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 5px;
		column-gap: 0px;
	}
	.nav_portfolio {
		margin-top: 50px;
	}
	.portfolio_list {
		display: flex;
		flex-direction: column;
		padding: 0px;
	}
	.portfolio_list :first-child {
		padding-top: 0px;
	}
	.portfolio_list_1 {
		display: flex;
		flex-direction: column;
		padding: 0px;
	}
	.portfolio_item {
		padding: 12.5px 159px;
	}
}

/* Video ================================================*/

.title_video {
	font-family: "Merriweather";
	font-size: 40px;
}
.video {
	height: 945px;
	background-color: black;
}
.video.light_theme {
	background-color: white;
}
.video-player {
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
	margin: 0px;
	padding-top: 60px;
}
.video_text {
	position: absolute;
	left: 162px;
	top: 310px;
	padding: 259px 1038px 410px 141px;
	font-family: "Inter";
	font-size: 18px;
	font-weight: 400;
	color: white;
}
.video_btn {
	position: absolute;
}
.video_btn img {
	color: #bdae82;
	transition: 1s;
}

.video_player_btn {
	outline-style: none;
	border-style: none;
	background-color: transparent;
}
.video_player_btn:hover {
	cursor: pointer;
	transition: 1.5s;
	filter: invert(26%) sepia(15%) saturate(638%) hue-rotate(7deg) brightness(92%) contrast(87%);
}

@media screen and (max-width: 768px) {
	.title_video {
		font-size: var(--font1);
	}
	.video {
		width: 768px;
		height: 628px;
	}
	.video-player {
		margin-top: 49px;
		background-repeat: no-repeat;
		background-image: url(assets/img/video-player-adaptive.png);
		height: 418px;
		width: 100%;
	}
	.video_bg {
		display: none;
	}
	.video_text {
		padding: 0px;
	}
	.video-player img {
		padding-bottom: 110px;
		width: 62px;
		height: 62px;
	}
	.video_text {
		display: none;
	}
}

/* Price ================================================*/

.section_price {
	background-color: black;
	height: 845px;
}
.section_price.light_theme {
	background-color: white;
}
.title_price {
	font-family: "Merriweather";
	font-size: 40px;
}
.card_list {
	list-style: none;
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	padding: 0px 20px;
	margin-top: 60px;
}
.card_item {
	display: flex;
	flex-direction: column;
	align-items: center;
	height: 500px;
	width: 445px;
	border: 3px solid #bdae82;
	color: white;
}
span.light_theme {
	color: black;
}
.card_title.light_theme {
	color: black;
}
.card_title {
	font-family: "Merriweather";
	font-size: 28px;
	font-weight: 700;
	padding: 43px 0px 20px 0px;
	margin: 0;
	line-height: 56px;
}
.price {
	font-family: "Merriweather";
	font-size: 24px;
	color: #bdae82;
	padding-bottom: 20px;
	margin: 0;
	line-height: 48px;
}
span {
	display: block;
	font-family: "inter";
	font-size: 18px;
	line-height: 36px;
}
.card_item button {
	margin: 40px 0px 43px 0px;
	font-family: "Inter";
}
@media screen and (max-width: 768px) {
	.section_price {
		width: 768px;
		height: 1905px;
	}
	.card_list {
		display: grid;
		gap: 50px;
		padding: 0px 174px;
		margin-top: 50px;
	}
	.title_price {
		font-size: var(--font1);
	}
	.card_item {
		width: 414px;
		height: 499px;
	}
	.card_title {
		padding-top: 41px;
	}
}

/* Contacts ================================================*/

.contacts {
	background-image: url(assets/img/contacts.png);
	height: 700px;
	background-size: auto 700px;
	background-position: center center;
}
.contacts.light_theme {
	background-image: url(assets/img/contacts-bg-light.png);
}
.title_contacts {
	font-family: "Merriweather";
	color: #bdae82;
	font-size: 40px;
	line-height: 80px;
	margin: 0;
	padding-bottom: 30px;
}
.contact_me {
	width: 450px;
	height: 445px;
	padding: 60px 20px 195px 970px;
}
.contact_me input {
	width: 425px;
	height: 45px;
	outline: none;
	border: 2px solid #bdae82;
	background: transparent;
	margin: 10px 0px;
}
.contact_me textarea {
	width: 425px;
	height: 80px;
	font-family: inherit;
	border: 2px solid #bdae82;
	background: none;
	outline: none;
	margin: 10px 0px;
}
::placeholder {
	font-family: inherit;
	color: #bdae82;
	font-size: 20px;
}
.email {
	padding-left: 20px;
}
.phone {
	padding-left: 20px;
}
.message {
	padding-left: 20px;
	padding-top: 10px;
}
.contact_me button {
	margin-top: 17px;
}
@media screen and (max-width: 768px) {
	.contacts {
		height: 600px;
		width: 768px;
		background-size: auto 600px;
		background-position: -233px 0px;
	}
	.contact_me {
		padding: 52px 159px 11px 159px;
		display: flex;
		flex-direction: column;
		align-items: center;
	}
	.title_contacts {
		font-size: var(--font1);
		padding-bottom: 22px;
	}
	.contact_me button {
		margin-top: 20px;
	}
}

/* Footer ================================================*/
/* footer {
	background-color: black;
} */
.footer {
	height: 150px;
	width: 1440px;
	background-color: black;
	color: white;
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
	list-style: none;
	margin: 0;
	padding: 0;
}

.footer.light_theme {
	background-color: white;
}
.first_item {
	display: flex;
	padding: 0px 0px 0px 10px;
}
.first_item:hover {
	color: #bdae82;
	transition: 1s;
}
.first_item.light_theme {
	color: black;
}
.first_item p {
	padding: 10px;
}
.git.light_theme {
	color: black;
}
.second_item {
	padding-left: 18px;
}

.second_item :hover {
	color: #bdae82;
	transition: 1s;
}
.second_item.light_theme {
	filter: invert(100%);
}

.third_item {
	padding-right: 10px;
}
.inst:hover,
.fb:hover,
.tw:hover,
.pin:hover {
	filter: invert(78%) sepia(46%) saturate(228%) hue-rotate(7deg) brightness(82%) contrast(88%);
	transition: 1s;
}
.third_item.light_theme {
	filter: invert(100%);
}
.third_item img {
	padding: 8px;
}

@media screen and (max-width: 768px) {
	.footer {
		width: 768px;
		height: 190px;
		display: flex;
		flex-direction: column;
	}
	.first_item {
		padding-right: 15px;
		height: 20px;
	}
	.second_item {
		padding-top: 30px;
		padding-right: 20px;
	}
	.third_item {
		padding-bottom: 25px;
		padding-left: 10px;
	}
}
