@font-face {
  font-family: "Terminess";
  font-style: normal;
  font-weight: 400;
  src: url("/fonts/terminess/terminess.ttf") format("truetype");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  src: url("/fonts/inter/inter.ttf") format("truetype");
}
html {
  font-size: 18px;
}

body {
  background-color: #f5f5f5;
  margin: 0;
  font-family: "Inter", Helvetica, Arial, Verdana, Tahoma, sans-serif;
}

h1 {
  font-size: 2rem;
  margin-top: 0;
}

i {
  font-family: "Terminess", monospace;
  width: 1.4em;
  font-style: normal;
}

a {
  color: #6c6cf9;
  text-decoration: none;
}
a.back, a.github {
  font-family: "Terminess", monospace;
}

code {
  overflow: hidden;
}

pre {
  background-color: #e3e3e3;
  font-family: "Terminess", monospace;
  line-height: 1em;
  overflow-x: auto;
  padding: 0.2em;
}

main {
  display: grid;
  grid-template-columns: 400px 1fr;
  height: 100vh;
}
@media only screen and (max-width: 1200px) {
  main {
    grid-template-columns: 225px 1fr;
  }
}
@media only screen and (max-width: 700px) {
  main {
    grid-template-columns: 1fr;
  }
}
main .badges {
  position: absolute;
  right: 0.8rem;
  top: 9rem;
}
@media screen and (max-width: 1700px) {
  main .badges {
    display: none;
  }
}
main .badges p {
  display: flex;
  flex-direction: column;
  margin: 0;
}
main .badges p a:not(:last-child) {
  margin-bottom: 0.2rem;
}
main nav.left {
  display: flex;
  flex-direction: column;
  background-color: #f9fafb;
  border-right: 1px solid #e5e7eb;
  align-items: center;
  padding: 50px 25px;
  font-size: 1rem;
}
@media only screen and (max-width: 1200px) {
  main nav.left {
    font-size: 0.75rem;
  }
}
@media only screen and (max-width: 700px) {
  main nav.left {
    font-size: 1.5rem;
    height: 100vh;
    padding: 50px 75px;
    box-sizing: border-box;
  }
}
main nav.left h1.projects {
  display: none;
  width: 100%;
  font-family: "Terminess", monospace;
  color: #777;
  position: absolute;
  bottom: 0;
  text-align: center;
}
@media only screen and (max-width: 700px) {
  main nav.left h1.projects {
    display: unset;
  }
}
main nav.left footer {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  font-size: 2.5em;
  width: 100%;
  border-top: 1px solid #e5e7eb;
  padding-top: 0.2rem;
  margin-top: 1rem;
}
main nav.left footer a {
  width: 1em;
}
main nav.left img.avatar {
  border-radius: 50%;
  width: 70%;
}
main nav.left a {
  align-self: flex-start;
}
main section {
  padding: 2rem;
}
main section.project-full {
  font-size: 0.8rem;
}
main section.project-full {
  display: grid;
  grid-template-columns: repeat(auto-fill, 180px);
  grid-template-rows: repeat(auto-fill, 225px);
  grid-column-gap: 1.5rem;
  grid-row-gap: 1.5rem;
}
main section.project-full h1.title {
  display: none;
}
@media only screen and (max-width: 700px) {
  main section.project-full {
    grid-template-columns: 1fr;
    grid-template-rows: unset;
    padding: 50px;
    grid-column-gap: 2.5rem;
    grid-row-gap: 2.5rem;
    font-size: 1.5rem;
  }
  main section.project-full h1.title {
    display: inherit;
  }
}
main section.project-full .preview {
  display: flex;
  flex-direction: column;
  height: 225px;
  width: 180px;
  border: 1px solid #e5e7eb;
  cursor: pointer;
  margin: 0;
  background-color: #f9fafb;
  font-family: "Terminess", monospace;
}
@media only screen and (max-width: 700px) {
  main section.project-full .preview {
    height: unset;
    width: unset;
  }
}
main section.project-full .preview strong {
  max-width: 90%;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  display: inline-block;
  font-size: 0.9em;
  text-transform: uppercase;
  align-self: center;
  font-family: "Inter", Helvetica, Arial, Verdana, Tahoma, sans-serif;
}
main section.project-full .preview .container {
  position: relative;
  height: 180px;
}
main section.project-full .preview .container img {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
main section.project-full .preview .container:after {
  content: "";
  display: block;
  padding-bottom: 100%;
}
@media only screen and (max-width: 700px) {
  main section.project-full .preview .container {
    height: unset;
  }
}
main section.project-full .preview .tags {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
}
main section.project-full .preview .tags label.lang {
  display: flex;
  align-items: center;
}
main section.project-full .preview .tags label.lang .circle {
  display: block;
  width: 1em;
  height: 1em;
  background-color: black;
  margin-right: 0.5em;
  border-radius: 50%;
}
main section.project-full .preview .tags label.lang .circle.lang-typescript {
  background-color: #2b7489;
}
main section.project-full .preview .tags label.lang .circle.lang-java {
  background-color: #b07219;
}
main section.project-full .preview .tags label.lang .circle.lang-shell {
  background-color: #89e051;
}
main section.project-full .preview .tags label.lang .circle.lang-python {
  background-color: #3572A5;
}
main section.project-full .preview .tags label.lang .circle.lang-javascript {
  background-color: #f1e05a;
}
main section.project-full .preview .tags label.lang .circle.lang-ruby {
  background-color: #701516;
}
main section.project-full .preview .tags label.lang .circle.lang-html {
  background-color: #e34c26;
}
main section.project-full .preview .tags label.lang .circle.lang-c {
  background-color: #555555;
}
main section.project-full .preview .tags > div {
  display: flex;
  align-items: center;
  font-size: 1.2em;
}
main section.project-full .preview .tags > div i {
  width: 1em;
  margin-left: 0.4em;
}
main section.project {
  display: flex;
  flex-direction: column;
  max-width: 750px;
  margin: 0 auto;
}
main section.project h1 {
  height: 3rem;
}
main section.project div.filler {
  flex: 1;
}
main section.project nav.top {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  font-size: 1.3rem;
  height: 3rem;
}
main section.project nav.top * {
  display: flex;
}
main section.project nav.top div.container {
  display: flex;
  align-items: center;
  margin-right: 0.5em;
  font-family: "Terminess", monospace;
}
main section.project nav.top i {
  margin-left: 0.4em;
  width: 1em;
}
main section.project nav.top a.github {
  border: 2px dashed #6c6cf9;
  padding: 0.2em;
}
main section.project h1.name {
  border-bottom: 2px dashed #6c6cf9;
}
main section.project img.preview {
  margin: 0 auto;
  max-width: 90%;
}
