/* #region TOP */
:root {
  --fontSans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu",
    "Cantarell", "Open Sans", "Helvetica Neue", sans-serif;
  --fontMono: "Courier New", Courier, monospace;
  --bkg-body: white;
  --bkg-nav: #212831;
  --bkg-graphs: #f8f9fa;
  --bdr-graphs: #e8eaee;
  --link: #6576ff;
  --red: #c32426;
  --product: #975831;
  --tc-nav: #364a63;
  --tc-main: #4a4949;
  --nav-width: 230px;
}
body {
  margin: 0px;
  box-sizing: border-box;
  background-color: var(--bkg-body);
  font-family: var(--fontSans);
  font-size: 16px;
  color: var(--tc-main);
  height: 100%;
}
html {
  /* -webkit-font-smoothing: antialiased; */
}

/* #endregion TOP */

/* #region NAV */
nav {
  height: 100%;
  width: var(--nav-width);
  position: fixed;
  z-index: 1;
  top: 0;
  left: 0;
  overflow-x: hidden;
  background-color: var(--bkg-nav);
}
nav .logo {
  height: 44px;
  background: url("/perm/logo-dso.svg") no-repeat center left 22px;
  margin-top: 12px;
}
nav .section {
  font-weight: 600;
  margin: 34px 20px 8px 20px;
  color: #696f74;
  letter-spacing: 0.03em;
  border-bottom: 1px solid #454f5a;
  padding-bottom: 4px;
  opacity: 0.86;
}
.section-list {
  margin: 0px;
  padding: 0px;
  margin-left: 4px;
  margin-right: 4px;
  list-style: none;
}
.section-list li {
  padding: 2px 0px;
}
.section-list a {
  padding: 6px 10px 6px 10px;
  text-decoration: none;
  font-weight: 500;
  display: block;
  letter-spacing: 0.03em;
  color: #8b8c8d;
  font-size: 120%;
  margin-left: 18px;
  margin-right: 18px;
}
nav a:hover,
a.selected {
  color: var(--bkg-nav);
  background-color: #8d8e8d;
  border-radius: 5px;
}

/* #endregion NAV */

/* #region MAIN */
main {
  margin-left: var(--nav-width);
  padding: 0px 24px;
  display: flex;
  flex-direction: row;
  justify-content: center;
}
article {
  width: 100%;
  max-width: 700px;
}
article p {
  font-size: 120%;
  letter-spacing: 0.02em;
  line-height: 1.6em;
  color: var(--tc-main);
}
article .link-inline {
  text-decoration: none;
  color: var(--link);
  font-weight: 600;
}
article .link-inline:hover {
  color: var(--red);
}
/* #endregion MAIN */

/* #region UNI-LIST */
.uni-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.uni-list li {
  margin-bottom: 18px;
  font-weight: 600;
  padding: 14px 12px 12px 16px;
  border-radius: 6px;
  background-color: var(--bkg-graphs);
  border: 1px solid var(--bdr-graphs);
}
.uni-list li .title {
  font-size: 140%;
  font-weight: 600;
  letter-spacing: 0.015em;
  color: var(--tc-nav);
}
.uni-list li .type {
  margin-top: 6px;
  font-size: 130%;
  font-weight: 500;
  letter-spacing: 0.015em;
}
.uni-list li .desc {
  margin-top: 12px;
  font-weight: 400;
  font-size: 115%;
  line-height: 1.4em;
  letter-spacing: 0.025em;
}
.uni-list .desc p {
  font-size: 100%;
  line-height: 1.4em;
}
.uni-list .desc a {
  text-decoration: none;
}
.uni-list li .product {
  margin-top: 12px;
  font-size: 110%;
  letter-spacing: 0.02em;
  color: var(--product);
  background: url("/perm/tools.svg") no-repeat left center;
  min-height: 44px;
  display: flex;
  flex-direction: row;
  align-items: center;
}
.uni-list li .product div {
  margin-left: 44px;
}
.uni-list img.within {
  width: 100%;
  max-width: 660px;
  margin: 24px 0px 16px 0px;
}
/* #endregion UNI-LIST */

/* #region BTNS*/
.btns {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.btn-row {
  display: flex;
  flex-direction: column;
  justify-items: center;
  align-items: center;
  margin-bottom: 12px;
}
.btn-group {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-txt {
  font-size: 120%;
  letter-spacing: 0.015em;
  width: 230px;
  margin-top: 12px;
  margin-bottom: 12px;
}
.btn-txt div:last-child {
  margin-top: 4px;
  font-size: 85%;
  letter-spacing: 0.02em;
}
.btn {
  border-radius: 12px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  width: 230px;
  height: 56px;
  background-color: var(--tc-nav);
}
a.btn:hover,
.btn-about-row .btn:hover {
  cursor: pointer;
  background-color: var(--red);
}
.btns-about {
  display: block;
  margin-top: 32px;
}
.btn-about-row {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}
.btn-about-row .btn {
  margin-left: 15px;
  margin-right: 15px;
  margin-bottom: 32px;
}
.btn.search {
  background: url("/perm/btns-fastsearch.svg") no-repeat center center var(--tc-nav);
}
.btn.repo {
  background: url("/perm/btns-github.svg") no-repeat center center var(--tc-nav);
}
.btn.resume {
  background: url("/perm/btns-resume.svg") no-repeat center center var(--tc-nav);
}
.btn.email {
  background: url("/perm/btns-email.svg") no-repeat center center var(--tc-nav);
}
.btn.linkedin {
  background: url("/perm/btns-linkedin.svg") no-repeat center center var(--tc-nav);
}
.btn.twitter {
  background: url("/perm/btns-twitter.svg") no-repeat center center var(--tc-nav);
}
.btn.writeup {
  background: url("/perm/btns-writeup.svg") no-repeat center center var(--tc-nav);
}
.btn.github {
  background: url("/perm/btns-github.svg") no-repeat center center var(--tc-nav);
}
/* #endregion BTNS*/
