/*========================================================*/
/*========================General=========================*/
/*========================================================*/

* {
	margin: 0px;
	padding: 0px;
	box-sizing: border-box;
}

:root {
	--main-background-color: #ffffff;
	--element-background-color: #ffffff;
	--secoundary-element-color: #000000;

	--primary-text-color: #000000;
	--secoundary-text-color: #ffffff;
}

html,
body {
	width: 100%;
	min-width: 280px;
	height: auto;
	color: #000000;
	font-family: "Source Sans Pro", sans-serif;
	display: flex;
	justify-content: center;
	scroll-behavior: smooth;
}

h1 {
	font-size: 24px;
	font-weight: 700;
}

input {
	width: 100%;
	height: 60px;
	font-family: "Source Sans Pro", sans-serif;
	font-size: 16px;
	color: var(--primary-text-color);
	background-color: var(--element-background-color);
	border: 2.5px solid var(--secoundary-element-color);
	border-radius: 2px;
	padding: 20px;
}

.input:focus {
	border-color: 2.5px solid #7141ea;
	color: #7141ea;
}

textarea {
	width: 100%;
	height: 200px;
	font-family: "Source Sans Pro", sans-serif;
	font-size: 16px;
	background-color: var(--element-background-color);
	border: 2.5px solid var(--secoundary-element-color);
	border-radius: 2px;
	resize: none;
	padding: 20px;
}

.button {
	width: 100%;
	height: 60px;
	font-family: "Source Sans Pro", sans-serif;
	font-size: 18px;
	color: var(--secoundary-text-color);
	background-color: var(--secoundary-element-color);
	border: 0px;
	border-radius: 2px;
}

.button:hover {
	cursor: pointer;
	background: rgb(113, 65, 234);
	background: linear-gradient(
		100deg,
		rgba(113, 65, 234, 1) 0%,
		rgba(56, 85, 185, 1) 50%,
		rgba(160, 248, 137, 1) 100%
	);
}

.btn__group {
	display: flex;
	flex-direction: row;
}

.btn__group div,
.btn__group a {
	margin-right: 15px;
}

.btn__group div:last-child,
.btn__group a:last-child {
	margin-right: 0px;
}

.btn__icon {
	width: 35px;
	height: 35px;
	background-color: #000000;
	background-repeat: no-repeat;
	background-position: center;
	background-size: 36px;
	border-radius: 40px;
	transition: 300ms ease-in-out;
	overflow: hidden;
}

.btn--gradient {
	width: 100%;
	height: 100%;
	background: rgb(113, 65, 234);
	background: linear-gradient(
		90deg,
		rgba(113, 65, 234, 1) 0%,
		rgba(56, 85, 185, 1) 50%,
		rgba(160, 248, 137, 1) 100%
	);
	opacity: 0;
	transition: 300ms ease-in-out;
	position: relative;
	z-index: 0;
}

.btn__icon:hover .btn--gradient {
	opacity: 1;
	cursor: pointer;
	transition: 300ms ease-in-out;
}

.btn--gradient-icon {
	width: 100%;
	height: 100%;
	background-repeat: no-repeat;
	background-position: center;
	background-size: 36px;
}

.btn--close {
	background-image: url(../img/close.svg);
}

.btn--url {
	background-image: url(../img/url.svg);
	background-size: 28px;
}

.btn--arrow {
	background-image: url(../img/arrow-down.svg);
}

.checkbox__field {
	display: flex;
}

.checkbox {
	width: 60px;
	height: 60px;
	margin-right: 20px;
}

.bold {
	font-weight: 700;
}

.phone {
	width: 100%;
	height: 60px;
	font-weight: 600;
	text-decoration: none;
	color: var(--primary-text-color);
	background: rgb(255, 255, 255);
	display: flex;
	align-items: center;
	padding: 25px;
	position: fixed;
	bottom: 0;
	z-index: 7;
}

.phone:hover {
	text-decoration: underline;
}

.grecaptcha-badge {
	opacity: 0;
}

.firstname__reader {
	display: none;
}

/*========================================================*/
/*==========================Body==========================*/
/*========================================================*/

.identity {
	font-weight: 600;
}

.important__links {
	width: auto;
	height: 60px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 25px;
	z-index: 998;
}

.important__links ul {
	width: auto;
	display: flex;
	flex-direction: row;
	list-style-type: none;
}

.important__links ul li {
	margin-left: 15px;
}

.important__links ul li a {
	font-size: 16px;
	font-weight: 600;
	color: black;
	text-decoration: none;
}

.important__links ul li a:hover {
	text-decoration: underline;
}

.wrapper {
	width: 100%;
	min-width: 280px;
	height: auto;
	background-color: #fcfcfc;
	display: flex;
	flex-direction: column;
}

#frontpage {
	width: 100%;
	min-width: 280px;
	height: calc(100vh - 60px);
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	padding: 50px;
	position: fixed;
	opacity: 0;
	z-index: 4;
}

.logo__container {
	max-width: 600px;
	width: 70vw;
	height: auto;
	display: flex;
	flex-direction: row;
	/*    justify-content: space-between;*/
}

.logo {
	width: 94px;
	max-height: 82px;
	height: 100%;
	margin-left: 5%;
}

.logo:hover {
	background-image: url(../img/logo-hover.svg);
}

.logo:nth-child(1) {
	margin-left: 0px;
}

#frontpage__content {
	width: auto;
	height: auto;
	display: flex;
	flex-direction: column;
	padding: 20px;
	margin-bottom: 60px;
}

#frontpage__content h1 {
	display: flex;
	justify-content: flex-end;
	margin-top: 10px;
}

.scroll-down {
	width: 100px;
	height: 95px;
	display: flex;
	flex-direction: column;
	align-items: center;
	position: absolute;
	bottom: 60px;
}

.bounce {
	-moz-animation: bounce 2s infinite;
	-webkit-animation: bounce 2s infinite;
	animation: bounce 2s infinite;
}

@keyframes bounce {
	0%,
	20%,
	50%,
	80%,
	100% {
		transform: translateY(0);
	}
	40% {
		transform: translateY(-30px);
	}
	60% {
		transform: translateY(-15px);
	}
}

#portfolio {
	width: 100%;
	min-height: auto;
	height: auto;
	background-color: #fcfcfc;
	display: flex;
	flex-direction: column;
	margin-top: 100vh;
	padding-top: 0px;
	/* position: relative; */
	z-index: 6;
}

#portfolio__header {
	width: 100%;
	min-height: 155px;
	height: auto;
	background-color: #fcfcfc;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 30px 40px;
	z-index: 6;
}

#portfolio__header.sticky {
	padding: 30px 40px;
	/* margin-bottom: -40px; */
	position: sticky;
	top: -1px;
	left: 0;
	z-index: 6;
}

h2 {
	font-size: 24px;
	font-weight: 900;
	letter-spacing: 6px;
	display: flex;
	align-self: center;
}

.gallery__categories {
	width: 100%;
	height: 60px;
	display: flex;
	justify-content: center;
	align-items: center;
}

.gallery__categories ul {
	width: auto;
	display: flex;
	flex-direction: row;
	align-items: center;
	list-style-type: none;
}

.gallery__categories ul li {
	display: flex;
	align-items: center;
}

.gallery__categories ul li a {
	font-size: 16px;
	color: black;
	font-weight: 300;
	text-decoration: none;
	margin-right: 5px;
	margin-left: 5px;
	cursor: pointer;
}

.gallery__categories ul li a:hover,
.gallery__categories ul li.active {
	text-decoration: underline;
	text-decoration-thickness: 0.5px;
}

.gallery__categories--mobile {
	display: none;
}

#gallery {
	width: 100%;
	height: auto;
	display: grid;
	grid-template-columns: repeat(3, minmax(250px, 1fr));
	grid-auto-rows: 1fr;
	grid-gap: 0px;
	z-index: 5;
	margin-bottom: 40px;
	padding: 0px 40px;
}

#gallery::before {
	content: "";
	width: 0;
	padding-bottom: 100%;
	grid-row: 1 / 1;
	grid-column: 1 / 1;
}

#gallery > *:first-child {
	grid-row: 1 / 1;
	grid-column: 1 / 1;
}

.image__container {
	width: 100%;
	height: auto;
	display: flex;
	justify-content: center;
	align-items: center;
	position: relative;
	cursor: pointer;
	overflow: hidden;
}

.image {
	width: 100%;
	height: auto;
	display: flex;
	justify-content: center;
	align-items: center;
}

.image img {
	width: 100%;
	height: auto;
	object-fit: cover;
	overflow: hidden;
	transform: scale(1);
	transition: 300ms ease-in-out;
}

.image__container:hover .image img {
	width: 100%;
	transform: scale(1.2);
	transition: 300ms ease-in-out;
}

.image__text {
	width: 100%;
	height: 100px;
	color: white;
	background: rgb(31, 31, 31);
	background: linear-gradient(
		0deg,
		rgba(31, 31, 31, 0.7346288857339811) 0%,
		rgba(255, 255, 255, 0) 100%
	);
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: 20px;
	position: absolute;
	bottom: -100px;
	z-index: 2;
	/* opacity: 0; */
	transition: 300ms ease-in-out;
}

.image__container:hover .image__text {
	display: flex;
	bottom: 0px;
	transition: 300ms ease-in-out;
}

.image__bg__hover {
	opacity: 0;
	transition: 300ms ease-in-out;
}

.image__container:hover .image__bg__hover {
	width: 100%;
	height: 100%;
	background-color: rgba(255, 255, 255, 0.095);
	opacity: 1;
	position: absolute;
	z-index: 1;
	transition: 300ms ease-in-out;
}

.image__text__title {
	font-size: 16px;
	font-weight: 600;
}

.image__text_minidesc {
	font-size: 14px;
	font-weight: 300;
}

.image__tags {
	display: flex;
	flex-wrap: wrap;
	position: absolute;
	top: 10px;
	left: 10px;
	z-index: 1;
}

.tag {
	width: auto;
	height: auto;
	color: var(--secoundary-text-color);
	background-color: black;
	border-radius: 2px;
	padding: 5px 10px;
	margin-right: 5px;
	margin-bottom: 5px;
}

.tag--php {
	background-color: #2f3d64;
}

.tag--js {
	color: #000000;
	background-color: #f2d63e;
}

.tag--adobexd {
	color: #fa68e9;
	background-color: #460634;
}

.tag--adobeps {
	color: #00aafb;
	background-color: #001e33;
}

.tag--html5 {
	color: #ffffff;
	background-color: #d76b3b;
}

.tag--css {
	color: #ffffff;
	background-color: #3662e0;
}

/* #contact {
    width: 100%;
    height: 100vh;
    background-color: rebeccapurple;
} */

/*========================================================*/
/*=========================Pop-up=========================*/
/*========================================================*/

.pop-up {
	width: 100vw;
	height: 100vh;
	background-color: rgba(0, 0, 0, 0.85);
	display: none;
	flex-direction: column;
	align-items: center;
	overflow: auto;
	position: fixed;
	z-index: 8;
}

.pop-up__header {
	width: 100%;
	display: flex;
	justify-content: space-between;
	padding: 40px 0px;
}

.pop-up__title {
	color: var(--secoundary-text-color);
	text-transform: uppercase;
	align-self: flex-start;
}

.pop-up__container {
	width: 90%;
	max-width: 1366px;
	height: auto;
	display: flex;
	flex-direction: column;
	margin-bottom: 80px;
}

.pop-up__container__image__item {
	height: auto;
}

.image__item {
	width: 100%;
	height: auto;
	display: block;
}

.image__item--embed {
	min-height: 700px;
	flex-basis: 0;
	flex-grow: 1;
}

/*===================*/
/******About mev******/
/*===================*/

.about-me {
	width: 100%;
	height: 100vh;
	background-color: var(--main-background-color);
	display: flex;
	/* flex-direction: column; */
	justify-content: center;
	align-items: center;
	position: relative;
	z-index: 5;
	padding: 150px;
}

.about-me__photo {
	width: 600px;
	height: 550px;
	background-image: url(../img/profile-logo.png);
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	margin-right: 160px;
}

.about-me__text {
	width: 600px;
	height: auto;
}

.about-me__text__title {
	font-size: 32px;
	letter-spacing: initial;
	margin-bottom: 30px;
}

.about-me__text__form {
	width: 450px;
	display: flex;
	flex-direction: column;
}

.input {
	margin-bottom: 20px;
}

.about-me__text__email {
	height: 30px;
	display: flex;
	align-items: center;
	margin-top: 15px;
}

.email__text {
	margin-bottom: 2px;
}

.email_anchor {
	height: 30px;
}

.email__image {
	height: 30px;
}

/*===================*/
/****Media quaries****/
/*===================*/

@media only screen and (max-width: 1100px) {
	#gallery {
		grid-template-columns: repeat(2, minmax(250px, 1fr));
	}

	.about-me {
		height: auto;
		flex-direction: column;
		/* padding: 80px; */
	}

	.about-me__photo {
		margin-right: 0px;
		margin-bottom: 180px;
	}

	.about-me__text {
		width: 450px;
	}
}

@media only screen and (max-width: 980px) {
	.gallery__categories {
		display: none;
	}
	.gallery__categories--mobile {
		width: 100%;
		height: auto;
		display: flex;
		justify-content: center;
		align-items: center;
		margin-top: 25px;
	}

	.gallery__categories--mobile select {
		width: 100%;
		min-height: 60px;
		-webkit-appearance: none;
		-moz-appearance: none;
		background: transparent;
		background-image: url("data:image/svg+xml;utf8,<svg fill='black' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
		background-repeat: no-repeat;
		background-position: right 15px center;
		border: 2.5px solid black;
		border-radius: 2px;
		padding: 20px;
	}

	#frontpage__content h1 {
		font-size: 24px;
	}
}

@media only screen and (max-width: 860px) {
	.about-me {
		padding: 150px 0px;
	}
}

@media only screen and (max-width: 700px) {
	#gallery {
		grid-template-columns: repeat(1, minmax(220px, 1fr));
	}
	#frontpage__content h1 {
		font-size: 24px;
		margin: 0px;
	}
}

@media only screen and (max-width: 600px) {
	#frontpage__content h1 {
		font-size: 18px;
		margin-top: 0px;
	}

	.about-me {
		padding: 150px 30px;
	}

	.about-me__photo {
		width: 100%;
	}

	.about-me__text {
		width: 100%;
	}

	.about-me__text__form {
		width: 100%;
	}

	.about-me__text__email {
		display: flex;
		flex-direction: column;
	}

	.about-me__photo {
		height: 420px;
	}

	#gallery,
	#portfolio__header,
	#portfolio__header.sticky {
		padding: 0px 30px;
	}

	#frontpage {
		padding: 30px;
	}
}

@media only screen and (max-width: 500px) {
	.about-me {
		padding: 100px 30px;
	}

	.about-me__photo {
		height: 340px;
		margin-bottom: 120px;
	}

	.important__links ul {
		display: none;
	}
}

@media only screen and (max-width: 400px) {
	#frontpage__content h1 {
		widows: 100%;
		display: flex;
		align-self: center;
	}
}

@media only screen and (max-width: 350px) {
	.about-me {
		padding: 100px 30px;
	}

	.about-me__photo {
		height: 270px;
		margin-bottom: 100px;
	}
}

@media only screen and (max-width: 300px) {
	.about-me {
		padding: 80px 30px;
	}

	.about-me__photo {
		height: 220px;
		margin-bottom: 80px;
	}
}

@media only screen and (max-width: 280px) {
}
