@font-face {
	font-family: 'Lato';
	font-style: normal;
	font-weight: 400;
	src: url(https://fonts.gstatic.com/s/lato/v24/S6uyw4BMUTPHjx4wXiWtFCc.woff2) format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

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

html {
	scroll-behavior: smooth;
}

body {
	font-family: "Lato", Tahoma, sans-serif;
	font-size: 15px;
	line-height: 1.8;
	color: #333;
}

nav {
	background: #fff;
	position: fixed;
	display: flex;
	justify-content: left;
	gap: 2rem;
	/* padding: 1rem; */
	position: sticky;
	top: 0;
	z-index: 1000;
}

nav a {
	padding: 1rem;
	color: #777;
	text-decoration: none;
	font-weight: 500;
	transition: color 0.3s ease;
	height: 100%;
}

nav a:hover {
	background-color: #777;
	color: white;
}

header {
	display: flex;
	flex-direction: column;
	justify-content: center;
	text-align: center;
	height: 100vh;
	padding: 12px 24px;
	align-items: center;
	background-image: url("https://arizsiddiqui.in/imgs/Photo1.webp");
	background-attachment: fixed;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}

header>h1 {
	font-family: 'Lato';
	position: relative;
	padding-top: 5px;
	height: 50px;
	width: 450px;
	font-size: 24px;
	color: #eee;
	background-color: #222;
	letter-spacing: 4px;
	border-radius: 5px;
}

section {
	padding: 3rem 2rem;
	max-width: 1000px;
	margin: auto;
	text-align: justify;
}

section h2 {
	font-size: 2rem;
	margin-bottom: 1.5rem;
	text-align: center;
	color: #444;
}

aside {
	float: right;
	margin: 0 0 1rem 2rem;
}

aside img {
	border-radius: 8px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.projects article {
	background: white;
	padding: 1.5rem;
	border-radius: 12px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
	transition: transform 0.3s ease;
}

.projects article:hover {
	transform: translateY(-5px);
}

.projects article h3 {
	margin-bottom: 0.5rem;
	color: #687291;
}

.projects article ul {
	margin-top: 0.5rem;
	padding-left: 1.5rem;
}

.projects article a {
	display: inline-block;
	margin-top: 0.5rem;
	color: #687291;
	font-weight: bold;
	text-decoration: none;
}

.projects article a:hover {
	text-decoration: underline;
}

.projects {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: minmax(300px, 1fr);
	gap: 2rem;
	overflow-x: auto;
}

form {
	max-width: 600px;
	margin: auto;
	display: grid;
	gap: 1rem;
}

form label {
	display: grid;
	grid-template-columns: 1fr 3fr;
	font-weight: 500;
}

form input,
form textarea {
	padding: 0.5rem;
	border: 1px solid #ccc;
	border-radius: 6px;
	font-size: 1rem;
}

form textarea {
	min-height: 120px;
}

form button {
	align-self: flex-start;
	background: #687291;
	color: white;
	border: none;
	padding: 0.7rem 1.2rem;
	border-radius: 6px;
	cursor: pointer;
	transition: background 0.3s ease;
}

form button:hover {
	background: #50586C;
}


footer {
	text-align: center;
	padding: 1rem;
	background: #777;
	color: white;
	font-size: 0.9rem;
}

footer a {
	color: white;
	text-decoration: none;
}

footer a:hover {
	color:burlywood;
}