@font-face {
	font-family: NeueHaasDisplayThin;
	src: url(fonts/NeueHaasDisplayThin.ttf);
}

@font-face {
	font-family: NeueHaasDisplayLight;
	src: url(fonts/NeueHaasDisplayLight.ttf);
}

@font-face {
	font-family: NeueHaasDisplayMedium;
	src: url(fonts/NeueHaasDisplayMedium.ttf);
}

@font-face {
	font-family: NeueHaasDisplayBold;
	src: url(fonts/NeueHaasDisplayBold.ttf);
}

* {
	padding: 0;
	margin: 0;
	box-sizing: border-box;
	font-family: NeueHaasDisplayMedium, sans-serif;
	text-decoration: none;
}

:root {
	--bg-color: #efeae3;
	--text-color: black;
	--green-color-dark: #008831;
	--green-color-medium: #00c04b;
	--green-color-light: #83f285;
}

html,
body {
	background: var(--bg-color);
	color: black;
	letter-spacing: 0.3px;
	font-size: 62.5%;
	overflow-x: hidden;
}

.header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	padding: 3rem 9%;
	background: rgba(208, 232, 205, 0.6);
	backdrop-filter: blur(10px);
	display: flex;
	justify-content: space-between;
	align-items: center;
	z-index: 100;
}

.logo {
	font-size: 3rem;
	letter-spacing: 2px;
	color: black;
	font-weight: 800;
	cursor: pointer;
	transition: 0.3s;
}

.logo:hover {
	transform: scale(1.1);
}

.navbar a {
	font-size: 1.8rem;
	color: black;
	margin-left: 4rem;
	font-weight: 500;
	transition: 0.3s ease-in-out;
	border-bottom: 3px solid transparent;
}

.navbar a:hover,
.navbar a.active {
	color: var(--green-color-medium);
	border-bottom: 3px solid var(--green-color-dark);
}

#menu-icon {
	font-size: 3.6rem;
	color: var(--green-color-dark);
	display: none;
}

section {
	min-height: auto;
	padding: 10rem;
}

.heading {
	text-align: center;
	line-height: 1.5;
	font-size: 5rem;
	margin: 3rem;
}

.heading span {
	color: var(--green-color-dark);
	text-shadow: 0 0 50px var(--green-color-dark);
}
.home {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
}

.home-content {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	text-align: center;
	margin-top: 3rem;
}

.home-content p {
	font-size: 2rem;
	letter-spacing: 1px;
	margin-bottom: 5rem;
}

span {
	color: var(--green-color-dark);
}

.logo span {
	color: var(--green-color-dark);
}

.home-content h3 {
	margin-bottom: 2rem;
	margin-top: 1rem;
	font-size: 3rem;
}

.home-content h1 {
	margin-top: 1.5rem;
	font-size: 3.5rem;
	line-height: 1;
	font-weight: 700;
}

.home-img {
	border-radius: 50%;
}

.home-img img {
	position: relative;
	border-radius: 50%;
	border: 0.35em solid var(--green-color-dark);
	top: 3rem;
	width: 22vw;
	box-shadow: 0 0 25px var(--green-color-dark);
	cursor: pointer;
	transition: 0.4s ease-in-out;
}

.home-img img:hover {
	box-shadow: 0 0 50px var(--green-color-dark);
}

.social-card {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: row;
	margin-top: 2rem;
	margin-bottom: 2rem;
	width: 100%;
	height: auto;
	background: transparent;
	gap: 3rem;
}
.Btn {
	width: 45px;
	height: 45px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: none;
	background-color: transparent;
	position: relative;
	border-radius: 7px;
	cursor: pointer;
	transition: all 0.3s;
}

.svgContainer {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: transparent;
	backdrop-filter: blur(0px);
	letter-spacing: 0.8px;
	border-radius: 10px;
	transition: all 0.3s;
	border: 1px solid rgba(156, 156, 156, 0.466);
	z-index: 2;
}

.BG {
	position: absolute;
	width: 100%;
	height: 100%;
	background: #181818;
	z-index: 1;
	border-radius: 10px;
	pointer-events: none;
	transition: all 0.3s;
	font-size: 0px;
}
.github .BG {
	background: #181818;
}
.linkdin .BG {
	background: #0077b5;
}
.whatsapp .BG {
	background: #075e54;
}

.Btn:hover .BG {
	transform: scale(1.5);
	font-size: 20px;
	color: white;
}

.Btn:hover .svgContainer {
	border: 1px solid rgba(216, 216, 216, 0.466);
	background-color: rgba(209, 209, 209, 0.466);
	backdrop-filter: blur(4px);
}

.text-animation {
	font-size: 34px;
	font-weight: 600;
	min-width: 280px;
}

.text-animation span {
	position: relative;
}

.text-animation span::before {
	content: 'Web Developer';
	color: var(--green-color-dark);
	animation: words 5s infinite;
}

@keyframes words {
	0%,
	25% {
		content: 'Web Developer';
	}
	26%,
	50% {
		content: 'Java Spring Boot Developer';
	}
	51%,
	75% {
		content: 'Microservices Specialist';
	}
	76%,
	100% {
		content: 'Backend Java Developer';
	}
}

.btn {
	margin: 3rem;
	border: 0.1em solid var(--green-color-dark);
	padding: 1em 3em;
	color: var(--green-color-dark);
	font-size: 15px;
	font-weight: bold;
	background-color: var(--btn-color);
	border-radius: 1em;
	outline: none;
	box-shadow: 0 0 1em 0.25em var(--green-color-dark), 0 0 4em 1em var(--green-color-medium),
		inset 0 0 0.75em 0.25em var(--green-color-dark);

	position: relative;
	transition: all 0.3s;
}

.btn::after {
	pointer-events: none;
	content: '';
	position: absolute;
	top: 120%;
	left: 0;
	height: 100%;
	width: 100%;
	background-color: var(--green-color-medium);
	filter: blur(2em);
	opacity: 0.7;
	transform: perspective(1.5em) rotateX(35deg) scale(1, 0.6);
}

.btn:hover {
	color: var(--bg-color);
	background-color: var(--green-color-dark);
	box-shadow: 0 0 1em 0.25em var(--green-color-dark), 0 0 4em 2em var(--green-color-medium),
		inset 0 0 0.75em 0.25em var(--green-color-dark);
}

.btn:active {
	box-shadow: 0 0 0.6em 0.25em var(--green-color-dark), 0 0 2.5em 2em var(--green-color-medium),
		inset 0 0 0.5em 0.25em var(--green-color-dark);
}

.about {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 10rem;
	color: black;
	transform: translate(0.3s);
}

.about-img img {
	position: relative;
	width: 30vw;
	border-radius: 40px;
	box-shadow: 0 0 25px var(--green-color-dark);
	top: 1rem;
	cursor: pointer;
	transition: 0.4s ease-in-out;
}

.about-img img:hover {
	box-shadow: 0 0 50px var(--green-color-dark);
}

.about-content {
	margin-top: 3rem;
}

.about .btn {
	position: absolute;
	left: 25%;
}

.about p {
	font-size: 2rem;
	margin-bottom: 5rem;
}

::-webkit-scrollbar {
	width: 5px;
}

::-webkit-slider-thumb {
	background-color: var(--bg-color);
}

::-webkit-scrollbar-thumb {
	background-color: var(--green-color-dark);
}

.skills {
	background: var(--bg-color);
	color: black;
}

.skills-container {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 2.5rem;
	grid-template-columns: btn(3, 1fr);
}

.skill-icons {
	display: grid;
	grid-template-columns: repeat(9, 1fr);
	gap: 1rem;
	margin: 1rem;
}

.skill-icons img {
	max-width: 95px;
	height: 90px;
	padding: 15px 15px;
	box-shadow: 0.325em var(--green-color-dark), inset 0 0 0.75em 0.25em var(--green-color-dark);
	box-shadow: -9px 9px 18px #5a5a5a, 9px -9px 18px #ffffff;
	border-radius: 30px;
}

.experience-container {
	display: flex;
	align-items: center;
	text-align: center;
	justify-content: center;
	grid-template-columns: btn(auto-fit, minmax(300px, 1fr));
	width: 100%;
}

.experience-card {
	transition: 0.3s ease-in-out;
	background: linear-gradient(to bottom right, var(--green-color-dark), var(--green-color-light));
	box-shadow: -9px 9px 18px #5a5a5a, 9px -9px 18px #ffffff;
	color: black;
	border-radius: 3rem;
	padding: 2rem;
	text-align: left;
	overflow: hidden;
}

.experience-card:hover {
	background: linear-gradient(to top left, var(--green-color-dark), var(--green-color-light));
	box-shadow: -9px 9px 18px #5a5a5a, 9px -9px 18px #ffffff;
}

.experience-card h4 {
	font-size: 2.5rem;
	margin-bottom: 1rem;
	text-align: center;
	padding: 5px;
}

.experience-card p {
	font-size: 1.5rem;
	padding: 0px 10px;
}

.experience-card ul {
	font-size: 1.5rem;
	list-style-type: disc;
	padding-left: 2rem;
}

.projects {
	min-height: 100vh;
	width: 100vw;
	overflow: hidden;
	position: relative;
}

.swiper-wrapper {
	position: relative;
	padding: 2rem;
	margin: 2rem;
	height: 100vh;
	width: 100vw;
}

.swiper-slide {
	background-color: var(--green-color-light);
	width: 100%;
	border-radius: 10px;
	transition: 0.3s ease-in-out;
}

.card:hover,
.swiper-slide:hover {
	background: linear-gradient(to top left, var(--green-color-dark), var(--green-color-light));
	transform: scale(1.02);
	box-shadow: 0px 0px 10px 2px #5a5a5a;
}

.card {
	--font-color: hsl(0, 0%, 20%);
	--bg-color: var(--green-color-light);
	width: 100%;
	max-height: 80vh;
	border-radius: 10px;
	background: linear-gradient(to bottom right, var(--green-color-dark), var(--green-color-light));
	box-shadow: -9px 9px 18px #5a5a5a, 9px -9px 18px #ffffff;
	display: flex;
	flex-direction: column;
	transition: 0.4s;
	overflow: hidden;
}

.card:hover {
	transform: scale(1.02);
	box-shadow: 0px 0px 10px 2px #5a5a5a;
}

.card__img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 10px 10px 0 0;
	background-color: blueviolet;
	overflow: hidden;
}

.card__descr-wrapper {
	padding: 15px;
	display: grid;
}

.card__title {
	color: var(--font-color);
	text-align: center;
	margin-bottom: 15px;
	font-weight: 900;
	font-size: 16px;
}

.card__descr {
	color: var(--font-color);
	font-size: 1rem;
}

.svg {
	width: 25px;
	height: 25px;
	transform: translateY(25%);
	fill: var(--font-color);
}

.card__links {
	margin-top: 10px;
	display: flex;
	justify-content: space-between;
	align-self: flex-end;
}

.card__links .link {
	color: var(--font-color);
	font-weight: 600;
	font-size: 15px;
	text-decoration: none;
}

.card__links .link:hover {
	text-decoration: underline;
}

.contact {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

.contact form {
	max-width: 60rem;
	text-align: center;
}

.contact form .input-box {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
}

.contact form .input-box input,
.contact form textarea {
	width: 100%;
	padding: 1.5rem;
	font-size: 1.6rem;
	color: black;
	background-color: var(--bg-color);
	border-radius: 0.8rem;
	border: 2px solid var(--green-color-dark);
	margin: 1rem 0;
	resize: none;
}

.contact form .btn {
	margin-top: 3rem;
}

.contact form .input-box input:focus,
.contact form textarea:focus {
	box-shadow: 0 0 1em 0.25em var(--green-color-dark), inset 0 0 0.75em 0.25em var(--green-color-dark);
}

.footer {
	position: relative;
	bottom: 0;
	width: 100%;
	padding: 20px 0;
}

.footer .copyright {
	margin-top: 50px;
	text-align: center;
	font-size: 16px;
	color: black;
}

@media (min-width: 1400px) {
	html {
		font-size: 80%;
	}

	.skill-icons img {
		width: 80;
		height: 90px;
	}

	.about .btn {
		display: flex;
		align-items: center;
		width: 10%;
		justify-content: center;
	}
}

@media only screen and (min-width: 1024) and (max-width: 1439px) {
	header {
		padding: 2rem 3%;
	}
	section {
		padding: 10rem 3% 2rem;
	}
	.skills {
		padding-bottom: 7rem;
	}
	.footer {
		padding: 2rem 3%;
	}
}

@media only screen and (min-width: 768px) and (max-width: 1023px) {
	#menu-icon {
		display: block;
	}
	.navbar {
		position: absolute;
		top: 100%;
		right: 0;
		width: 50%;
		padding: 1rem 3%;
		background: rgba(0, 0, 0, 0.9);
		backdrop-filter: blur(20px);
		border-bottom-left-radius: 2rem;
		border-left: 2px solid var(--green-color-dark);
		border-right: 2px solid var(--green-color-dark);
		display: none;
	}

	.skills-container,
	.experience-container {
		padding: 0 2%;
		grid-template-columns: btn(1, 1fr);
	}

	.home-img {
		margin: 0 auto;
		width: 80%;
		max-width: 400px;
	}

	.navbar.active {
		display: block;
	}

	.navbar a {
		display: block;
		font-size: 2rem;
		margin: 3rem 0;
		color: black;
	}

	.home {
		flex-direction: column;
		margin: 7em 0%;
		width: 100%;
		height: auto;
		padding-bottom: 10rem;
	}

	.home-content h3 {
		font-size: 2.6rem;
	}

	.home-content h1 {
		font-size: 4rem;
		margin-top: 2rem;
	}

	.home-content p {
		min-width: 60px;
		margin: auto;
		font-size: 2rem;
	}
	.home-img {
		width: 80%;
		max-width: 300px;
		margin-top: -2rem;
	}
	.home-img img {
		width: 100%;
		margin-top: -2rem;
	}

	.about {
		flex-direction: column-reverse;
	}

	.about .btn {
		margin-top: 3rem;
		display: block;
		margin: 0 auto;
		width: 40%;
		text-align: center;
		justify-content: center;
	}

	.about-content {
		justify-content: center;
		margin: 0 2% 4rem;
	}

	.about-img img {
		width: 100%;
		height: 100%;
	}

	.skills-container,
	.experience-container {
		align-items: center;
		justify-content: center;
		display: flex;
		flex-direction: column;
		width: 100% !important;
	}
	.experience-card {
		max-width: 100%;
	}

	.experience-card h4 {
		font-size: 2rem;
	}

	.skill-icons {
		grid-template-columns: repeat(6, 1fr);
		gap: 1rem;
		margin: 1rem;
	}

	.skill-icons img {
		max-height: 50px;
		padding: 5px 5px;
	}

	.contact form {
		max-width: 90%;
	}
	.contact form .input-box input,
	.contact form textarea {
		width: 100%;
		padding: 1.5rem;
		font-size: 1.6rem;
		color: black;
		background-color: var(--bg-color);
		border-radius: 0.8rem;
		border: 2px solid var(--green-color-dark);
		margin: 1rem 0;
		resize: none;
	}
	.contact form .btn {
		margin-top: 3rem;
		width: 60%;
		margin: 2 auto;
	}
}

@media only screen and (max-width: 767px) {
	.heading {
		font-size: 2.5rem;
	}
	.home-content h1 {
		font-size: 3.5rem;
	}
	.home-content p {
		min-width: 100px;
		margin: auto;
	}
	.home-img img {
		width: 100%;
	}

	#menu-icon {
		display: block;
	}

	.navbar {
		position: absolute;
		top: 100%;
		right: 0;
		width: 50%;
		padding: 1rem 3%;
		background: rgba(0, 0, 0, 0.9);
		backdrop-filter: blur(20px);
		border-bottom-left-radius: 2rem;
		border-left: 2px solid var(--green-color-dark);
		border-right: 2px solid var(--green-color-dark);
		display: none;
	}

	.navbar.active {
		display: block;
	}

	.navbar a {
		display: block;
		font-size: 2rem;
		margin: 3rem 0;
		color: var(--green-color-medium);
	}

	.about {
		justify-content: center;
		gap: 0;
		flex-direction: column-reverse;
	}
	.about-content {
		justify-content: center;
	}

	.about-img img {
		align-items: center;
		width: 100%;
		height: 100%;
	}

	.about .btn {
		display: block;
	}

	.skill-icons {
		grid-template-columns: repeat(3, 1fr);
		gap: 1rem;
		margin: 1rem;
	}

	.skill-icons img {
		padding: 10px;
		position: relative;
	}

	.experience,
	.about {
		padding: 5rem;
	}

	.experience-card {
		width: 100%;
		padding: 3rem 0;
	}

	.projects {
		height: 60vh;
	}

	.card__title {
		font-size: 1.5rem;
	}

	.card__descr {
		font-size: 1.2rem;
	}

	.home-content p,
	.experience-card p,
	.about-content p {
		font-size: 1.5rem;
	}

	.experience-container .experience-card h4 {
		font-size: 2rem;
	}

	.contact form .btn {
		margin-top: 20px;
	}

	.text-animation {
		margin-bottom: 5rem;
	}

	.footer {
		padding: 30px 10px;
	}
}
