html {
  font-family: monospace
}

body {
  background-color: black;
  color: white;
}

main {
  margin: auto;
  padding: 0.5em;
}

header {
  text-align: center;
  position: sticky;
  top: 0em;
  padding-top: 0.1em;
  padding-bottom: 0.1em;
  background-image: linear-gradient(180deg, black, rgba(0, 0, 0, 0));
  z-index:1;
}

a {
  color: #0F0;
}

nav {
  max-width: 50em;
  margin: auto;
}

nav ul {
  padding: 0 5%;
  white-space: nowrap;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

nav li {
  vertical-align: middle;
}

nav .menu {
  display: inline-block;
  margin: auto;
  padding: 0.3em;
  font-size: x-large;
}

nav .current {
  display: inline-block;
  margin: auto;
  padding: 0.3em;
  font-size: x-large;
  background-color: white;
  font-weight: bold;
  border-radius: 1em;
}

nav .menu a {
  text-shadow: black 0em 0em 0.75em;
  color: white;
  text-decoration: none;
}

nav .current a {
  color: black;
  text-decoration: none;
}

nav li a:hover {
  text-shadow: none;
  color: black;
  background-color: white;
  font-weight: bolder;
}

nav .title {
  display: inline-block;
  font-size: xx-large;
  text-align: left;
  font-weight: bold;
  line-height: 0.8em;
  text-transform: uppercase;
}

footer {
  text-align: center;
  font-size: small;
  padding-top: 2em;
}

.about {
  display: flex;
  justify-content: space-between;
  overflow: hidden;
}
.about div {
  margin-right: 1em;
}

.portrait {
  height: 40vh;
  width: 40vh;
  max-width: 40vw;
  max-height: 40vw;
  border-radius: 15%;
  margin: auto 0;
}

.todo {
  border: solid;
  border-width: 2px;
  border-radius: 1em;
  padding: 0.5em;
  margin: 0.5em;
  width: fit-content;
  font-weight: bolder;
}

.grid {
  margin: 0 auto;
}

.grid-item {
  border-radius: 1em;
  border: solid;
  border-width: 2px;
  border-color: gray;
  color: lightgray;
  margin: 0.5em;
  overflow: hidden;
  width: 315px;
  padding: 12.5px;
}

.grid-item a img {
  border-radius: 1em;
  display: block;
  margin: auto;
}

.headroom {
  will-change: transform;
  transition: transform 200ms linear;
}
.headroom--pinned {
  transform: translateY(0%);
}
.headroom--unpinned {
  transform: translateY(-100%);
}
p {
  line-height: 1.5em;
}
.contacts {
  display: flex;
  justify-content:space-evenly;
  flex-wrap: wrap;
}
.contacts img{
  width: 48px;
}
.text {
  max-width: 100vh;
}
.job {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
hr {
  border: none;
    height: 1px;
    color: gray;
    background-color: gray;
}
h3 i {
  font-weight: normal;
}