/* Global */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #fff;
  color: #333;
  line-height: 1.6;
  border-left: 3px solid #333;
}

/* Nav Bar */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  border-bottom: 1px solid #eee;
  background-color: #fff;
  position: sticky;
  top: 0;
}

.nav-left {
  font-weight: bold;
  font-size: 1.2rem;
  text-decoration: none;  
  color: black; 
}

.nav-left a {
  text-decoration: none;
  color: #333;
}

.nav-left a:hover {
  text-decoartion: underline;
}

.nav-right a {
  margin-left: 20px;
  text-decoration: none;
  color: #333;
}

.nav-right a:hover {
  text-decoration: underline;
}

/* Layout */
.container {
  display: flex;
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 2rem;
}

/* Sidebar */
.sidebar {
  width: 250px;
  padding-right: 2rem;
  flex-shrink: 0;
}

.profile-pic {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  margin-bottom: 1rem;
}

.sidebar h2 {
  margin-bottom: 0.5rem;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin-top: 1rem;
}

.contact-list li {
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.contact-icon {
  width: 1.25em;
  height: 1em;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

img.contact-icon {
  object-fit: contain;
}

/* Main Content */
.main-content {
  flex-grow: 1;
}

.main-content h1,
.main-content h2 {
  margin-top: 0;
}

.paper-title {
  font-size: 1.05rem;
  margin-bottom: 0.3rem;
}

.main-content a {
  color: #0074cc;
  text-decoration: none;
}

.main-content a:hover {
  text-decoration: underline;
}

@media screen and (max-width: 768px) {
  .container {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    padding-right: 0;
    margin-bottom: 2rem;
  }

  .nav-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
  }
}

.content {
padding: 1rem 2rem;
}

.subcontent {
  padding: 1rem 2rem;
}

.center { display: block; margin-left: auto; margin-right: auto; width: 50%;
        }

code {
  font-family: Consolas, Menlo, Monaco, "Courier New", monospace;
  font-size: 0.9em;
  background-color: #f4f4f4;
  color: #c7254e;
  padding: 0.15em 0.4em;
  border-radius: 3px;
  border: 1px solid #e1e1e8;
}
