* {
 margin: 0;
 padding: 0;
 font-family: monospace
}

header{
  padding: 0.5rem 0.5rem 0;
  min-width: 95%;
  /* border-bottom: 1.5px solid rgba(220, 250, 250, 0.623); */
}

body {
  background-color: #161616; 
  margin: 0 auto;
  padding-right: 0px;
  padding-left: 0px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0px; 
  min-width: 300px;
  max-width: 500px; 
  overflow-x: hidden;
  padding-bottom: 6rem; /* slightly more than navbar + fade height */
}


.bio-container {
  width: 95%;
  padding: 0px;
  box-sizing: border-box;
  background-color: inherit;
  /* border-bottom: 1.5px solid rgba(220, 250, 250, 0.623); */
}

.bio-section {
  border-radius: 12px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  
}

.bio-image {
  margin: 0px 0px 0px;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  transform: scale(0.9);
}

.profile-photo {
  position: absolute;
  top: -15px;
  left: 0;
  width: 250px;
  height: auto;
}
  

.bio-content {
  color: rgb(240, 250, 250);;
  text-align: justify;
  padding-top: 5px;
}

.bio-content p {
  padding: 10px;
  font-size: 1rem;
  font-family: inherit;
  line-height: 1.2;
  color: inherit;
}

.fade-overlay {
  position: fixed;
  bottom: 0; 
  left: 0;
  width: 100%;
  height: 3.8rem; /* height of the fading zone */
  background: linear-gradient(to bottom,
  rgba(22, 22, 22, 0) 0%,
  rgba(22, 22, 22, 0.3) 40%,
  rgba(22, 22, 22, 0.6) 70%,
  #161616 100%);
  pointer-events: none;
  z-index: 999; /* just below navbar */
  backdrop-filter: blur(1.5px);
}
  