/**
type
**/
body {
  font-size: 16px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif,
    "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  font-weight: 300;
  background: #fefefe;
  color: #060606;
}
h1,
h2,
h3,
h4,
h5,
h6,
strong {
  font-weight: bold;
}
p {
  font-size: 1rem; /* 12px */
  line-height: 1.5; /* 18px */
  margin: 0 0 1.5rem 0;
}
h1 {
  font-size: 2rem; /* 24px */
  line-height: 1; /* 2.25rrem */
  margin-top: 0.75rem;
  margin-bottom: 0.5rem;
}
h6 {
  font-size: 1.8333rem; /* 22px */
  line-height: 1.6364; /* 2.25rrem */
  margin-top: 0.8182rem;
  margin-bottom: 0;
}
h3 {
  font-size: 1.6667rem; /* 20px */
  line-height: 1.8; /* 2.25rrem */
  margin-top: 0.9rem;
  margin-bottom: 0;
}
h4 {
  font-size: 1.35rem; /* 18px */
  line-height: 1; /* 18px */
  margin-top: 0;
  margin-bottom: 0;
}
h5 {
  font-size: 1.3333rem; /* 16px */
  line-height: 1.125; /* 18px */
  margin-top: 1.125rem;
  margin-bottom: 0;
}
h2 {
  font-size: 1.1667rem; /* 14px */
  line-height: 1.2857; /* 18px */
  margin-top: 1.2857rem;
  margin-bottom: 0;
}
strong {
  font-weight: bold;
}
.code {
  font-family: Inconsolata, "Courier New", Courier, monospace;
}
/**
end type
**/
.wrapper {
  display: grid;
  grid-gap: 1rem;
  grid-template-columns: repeat(10, 5.75rem);
  margin-left: 0.625rem;
  margin-top: 2.5rem;
}
a {
  color: #060606;
}
a:visited {
  color: #666;
}
a:hover {
  color: #060606;
  text-decoration: none;
}
#gradient {
  position: fixed;
  z-index: 10;
  background: linear-gradient(to bottom, #fefefe, rgba(255, 255, 255, 0));
  width: 100%;
  left: 0;
  top: 0;
  height: 2.5rem;
}
#personaldata {
  align-self: start;
  position: sticky;
  top: 2.5rem;
  padding-right: 0.5rem;
  grid-column: 1 / 5;
}
#personaldata h2,
#personaldata p {
  border-right: 0.5rem solid #060606;
}
#personaldata p {
  padding-right: 1rem;
}
#personaldata li {
  margin-left: 1rem;
}
#projectlist {
  /*padding-top: 2.5rem;*/
  /*left: 24rem;*/
  grid-column: 5 / 11;
}
#projectlist .project {
  padding-bottom: 5rem;
}
#projectlist .project h3 {
  margin-top: 0;
}
#otherprojects {
  margin-bottom: 2.25rem;
}
.project {
  display: grid;
  grid-template-columns: repeat(2, 17.5rem);
  grid-gap: 0 1.5rem;
}
.project .photo {
  grid-column: 1 / 3;
}
.project h3 {
  grid-column: 1 / 3;
  line-height: 1.25;
  margin-bottom: 1rem;
}
.project .half {
}
.project .photo ul {
  list-style: none;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(5, 5.75rem);
  grid-gap: 0 1.5rem;
}
.project .photo ul li {
  margin: 0;
  margin-bottom: 0.625rem;
}
.project .photo ul li img {
  width: 5.75rem;
}
.project .photo ul:after {
  content: "";
  display: table;
  clear: both;
}
.photo ul li a img {
  border: 0.5rem solid #060606;
  border-left: 0;
  border-top: 0;
  filter: grayscale(1) opacity(90%) contrast(120%);
}
.photo ul li a img:hover {
  border: 0.5rem solid #d00;
  border-left: 0;
  border-top: 0;
  filter: unset;
}
.project ul li {
  margin: 0 1rem;
}

.project dt {
  font-weight: bold;
}

@media screen and (max-width: 1000px) {
  body {
    min-width: 0;
  }

  #personaldata {
    position: static;
    border: 0;
    padding-right: 0;
  }

  #personaldata h2,
  #personaldata p {
    border: 0;
  }

  #gradient {
    display: none;
  }

  .wrapper {
    display: block;
    margin-left: 0;
  }

  #personaldata {
    /*position: relative;*/
    /*left: auto;*/
    /*top: auto;*/
    width: auto;
    margin: 1em;
  }

  #projectlist {
    padding-top: 2.5rem;
    margin: 1em;
    float: none;
    width: auto;
    left: auto;
  }

  .project {
    display: block;
  }

  .project .photo ul {
    grid-template-columns: repeat(auto-fill, 5.75rem);
  }

  #projectlist .project h3 {
    width: auto;
    margin-left: 0;
  }
}
