@import url('https://rsms.me/inter/inter.css');
html { font-family: 'Inter', sans-serif; }
@supports (font-variation-settings: normal) {
  html { font-family: 'Inter var', sans-serif; }
}

body {
  margin: 0;
  padding: 0;
  font-size: 16px;
  font-family: "Inter", "sans-serif";
/*  color: #0D111A;*/
  color: #272727;
}

b { font-weight: 600; }

.wrapper {
  width: 100%;
}

code {
  padding: 2px 4px;
  font-size: 90%;
  color: #c7254e;
  background-color: #f9f2f4;
  border-radius: 4px;  
}

.content-wrapper {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-column-gap: 40px;
}

.row--thumbnails {
  grid-column: span 12;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-column-gap: 24px;
  margin-bottom: 40px;
}

.row--thumbnails:last-of-type {
  margin-bottom: 0;
}

* {box-sizing: border-box;}

/*section > div {
  grid-column: span 2;
}*/

a {
  color: #0075C9;
/*  color: #B2096C;*/
  text-decoration: none;
}

a:hover{
  color: #005FB2;
  text-decoration: underline;
  transition: 0.2s color;
}

.profile_link {
  margin-right: 20px;
}

::-moz-selection {
  background: #0D111A;
  color: white;
}

::selection {
  background: #0D111A;
  color: white;
}

hr {
  margin-top: 20px;
  margin-bottom: 20px;
  border: 0;
  border-top: 1px solid #EAEEF1;
}

h1 {
  margin-top: 0;
}

ul, ol {
  line-height: 180%;
}

.nostyle {
  border: none;
  box-shadow: none;
  border-radius: 0;
}

.header {
  height: 56px;
  background: white;
  box-shadow: 0px 2px 6px rgba(26, 34, 51, 0.04), inset 0px -1px 0px #F0F0F2;
  text-align: center;
  line-height: 56px;
  position: sticky;
  top: 0;
  z-index: 1;

/*  grid-row-start: 1; 
  grid-row-end: 3; */
}

.summary .left {
  display: flex;
  justify-content: center;
  align-items: center;
  grid-column-start: 1;
  grid-column-end: 5;
}

.summary .left img {
  max-width: 148px;
  max-height: 148px;
}

.summary .right {
  grid-column-start: 5;
  grid-column-end: 13;
}

/*.home section {
  grid-column-start: 3;
  grid-column-end: 9;
}
*/
.home img {
  margin-bottom: none;
}

.home ul {
  padding-left: 0;
}

.home ul li {
  list-style: none;
}

.project__card {
  background: #FFFFFF;
  max-height: 100%;
  margin-bottom: 24px;
  padding: 12px;
  box-shadow: 0px 6px 8px rgba(185, 185, 185, 0.2);
  border-radius: 4px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: box-shadow 0.06s;
  transition: transform 0.06s ease-in;
}

.project__card:hover {
  box-shadow: 0px 6px 12px rgba(185, 185, 185, 0.4);
  transform: scale(1.01);
}

.project__card img {
  max-width: 100%;
  max-height: 240px;
}

.project img {
  margin-bottom: 24px;
}

.project section {
/*  width: 680px;*/
}

section {
/*  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-column-gap: 24px;*/
  margin: 0 auto;
  padding: 64px 0;
/*  border-bottom: 1px solid #E5E7E9;*/
  border-bottom: 1px solid #EAEEF1;
}
section.footer {
  padding: 40px 0;
}

section.footer p {
  margin-bottom: 0;
}

.gray {
  background: #f7f8f9;
}

section.gray--dark {
/*  background: #F0F0F2;*/
  background: #EAEEF1;
}

.pink {
  color: #B2096C;
}

section h1 {
  grid-column: span 12;
  font-size: 24px;
  line-height: 140%;
  margin-bottom: 24px;
}

h2 {
  font-size: 16px;
}

h1,
h2 {
  font-weight: 600;
}

section p {
  font-size: 16px;
  line-height: 160%;
  margin-top: 0;
  margin-bottom: 24px;
/*  color: #333740;*/
/*color: #393C40;*/
  color: #3A3A3A;
}

p.description {
  font-size: 14px;
  line-height: 140%;
  opacity: 0.7;
}

/*section p,
section div {
  grid-column: span 4;
}
*/

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.text-center {
  text-align: center;
}

.full {
  grid-column: span 12;
}

.half {
  grid-column: span 6;
/*  background: #F7F8F9;
  padding: 24px;*/
}

.third {
  grid-column: span 4;
}

.quarter {
  grid-column: span 3;
}

.table {
  padding: 20px;
  font-size: 12px;
  margin: 24px 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-column-gap: 16px;
}
.table .column {
  grid-column: span 1;
}
.table .th {
  font-weight: 600;
}
.table > hr {
  width: 100%;
  grid-column: span 3;
  margin-top: 12px;
  margin-bottom: 12px;
  border: 0;
  border-top: 1px solid #DFE0E5;
}

/*section p:last-of-type {
  margin-bottom: 0;
}*/

/* project pages only */
.center-small {
  grid-column-start: 4;
  grid-column-end: 10;
}

.media_wrapper--small {
  grid-column-start: 4;
  grid-column-end: 10;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-column-gap: 24px;    
}

.media_wrapper--medium {
  grid-column-start: 3;
  grid-column-end: 11;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-column-gap: 24px;
}

.media_wrapper--small .full,
.media_wrapper--medium .full {
  grid-column: span 6;
}

.media_wrapper--small .half,
.media_wrapper--medium .half {
  grid-column: span 3;
}

.media_wrapper--small .third,
.media_wrapper--medium .third {
  grid-column: span 2;
}

img {
  max-width: 100%;
  border: 1px solid #F8F8F9;
  box-sizing: border-box;
  box-shadow: 0px 2px 4px rgba(26, 34, 51, 0.02);
  border-radius: 4px;
}

img.emoji {
   height: 1em;
   width: 1em;
   margin: 0 .05em 0 .1em;
   vertical-align: -0.1em;
   box-shadow: none;
   border: none;
}

.media_label {
  font-size: 14px;
  margin-bottom: 12px;
  font-weight: 600;
}

@media screen and (max-width: 500px) {
  header,
  footer {
    padding: 0 20px;
  }
  section {
    width: 100%;
    padding: 40px 20px;
  }
  .content-wrapper {
    width: 100%;
    grid-column-gap: 0;
  }
  .row--thumbnails {
    grid-column-gap: 0;
  }
  .summary .left {
    margin-bottom: 24px;
  }
  .summary .left,
  .summary .right,
  .center-small {
    grid-column-start: 1;
    grid-column-end: 13;
  }
  .half,
  .third {
    grid-column: span 12;
  }
  .half:last-of-type,
  .third:last-of-type {
    padding-bottom: 0;
  }
  .quarter {
    grid-column: span 6;
    padding-bottom: 24px;
  }
  .quarter:last-of-type {
    padding-bottom: 0;
  }
  header .half,
  footer .half {
    grid-column: span 6;
  }
  .row--thumbnails .half,
  .row--thumbnails .third,
  #skills .third {
    margin-bottom: 40px;
  }
}