/* Base styles directly inspired by jefftk.com */
body {
  font-family: sans-serif;
  line-height: 1.4;
  margin: 0;
  padding: 0;
  color: #000;
  background-color: #f0e6d2;
}

.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 1rem;
}

table {
  width: 100%;
  border-collapse: collapse;
}

td {
  vertical-align: top;
  padding: 0;
}

.sidebar {
  width: 170px;
  padding-right: 20px;
}

.main-content {
  padding-left: 20px;
  border-left: 1px solid #ccc;
}

.avatar {
  width: 150px;
  height: auto;
  margin-bottom: 10px;
}

h1 {
  font-size: 1.5rem;
  margin-top: 0;
  margin-bottom: 1rem;
}

h2 {
  font-size: 1.2rem;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

p {
  margin-top: 0;
  margin-bottom: 1rem;
}

ul {
  padding-left: 20px;
  margin-top: 0.5rem;
  margin-bottom: 1rem;
}

li {
  margin-bottom: 0.5rem;
}

.nav-links {
  list-style-type: none;
  padding-left: 0;
}

a {
  color: #00f;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

a:visited {
  color: #551a8b;
}

/* Modal styles */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.modal.hidden {
  display: none;
}

.modal-content {
  background-color: #f0e6d2;
  padding: 20px;
  max-width: 500px;
  border: 1px solid #000;
}

button {
  background-color: #f0f0f0;
  border: 1px solid #999;
  padding: 5px 10px;
  cursor: pointer;
  font-family: sans-serif;
}

button:hover {
  background-color: #e0e0e0;
}

/* Responsive styles */
@media (max-width: 600px) {
  table, tr, td {
    display: block;
    width: 100%;
  }

  .sidebar {
    width: 100%;
    padding-right: 0;
    margin-bottom: 20px;
  }

  .main-content {
    padding-left: 0;
    border-left: none;
    border-top: 1px solid #ccc;
    padding-top: 20px;
  }

  .avatar {
    width: 100px;
  }
}
