/*General Settings*/
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: Arial, sans-serif;
	scroll-behavior: smooth;
}

/*add scrollbar to romove layout shift*/
html {
	overflow-y: scroll;
}

body {
	background-color: #e9e9e9;
	color: #000;
}

/*Page Wrapper*/
#wrapper {
	margin: 0 auto;
	background-color: #fff;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

/*Header*/
header {
	background-color: #303030;
	color: white;
	text-align: center;
	padding: 40px 20px;
}

header h1 {
	font-size: 1.8em;
	font-weight: normal;
	letter-spacing: 1px;
}

/*NavBar*/
nav {
	background-color: #303030;
	text-align: center;
	padding: 15px 0;
	position: sticky;
	top: 0;
	z-index: 100;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

nav ul {
	list-style: none;
}

nav li {
	display: inline-block;
	margin: 0 15px;
}

nav a {
	color: white;
	text-decoration: none;
	font-weight: bold;
	padding: 8px 14px;
	border-radius: 4px;
	display: inline-block;
	transition: background-color 0.3s ease, transform 0.2s ease;
}

nav a:hover {
	background-color: #505050;
	transform: translateY(-2px);
	text-decoration: underline;
}

/*Main Part of Website*/
article {
	flex: 1;
	padding: 50px 20px 100px 20px;
	text-align: center;
	background-color: #e9e9e9;
}

article img {
	display: block;
	margin: 0 auto 20px auto;
	border-radius: 8px;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	object-fit: cover;
}

/*Img hover effect*/
article img:hover {
	transform: scale(1.05);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/*Article text*/
article p {
	max-width: 600px;
	margin: 0 auto;
	line-height: 1.6;
	text-align: left;
}

/*Footer*/
footer {
	background-color: #303030;
	color: white;
	text-align: center;
	padding: 15px 20px;
	position: relative;
	width: 100%;
	font-size: 0.9em;
	margin-top: auto;
	box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.2);
}


#hyperlink {
	display: inline-block;
	margin-top: 20px;
	background-color: grey;
	color: white;
	padding: 10px 15px;
	border-radius: 6px;
	text-decoration: none;
	transition: background-color 0.3s, transform 0.2s;
}

#hyperlink:hover {
	background-color: #606060;
	transform: translateY(-2px);
}

#link {
	text-decoration: underline;
	color: black;
	transition: color 0.15s;
}

#email:hover {
	color: grey;
}


#AboutMe {
	text-align: left;
	padding: 20px;
	background-color: #e9e9e9;
}

#AboutMe img {
	float: left;
	margin-right: 20px;
	margin-bottom: 0px;
	border-radius: 8px;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
	}

#AboutMe img:hover {
	transform: scale(1);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.8);
}

.projects-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); 
  gap: 30px;
  justify-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.project {
	background-color: #cecece;
	padding: 20px;
	border-radius: 8px;
	width: 400px;
	text-align: center;

	opacity: 0;
	transform: translateY(20px);

	/* slow entrance */
	transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Visible after load */
.project.show {
	opacity: 1;
	transform: translateY(0);
}

/* Fast interactions AFTER load */
.project.interactive {
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.project:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.project a {
  color: black;
  text-decoration: none;
}

.project img {
	object-fit: cover;
}


.ShowcasePic {
    display: flex;
	flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    max-width: 1050px; 
	margin: 0 auto;
	gap: 30px;
}

.ShowcasePic img {
	object-fit: cover;
}


video {
	border-radius: 8px;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}









#NoHover:hover {
	transform: scale(1);
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}
