* {
	box-sizing: border-box;
	font-family: 'Nunito', sans-serif;
	scroll-behavior: smooth;
}
body,
html {
	min-width: 280px;
	margin: 0;
	padding: 0;
	overflow-x: hidden;
}

.warning-message {
	color: red;
	margin-top: 10px;
}

.top-button {
	background-color: rgba(0, 0, 0, 0);
	transition: background-color 300ms ease;
	z-index: 1000;
	position: fixed;
	left: auto;
	top: auto;
	right: 33px;
	bottom: 35px;
	z-index: 100;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	color: rgba(255, 255, 255, 0);
	text-decoration: none;
	display: flex;
	justify-content: center;
	align-items: center;
}
/* Button on bottom right that takes you to the top of the page (code.js)*/
.top-button.active {
	background-color: #151515;
	color: white;
	cursor: pointer;
}
.top-button .fa-angle-down {
	transform: rotate(180deg);
	font-size: 26px;
}
.top-button.active:hover {
	background-color: #e83e3e;
}

/* Changing navbar opacity when scrolled more than 300 pixels from top (code.js) */
.navbar.active {
	background: rgba(21, 21, 21, 1);
}

.nav-link:hover,
.nav-title:hover,
.language:hover {
	color: #e83e3e;
}

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

/*------------------------NavBar-----------------------*/
nav {
	width: 100%;
	position: fixed;
	z-index: 100;
	background-color: transparent;
	transition: all 250ms ease-in-out;
	color: #fff;
}
.nav-show {
	box-shadow: rgba(6, 5, 50, 0.1) 0px 4px 30px;
	color: rgba(0, 0, 0, 0.8);
	background-color: whitesmoke;
}
.nav-container {
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	padding: 10px 30px;
}

.nav-title-container {
	width: 25%;
	display: none;
}
.nav-title {
	letter-spacing: 2px;
	font-weight: 700;
	transition: color ease-in 150ms;
	cursor: pointer;
}
.nav-list {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	padding: 0;
}
.nav-link {
	padding: 15px 25px;
	font-size: 12px;
	font-weight: 600;
	transition: color ease-in 150ms;
	cursor: pointer;
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: 2px;
	color: #fff;
	white-space: nowrap;
}
/*-----------------------------------Hamburger button style-----------------------------------*/
.navbar__ham {
	position: absolute;
	top: 40%;
	right: 25px;
	width: 20px;
	height: 15px;
	transform: translateY(-50%);
	cursor: pointer;
	visibility: hidden;
}
#nav-icon3 {
	width: 25px;
	-webkit-transform: rotate(0deg);
	-moz-transform: rotate(0deg);
	-o-transform: rotate(0deg);
	transform: rotate(0deg);
	-webkit-transition: .5s ease-in-out;
	-moz-transition: .5s ease-in-out;
	-o-transition: .5s ease-in-out;
	transition: .5s ease-in-out;
	cursor: pointer;
}
#nav-icon3 span {
	display: block;
	position: absolute;
	height: 2px;
	width: 100%;
	background: #fff;
	border-radius: 9px;
	opacity: 1;
	left: 0;
	-webkit-transform: rotate(0deg);
	-moz-transform: rotate(0deg);
	-o-transform: rotate(0deg);
	transform: rotate(0deg);
	-webkit-transition: .25s ease-in-out;
	-moz-transition: .25s ease-in-out;
	-o-transition: .25s ease-in-out;
	transition: .25s ease-in-out;
}

#nav-icon3 span:nth-child(1) {
	top: 0px;
}

#nav-icon3 span:nth-child(2),
#nav-icon3 span:nth-child(3) {
	top: 6px;
}

#nav-icon3 span:nth-child(4) {
	top: 12px;
}

#nav-icon3.open span:nth-child(1) {
	top: 6px;
	width: 0%;
	left: 50%;
}

#nav-icon3.open span:nth-child(2) {
	-webkit-transform: rotate(45deg);
	-moz-transform: rotate(45deg);
	-o-transform: rotate(45deg);
	transform: rotate(45deg);
}

#nav-icon3.open span:nth-child(3) {
	-webkit-transform: rotate(-45deg);
	-moz-transform: rotate(-45deg);
	-o-transform: rotate(-45deg);
	transform: rotate(-45deg);
}

#nav-icon3.open span:nth-child(4) {
	top: 6px;
	width: 0%;
	left: 50%;
}
/* --------------------------------- Hero ------------------------------- */
.page-wrapper {
	background: rgb(250, 250, 250);
	margin: 0;
	padding: 0;
	width: 100%;
}

.wrapper {
	width: 90%;
	max-width: 1200px;
	margin-right: auto;
	margin-left: auto;
}
.hero-info {
	display: flex;
	max-width: 700px;
	margin-right: auto;
	margin-left: auto;
	margin-bottom: 100px;
	flex-direction: column;
	align-items: center;
	text-align: center;
}
.hero-small-text {
	margin-bottom: 10px;
	font-size: 0.7rem;
	line-height: 16px;
	font-weight: 700;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: #fff;
	text-decoration: none;
}
.languages {
	position: absolute;
	right: 40px;
	top: 21px;
}
.languages-mobile {
	display: none;
}
.language {
	padding: 10px 15px;
	transition: all 200ms ease-in-out;
}

.hero-big-text {
	margin-top: 0px;
	font-family: Lora, sans-serif;
	font-size: 2.6rem;
	line-height: 56px;
	font-weight: 400;
}
.hero-arrow-box {
	position: absolute;
	bottom: 40px;
	margin: auto;
	width: 50px;
	height: 50px;
	display: flex;
	justify-content: center;
	align-items: center;
	cursor: pointer;
	font-size: 40px;

	animation: textgrowth 2s ease-in-out infinite;
}

@keyframes textgrowth {
	0% {
		transform: scale(1);
	}

	50% {
		transform: scale(1.2);
	}

	100% {
		transform: scale(1);
	}
}

.projects-section {
	min-height: 100vh;
	padding-bottom: 110px;
	padding-top: 100px;
}

.header {
	font-size: 2rem;
	line-height: 56px;
	letter-spacing: 1px;
	font-weight: 500;
	margin: 20px 0;
	text-transform: uppercase;
	color: rgba(21, 21, 21, 0.9);
	font-family: Lora, sans-serif;
	text-align: center;
}
.projects-container {
	display: flex;
	flex-direction: column;
	align-items: center;
	margin-top: 50px;
}
.project-container {
	display: flex;
	justify-content: space-between;
	box-shadow: 0px 0px 100px -5px rgba(0, 0, 0, 0.2);
	border-radius: 15px;
	margin-bottom: 80px;
	background-color: #fff;
}
.project-container:nth-child(2n) {
	flex-direction: row-reverse;
}

.project-info {
	padding: 60px 40px;
	max-width: 50%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	text-align: start;
}
.project-title {
	font-size: 32px;
	font-weight: 500;
	color: rgba(21, 21, 21, 0.9);
	font-family: Lora, sans-serif;
	text-decoration: none;
}
.project-description {
	font-size: 18px;
	color: rgba(21, 21, 21, 0.8);
	margin-top: 50px;
}

.project-logo-container {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-between;
	margin: 5px;
	height: 60px;
}
.logo-name {
	margin: 0 0 5px 0;
	font-size: 16px;
	font-weight: 700;
	color: rgba(21, 21, 21, 0.8);
}
.project-icons {
	margin: 40px 0 60px 0;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
}
.project-icon {
	font-size: 34px;
}
.fa-html5 {
	color: #e34f26;
}
.fa-css3-alt {
	color: #2965f1;
}
.jquery-icon {
	height: 31px;
}
.fa-bootstrap {
	color: #563d7c;
	height: 34px;
}
.fa-js-square {
	color: #f0db4f;
	height: 34px;
}
.fa-react {
	color: #00d8ff;
}
.fa-github {
	margin-left: 5px;
}
.project-picture-container {
	max-width: 50%;
	height: auto;
	object-fit: cover;
	overflow: hidden;
	border-radius: 0px 15px 15px 0px;
}
.project-logo {
	width: 100%;
	height: 100%;
	border-radius: 0px 15px 15px 0px;
	object-fit: cover;
	transition: all 200ms ease-in-out;
}
.project-logo:hover,
.certificate:hover > .certificate-image {
	transform: scale(1.03);
}
.project-container:nth-child(2n) > .project-info {
	align-items: flex-end;
	text-align: end;
}
.project-container:nth-child(2n) > .project-picture-container {
	border-radius: 15px 0px 0px 15px;
}
.project-container:nth-child(2n) > .project-picture-container > .project-logo {
	border-radius: 15px 0px 0px 15px;
}

.view-project-button {
	cursor: pointer;
	border-radius: 5px;
	border: 0;
	padding: 15px 30px;
	background-color: #972424;
	color: rgb(255, 255, 255);
	letter-spacing: 0.5px;
	font-weight: 600;
	transition: all 200ms ease-in-out;
	text-decoration: none;
}

.view-project-button:hover {
	background-color: #b93232;
}
.project-buttons {
	display: flex;
}
.view-code-button {
	margin-left: 20px;
	cursor: pointer;
	padding: 15px 20px;
	border-radius: 5px;
	border: 0;
	background-color: #474747;
	color: rgb(255, 255, 255);
	letter-spacing: 0.5px;
	font-weight: 600;
	transition: all 200ms ease-in-out;
	text-decoration: none;
}

.view-code-button:hover {
	background-color: #636363;
}
/* ------------------- Email Section ----------------- */
.email-section {
	background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.9)), url(images/background.jpg);
	background-position: 0px 0px, 50% 50%;
	background-size: auto, cover;
	background-repeat: repeat, no-repeat;
	background-attachment: scroll, fixed;
	color: #fff;
	padding: 80px 0px;
}

.email-container {
	display: flex;
	flex-direction: column;
	position: relative;
	max-width: 542px;
	margin-right: auto;
	margin-left: auto;
}

.title {
	margin-bottom: 30px;
	text-align: center;
	color: #fff;
	font-size: 17px;
	letter-spacing: 2px;
	text-transform: uppercase;
}

.subscribe-form {
	width: 100%;
	margin-bottom: 25px;
	display: flex;
}
.name-and-email {
	width: 50%;
}
.email-text {
	width: 70%;
	resize: none;
	border-style: solid;
	border-width: 1px;
	border-radius: 3px;
	font-size: 14px;
	letter-spacing: 0.7px;
	border-color: #454545;
	background-color: #151515;
	padding: 11px 15px;
	color: #fff;
}
.input {
	width: 90%;
	margin-bottom: 20px;
	padding: 11px 15px;
	border-style: solid;
	border-width: 1px;
	border-radius: 3px;
	font-size: 14px;
	letter-spacing: 0.7px;
	border-color: #454545;
	background-color: #151515;
	color: #fff;
}
.email-text:focus {
	border: 1px solid #e83e3e;
	outline: none;
}
.input:focus {
	border: 1px solid #e83e3e;
	outline: none;
}
.button {
	width: 90%;
	cursor: pointer;
	height: 41px;
	border-radius: 3px;
	border: 0;
	background-color: #972424;
	color: #fff;
	font-size: 16px;
	letter-spacing: 1px;
	transition: all 200ms ease-in-out;
}
.button:hover {
	background-color: #b93232;
}
.about-section {
	padding-top: 80px;
	min-height: 100vh;
}
.about {
	display: flex;
	padding-top: 30px;
	padding-bottom: 50px;

	justify-content: center;
}
.about-text-side {
	width: 50%;
	display: flex;
	flex-direction: column;
}
.about-experience-side {
	width: 50%;
}
.about-info-text {
	letter-spacing: 1px;
	margin: auto;
	font-weight: 600;
	font-size: 18px;
	margin-top: 50px;
	color: rgba(21, 21, 21, 0.9);
}
.skills-box {
	padding: 50px 20px 0px 20px;
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
}
.skill {
	letter-spacing: 1px;
	font-weight: 700;
	font-size: 16px;
	margin: 0 10px 20px 10px;
	padding: 10px 20px;
	color: rgba(21, 21, 21, 0.9);
	border: 1px solid rgba(21, 21, 21, 0.5);
	border-radius: 5px;
	background-color: rgba(54, 31, 31, 0.1);
}
.experience-container{
	margin-top: 65px;
	margin-left: 65px;
}
.work-position-container{
	margin-bottom: 50px;
}
.work-position{
	font-size: 24px;
	font-weight: 600;
	font-family: Lora, sans-serif;
	text-decoration: none;
}
.work-title{
	font-size: 18px;
	font-weight: 600;
	font-family: Lora, sans-serif;
	text-decoration: none;
}

.work-years{
	font-size: 16px;
	font-weight: 500;
	font-family: Lora, sans-serif;
	text-decoration: none;
}
.work-description{
	font-size: 18px;
}
.about-certificates {
	max-width: 1200px;
	margin-bottom: 50px;
}

.certificates {
	display: flex;
	padding-top: 30px;
	padding-bottom: 50px;
	justify-content: center;
}
.certificate {
	text-decoration: none;
	background: rgba(255, 255, 255, 0.2);
	box-shadow: 0px 0px 100px -5px rgba(0, 0, 0, 0.2);
	border-radius: 10px;
	margin-right: 50px;
	overflow: hidden;
}
.certificate:nth-child(2n) {
	margin-right: 0;
}
.certificate-image {
	max-width: 100%;
	transition: all 300ms ease-in-out;
}
.certificate-title-container {
	text-align: center;
}
.certificate-title {
	margin: 20px 0;
	font-size: 18px;
	letter-spacing: 0.5px;
	font-weight: 700;
	color: rgba(21, 21, 21, 0.9);
}
.contacts-section {
	padding-top: 100px;
	padding-bottom: 200px;
}
.contacts-details {
	max-width: 542px;
	margin-right: auto;
	margin-left: auto;
	text-align: center;
	margin-top: 50px;
}
.contact-text {
	letter-spacing: 1px;
	font-weight: 600;
	font-size: 20px;
	margin-top: 50px;
	color: rgba(21, 21, 21, 0.9);
}
.email-link {
	font-size: 20px;
	font-weight: 600;
	cursor: pointer;
	text-decoration: none;
	color: rgb(0, 0, 0);
	transition: color 300ms ease;
}
.email-link:hover, .cv-link:hover {
	color: #e83e3e;
}
.social-buttons {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	align-items: center;
	flex: 0 0 auto;
}
.social-button {
	display: flex;
	width: 55px;
	height: 55px;
	margin: 8px;
	justify-content: center;
	align-items: center;
	border-radius: 50%;
	background-color: #151515;
	transition: background-color 600ms ease;
	text-decoration: none;
}

.github-color:hover {
	background-color: #5f5f5f;
}
.telegram-color:hover {
	background-color: #229ED9;
}
.vk-color:hover {
	background-color: #4c74ca;
}
.linkedin-color:hover {
	background-color: #0072b1;
}

.footer-pc {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 25px 90px;
	background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.9)), url(images/background.jpg);
	background-position: 0px 0px, 50% 50%;
	background-size: auto, cover;
	background-repeat: repeat, no-repeat;
	background-attachment: scroll, fixed;
}

.footer-right {
	justify-self: end;
}
.footer-mid {
	margin-left: 15px;
	margin-top: -5px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
}
.made-by-text {
	color: #fff;
	text-decoration: none;
	font-size: 16px;
	letter-spacing: 2px;

	margin-top: 12px;
}
.social-button-footer {
	display: flex;
	margin: 8px;
	justify-content: center;
	align-items: center;
	border-radius: 50%;
	background-color: #151515;
	transition: background-color 600ms ease;
	text-decoration: none;
	width: 50px;
	height: 50px;
}
.footer-mobile {
	background-color: rgba(0, 0, 0, 0.9);
	display: flex;
	padding: 5px 0px 5px 0px;

	display: none;
}
.made-by {
	margin-left: auto;
	margin-right: auto;
	color: rgba(255, 255, 255, 0.7);
	font-size: 16px;
	letter-spacing: 1px;
	font-weight: 600;
}
.made-by-link {
	text-decoration: none;
	color: rgba(255, 255, 255, 0.85);
	transition: all 200ms ease-in;
	margin-left: 5px;
}
.made-by-link:hover {
	color: #972424;
}
@media screen and (max-width: 1222px) {
	.nav-link {
		padding: 15px 20px;
	}
	.language {
		padding: 10px;
	}
	.hero-info {
		margin-top: 100px;
	}
	.footer-pc {
		flex-wrap: wrap;
		justify-content: space-between;
	}
	.made-by-text {
		display: none;
	}
	.footer-mobile {
		display: flex;
	}
	.footer-mid {
		margin-left: 0;
	}
	.top-button {
		bottom: 68px;
	}
	.languages {
		right: 20px;
	}
	.project-icons {
		margin: 30px 0 40px 0;
	}
}

@media screen and (max-width: 1001px) {
	.wrapper {
		width: 80%;
	}
	.projects-container {
		margin-left: auto;
		margin-right: auto;
	}
	.project-container {
		flex-direction: column-reverse;
		max-height: none;
		align-items: center;
	}
	.project-info {
		align-items: center !important;
		text-align: center !important;
		padding: 30px;
	}
	.project-container:nth-child(2n) {
		flex-direction: column-reverse;
		align-items: center;
	}
	.project-container:nth-child(2n) > .project-info > .project-buttons {
		flex-direction: row-reverse;
	}
	.project-container:nth-child(2n) > .project-info > .project-buttons > .view-code-button {
		margin-right: 20px !important;
		margin-left: 0 !important;
	}
	.project-info {
		max-width: 100%;
	}
	.project-description {
		margin-top: 30px;
	}
	.project-icons {
		margin: 35px 0;
	}
	.project-picture-container {
		max-width: 100%;
		border-radius: 15px 15px 0px 0px !important;
	}
	.project-logo {
		border-radius: 15px 15px 0px 0px !important;
	}
	.experience-container{
		margin-left: 0;
	}
	.certificates {
		flex-direction: column;
		align-items: center;
	}
	.certificate {
		margin-right: 0;
		margin-bottom: 40px;
		width: 90%;
	}
	/*Hambuger*/
	nav {
		height: 65px;
		z-index: 1000;
		background-color: rgba(21, 21, 21, 1);
		border-bottom: 12px rgb(238, 0, 0);
	}
	.nav-container {
		height: 100%;
		padding: 0;
		border-bottom: 12px rgb(238, 0, 0);
	}
	.nav-list {
		width: 100%;
		margin: 0;
		position: absolute;
		display: flex;
		flex-flow: column;
		top: -300px;
		transform: translateY(0);
		transition: 300ms ease-in-out;
		background-color: rgba(21, 21, 21, 1);
		z-index: 2;
	}
	.nav-link {
		width: 100%;
		text-align: center;
	}

	.active-ham {
		top: 60px;
	}
	.navbar__ham {
		position: absolute;
		visibility: visible;
		z-index: 1010000;
	}
	.nav-title-container {
		height: 100%;
		width: 100%;
		z-index: 100000;
		display: flex;
		align-items: center;
		justify-content: center;
		background-color: rgba(21, 21, 21, 1);
	}
	.languages-mobile {
		display: block;

		margin-top: 20px;
		margin-bottom: 30px;
	}
	.about {
		flex-direction: column;
		align-items: center;
	}
	.about-text-side {
		width: 100%;
		margin-bottom: 40px;
	}
	.about-info-text {
		margin-top: 20px;
	}
	.about-experience-side {
		width: 100%;
	}
	.skills-box {
		padding: 20px 0px 0px 0px;
	}
}
@media screen and (max-width: 922px) {
	.footer-pc {
		flex-direction: column;
		justify-content: center;
	}
	.footer-right {
		margin-right: 0px;
		margin-top: 20px;
	}
}
@media screen and (max-width: 600px) {
	.projects-container {
		width: 100%;
	}
	.project-title {
		font-size: 28px;
	}
	.email-section {
		padding: 40px 0px;
	}
	.name-and-email {
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
	}
	.input {
		width: 150px;
	}
	.email-text {
		margin-left: 10px;
		width: 200px;
	}
	.button {
		width: 150px;
	}

	.footer-pc {
		padding: 25px;
	}
	.footer-mid .nav-link {
		padding: 10px 15px;
		font-size: 11px;
	}
	.certificate {
		width: 100%;
	}
}

@media screen and (max-width: 501px) {
	.project-buttons {
		flex-direction: column-reverse;
		justify-content: center;
	}
	.project-container:nth-child(2n) > .project-info > .project-buttons {
		flex-direction: column;
	}
	.view-code-button {
		margin-right: 0px !important;
		margin-top: 10px;
		padding: 15px 50px;
	}
	.project-container:nth-child(2n) > .project-info > .project-buttons > .view-code-button {
		margin-right: 0px !important;
	}
	.footer-pc {
		padding: 25px 10px;
	}
	.social-button-footer,
	.top-button {
		width: 40px;
		height: 40px;
		font-size: 12px;
	}
	.top-button {
		bottom: 62px;
	}
	.made-by {
		font-size: 14px;
	}
	.footer-mid .nav-link {
		font-size: 11px;
		padding: 10px;
	}
}
@media screen and (max-width: 450px) {
	.about-section {
		padding-top: 50px;
	}
	.about-grid {
		padding-top: 0px;
	}
	.subscribe-form{
		flex-direction: column-reverse;
		
	}
	.email-text{
		width: 90%;
		margin: 0 auto 20px auto;
		height: 100px;
	}
	.name-and-email{
		width: 90%;
		margin: 0 auto;
	}
	.input{
		width: 100%;
	}
	.button{
		width: 100%
	}
	.social-buttons{
		max-width: 75%;
		margin: 0 auto;
	}
}
@media screen and (max-width: 400px) {
	.hero-big-text {
		font-size: 30px;
	}
	.hero-small-text {
		font-size: 10px;
	}

	.social-button {
		width: 50px;
		height: 50px;
	}

	.social-button-footer {
		margin: 5px;
	}
	.top-button {
		bottom: 55px;
	}

	.made-by {
		font-size: 12px;
	}
	.footer-mid .nav-link {
		font-size: 10px;
	}
}

@media screen and (max-height: 420px) {
	.contacts-section {
		padding-top: 50px;
	}

	.hero-info {
		padding-top: 80px;
		padding-bottom: 20px;
	}
	.hero-big-text {
		font-size: 24px;
	}
	.hero-small-text {
		font-size: 10px;
	}
}
@media screen and (max-height: 280px) {
	.contacts-section {
		padding-top: 50px;
	}

	.hero-arrow-box {
		bottom: 10px;
	}
}

@media screen and (max-width: 330px) {
	.header {
		font-size: 26px;
	}
	.about-info-text {
		font-size: 16px;
	}
	.social-button {
		width: 40px;
		height: 40px;
		margin: 6px;
	}
	.footer-mid .nav-link {
		font-size: 8px;
		padding: 1rem 0.5rem;
	}
	.footer-right {
		margin-left: 0;
	}
}
