body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333;
  background-color: #c7c7c7;
  padding: 0 20px;
}
@media (max-width: 480px) {
  body {
    padding: 0;
  }
}

a {
  color: #282A2E;
}
a:hover {
  color: darken-hover(#282A2E);
  background-color: rgba(218, 219, 223, 0.8);
}
a:active {
  color: rgb(63.7209302326, 66.9069767442, 73.2790697674);
}

.header-anchor {
  text-decoration: none;
}

main {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
     -moz-box-align: center;
          align-items: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
     -moz-box-orient: vertical;
     -moz-box-direction: normal;
          flex-direction: column;
}
main > *:not(:first-child) {
  margin-left: 0;
  margin-top: 0;
}
main > *:not(:first-child) {
  margin-top: 16px;
}
main {
  max-width: 1200px;
  padding: 0 10px;
}
@media (max-width: 480px) {
  main {
    padding: 0;
  }
}
main {
  margin: auto;
}

@media (max-width: 480px) {
  .katex-block {
    font-size: 0.8em;
  }
}

.magister-card {
  background-color: #FFF;
  padding: 1em;
  -webkit-border-radius: 1em;
     -moz-border-radius: 1em;
          border-radius: 1em;
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
  width: 100%;
  box-sizing: border-box;
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -webkit-flex-direction: row;
     -moz-box-orient: horizontal;
     -moz-box-direction: normal;
          flex-direction: row;
}
.magister-card > *:not(:first-child) {
  margin-left: 0;
  margin-top: 0;
}
.magister-card > *:not(:first-child) {
  margin-left: 16px;
}
@media (max-width: 480px) {
  .magister-card {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
       -moz-box-orient: vertical;
       -moz-box-direction: normal;
            flex-direction: column;
  }
  .magister-card > *:not(:first-child) {
    margin-left: 0;
    margin-top: 0;
  }
  .magister-card > *:not(:first-child) {
    margin-top: 16px;
  }
}
.magister-card__photo-wrapper {
  display: grid;
  -webkit-box-align: center;
  -webkit-align-items: center;
     -moz-box-align: center;
          align-items: center;
  justify-items: center;
  place-items: center;
  margin-right: 16px;
}

.resume-card {
  background-color: #FFF;
  padding: 1em;
  -webkit-border-radius: 1em;
     -moz-border-radius: 1em;
          border-radius: 1em;
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}
@media (max-width: 480px) {
  .resume-card {
    padding: 0em;
    width: 100%;
  }
}
.resume-card__header {
  text-align: center;
}
.resume-card table {
  border-collapse: collapse;
  margin: auto;
}
.resume-card table tr {
  border-width: 1px 0px;
  border-style: solid;
  border-color: rgba(194, 194, 194, 0.5);
  padding: 8px;
}
@media (max-width: 480px) {
  .resume-card table tr {
    font-size: 0.8em;
    padding: 2px;
  }
}
.resume-card table tr td {
  padding: 16px 8px;
}
@media (max-width: 480px) {
  .resume-card table tr td {
    padding: 4px 4px;
  }
}
.resume-card table tr td:first-child {
  font-style: italic;
}
@media (max-width: 480px) {
  .resume-card table tr td:first-child {
    width: 20%;
  }
}

.horizontal-menu {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: flex;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
     -moz-box-pack: center;
          justify-content: center;
}
.horizontal-menu > *:not(:first-child) {
  margin-left: 16px;
}
.horizontal-menu {
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -webkit-flex-direction: row;
     -moz-box-orient: horizontal;
     -moz-box-direction: normal;
          flex-direction: row;
}
.horizontal-menu > *:not(:first-child) {
  margin-left: 0;
  margin-top: 0;
}
.horizontal-menu > *:not(:first-child) {
  margin-left: 16px;
}
@media (max-width: 480px) {
  .horizontal-menu {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
       -moz-box-orient: vertical;
       -moz-box-direction: normal;
            flex-direction: column;
  }
  .horizontal-menu > *:not(:first-child) {
    margin-left: 0;
    margin-top: 0;
  }
  .horizontal-menu > *:not(:first-child) {
    margin-top: 16px;
  }
  .horizontal-menu {
    width: 100%;
  }
}
.horizontal-menu__button {
  background-color: #ffffff;
  border: 3px solid #bbb;
  padding: 4px 8px;
  text-decoration: none;
  text-align: center;
  -webkit-border-radius: 8px;
     -moz-border-radius: 8px;
          border-radius: 8px;
}
.horizontal-menu__button:not(.horizontal-menu__button_disabled):hover {
  background-color: rgb(226, 226, 226);
}
.horizontal-menu__button_disabled {
  border: 3px solid #4b4b4b;
  cursor: not-allowed;
  background-color: #f5f5f5;
}

.about-me {
  background-color: #FFF;
  padding: 1em;
  -webkit-border-radius: 1em;
     -moz-border-radius: 1em;
          border-radius: 1em;
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
  display: grid;
  -webkit-box-align: center;
  -webkit-align-items: center;
     -moz-box-align: center;
          align-items: center;
  justify-items: center;
  place-items: center;
  width: 100%;
  max-width: 580px;
}
@media (max-width: 480px) {
  .about-me {
    padding: 0;
  }
}
.about-me__video {
  width: 100%;
}

.header {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: flex;
  width: 100%;
}
.header__menu {
  margin-left: auto;
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -webkit-flex-direction: row;
     -moz-box-orient: horizontal;
     -moz-box-direction: normal;
          flex-direction: row;
}
.header__menu > *:not(:first-child) {
  margin-left: 0;
  margin-top: 0;
}
.header__menu > *:not(:first-child) {
  margin-left: 16px;
}

.work-card, .page-content {
  background-color: #FFF;
  padding: 1em;
  -webkit-border-radius: 1em;
     -moz-border-radius: 1em;
          border-radius: 1em;
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
  width: 100%;
  word-wrap: break-word;
}
.work-card .img-wrapper-limitter, .page-content .img-wrapper-limitter {
  max-width: 70%;
  margin: auto;
}
@media (max-width: 480px) {
  .work-card .img-wrapper-limitter, .page-content .img-wrapper-limitter {
    max-width: 100%;
  }
}
.work-card .img-wrapper-limitter-2, .page-content .img-wrapper-limitter-2 {
  max-width: 40%;
  margin: auto;
}
@media (max-width: 480px) {
  .work-card .img-wrapper-limitter-2, .page-content .img-wrapper-limitter-2 {
    max-width: 100%;
  }
}
.work-card .img-wrapper, .page-content .img-wrapper {
  text-align: center;
}
.work-card .img-wrapper img, .page-content .img-wrapper img {
  height: auto;
  max-width: 100%;
}
.work-card li[id^=biblio-link-], .page-content li[id^=biblio-link-] {
  -webkit-transition: background-color 0.3s ease;
  -moz-transition: background-color 0.3s ease;
  transition: background-color 0.3s ease;
}
.work-card li[id^=biblio-link-]:target, .page-content li[id^=biblio-link-]:target {
  background-color: #fff3cd;
  border-left: 3px solid #007bff;
  padding-left: 5px;
}
.work-card figure, .page-content figure {
  display: grid;
  -webkit-box-align: center;
  -webkit-align-items: center;
     -moz-box-align: center;
          align-items: center;
  justify-items: center;
  place-items: center;
}
.work-card figure figcaption, .page-content figure figcaption {
  font-style: italic;
}
.work-card figure figcaption.right, .page-content figure figcaption.right {
  text-align: right;
}
.work-card figure table, .page-content figure table {
  border-collapse: collapse;
}
.work-card figure table th, .page-content figure table th, .work-card figure table td, .page-content figure table td {
  border: 1px solid #bbb;
}
.work-card p, .page-content p {
  text-indent: 30px;
  margin: 0;
  text-align: justify;
}

.library {
  background-color: #FFF;
  padding: 1em;
  -webkit-border-radius: 1em;
     -moz-border-radius: 1em;
          border-radius: 1em;
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}

.page-content {
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}

.up-button {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 3.5em;
  height: 3.5em;
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
     -moz-box-align: center;
          align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
     -moz-box-pack: center;
          justify-content: center;
  font-size: 2em;
  font-weight: 600;
  line-height: 1;
  width: 48px;
  height: 48px;
  -webkit-border-radius: 8px;
     -moz-border-radius: 8px;
          border-radius: 8px;
  border: 2px solid #858585;
  background: white;
  cursor: pointer;
  -webkit-transition: 0.2s ease;
  -moz-transition: 0.2s ease;
  transition: 0.2s ease;
}
.up-button:hover {
  border-color: red;
  background-color: rgb(240, 240, 240);
  -webkit-transform: translateY(-3px);
     -moz-transform: translateY(-3px);
          transform: translateY(-3px);
}