body {
	font-family: sans-serif ;
	background: rgb(21,21,21) ;
	color: #ccc ;
}

main {
	max-width: 800px ;
	margin: auto ;
}

img {
	max-width: 100% ;
}

header h1 {
	text-align: center ;
}

footer {
	text-align: center ;
	clear: both ;
}

/* For TAGLIST.HTML */
.taglist {
	text-align: center ;
	clear: both ;
}

/* Default link state */
a {
    color: rgb(170, 130, 30);
}

a:hover {
    color: rgb(190, 130, 30);
}

a:active {
    color: rgb(150, 130, 30);
}


/* For NEXTPREV.HTML */
#nextprev {
	/* The container for both the previous and next articles. */
}
#prevart {
	float: left ;
	text-align: left ;
}
#nextart {
	float: right ;
	text-align: right ;
}
#nextart,#prevart {
	max-width: 33% ;
}

/* Profile Photo and Intro Section */
.profile-section {
  display: flex;
  align-items: center;
  margin-bottom: 2rem;
  gap: 2rem; /* Space between photo and text */
}

.profile-photo-container {
  flex-shrink: 0; /* Prevents the photo from shrinking */
}

.profile-text {
  flex: 1; /* Takes up remaining space */
}

.profile-text h1 {
  margin-top: 0; /* Removes extra space at the top */
}

.profile-photo {
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-photo:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* Responsive adjustments */
@media (max-width: 767px) {
  .profile-section {
    flex-direction: column;
    text-align: center;
  }

  .profile-photo-container {
    margin-bottom: 1.5rem;
  }

  .profile-text h1 {
    margin-top: 0.5rem;
  }
}
