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

body {
	background-color: black;
	font-family: 'Inter', sans-serif;
	color: white;
}

html {
	scroll-behavior: smooth;
}

/* TRANSITION */

a, .btn {
	transition: all 0.3s ease;
}

/* DESKTOP NAV */


nav, .nav-links {
	display: flex;
}

nav {
	justify-content: space-around;
	align-items: center;
	height: 17vh;
}

.nav-links {
	gap: 2.5rem;
	list-style: none;
}

a {
	color: white;
	padding-bottom: 0.75rem;
	position: relative;
	text-transform: uppercase;
	text-decoration: none;
	font-weight: bold;
}

a:hover {
	color: grey;
	transition: all 0.3s ease;
}

a::after {
	content: "";
	position: absolute;
	height: 3px;
	width: 0;
	bottom: 0;
	left: 0;
	background-color: white;
	transition: all 0.3s ease;
}

a:hover::after {
	width: 100%;
}

/* LOGO */
.nav-logo {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 1.5em;
	max-width: 15em;
	min-width: 15em;
}

.nav-logo:hover {
	cursor: default;
}

.nav-logo img {
	height: 3em;
	width: 3em;
	min-width: 3em;
}

.nav-logo h1 {
	font-size: 15px;
	font-weight: 700;
	letter-spacing: .10em;
	text-transform: uppercase;
}

/* HAMBURGER MENU */

#hamburger-nav {
	display: none;
}

.hamburger-menu {
	position: relative;
	display: inline-block;
}

.hamburger-icon {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	height: 24px;
	width: 30px;
	cursor: pointer;
}

.hamburger-icon span {
	width: 100%;
	height: 2px;
	background-color: white;
	transition: all 0.3s ease-in-out;
}

.menu-links {
	position: absolute;
	top: 200%;
	right: 0%;
	/* background-color: white; */
	width: fit-content;
	max-height: 0;
	overflow: hidden;
	transition: all 0.3s ease-in-out;
}

.menu-links a {
	display: block;
	padding: 10px;
	text-align: left;
	/* font-size: 1.5rem; */
	color: white;
	text-decoration: none;
	transition: all 0.3s ease-in-out;
}

.menu-links a:hover {
	color: gray;
}

.menu-links li {
	list-style: none;
}

.menu-links.open {
	max-height: 300px;
}

.hamburger-icon.open span:first-child {
	transform: rotate(45deg) translate(10px, 5px);
}
.hamburger-icon.open span:nth-child(2) {
	opacity: 0;
}
.hamburger-icon.open span:last-child {
	transform: rotate(-45deg) translate(10px, -5px);
}

.hamburger-icon span:first-child {
	transform: none;
}
.hamburger-icon span:first-child {
	opacity: 1;
}
.hamburger-icon span:first-child {
	transform: none;
}

/* MAIN */
#main {
	margin: 10em auto;
	max-width: 1400px;
	display: flex;
	flex-direction: column;
	gap: 10em;
	justify-content: space-between;
	text-align: center;
	/* background-color: aliceblue; */
}

#main h2 {
	transition: all 0.3s ease;
	padding: 10px;
}

#main h2:hover {
	background-color: #ffffff46;
}
/* PROJECTS */

#projects {
	/* margin: auto; */
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 4em;
	flex-wrap: wrap;
}
.project-showcase {
	text-align: center;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: center;
	height: 25em;
	/* background-color: white;
	color: black; */
	gap: 2em;
}

.project-showcase a {
	margin: 0;
	padding: 0;
}

.project-showcase p {
	transition: all 0.3s ease;
	padding: 10px;
}

.project-showcase p:hover {
	background-color: #ffffff46;
}

.project-showcase img {
	width: 18em;
	height: 18em;
	object-fit: cover;
	transition: all 0.3s ease;
}

.project-showcase img:hover {
	scale: 1.05;
}