.avatar {
  border-radius: 50%;
  padding: 20px;
  width: 110px;
  height: 110px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Liberation Sans', sans-serif;
  line-height: 1.6;
  background-color: rgb(243, 243, 243);
  color: rgb(0, 44, 61);
}

h3 {
  margin-block-start: 2rem;
  overflow-wrap: anywhere;
  line-height: 1.4;
  color: #2c3e50;
}

a {
  color: lightcoral;
  transition: color 0.2s ease;
}

a:hover {
  color: #e77373;
  text-decoration-thickness: 2px;
}

main {
  max-width: min(80ch, 100% - 4rem);
  margin-inline: auto;
  padding-block: 2rem;
}

code {
  border: none;
  border-radius: 4px;
  padding: 0.2em 0.4em;
  font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
  color: #c7254e;
}

pre {
  border: 1px solid #ddd;
  border-left: 4px solid lightcoral;
  border-radius: 4px;
  padding: 1rem;
  overflow-x: auto;
  max-width: 100%;
  line-height: 1.5;
  margin: 1.5rem 0;
  color: #c7254e;
}

pre code {
  border: none;
  padding: 0;
  color: #c7254e;
  font-size: 0.90rem;
}

.menu-bar {
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background-color: #f5f5f5;
  border-bottom: 2px solid #e0e0e0;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.menu-item {
  float: left;
  color: lightcoral;
  padding: 14px 18px;
  text-decoration: none;
  transition: background-color 0.2s ease;
  cursor: pointer;
}

.dropdown-btn {
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #fff;
  min-width: 180px;
  box-shadow: 0px 8px 16px rgba(0,0,0,0.12);
  border-radius: 4px;
  margin-top: 2px;
  z-index: 1;
  border: 1px solid #e0e0e0;
}

.menu-item:hover .dropdown-content {
  display: block;
  animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.dropdown-item {
  display: inline-block;
  text-decoration: none;
}

.dropdown-btn:hover {
  background-color: #efefef;
}

.dropdown-content a {
  padding: 12px 18px;
  display: block;
  text-align: left;
  transition: background-color 0.15s ease;
  border-radius: 3px;
}

p {
  margin-bottom: 1.2em;
}

blockquote {
  border-left: 4px solid lightcoral;
  padding-left: 1.5rem;
  margin-left: 0;
  color: #555;
  font-style: italic;
}

hr {
  border: none;
  border-top: 2px solid #e0e0e0;
  margin: 2rem 0;
}

a:focus,
.menu-item:focus,
.dropdown-content a:focus {
  outline: 2px solid lightcoral;
  outline-offset: 2px;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  background-color: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

thead {
  background-color: #f5f5f5;
  border-bottom: 2px solid lightcoral;
}

th {
  padding: 12px 18px;
  text-align: left;
  font-weight: 600;
  color: #2c3e50;
}

td {
  padding: 12px 18px;
  border-bottom: 1px solid #e0e0e0;
  color: #333;
}

tbody tr {
  transition: background-color 0.15s ease;
}

tbody tr:hover {
  background-color: #f8f8f8;
}

tbody tr:last-child td {
  border-bottom: none;
}

tbody tr:nth-child(even) {
  background-color: #fafafa;
}

tbody tr:nth-child(even):hover {
  background-color: #f5f5f5;
}

@media (max-width: 768px) {
  table {
    font-size: 0.9rem;
  }
  
  th, td {
    padding: 10px 12px;
  }
}

@media (prefers-color-scheme: dark) {
  body {
    background-color: rgb(0, 44, 61);
    color: rgb(243, 243, 243);
  }

  h2 {
    color: rgb(243, 243, 243);
  }

  h3 {
    color: rgb(243, 243, 243);
  }

  h3 {
    color: rgb(243, 243, 243);
  }

  code {
    color: #c95874;
  }

  pre {
    background-color: rgb(0, 61, 81);
    color: #c95874;
  }

  pre code {
    background-color: rgb(0, 61, 81);
    color: #c95874;
    font-size: 0.90rem;
  }

  .menu-bar {
    background-color: rgb(2, 37, 49);
  }

  .dropdown-content {
    background-color: rgb(2, 37, 49);
    border: 1px solid rgb(2, 37, 49);
  }

  .dropdown-btn:hover {
    background-color: rgb(3, 75, 99);
  }
}

.disabled {
  pointer-events: none;
  color:#e8b6b6;
}