/* Import font */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

/* CSS Variables */
:root {
	--primary-color: #007bff;
	--border-color: #f0dddd;
	--black-color: #2b2d42;
	--white-color: #f6f3f3e3;
	--primary-font: 'Inter', sans-serif;
	--secondary-font: 'Bebas Neue', sans-serif;
}

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

body {
	font-family: var(--primary-font);
	background: #ece9e6; /* fallback for old browsers */
	background: -webkit-linear-gradient(to right, #ffffff, #ece9e6);
	background: linear-gradient(to right, #ffffff, #ece9e6);
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: var(--primary-font);
}

a {
	text-decoration: none;
	color: inherit;
}

ul {
	list-style: none;
}

image {
	max-width: 100%;
}

.heading__title {
	font-size: calc(36px + 8 * ((100vw - 320px) / 680));
	font-weight: 200;
	text-align: center;
	font-family: var(--primary-font);
}

/* header styling */
header {
	display: flex;
	justify-content: center;
	z-index: 1000;
	position: fixed;
	width: 100%;
	/* background-color: var(--primary-color); */

	.container {
		display: flex;
		justify-content: end;
		width: 80%;
		align-items: center;
		padding: 1rem 0;
		position: relative;

		nav {
			border-radius: 0.2rem;
			position: absolute;
			right: 0;
			top: 7vh;

			ul {
				display: flex;
				flex-direction: column;
				align-content: center;
				color: var(--black-color);
				background-color: var(--white-color);
				overflow: initial;
				opacity: 1;
				border-radius: 0.2rem;
				transition: all 0.4s ease-out;

				li {
					padding: 1rem 2rem;
					text-align: center;

					a {
						font-weight: 500;
						&:hover {
							color: var(--primary-color);
						}
					}
				}
				&.show {
					height: 0;
					overflow: hidden;
					opacity: 0;
				}
			}
		}
		& .handburger-menu {
			display: flex;
			gap: 0.7rem;
			cursor: pointer;
			font-size: 1.5rem;
			color: var(--white-color);

			.handburger {
				display: flex;
				flex-direction: column;
				justify-content: center;
				cursor: pointer;
				position: relative;

				span {
					display: block;
					width: 1.5rem;
					height: 2px;
					background-color: var(--border-color);
					margin: 0.2rem 0;
				}
			}
		}
	}
}

/* ---------header styling -------------- */
/* Hero Styling */
.hero-section {
	display: flex;
	justify-content: center;
	align-items: center;
	height: 100vh;
	background: #396afc; /* fallback for old browsers */
	background: -webkit-linear-gradient(
		to right,
		#2948ff,
		#396afc
	); /* Chrome 10-25, Safari 5.1-6 */
	background: linear-gradient(
		to right,
		#2948ff,
		#396afc
	); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */

	.container {
		.title {
			font-size: 20vw;
			font-weight: 500;
			color: var(--white-color);
			text-align: center;
			font-family: var(--secondary-font);
			font-style: normal;
			line-height: 0.9;

			display: flex;
			justify-content: center;
			gap: 2rem;

			.firstname,
			.lastname {
				display: flex;
			}
		}

		.post {
			font-size: 2rem;
			color: var(--white-color);
			margin-top: 1rem;
			font-family: var(--secondary-font);
			text-align: center;
		}

		.particles {
			.rectangle {
				width: 40px;
				height: 40px;
				background-color: rgba(226, 219, 219, 0.5);
				box-shadow: 9px 2px 13px rgba(41, 40, 40, 0.2);
				position: absolute;
				border-radius: 6px;
				top: 10vw;
				left: 44vw;
				z-index: 1;
				transform: rotate(45deg);

				&._0 {
					top: 15vh;
					left: 19vw;
				}

				&._1 {
					top: 34vh;
					left: 73vw;
					transform: scale(0.8) rotate(20deg);
				}

				&._2 {
					top: 70vh;
					left: 89vw;
				}

				&._3 {
					top: 70vh;
					left: 9vw;
					transform: scale(0.7) rotate(20deg);
				}
			}
		}
	}
}
/* ----------Hero Styling end------------ */

/* Work section styling */
#work {
	margin: 0rem 3rem;

	.work-title {
		height: 13vh;
		margin-bottom: 2vh;
		display: flex;
		justify-content: center;
		align-items: center;
	}

	.hozontal-scroll-wrapper {
		overflow: hidden;
		height: 625px;

		.horizontal {
			display: flex;
			height: 100%;

			& > div {
				display: flex;
				flex-shrink: 0;
				padding: 0 5px;
			}
		}
	}

	.work-grid {
		display: grid;
		grid-template-columns: 3fr 7fr;
		gap: 0.5rem;
		padding-top: 0.5rem;

		&:nth-child(odd) {
			grid-template-columns: 7fr 3fr;
		}

		.work-item > img {
			width: 100%;
			height: 100%;
			max-height: 100%;
			object-fit: cover;
			filter: brightness(0.5);
			cursor: pointer;

			&:hover {
				filter: brightness(0.8);
			}
		}
	}
}
/* -----------Work section styling end---------- */

/* ido styling */
#ido {
	margin: 0rem 3rem;

	.container {
		padding: 5rem 3rem;
		display: flex;
		flex-direction: column;
		align-items: center;

		.ido-title {
			width: 100%;
			height: 13vh;
			display: flex;
			justify-content: center;
			align-items: center;
		}

		.ido-content {
			width: 50%;
			display: flex;
			flex-wrap: wrap;
			justify-content: center;

			.ido-item {
				display: flex;
				justify-content: center;
				align-items: center;
				gap: 0.2rem;

				svg {
					width: 2rem;
					height: 2rem;
					align-self: center;
					/* padding-left: 0.1rem; */
				}

				h3 {
					font-size: calc(24px + 8 * ((100vw - 320px) / 680));
					font-weight: 400;
					text-transform: uppercase;
				}
			}
		}
	}
}
/* -------------ido styling end----------------- */

/* About me styling */
#about {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;

	.text {
		width: 100%;
		color: rgb(182, 182, 182, 0.2);
		background: linear-gradient(
				to right,
				var(--black-color),
				var(--black-color)
			)
			no-repeat;
		-webkit-background-clip: text;
		background-clip: text;
		background-size: 0%;
		transition: background-size cubic-bezier(0.1, 0.5, 0.5, 1) 0.5s;
	}

	.container {
		display: flex;
		flex-direction: column;
		align-items: center;

		.about-content {
			padding: 5rem 3rem;
			width: 40%;

			p {
				text-align: center;
				font-style: italic;
			}
		}
	}

	.about-parallax {
		background-image: url('./assets/img_9.jpg');
		height: 50vh;
		width: 100vw;
		/* create parallax scrolling effect */
		background-attachment: fixed;
		background-position: center;
		background-repeat: no-repeat;
		background-size: cover;
		transition: all 2s ease-out;
	}
}
/* --------------About me --------------------- */
/* Footer Styling */
#footer {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	padding: 0rem 3rem;

	.container {
		width: 100%;
		padding: 10rem 0;
		border-top: 1px solid var(--black-color);
		border-bottom: 1px solid var(--black-color);

		.flex {
			display: flex;
			justify-content: space-between;

			.left {
				.wrapper {
					overflow: hidden;
					margin: 2rem 0;

					h2 {
						line-height: 100px;
						transform: translateY(-150px);
					}
				}

				h2 {
					font-size: 6vw;
					color: var(--black-color);
				}

				button {
					margin-top: 3rem;
					padding: 1rem 5rem;
					font-size: 1vw;
					font-family: var(--primary-font);
					border: transparent;
					cursor: pointer;

					&:hover {
						background-color: var(--primary-color);
						color: var(--white-color);
					}
				}
			}

			.right {
				h3 {
					font-size: 2vw;
					margin: 0.4rem 0;
					color: var(--black-color);
				}
			}
		}
	}

	p {
		font-size: 1rem;
		text-align: center;
		padding: 2rem 0;
	}
}
/* -----------------Footer Styling------------- */
