/* Общие стили */
@import url('https://fonts.googleapis.com/css2?family=Sofia+Sans:ital,wght@0,1..1000;1,1..1000&display=swap');

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: Arial, sans-serif;
}
html
{
  scroll-behavior: smooth;
}
body {
	font-family: "Sofia Sans", sans-serif;
	background-color: #f9f9f9;
	color: #333;
}

.logo img {
    width: 95px;
    height: 85px;
    margin-top: 10px;
    margin-bottom: 7px;
    border-radius: 5px;
}

/* Блок nav*/
.nav {
	display: flex;
	justify-content: space-around;
	align-items: center;
	background-color: #333;

}

/* Блок меню*/

.menu-mobail{
	display: none;
}

.menu ul {
	display: flex;
	gap: 20px;
}

.menu li a {
	text-decoration: none;
	color: white;
	transition: all 0.3s ease-in-out;
	cursor: pointer;
	font-size: 20px;
}

.link {
	position: relative;
}

.link::after {
	position: absolute;
	content: '';
	left: 0;
	bottom: 0;
	display: block;
	width: 100%;
	height: 2px;
	background: rgb(0, 179, 30);
}

.link::after {
	width: 0;
	transition: 0.3s;
}

.link:hover:after {
	width: 100%;
}

.link::after {
	left: 50%;
	transform: translateX(-50%);
}

.contact a:hover {
	cursor: pointer;
	color: rgb(0, 179, 30);
	;
}


.contact p a {
	text-decoration: none;
	font-size: 20px;
	color: #fff;
}

.slider__block {
	width: 1920px;
	height: 900px;
	background-repeat: no-repeat;
	background-position: center;
	background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/header.png');
}

.block__h1 {
	max-width: 1100px;
	padding-top: 150px;
	padding-left: 100px;
	font-size: 65px;
	color: #fff;
}

.block__h3 {
	max-width: 1000px;
	padding-left: 100px;
	font-size: 18px;
	color: #000;
	background-color: #ccc;
	width: 336px;
	height: 81px;
	padding: 20px;
	margin-left: 100px;
	border-radius: 5px;
	margin-top: 50px;
}

.block__btn {
	width: 280px;
	height: 60px;
	margin-left: 100px;
	margin-top: 50px;
	border: none;
	border-radius: 5px;
	font-size: 17px;
	background-color: green;
	color: #fff;
	cursor: pointer;
}

.block__btn:hover {
	color: #000;
}


.slider__block1 {
	width: 1920px;
	height: 900px;
	background-repeat: no-repeat;
	background-position: center;
	background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/header2.png');
}


.block__text-h2 {
	max-width: 1100px;
	padding-top: 150px;
	padding-left: 100px;
	font-size: 65px;
	color: #fff;
}

.slider__block-left p {
	color: #fff;
	max-width: 400px;
	margin-left: 100px;
	margin-top: 30px;
}

.slider__block-left1 p {
	color: #fff;
	max-width: 400px;
	margin-left: 100px;
	margin-top: 30px;
}

.slider__block-left span {
	margin-left: 27px;
}

.slider__block-left1 span {
	margin-left: 27px;
}

/* Слайдер */
:root {
	--rate: 19.9%;
	--function: ease-in-out;
	--slide-distortion-delay: 1s;
	--slide-distortion-time: 2.5s;
	--slide-reset-delay: 5.4s;
	--slide-reset-time: 5.5s;
	--slider-offset: 0%;
	--slider-time: 0.3s;
}

.wrapper {
	padding: 0;
}

.slider {
	overflow: hidden;
}

.slider__inner {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	transform: translateX(var(--slider-offset));
	transition-property: transform;
	transition-duration: var(--slider-time);
	transition-timing-function: ease;
	will-change: transform;
}

.slider__item {
	flex: 1 0 100%;
	box-sizing: border-box;
	position: relative;
	width: 100%;
	height: auto;
}


.slider__image {
	width: 100%;
	height: auto;
	transform: translateX(0);
	animation-delay: var(--slide-distortion-delay), var(--slide-reset-delay);
	animation-duration: var(--slide-distortion-time), var(--slide-reset-time);
	animation-fill-mode: forwards, forwards;
	animation-direction: normal, reverse;
}

.slider__image:not(:first-child) {
	position: absolute;
	top: 0;
	left: 0;
}

.slider__image:nth-child(1) {
	clip-path: inset(0 0 calc(var(--rate) * 4) 0);
}

.slider__image:nth-child(2) {
	clip-path: inset(calc(var(--rate) * 1) 0 calc(var(--rate) * 3) 0);
}

.slider__image:nth-child(3) {
	clip-path: inset(calc(var(--rate) * 2) 0 calc(var(--rate) * 2) 0);
}

.slider__image:nth-child(4) {
	clip-path: inset(calc(var(--rate) * 3) 0 calc(var(--rate) * 1) 0);
}

.slider__image:nth-child(5) {
	clip-path: inset(calc(var(--rate) * 4) 0 0 0);
}


.slider__item--animating .slider__image:nth-child(1) {
	animation-name: animation-1, animation-1;
}

.slider__item--animating .slider__image:nth-child(2) {
	animation-name: animation-2, animation-2;
}

.slider__item--animating .slider__image:nth-child(3) {
	animation-name: animation-3, animation-3;
}

.slider__item--animating .slider__image:nth-child(4) {
	animation-name: animation-4, animation-4;
}

.slider__item--animating .slider__image:nth-child(5) {
	animation-name: animation-5, animation-5;
}


@keyframes animation-1 {
	from {
		transform: translateX(0);
	}

	to {
		transform: translateX(-50px);
		transform: translateX(-5vw);
	}
}

@keyframes animation-2 {
	from {
		transform: translateX(0);
	}

	to {
		transform: translateX(-3vw);
	}
}

@keyframes animation-3 {
	from {
		transform: translateX(0);
	}

	to {
		transform: translateX(1vw);
	}
}

@keyframes animation-4 {
	from {
		transform: translateX(0);
	}

	to {
		transform: translateX(3vw);
	}
}

@keyframes animation-5 {
	from {
		transform: translateX(0);
	}

	to {
		transform: translateX(-1vw);
	}
}

@keyframes slide {
	to {
		transform: translateX(-100%);
	}
}



.container {
	max-width: 1440px;
	margin: 0 auto;
}

.about {
	margin-left: 200px;
	width: 950px;
	height: 300px;
	background-color: #ffffff;
	border-radius: 10px;
	padding: 40px;
	margin-top: -150px;
	position: relative;
	-webkit-box-shadow: 0px 0px 22px -2px rgba(66, 68, 90, 1);
	-moz-box-shadow: 0px 0px 22px -2px rgba(66, 68, 90, 1);
	box-shadow: 0px 0px 22px -2px rgba(66, 68, 90, 1);
}

.about__h1 {
	font-size: 40px;
}

.about__p {
	max-width: 950px;
	padding-top: 30px;
	font-size: 20px;
}

.services {
	margin-top: 100px;
	margin-bottom: 100px;
}

.services__h1 {
	font-size: 40px;
}

.services__block {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	margin-top: 50px;
	justify-items: center;
}

.services__item {
	width: 590px;
	height: auto;
	border-radius: 20px;
	margin-top: 30px;
	display: flex;
	justify-content: space-between;
	gap: 20px;
	background-color: #ffffff;
	border-radius: 20px;
	padding: 20px;
	-webkit-box-shadow: 0px 0px 22px -2px rgba(66, 68, 90, 1);
	-moz-box-shadow: 0px 0px 22px -2px rgba(66, 68, 90, 1);
	box-shadow: 0px 0px 22px -2px rgba(66, 68, 90, 1);
}

.services__items-left h1 {
	margin-bottom: 20px;
}

.services__items-left p {
	line-height: 1.5;
}

.services__items-right {
	margin-top: 30px;
}

.work{
	margin-top: 70px;
}
.work__h1 {
	font-size: 40px;
}

.work__block {
	display: grid;
	grid-template-columns: repeat(4, 4fr);
	justify-items: center;
	gap: 10px;
	margin-top: 70px;
	margin-bottom: 70px;
}

.work__item {
	background: #3e3e40;
	width: 345px;
	color: #fff;
	border-radius: 10px;
	padding: 20px;
}


.work__item__h1 {
	font-size: 15px;
}

.work__item__p {
	font-size: 15px;
	margin-top: 10px;
}

.work__items {
	background: green;
}

/* стили радиокнопок начало */
.skull{
	position: absolute;
	width: 1200px;
	height: 750px;
	margin: 0 auto;
	top: 135%;
	left: -35%;
	transform: rotate(23deg);
	}
.skull1_img{
overflow: hidden;
	}
.skull1{
	position: absolute;
	width: 600px;
	height: 700px;
	margin: 0 auto;
	top: 174%;
	right: 0;
	}
.aside {
	width: 100%;
	height: 920px;
	margin-top: 40px;
}

.aside-p {
	font-size: 40px;
	font-weight: bold;
	padding-top: 70px;
}

.cartoon-container {
	overflow: hidden;
	position: relative;
	padding: 30px;
	margin-top: 100px;
}

.cartoon__container {
	width: 1440px;
	margin: 0 auto;
}

.cartoon-container input[type='radio'] {
	display: none;
}

.cartoon-container label {
	clear: left;
	float: left;
	width: 280px;
	box-shadow: 0 0 15px rgba(0, 0, 0, 0.6);
}

.cartoon-container label:hover {
	cursor: pointer;
	background-color: green;
	color: #FFF;
}

.cartoon-container label::before {
	background-color: green;
	color: #FFF;
}

.cartoon__items {
	display: flex;
	flex-direction: column;
	margin-top: 15px;
	background-color: #fff;
	border-radius: 20px;
	padding: 20px;
}

.cartoon__h3 {
	font-size: 16px;
	font-weight: bold;
	width: 250px;
}

.cartoon__h3 span {
	margin-left: 26px;
}

.cartoon__p {
	max-width: 175px;
	font-size: 12px;
	width: 250px;
}

.cartoon {
	margin-left: 25.5%;
	position: relative;
	width: 991px;
	height: 690px;
}

.cartoon figure {
	margin: 0;
	opacity: 0;
	position: absolute;
	transform: scale(0.8);
	-webkit-transform: scale(0.8);
	transition: all 0.5s linear 0s;
	border-radius: 20px;
	box-shadow: 0 0 15px rgba(0, 0, 0, 0.6);
	width: 100%;
}

.aside__text-block {
	display: flex;
	justify-content: space-between;
}

.aside__text-h1 {
	font-size: 30px;
}

.aside__title p {
	font-size: 20px;
	margin-top: 15px;
}

.aside__p {
	font-weight: bold;
	font-size: 12px;
	margin-top: 115px;
}

.aside__ul {
	margin-top: 30px;
}

.aside__li {
	font-size: 20px;
	margin-top: 10px;
}

.aside__title {
	font-size: 30px;
	padding: 50px;
	background-color: #fff;
	border-radius: 20px;
	height: auto;
}

.aside__title h2 {
	font-size: 30px;
	margin-top: 50px;
}

.svg {
	background-image: url(../images/svg.png), url(../images/Ellipse.png);
	background-position: center;
	background-repeat: no-repeat;
	width: 102px;
	height: 102px;
}

#prototip:checked~.cartoon #f-prototip,
#dizain:checked~.cartoon #f-dizain,
#verstka:checked~.cartoon #f-verstka,
#reklama:checked~.cartoon #f-reklama,
#reklamka:checked~.cartoon #f-reklamka {
	opacity: 1;
	transform: scale(1);
	-webkit-transform: scale(1);
}

#prototip:checked+label,
#dizain:checked+label,
#verstka:checked+label,
#reklama:checked+label,
#reklamka:checked+label {
	opacity: 0.6;
}

#prototip:checked~.cartoon #f-prototip figcaption,
#dizain:checked~.cartoon #f-dizain figcaption,
#verstka:checked~.cartoon #f-verstka figcaption,
#reklama:checked~.cartoon #f-reklama figcaption,
#reklamka:checked~.cartoon #f-reklamka figcaption {
	top: -5rem;
}

/* конец стилей радиокнопок */

/* портфолио начало */
.project{
	width: 100%;
	height: 550px;
	background-image: url(../images/fon_project.png);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
	margin-top: 240px;
}
.portfolio__h1 {
	font-size: 40px;
	margin-bottom: 100px;
	color: #000;
	padding-top: 30px;
}

.portfolio {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 50px;
	margin-bottom: 100px;
	
}

.portfolio__left {
	position: relative;

}
.portfolio__left img {
	width: 600px;
	height: 350px;
	border-radius: 10px;
  transition: transform 1.1s;
}
.portfolio__left:hover img {
	transform: scale(1.1);
}

.portfolio__right img {
	width: 600px;
	height: 350px;
	border-radius: 10px;
  transition: transform 1.1s;
}
.portfolio__right:hover img {
	transform: scale(1.1);
}
.portfolio__title {
	position: absolute;
	top: 10%;
	left: 27%;
	transform: translate(-50%, -50%);
	color: #000;
	display: flex;
	flex-direction: column;
}
.portfolio__title_right {
	position: absolute;
	top: 10%;
	left: 30%;
	transform: translate(-50%, -50%);
	color: #000;
	display: flex;
	flex-direction: column;
}

.portfolio__title-h1 {
	font-size: 35px;
}

.btn__h3 {
	font-size: 25px;
	color: #fff;
	padding: 15px;
}
.btn__h3:hover {
	color: #000;
}

.btn-border-left {
	position: absolute;
	top: 80%;
	left: 20%;
	transform: translate(-50%, -50%);
	background-color: transparent;
	color: green;
	border-radius: 10px;
	height: 50px;
	background-color: green;
	border: none;
	margin-left: 30px;
	margin-top: 15px;
}

.btn-border-left a {
	text-decoration: none;
}

/* портфолио конец */

.work__process{
	font-size: 40px;
	margin-top: 150px;
}

/* отзывы */
.otzov {
	background-image: url(../images/fon3.jpg);
	background-repeat: no-repeat;
}

.otzov__h1 {
	font-size: 40px;
	margin-left: 180px;
	padding: 50px;
}

.slide_otzov {
	height: 580px;
	margin-left: 110px;
}

.slides {
	padding: 0;
	width: 1220px;
	height: 420px;
	display: block;
	position: relative;
	margin-top: 90px;
}

.slides * {
	user-select: none;
	-ms-user-select: none;
	-moz-user-select: none;
	-khtml-user-select: none;
	-webkit-user-select: none;
	-webkit-touch-callout: none;
}

.slides input {
	display: none;
}

.slide-container {
	display: block;

}

.slide_block {
	display: flex;
	height: 580px;
}

.slide_title {
	display: flex;
	flex-direction: column;
	padding: 20px;
	margin-top: 25px;
	font-size: 18px;
	max-width: 450px;
}

.slide_title p {
	margin-top: 28px;
}

.slide {
	top: -11%;
	left: 18%;
	opacity: 0;
	width: 1220px;
	height: 470px;
	display: block;
	position: absolute;
	box-shadow: rgba(0, 0, 0, 0.56) 0px 22px 70px 4px;
	transform: scale(0);
	border-radius: 20px;
	transition: all .7s ease-in-out;
}

.slide_block img {
	width: 60%;
	height: 81%;
	border-radius: 20px;
}

/* .nav label {
	width: 100px;
	height: 100%;
	display: none;
	position: absolute;

	opacity: 0;
	z-index: 9;
	cursor: pointer;

	transition: opacity .2s;

	color: #FFF;
	font-size: 156pt;
	text-align: center;
	line-height: 380px;
	font-family: "Varela Round", sans-serif;
	background-color: rgba(255, 255, 255, .3);
	text-shadow: 0px 0px 15px rgb(119, 119, 119);
}

.slide:hover+.nav label {
	opacity: 0.5;
}

.nav label:hover {
	opacity: 1;
} */

.nav .next {
	right: 0;
}

input:checked+.slide-container .slide {
	opacity: 1;

	transform: scale(1);
	background-color: #dbdbdb;
	transition: opacity 1s ease-in-out;
}

input:checked+.slide-container .nav label {
	display: block;
}

.nav-dots {
	width: 100%;
	top: 115%;
	bottom: 9px;
	height: 11px;
	display: block;
	position: absolute;
	text-align: center;
}

.nav-dots .nav-dot {
	top: -5px;
	left: 20%;
	width: 11px;
	height: 11px;
	margin: 0 4px;
	position: relative;
	border-radius: 100%;
	display: inline-block;
	background-color: rgba(0, 0, 0, 0.6);
}

.nav-dots .nav-dot:hover {
	cursor: pointer;
	background-color: rgba(0, 0, 0, 0.8);
}

input#img-1:checked~.nav-dots label#img-dot-1,
input#img-2:checked~.nav-dots label#img-dot-2,
input#img-3:checked~.nav-dots label#img-dot-3,
input#img-4:checked~.nav-dots label#img-dot-4,
input#img-5:checked~.nav-dots label#img-dot-5,
input#img-6:checked~.nav-dots label#img-dot-6 {
	background: rgba(0, 0, 0, 0.8);
}

/* отзывы */

.footer-block {
	background: #333;
	height: 300px;
}

.footer_logo {
    width: 90px;
    height: 80px;
    margin-top: 10px;
    border-radius: 5px;
}

.footer_item {
	display: flex;
	color: #fff;
	align-items: flex-end;
	justify-content: center;
	gap: 100px;
	font-size: 15px;
	line-height: 1.5;
}

.footer_items a {
	color: #fff;
	text-decoration: none;
}

.footer_items a:hover {
	color: green;
}

.footer_menu ul {
	list-style-type: none;
}

.footer_menu li a {
	text-decoration: none;
	color: white;
	transition: all 0.3s ease-in-out;
	cursor: pointer;
	font-size: 15px;
}

.footer_h4 {
	margin-bottom: 15px;
	font-size: 18px;
}

.telegram {
	width: 33px;
	height: 33px;
}

.messenger {
	display: flex;
	align-items: center;
	gap: 10px;
}

.footer_form {
	display: flex;
	flex-direction: column;
	gap: 30px;
}

.block__btn1 {
	width: 280px;
	height: 60px;
	border: none;
	border-radius: 5px;
	font-size: 17px;
	background-color: green;
	color: #fff;
	cursor: pointer;
}

/* scroll */
.back-to-top {
	position: fixed;
	bottom: 40px;
	right: 40px;
	display: none;
	font-size: 25px;
	color: #000;
	padding: 10px 10px;
	border-radius: 5px;
	cursor: pointer;
	z-index: 1000;
}
.back-to-top img{
	width: 55px;
	height: 45px;
}

.back-to-top:hover {
	background: green;
	text-decoration: none;
}
/* scroll */