@import url('https://fonts.googleapis.com/css2?family=Signika+Negative:wght@300;400;500;600&display=swap');
:root {
	--background-color: linear-gradient(to bottom, rgb(229, 234, 237), #6dd5fa, #2980b9);
	--secondary-color: rgb(15, 131, 209);
	--main-font: 'Signika Negative';
}

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

html {
	scroll-behavior: smooth;
}

.page {
	height: 100vh;
	width: 100vw;
}

/* Global styles */
body {
	font-family: 'Signika Negative', Arial, Helvetica, sans-serif;
	background: var(--background-color);
	height: auto;
	width: 100vw;
}

h1 {
	padding-top: 0;
	margin-top: 0;
}

a {
	text-decoration: none;
}

/* remove bullet points from list items */
ul {
	list-style-type: disc;
	list-style: none;
}

section {
	display: flex;
	flex-direction: column;
	text-align: center;
}

.section-title {
	text-align: center;
	font-size: 2.08rem;
	padding: 4rem 0;
	color: rgb(38, 38, 38);
	letter-spacing: 0.15rem;
}

label {
	display: none;
}

.show {
	transform: translateX(0);
	transition: 0.5s ease;
}

.hide {
	transform: translateX(-100vw);
	transition: 0.2s ease;
}

.btn {
	text-transform: uppercase;
	font-family: Arial, Helvetica, sans-serif;
	display: flex;
	justify-content: center;
	align-items: center;
	cursor: pointer;
	font-size: 1rem;
	border-radius: 20px;
	background: var(--secondary-color);
	border: none;
	height: 2.8rem;
	width: 9rem;
	letter-spacing: 0.3rem;
	transition: background-color 0.6s ease;
}

.btn:hover {
	opacity: 0.8;
	background-color: #494948;
	transform: scale(1.04);
}

footer {
	height: 40px;
	width: 100vw;
	padding: 10px 0;
	font-family: Arial, Helvetica, sans-serif;
	font-weight: 400;
	display: flex;
	justify-content: center;
	align-items: center;
	background-color: #262626;
	color: #fff;
}

/* Navbar */
header {
	height: 75px;
	width: 100vw;
	background: transparent;
}

.sticky {
	position: fixed;
	width: 100vw;
}

nav {
	position: sticky;
	top: 0;
	left: 0;
	height: 75px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	background: rgb(229, 234, 237);
	z-index: 1;
	border: none;
	box-shadow: 0 0 2px 2px rgb(198, 193, 193);
}

nav > ul {
	display: flex;
	font-weight: 700;
	font-size: 1.2rem;
	text-decoration: none;
	cursor: pointer;
	transition: color 0.5s ease-out;
}

nav ul li {
	padding: 0.625rem 1.875rem; /* 10px X 30px */
}

.nav-link,
.nav-link:visited {
	color: rgba(38, 38, 38, 1);
}

/* .nav a:visited {
	color: var(--secondary-color);
} */

.nav-link:hover {
	color: var(--secondary-color);
	transition: color 0.5s ease;
}

.dev,
.dev:visited {
	color: #262626;
	font-size: 2rem;
	font-weight: 600;
	margin-left: 5%;
	text-decoration: none;
}

.dev span,
.dev > span:visited {
	font-family: 'Signika Negative';
	color: var(--secondary-color);
	font-size: 2rem;
	font-weight: 600;
}

/* nav hover animation */
nav ul li a:after {
	content: '';
	display: block;
	margin: auto;
	height: 3px;
	width: 0px;
	background: transparent;
	transition: width 0.5s ease, background-color 0.5s ease;
}
nav ul li a:hover:after {
	width: 100%;
	background: rgb(38, 38, 38);
}
/* end of animation */

nav > span {
	display: none;
}

/* section styles start */
/* hero section */
.hero {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100vh;
}

.hero-container {
	padding: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 1rem;
	position: relative;
}

.hero-heading {
	font-size: 4rem;
	font-weight: 600;
	color: rgb(38, 38, 38);
}

.hero-subheading {
	font-size: 3.5rem;
	color: rgb(38, 38, 38);
}

.statement {
	margin-top: 1rem;
}

.statement span {
	color: var(--secondary-color);
	margin-top: 1rem;
}

.statement span:hover {
	transform: scale(0.3);
}

.hero-buttons {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	margin: 5rem 0rem;
	color: rgb(38, 38, 38);
}

.hero-buttons a {
	margin: 0 1rem;
	min-width: max-content;
	text-decoration: none;
	color: var(--background-color);
}

.social-links {
	color: #fff;
	display: flex;
	flex-direction: row;
	justify-content: center;
	margin-bottom: 4rem;
}

.social-link {
	padding: 0 20px;
}

.social-link > i {
	transition: color 0.5s ease;
	color: #262626;
	font-size: 3.125rem;
}

.social-link > i:hover {
	color: var(--secondary-color);
	transform: scale(1.1);
}

/* About me section */
.about {
	background: var(--accent-color);
	display: flex;
	flex-direction: column;
	align-items: center;
	margin: 3rem 3rem;
	padding: 2rem;
	color: #262626;
}

.about-container > p {
	font-size: 1.7rem;
}

p > span {
	font-weight: 700;
	color: var(--secondary-color);
}

/* tools section */
.tools {
	display: flex;
	justify-content: center;
	align-items: center;
	margin: 3rem 3rem;
	padding: 2rem;
}

.icons-container {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr 1fr;
}

.icons-container > i {
	width: max-content;
	padding: 1rem;
}

.icons-container i img {
	-webkit-filter: drop-shadow(5px 5px 2px rgb(38, 38, 38));
	filter: drop-shadow(5px 5px 2px rgb(38, 38, 38));
}

.icons-container p {
	font-family: 'Signiko Negative';
	font-weight: 600;
}

/* Projects */
.projects {
	margin: 3rem 0;
	padding: 2rem;
}

/* Project cards */
.yelpcamp-card img,
.disneyplus-card img,
.githubfinder-card img {
	width: 100%;
	border-radius: 12px 12px 0 0;
	height: 214px;
	object-fit: cover;
	box-shadow: 0 0 20px black;
}

#card-container {
	background-color: #e5eaed;
	padding: 2rem;
	width: 35rem;
	max-width: 80vw;
	height: 28rem;
	margin: 20px auto;
	padding: 0 0 2rem 0;
	border: 1px solid #fff;
	border-radius: 15px;
	box-shadow: 0 0 30px black;
}

.card {
	background-color: #fff;
	border: 1px solid #bacdd8;
	padding: 0.5rem;
	border-radius: 0.75rem;
}

.tag {
	padding: 4px 8px;
	border: 1px solid #e5eaed;
	border-radius: 50px;
	font-size: 0.75rem;
	font-weight: 600;
	color: #788697;
}

.name {
	font-size: 1.5rem;
	font-weight: 600;
	margin-top: 16px;
	color: #000;
}

.card-details p {
	font-size: 14px;
	color: #7f8c9b;
	line-height: 150%;
}

.yelpcamp-card a,
.disneyplus-card a,
.githubfinder-card a {
	position: relative;
	top: 70%;
	border: none;
	border-radius: 50px;
	border: 1px solid #262626;
	font-size: 0.8rem;
	font-weight: 600;
	color: #262626;
	margin: 0 auto;
	cursor: pointer;
}

.yelpcamp-card a:hover,
.disneyplus-card a:hover,
.githubfinder-card a:hover {
	color: var(--secondary-color);
}

.card-details {
	padding: 16px 8px 8px 8px;
}

.card-buttons {
	display: flex;
	justify-content: center;
	align-items: center;
	margin: 0 0;
	display: flex;
	color: #262626;
}

.card-buttons a {
	font-size: 1rem;
	font-weight: 300;
	color: #262626;
}

/* Contact Form styles */
.contact > p {
	font-size: 1.2rem;
	margin: 0 0 25px 0;
	font-weight: 600;
	color: rgb(38, 38, 38);
}

.contact {
	display: flex;
	align-items: center;
	margin: 2rem 3rem;
	border-radius: 20px;
}

/* @supports (-webkit-backdrop-filter: none) or (backdrop-filter: none) {
	.container {
		-webkit-backdrop-filter: blur(10px);
		backdrop-filter: blur(10px);
	}
} */

.form-container {
	width: 80%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

.contact-form {
	width: 90vw;
	max-width: 500px;
	display: flex;
	flex-direction: column;
	align-items: center;
	padding-bottom: 1.5rem;
}

.contact-form div {
	margin-bottom: 0.6rem;
}

input {
	background-color: #e5eaed;
	width: 32rem;
	margin-bottom: 2rem;
	padding: 0.5rem 0.5rem 0.5rem 1rem;
	border: none;
	border-radius: 10px;
	font-size: 1.2rem;
}

textarea {
	width: 32rem;
	padding: 0.5rem 0.5rem 0.5rem 1rem;
	margin-bottom: 1rem;
	border: none;
	border-radius: 10px;
	font-size: 1.2rem;
}

.g-recaptcha {
	border: none;
}

.submit-button {
	width: 10rem;
	background-color: #262626;
	color: var(--secondary-color);
}

.submit-button:hover {
	width: 10rem;
	border: 1px solid rgb(38, 38, 38);
	color: #262626;
	background-color: var(--secondary-color);
}

form span {
	font-size: 2rem;
	margin-top: 1rem;
	max-width: 80vw;
	color: red;
}

/* Breakpoints */
@media screen and (max-width: 920px) {
	body {
		padding: 0 0;
	}
	nav {
		padding: 2% 2%;
	}
	nav ul li {
		display: none;
	}
	#hamburger {
		display: flex;
		flex-direction: column;
		padding: 0 1rem;
	}

	/* hamburger styles */
	.bar1,
	.bar2,
	.bar3 {
		width: 35px;
		height: 5px;
		background-color: rgb(38, 38, 38);
		margin: 0.1875rem 1rem;
		transition: 0.4s;
		border-radius: 4px;
	}

	.change .bar1 {
		-webkit-transform: rotate(-45deg) translate(-9px, 6px);
		transform: rotate(-45deg) translate(-9px, 6px);
	}

	.change .bar2 {
		opacity: 0;
	}

	.change .bar3 {
		-webkit-transform: rotate(45deg) translate(-8px, -8px);
		transform: rotate(45deg) translate(-8px, -8px);
	}
	nav > span {
		cursor: pointer;
	}
	.hero-container {
		margin: 0;
		padding: 0;
	}
	/* .nav-hamburger {
		display: none;
	} */
	aside {
		position: absolute;
		display: flex;
		height: calc(100vh - 75px);
		width: 100vw;
		background-color: #e5eaed;
		justify-content: center;
		padding: 3rem 0;
		font-size: 2rem;
		z-index: 1;
	}
	aside li {
		padding: 1.5rem 0;
	}
	aside li a {
		color: rgb(38, 38, 38);
		font-weight: 500;
	}
	aside li a:visited {
		color: rgb(38, 38, 38);
	}
}

@media screen and (max-width: 600px) {
	body {
		width: 100vw;
	}
	nav {
		width: 100vw;
	}
	.hero-container {
		display: flex;
		flex-direction: column;
		margin: 0;
	}
	.hero-heading {
		font-size: 4rem;
		font-weight: 600;
	}
	.hero-subheading {
		font-size: 4rem;
	}
	.hero-buttons {
		flex-direction: row;
		justify-content: space-evenly;
	}
	.about-container p {
		font-size: 1.5rem;
	}
	.icons-container {
		grid-template-columns: 0.8fr 1fr 1fr 0.8fr;
	}
	.contact {
		padding: 2rem 3rem;
		margin: 0 0;
	}
	.form-container,
	input,
	textarea {
		width: 90vw;
	}
}

@media screen and (max-width: 430px) {
	nav > a {
		font-size: 1.7rem;
	}
	.hero-heading {
		font-size: 3.2rem;
	}
	.hero-subheading {
		font-size: 2.6rem;
		margin-bottom: 2rem;
	}
	.hero-buttons a {
		width: 9rem;
	}
	#card-container {
		height: fit-content;
	}
}
