.avatar {
  margin-top: 30px;
  margin-bottom: 30px;
  vertical-align: middle;
  width: 200px;
  height: 200px;
  border-radius: 50%;
}

.centered {
  display: block;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

p {
  margin-top: 20px;
  margin-bottom: 10px;
}

.block {
  margin-top: 20px;
  margin-bottom: 10px;
}

.iconLink {
  color: #eee;
  text-decoration: none;
}

.hi-svg-inline {
  margin-left: 5px;
  margin-right: 5px;
}

.hi-svg-inline:hover {
  transform: scale(1.2);
  fill: #8cc2dd;
}

.theorem {
  display: block;
  font-style: italic;
  margin-top: 20px;
  margin-bottom: 10px;
}

.theorem:before {
  content: "Theorem. ";
  font-weight: bold;
  font-style: normal;
}

.theorem[text]:before {
  content: "Theorem (" attr(text) ") ";
}

.lemma {
  display: block;
  font-style: italic;
  margin-top: 20px;
  margin-bottom: 20px;
  margin-left: 10px;
  margin-right: 10px;
}

.lemma:before {
  content: "Lemma. ";
  font-weight: bold;
  font-style: normal;
}

.lemma[text]:before {
  content: "Lemma (" attr(text) ") ";
}

.proof {
  display: block;
  margin-top: 20px;
  margin-bottom: 10px;
}

.proof:before {
  font-weight: bold;
  font-style: normal;
  content: "Proof. ";
}

.right {
  float: right;
}

.projects-section {
  margin: 2rem auto;
  max-width: 800px;
  padding: 0 0;
}

.projects-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.project-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.project-image {
  width: 200px;
  height: 150px;
  border-radius: 5px;
  border: 2px solid;
  border-color: #454545;
  object-fit: cover;
  float: left;
}

.project-content {
  float: left;
  overflow: hidden;
  flex: 1;
  width: 100%;
}

.project-content h3 {
  margin: 0 0 0.5rem;
}

.project-content p {
  margin: 0;
  line-height: 1.5;
}

@media (max-width: 600px) {
  .project-item {
    flex-direction: column;
    align-items: center;
  }

  .project-image {
    width: 100%;
    max-width: 300px;
  }
}

pre[class*="language-"],
code[class*="language-"] {
  background: #f6f8fa;
  color: #24292e;
  font-family:
    SFMono-Regular,
    Consolas,
    Liberation Mono,
    Menlo,
    monospace;
  font-size: 85%;
  line-height: 1.45;
  border-radius: 6px;
  padding: 1em;
  overflow-x: auto;
  tab-size: 4;
}

pre::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
pre::-webkit-scrollbar-thumb {
  background: #999;
  border-radius: 4px;
}
pre::-webkit-scrollbar-track {
  background: #f6f8fa;
}

a {
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

ul.blog-posts li a:visited {
  color: #8cc2dd;
}
