body {
    font-family: Arial, sans-serif;
    background-color: #fdfcf7eb;
    color: #111;
    margin: 0;
    padding: 0;
    line-height: 1.6;
  }
  
  .container {
    max-width: 900px;
    margin: auto;
    padding: 20px;
  }
  
  header {
    text-align: center;
    margin-bottom: 20px;
  }
  
  header img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 10px;
  }

  a {
  color: #2569ad;
  text-decoration: none;
  }

  a:hover {
    color: #458cd3;
  }
  
  h1 {
    margin: 0;
    font-size: 1.8em;
  }
  
  .section {
    margin-bottom: 40px;
  }
  
  .bio {
    text-align: center;
    margin-bottom: 40px;
  }
  
  .paper {
    display: flex;
    flex-direction: row;
    align-items: center; /* aligns image and text block */
    min-height: 120px; /* optional, ensures room for image */
    margin-top: 50px;
    margin-left: 25px;
    margin-bottom: 25px;
    margin-right: 25px;
  }

  .paper-image-container {
    position: relative;
    height: auto;
    width: 220px;
    margin-right: 50px;
    max-width: 100%;
    flex-shrink: 0;
    align-self: center;
  }

  .paper-details {
    align-self: center; /* aligns image and text block */
  }

  .paper img.default,
  .paper img.hover {
    width: 100%;
    height: auto;
    display: block;
  }

  .paper img.hover {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    z-index: 1;
  }

  .paper:hover .hover {
    opacity: 1;
  }

  .paper:hover .default {
    opacity: 0;
  }

  @media (min-width: 600px) {
    .paper {
      flex-direction: row;
      align-items: flex-start;
    }

    .paper img {
      width: 120px;
      margin-right: 20px;
    }
  }

  @media (max-width: 599px) {
    .paper {
      flex-direction: column;
      align-items: flex-start;
    }

  .paper-image-container {
    width: 80%;
    margin-right: 0;
    margin-bottom: 25px;
  }

  .paper-details {
    width: 100%;
    display: block;
  }
}