

html {
	
}


body {
	font-family: "IBM Plex Sans", Helvetica, Arial, sans-serif;
	font-weight: 400;

	color: var(--main-color);
	margin:0;
	

}

.background-overlay {
  position: fixed; /* stays over the background */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg,rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 1) 100%);
  backdrop-filter: blur(10px);
  z-index: -1; /* behind page content */
}

.social_media_menu {
	
}

.social_media_menu img {
	filter: invert(1) drop-shadow(-4px 0px 0px var(--highlight-color));
	height: 3vw;
	margin-left: 1vw;
}


.wrapper_transition h1 {
	font-family: "Turret Road", sans-serif;
	font-weight: 800;
	font-size: 7vw;
	margin: 0 0 15px 20vw;
	letter-spacing: -4px;
	padding: 0 0 0 0;
	text-shadow: 10px 0px 0 var(--highlight-color);
	z-index: 1;
	color: #fff;
}

.page_title {
	padding: 4vw 0 4vw 0;
}

a:img {
	border: none;
}

a, img {
	border: none;
}

h2 {
	text-indent: 0;
	font-size: 4vw;
	letter-spacing: -4px;
	font-weight: 200;
	
	

}

hr {
	background-color: var(--main-color);
	height: 1px;
	border-width: 0;
	margin-left: 0;
	margin-top: 25px;
	width: 25%;
}

p {
	font-size: 13pt;
	line-height: 1.5em;
}


header {

	margin: 5vh 8vw 5vh 8vw;
	padding: 0 10px 0 10px;
	font-size: 2.5vw;
	font-weight: 300;
	letter-spacing: -2px;
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
}


.top_bar {
	
}



.file-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
 
}

.file-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  border-radius: 8px;
  overflow: hidden;

  transition: transform 0.2s ease;
}

.file-item:hover {
  transform: scale(1.03);
}

.file-item img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border-radius: 4px;
  margin-bottom: 0.5rem;
}

.file-icon {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #ddd;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2rem;
  border-radius: 4px;
  margin-bottom: 0.5rem;
}

.file-title {
  font-size: 0.7rem;
  color: #fff;
  word-break: break-word;
}

.file-title::after {
	content: "→";
	display: inline-block;
	margin-left: 5px;

}

.wrapper_transition {
	height: 5vh;
	background: #000;
	background: linear-gradient(180deg,rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 100%);

}

.wrapper {
	padding: 0 10px 0 10px;
	background: #000;


}

/* Link Styling */

/* Base link style */
a {
  color: #ffffff; /* Normal link color */
  text-decoration: none;
  text-transform: uppercase;
  transition: all 0.3s ease-in-out;
}

/* Hover effect */
a:hover {
  color: #ffffff; /* Change color on hover */
  text-shadow: 0 0 0 var(--highlight-color), 5px 0 0 var(--highlight-color), 10px 0 0 var(--highlight-color);
}

/* Visited link */
a:visited {
  color: #ffffff; /* Purple tone for visited links */
}



.menu ul {
	list-style: none;
	max-width: 60rem;
	margin: 5vh auto 5vh auto;
	padding: 0 10px 0 10px;

}

.menu li {
	font-family: "Turret Road", sans-serif;
	display: inline;
	font-size: 24px;
	font-weight: 400;
	letter-spacing: 0;
	margin: 0 5px 0 0;
}

.menu li:after {
	content: "/";
	margin: 0 0.5rem 0 0.8rem;
	color: #fff;
}

.menu li:last-child:after {
	content: "";
}

.logo {

	font-size: 4vw;
	transition: .2s ease-in-out;
}

.logo img {
	width: 50vw;
}

.logo:hover {
	filter: invert(75%);
	mix-blend-mode: normal;
}

.active::after {
	content: "\2796";
	color: var(--main-color);
}


.page_hero {
	width: 100%;

	margin:0;
	

	
}

.page_hero a:link {
	
	font-weight: 600;
}

.profile_home {
	display: flex;
	flex-direction: row;
	align-items: center;
	margin: 0 auto 0 auto;
	width: 60rem;
	padding: 0px 10px 40px 10px;
	box-sizing: border-box;
	justify-content: stretch;
	max-width: 100%;
}

.profile_description {
	width: fit-content;
	box-sizing: border-box;
}

.profile_picture {

  width: 250px;


  margin: 50px 50px 50px 0;
  transition: .4s ease-in-out;


}
  
.profile_picture:hover {
	filter: invert(100%);
	mix-blend-mode: normal;
  }


.profile_picture img {
  border-radius: 10px;
	box-shadow: 25px 0px 0px var(--highlight-color);
}

.bookcover_caption a {
	font-weight: bold;
}



.main {
	margin: 0 auto 0 auto;
	max-width: 50rem;
	padding: 10% 0 0 0;
	

}

.articles {
	margin: 0 0 0 0;
	padding: 1% 0 0 0;
}

.article {
	margin: 1vw 0 10vw 0;
}

.article:first-of-type {
	margin-top: 6vw;
}

.date {
	text-transform: uppercase;
	letter-spacing: 1.5px;
	
}

.submenu a::after {
	content: "→";
	display: inline-block;
	margin-left: 5px;

}

.submenu {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	list-style: none;
	grid-column-gap: 1rem;
	grid-row-gap: 2rem;
}

.submenu figure {
	margin: 0;
}

ul.projects {
	margin: 0;
	padding: 0;
}

.projects figure {
	margin: 0;
	
}

.submenu img {
	max-width: 100%;
	box-shadow: 0px 25px 0px var(--highlight-color);
	
}

.submenu figure {
	text-align: right;
}

.bookcover_caption {
	font-size: 12pt;
	margin: 10px 15px 0 0;
}

figure.inline_image {
	float: left;
	margin: 10% 5px 0px 0px;
	max-width: 35%;
}

.inline_image img {
	max-width: 100%;
}


.footer {

	
	max-width: 50rem;
	padding: 25px 0 25px 0;
	margin: 50px auto 0 auto;
}

@media only screen and (max-width: 620px) {
  /* For mobile phones: */
  .profile_home {
	  flex-direction: column;
	  max-width: 100%;
  }
  
  .profile_description {
	  margin:0;
	  max-width: 80%;
  }
  
  h1 {
	  font-size: 8vw;
  }
  
  header {
	  font-size: 6vw;
	  flex-direction: column;
	  align-items: center;
  }
  
  .menu {
	  text-align: center;
	
  }
  
  .menu ul {
	  text-transform: uppercase;
  }
  
  .logo {
	  font-size: 8vw;
  }
  
  .res_headline {
	  font-size: 25pt;
	  
  }
  
  ul.projects {
	  display: flex;
	  flex-direction: column;
	  align-content: center;
  }
  
  ul.projects li {
	  padding: 5px;
  }
  
  .cv_element {
	  display: inline;
  }
  
  .cv_left {
	  font-weight: bold;
  }
  
  figure.inline_image {
	  display: inline;
	  min-width: 100%;
  }

  .bookcovers img {
	  width: 100%;
  }
  
  .course_title {
	  font-size: 14px;
  }
  
  .course_tag {
	  display: none;
  }
  
  .course_description p {
	  font-size: 14px;
  }
  
  .bookcover_caption {
	  margin: 10px 0 0 0;
  }
  
  
  .res_description {
	  margin: 0;
	  
  }
  
  .res_publications {
	  margin: 0;
  }
}

@media screen and (min-width: 1400px) {
	/* for very large screens */
   header {
	 font-size: 30px;
  }
  
  .logo {
	  font-size: 60px;
  }
  
  .res_headline {
	  font-size: 40pt;
  }
  
  h1 {
	  font-size: 60px;
  }
  
  small {
	  font-size: 40px;
  }
}