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

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

body {
	background: #171717;
	color: #C3C2C2;
	font-family: 'Poppins', sans-serif;
	font-size: 18px;
	overflow-y: auto;
	overflow-x: hidden;
	user-select: none;
}

body.active {
	overflow: hidden;
}

body, html {
	width: 100%;
	height: 100%;
}

h1 {
	font-size: 24px;
	line-height: 100%;
}

::-webkit-scrollbar{
    width: 4px;
    color:#c70039;
    transition: all .4s ease;
}

::-webkit-scrollbar-thumb {
    background: #c70039; 
    border-radius: 4px;
    width: 4px;
    transition: all .4s ease;
}

::-webkit-scrollbar-track {
  	background: #101010; 
    border-radius: 4px;
    width: 4px;
}

@keyframes scale {
	0% {
		transform: scale(.6);
	}
	100% {
		transform: scale(1);
	}
}

@keyframes animateslash {
	0% {
		opacity: 1;
    	z-index: 2;
	}
	100% {
		opacity: 0;
    	z-index: 0;
	}
}

@keyframes breakeranimate {
	0% {
		transform: translateX(-150%) rotate(15deg) translateY(-50%);
	}
	50% {
		transform: translateX(0%) rotate(15deg) translateY(-50%);
	}
	100% {
		transform: translateX(150%) rotate(15deg) translateY(-50%);
	}
}

@keyframes shadow {
	0% {
		box-shadow: 0px 0px 10px 5px #000000;
	}
	50% {
		box-shadow: 0px 0px 10px 4px #c70039;
	}
	100% {
		box-shadow: 0px 0px 10px 5px #000000;
	}
}

.splash_screen {
	height: 300vh;
    width: 120%;
    background-color: #c70039;
    opacity: 1;
    animation: breakeranimate 1.5s linear;
    display: none; 
    transition: all .4s ease;
    z-index: 10;
    position: fixed;
    transform: translateY(-100%) rotate(15deg);
}

.splash_screen.active {
	display: block;
}

.menu {
	width: 100%;
	height: 100px;
	position: fixed;
	z-index: 3;
	padding: 0 50px;
	margin: 20px 0;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: flex-end;
}

.logo {
	width: 80px;
	height: 80px;
	border-radius: 50%;
	border: 3px solid #C3C2C2;
	font-family: monoton;
	display: flex;
	align-items: center;
	justify-content: center;
	vertical-align: middle;
	font-size: 45px;
	cursor: pointer;
	transition: all 0.3s ease;
	position: relative;
	font-weight: 100;
}

.logo span {
	position: absolute;
	font-size: 20px;
	opacity: 0;
	visibility: hidden;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
	transition: all 0.3s ease;
}

.logo:hover {
	font-size: 0;
	align-items: start;
}

.logo:hover span {
	opacity: 1;
	visibility: visible;
	font-size: 28px;
}

.burger {
	display: block;
	position: relative;
	width: 40px;
	height: 20px;
	z-index: 3;
	text-align: right;
	transition: 0.3s;
	cursor: pointer;
}

.burger:before,
.burger:after {
	content: '';
	background-color: #ffffff;
	position: absolute;
	height: 3px;
	right: 0;
	transition: 0.3s;
}

.burger:before {
	width: 15px;
	top: 0;
}

.burger:after {
	bottom: 0;
	width: 100%;
}

.burger span {
	position: absolute;
	background-color: #ffffff;
	width: 25px;
	height: 3px;
	right: 0;
	top: 9px;
	transition: 0.3s;
}

.burger_menu {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: #000000;
	z-index: 5;
	/* transition: 0.6s; */
	text-transform: uppercase;
	align-items: center;
	justify-content: center;
	font-size: 30px;
	font-weight: 600;
	display: none;
}

.burger_menu.active {
	top: 0;
}

.burger_menu .logo {
	position: absolute;
	left: 50px;
	top: 20px;
}

.block_close {
	position: absolute;
	right: 50px;
	top: 60px;
}

.close {
	display: block;
	position: relative;
	width: 40px;
	height: 40px;
	z-index: 3;
	text-align: right;
	transition: 0.3s;
	cursor: pointer;
	transition: all 0.3s ease;
	opacity: 0.7;
}

.close:before,
.close:after {
	content: '';
	background-color: #ffffff;
	position: absolute;
	height: 3px;
	right: 0;
	transition: 0.3s;
	width: 100%;
}

.close:before {
	top: 8px;
	transform: rotate(-45deg);
}

.close:after {
	bottom: 20px;
	transform: rotate(45deg);
}

.close:hover {
	opacity: 1;
}

.burger_menu ul {
	list-style: none;
	text-align: center;
}

.burger_menu li {
	padding: 10px 0;
}

.burger_menu a {
	color: #ffffff;
	text-decoration: none;
	padding: 10px 0;
	opacity: 0.7;
	transition: 0.3s;
}

.burger_menu a::before {
	content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    display: flex;
    justify-content: center;
    transform: translate(-50%,-50%);
    align-items: center;
    font-size: 5em;
    font-weight: 400;
    font-family: monoton;
    color: rgb(255, 255, 255,.1);
    z-index: 1;
    pointer-events: none;
    opacity: 0;
    letter-spacing: 100px;
    transition: all .4s ease;
}

.burger_menu a:hover {
	opacity: 1;
}

.burger_menu a:hover::before {
	content: "" attr(data-text) "";
	letter-spacing: 10px;
    opacity: 1;
}

.content_home {
	position: relative;
	width: 100%;
	height: 100vh;
	animation: scale 2s ease;
	display: block;
}

.social_block {
	position: absolute;
	top: 50%;
	transform: translate(0, -50%);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	margin-left: 50px;
	z-index: 2;
}

.social_block a {
	color: #ffffff;
	opacity: 0.7;
	text-decoration: none;
	font-size: 28px;
	text-align: center;
	margin: 10px;
	transition: all .3s ease;
}

.social_block a:hover {
	opacity: 1;
	transform: scale(1.1);
}

.content_slide {
	position: absolute;
	width: 100%;
	height: 100vh;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	transition: all 0.4s ease;
	z-index: 1;
}

.content_slide .title {
	letter-spacing: 1px;
	font-size: 56px;
	font-weight: bold;
	color: #ffffff;
}

.slide_text {
	font-size: 24px;
}

.red {
	color: #c70039;
}

.white {
	color: #ffffff;
}

.cursor {
	animation-name: animateslash;
    animation-duration: .8s;
    animation-iteration-count: infinite;
    animation-play-state: running;
}

.contact_block {
	position: absolute;
	bottom: 50px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 2;
}

.contact_block a {
	color: #ffffff;
	opacity: 0.7;
	text-decoration: none;
	font-size: 28px;
	line-height: 100%;
	width: 28px;
	text-align: center;
	transition: all .3s ease;
	margin-right: 30px;
}

.contact_block a:last-child {
	margin-right: 0;;
}

.contact_block a:hover {
	opacity: 1;
	transform: scale(1.1);
}

.content {
	min-height: 100vh;
}

.content_about {
	width: 100%;
	height: auto;
	overflow: hidden;
	background: #101010;
	display: none;
	padding-bottom: 70px;
	position: relative;
	min-height: 100vh;
}

.about {
	padding: 30px;
}
.about_header {
	padding: 60px 10px 30px 10px;
	text-align: center;
}

.margin {
	margin-bottom: 50px;
}

.title {
	font-size: 45px;
	color: #EBEAEA;
}

.small_title {
	font-size: 20px;
	opacity: 0.8;
}

.about_block {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0 50px;
}

.about_text {
	width: 50%;
	padding: 30px;
	font-size: 28px;
}

.text {
	font-size: 28px;
	font-weight: 600;
}

.about_img {
	width: 40%;
	height: 450px;
	padding: 30px;
}

.about_img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 15px;
}

.title_block {
	width: 100%;
	text-align: center;
	padding: 30px 10px;
	margin-bottom: 30px;
}

.services {
	/* display: flex;
	flex-wrap: wrap; */
	width: 100%;
	height: auto;
	text-align: center;
	padding: 0 50px;
	margin-bottom: 20px;
	display: grid;
    grid-gap: 15px;
    grid-template-columns: repeat(auto-fit, minmax(440px, 1fr));
	
}

.item {
	display: inline-block;
	padding: 40px 30px;
	/* margin: 15px; */
	background: #171717;
	border-radius: 10px;
	/* width: 30%; */
	text-align: center;
	position: relative;
	overflow: hidden;
	transition: all 0.3s ease;
}

.item:hover {
	box-shadow: 0px 0px 10px 5px #c70039;
	transition-delay: 0.15s;
}

.item::before {
	content: "";
 	height: 200%;
  	left: -210%;
  	opacity: 0;
  	position: absolute;
  	top: -150%;
 	transform: rotate(15deg);
  	width: 200%;
  	background: linear-gradient(to right, rgba(199, 0, 57, 0.0) 0%, rgba(199, 0, 57, 0.0) 77%, rgba(199, 0, 57, 1) 92%, rgba(199, 0, 57, 0.0) 100%);
}

.item:hover::before {
    left: -20%;
  	opacity: 1;
  	top: -20%;
  	transition-duration: 0.7s, 0.7s, 0.15s;
  	transition-property: left, top, opacity;
  	transition-timing-function: ease;
 }

.img_item {
	display: inline-block;
	background: #c70039;
	padding: 10px;
	margin: 20px;
	border-radius: 30px;
	width: 120px;
	height: 120px;
}

.img_item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.title_item {
	font-size: 30px;
    color: #ffffff;
}

.content_item {
	padding: 10px;
    font-weight: 500;
    font-size: 18px;
}

.skills {
	width: 100%;
	height: auto;
	margin-bottom: 20px;
	padding: 0 70px;
	text-align: center;
}

.skill {
	height: auto;
    width: 45%;
    position: relative;
    display: inline-block;
    padding: 1.5%;
    color: #ffffff;
}

.title_skill {
	width: 80%;
    height: 50px;
    padding-left: 30px;
}

.progess_block {
	width: 100%;
    height: 40px;
    border-radius: 10px;
    background: #191919;
    position: relative;
    overflow: hidden;
}

.progress {
	position: absolute;
    top: 10%;
    left: 0;
    height: 80%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .4s ease;
    border-radius: 10px;
    background: #c70039;
}

.content-blog {
	width: 100%;
	height: auto;
	overflow: hidden;
	display: none;
}

.blogs {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	padding: 0 50px;
	margin-bottom: 20px;
}

.blog {
	height: 420px;
    width: 30%;
    margin: 20px;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    background: #000000;
}

.blog a {
	text-decoration: none;
	color: #F5F4F4;
}

.blog p {
	font-size: 18px;
    font-weight: 400;
    height: 80%;
    padding: 30px;
    letter-spacing: 1px;
	color: #D6D3D3;
}

.img_blog {
	height: 80%;
    width: 100%;
    overflow: hidden;
    transition: all .65s ease;
    position: relative;
}

.img_blog img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.date_blog {
	position: absolute;
	left: 0;
	bottom: 0;
	background: #c70039;
	padding: 5px;
}

.text_blog {
	height: 80%;
    width: 100%;
    text-align: center;
    vertical-align: center;
    transition: all .5s ease;
}

.text_blog h3 {
	font-size: 28px;
    font-weight: 500;
    height: 20%;
    padding: 20px;
    letter-spacing: 1px;
}

.blog:hover .img_blog {
	transform: translateY(-70%);
}

.blog:hover .text_blog {
	transform: translateY(-70%);
}

.portfolio_block {
	width: 100%;
	height: auto;
	overflow: hidden;
	display: none;
	padding-bottom: 70px;
	position: relative;
	min-height: 100vh;
}

.portfolio {
	height: auto;
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 1.5%;
    margin-bottom: 40px;
}

.img_portfolio {
	min-height: 400px;
    height: 35vh;
    width: 40%;
    background: #1d1d1d;
    box-shadow: 0px 0px 10px 5px #000000;
    transition: all 0.3s ease;
}

.img_portfolio img {
	height: 400px;
    width: 100%;
    object-fit: contain;
}

.text_portfolio {
	width: 40%;
    padding: 1%;
    margin: 1%;
    margin-left: -40px;
    margin-top: 160px;
    z-index: 2;
    background: #080808;
    padding-top: 10px;
    padding-bottom: 10px;
   /* box-shadow: 0px 0px 10px 5px #c70039;*/
}

.text_portfolio h2 {
	font-size: 35px;
    font-weight: 600;
    padding: 20px;
    color: #c70039;
	line-height: 110%;
}

.text_portfolio p {
	font-size: 16px;
    font-weight: 500;
    padding: 20px;
}

.button {
	text-align: center;
	margin: 25px 0;
}

.button a {
	display: inline-block;
	font-size: 16px;
    padding: 10px 20px;
    color: #c70039;
    transition: all .4s ease;
    border: 1.5px solid #c70039;
    overflow: hidden;
    text-decoration: none;
    position: relative;
}

.button a::before {
	content: "";
    position: absolute;
    width: 0%;
    height: 200%;
    transform: rotate(-15deg) translateY(-27px);
    top: 0;
    left: 0;
    z-index: 3;
    background: #c70039;
    transition: all .7s ease;
}

.button a:hover{
    opacity: 1;
    color: #ffffffff;
}

.button a:hover::before{
    width: 120%;
}

.index_up {
	position: relative;
	z-index: 4;
}

.contact_page {
	width: 100%;
	height: auto;
	overflow: hidden;
	display: none;
	min-height: 100vh;
	padding-bottom: 70px;
	position: relative;
}

.contact_content {
	width: 80%;
	margin: 0 auto;
	display: flex;
    justify-content: center;
    padding: 0 50px;
    margin-bottom: 40px;
}

.contact_form {
	width: 40%;
	margin: 0 20px;
	display: flex;
	flex-direction: column;
}

.contact_form form {
	display: flex;
	flex-direction: column;
	align-items: center;
	height: auto;
	width: auto;
}

.contact_form input {
	padding: 10px 20px;
	margin: 15px 10px;
	border-radius: 8px;
	border: none;
	outline: none;
	background: #050505;
	font-size: 18px;
	color: #C3C2C2;
}

.contact_form textarea {
	height: 140px;
	margin: 15px 10px;
	border-radius: 8px;
	border: none;
	outline: none;
	background: #050505;
	font-size: 18px;
	font-family: poppins;
	padding: 20px;
	color: #C3C2C2;
	width: calc(100% - 20px);
	resize: none;
}

.contact_title {
	text-align: center;
	color: #ffffff;
	font-size: 24px;
	font-weight: 500;
}

.contact_form .name_mail {
	display: flex;
	justify-content: center;
	width: 100%;
}

.contact_form .name, .contact_form .email{
	width: calc(50% - 20px);
}

.contact_form .subject {
	width: calc(100% - 20px);
}

.contact_form button {
	border-radius: 8px;
	padding: 8px 24px;
    font-family: poppins;
    font-size: 20px;
    color: #E5E2E2;
    background: #BB0035;
    opacity: .8;
    margin: 20px;
    cursor: pointer;
    border: none;
    transition: all .4s ease;
}

.contact_form button:hover {
	opacity: 1;
	color: #ffffff;
}

.contact_form button:active {
	background: #A0032F;
}

.contact_info {
	width: 60%;
	min-height: 500px;
	background: url('../img/contact-back.jpg') center / cover no-repeat;
	position: relative;
	border-radius: 20px;
	z-index: 1;
}

.contact_info::before {
	content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: #101010;
    opacity: 0.8;
    border-radius: 20px;
    /*pointer-events: none;*/
}

.info_title {
	text-align: center;
	position: relative;
	color: #ffffff;
	font-size: 24px;
	font-weight: 500;
	z-index: 2;
	padding: 30px;
	margin-bottom: 15px;
}

.contact_item {
	margin-left: 100px;
	position: relative;
	z-index: 2;
	display: flex;
	align-items: center;
	margin-bottom: 40px;
}

.contact_item .fa {
	font-size: 40px;
	margin-right: 20px;
	min-width: 50px;
	text-align: center;
}

.contact_item_text {
	font-size: 14px;
	font-weight: 600;
}

.contact_item_text a {
	color: inherit;
	text-decoration: none;
	transition: all 0.3s ease;
}

.contact_item_text h6 {
	font-size: 18px;
}

.footer {
	width: 100%;
	text-align: center;
	background: #000000;
	padding: 20px 0;
	position: absolute;
	left: 0;
	bottom: 0;
}

.contact_form .form_send {
	text-align: center;
	margin-bottom: 50px;
}

.contact_form .form_send h2 {
	margin-bottom: 20px;
}

@media (min-width: 769px) {
	.close:hover::before {
		transform: rotate(45deg);
	}
	.close:hover::after {
		transform: rotate(-45deg);
	}
	.burger:hover.burger:before, .burger:hover.burger span {
		width: 100%;
	}
	.portfolio:hover .img_portfolio {
		animation: shadow 3s ease;
	}
}

@media (max-width: 1024px) {
	.about_block {
		justify-content: space-between;
	}
	.about_img {
		width: 50%;
	}
	.title {
		font-size: 36px;
	}
	.text {
		font-size: 24px;
	}
	.margin {
		margin-bottom: 28px;
	}
	.blog {
		width: 40%;
	}
	.img_portfolio {
		width: 45%;
	}
	.text_portfolio {
		width: 50%;
	}
	.contact_content {
		width: 100%;
	}
}
@media (max-width: 992px) {
	.contact_content {
		flex-direction: column;
		align-items: center;
	}
	.contact_form, .contact_info {
		width: 75%;
	}
}
@media (max-width: 768px) {
	.block_close {
		right: 30px;
	}
	.menu {
		padding: 0 30px;
	}
	.about {
		padding: 10px;
	}
	.about_block {
		padding: 0;
	}
	.about_text {
		padding: 0;
	}
	.about_img {
		padding-right: 0;
	}
	.services {
		padding: 10px;
		display: block;
		grid-gap: unset;
	}
	.skills {
		display: flex;
    	padding: 0 10px;
    	flex-wrap: wrap;
    	justify-content: space-between;
	}
	.blogs {
		padding: 0 10px;
	}
	.blog {
		height: 380px;
	}
	.blog:hover .img_blog {
		transform: none;
	}
	.blog:hover .text_blog {
		transform: none;
	}
	.portfolio {
		flex-direction: column;
	}
	.img_portfolio {
		height: 310px;
		width: 100%;
		min-height: auto;
		padding-top: 20px;
	}
	.img_portfolio img {
		height: 250px;
	}
	.text_portfolio {
		width: 80%;
		margin-top: -30px;
	}
	.contact_content {
		padding: 0 10px;
	}
	.contact_form, .contact_info {
		width: 100%;
		margin: 0;
	}
	.info_title {
		padding: 0;
		margin-bottom: 30px;
	}
	.contact_info {
		padding: 20px;
	}
	.contact_item {
		margin-left: 0;
	}
	.content_home {
		animation: none;
	}
	.content_slide {
		animation: scale 2s ease;
	}
	.text_portfolio h2 {
		font-size: 30px;
		padding: 10px 20px;
	}
	.item {
		width: 100%;
	}
}
@media (max-width: 414px) {
	.logo {
		visibility: hidden;
	}
	.burger_menu .logo {
		visibility: visible;
	}
	.about_block {
		flex-direction: column;
	}
	.about_text {
		width: 100%;
		margin-bottom: 20px;
	}
	.about_img {
		width: 100%;
		padding: 0;
	}
	.item {
		width: 100%;
		margin: 0 0 20px 0;
		padding: 20px 20px;
	}
	.skills {
		flex-direction: column;
		padding: 10px;
	}
	.title_skill {
		width: 100%;
		padding: 0;
	}
	.skill {
		width: 100%;
	}
	.blog {
		width: 100%;
	}
	.text_portfolio {
		margin-left: 0;
		width: 95%;
	}
	.contact_form .name_mail {
		flex-direction: column;
	}
	.contact_form .name, .contact_form .email {
		width: 100%;
	}
	.contact_form .subject {
		width: 100%;
	}
	.contact_form input {
		margin: 15px 0px;
	}
	.contact_form textarea {
		width: 100%;
	}
	.burger_menu a:hover::before {
		display: none;
	}
	.social_block {
		display: none;
	}
	.contact_block {
		position: fixed;
		margin-right: 0;
		bottom: 20px;
		top: unset;
		left: 50%;
		transform: translate(-50%, -50%);
		flex-direction: row;
		transition: all 0.3s ease;
	}
	.title {
		font-size: 30px;
	}
	.text {
		font-size: 20px;
	}
	.burger_menu {
		font-size: 24px;
	}
}
@media (max-width: 320px) {
	.blog {
		height: 290px;
	}
}

@media (min-width: 769px) {
	.contact_item_text a:hover {
		color: #ffffff;
	}
}

