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

body {
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
	line-height: 1.6;
	color: #333;
	margin: 0 auto;
	background: #f9f9f9;
}

header {
	background: white;
	padding: 2rem;
	margin-bottom: 2rem;
	border-radius: 8px;
	height: 100%;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

header h1 {
	color: #2c3e50;
	margin-bottom: 0.5rem;
	font-size: 1.8rem;
}

header .subtitle {
	color: #7f8c8d;
	font-size: 1.1rem;
}

section {
	background: white;
	padding: 2rem;
	margin-bottom: 2rem;
	border-radius: 8px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

h2 {
	color: #2c3e50;
	margin-bottom: 1rem;
	border-bottom: 2px solid #3498db;
	padding-bottom: 0.5rem;
}

.container {
	display: grid;
	grid-template-columns: 1fr 4fr;
	grid-template-rows: 4rem 1fr;
	height: 100vh;
	gap: 1rem;
}

.header {
	grid-column: 1 / -1;
	/* Spans all columns */
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-bottom: 2rem;
}

.header nav {
  display: flex;
  gap: 3rem;   /* adjust this value to increase/decrease space */
}

.header nav a{
	padding: 1rem;
	border-radius: 8px;
	transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
}

.header nav a:hover{
	background-color: #ececec;
	padding: 1rem;

	border-radius: 8px;
}

.sidebar {
	grid-row: 2;
	padding-left: 10px;
}

.sidebar .profile-photo {
  text-align: center;
  margin-bottom: 1rem;
}

.sidebar .profile-photo img {
  width: 100%;
  max-width: 150px;
  border-radius: 50%;
  display: block;
  margin: 0 auto;
}

.main-content {
	grid-row: 2;
	grid-column: 2;
	overflow-y: auto;
	/* Enables vertical scrolling if content overflows */
	padding-right: 10px;
	/* Optional: Adds some padding for better readability */
}


.bio {
	color: #555;
	font-size: 1.05rem;
	line-height: 1.8;
}

.publication {
	margin-bottom: 1.5rem;
	padding: 1rem;
	background: #f8f9fa;
	border-radius: 4px;
	border-left: 3px solid #3498db;
}

.publication-title {
	font-weight: 600;
	color: #2c3e50;
	font-size: 1.05rem;
}

.publication-meta {
	color: #7f8c8d;
	margin-top: 0.3rem;
	font-size: 0.95rem;
}

.publication a {
	color: #3498db;
	text-decoration: none;
	margin-left: 0.5rem;
}

.publication a:hover {
	text-decoration: underline;
}

.project {
	margin-bottom: 1.5rem;
}

.project-name {
	font-weight: 600;
	color: #2c3e50;
	font-size: 1.05rem;
}

.project-description {
	color: #555;
	margin-top: 0.3rem;
}

.project a {
	color: #3498db;
	text-decoration: none;
	font-size: 0.9rem;
}

.contact-info {
	display: flex;
	gap: 0.5rem;
	flex-wrap: wrap;
	justify-content: center;
}

.contact-item {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.contact-item strong {
	color: #2c3e50;
}

a {
	color: #3498db;
	text-decoration: none;
}

.btn {
	display: inline-block;
	width: 2.5rem;
	height: 2.5rem;
	padding-top: 0.6rem;
	padding-left: 0.2rem;
	background: white;
	border-radius: 4px;
	border: 1.5px solid #3498db;
	transition: background-color 0.3s ease-in-out;
}
.btn:hover {
	background-color: #ececec;
}
.btn img {
	width: 90%;
	height: 70%;
	object-fit: contain;
}

#loading {
	text-align: center;
	padding: 2rem;
	color: #7f8c8d;
}