/*
CSS styles for research page of website

Author: Nicholas E. Johnson
Created: 11 September 2025
*/


/* Styles for project cards and content */

.project-card .project-content {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  color: var(--text);
}

.project-text {
  flex: 3;       /* text takes ~75% of width */
  /*color: #000;*/
  
}

.project-image-container {
  flex: 1;       /* image takes ~25% of width */
}

.project-image {
  width: 100%;           /* fill container */
  max-width: 200px;      /* optional max width */
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Responsive: stack on small screens */
@media(max-width: 768px) {
  .project-card .project-content {
    flex-direction: column;
    align-items: center;
  }
  .project-image {
    max-width: 100%;
  }
}

.section-header {
	font-family: "Georgia", serif;
	font-size: 1.5rem;
	font-weight: bold;
	margin-top: 40px;
	margin-bottom: 20px;
	border-bottom: 3px solid #007BFF;
	padding-bottom: 6px;
	color: #007BFF;
}

body.dark-mode .section-header {
	color: #66b2ff;
	border-color: #66b2ff;
}