
html {
    -webkit-font-smoothing: antialiased;
}

body {
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.06);
    color: #545454;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    margin: 0 auto;
    max-width: 1100px;
    padding: 2em 2em 4em;
}

h1, h2, h3, h4, h5, h6 {
    color: #222;
    font-weight: 600;
    line-height: 1.3;
}

h2 {
    margin-top: 1.3em;
}

a {
    color: #669900;
    text-decoration: none;
}

b, strong {
    font-weight: 600;
}

samp {
    display: none;
}

img {
    animation: colorize 2s cubic-bezier(0, 0, .78, .36) 1;
    background: transparent;
    display: block;
    margin: 1.3em auto;
    max-width: 95%;
}

/* Lists */
    
.projects {
    list-style-type: none;
    font-size: 24px;
        padding-inline-start: 0px;
}

.projects li {
    margin-bottom: 32px;
}

.stats-table {
    border-collapse: collapse;
    margin: 25px 0;
    font-size: 0.9em;
    font-family: sans-serif;
    min-width: 400px;
}
.stats-table th,
.stats-table td {
    padding: 12px 15px;
}
.stats-table tbody tr { 
    border-bottom: thin solid #dddddd;
    border-top: thin solid #dddddd;
}


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


/* Grid Column */
.wrapper {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: auto auto 1fr 1fr 1fr auto auto;
}
.header {
    grid-column: span 12;
    margin-top: 32px;
}
.menu {
    grid-column: span 4;
}
.content {
    grid-column: span 8;
}
.footer {
    grid-column: span 12;
}
.left {
    grid-column: span 6;
}
.right {
    grid-column: span 6;
    text-align: right;
}

.half {
    grid-column: span 6;
}

.affix {
    position: fixed;
}

@media screen and (max-width: 1000px) {
    .header {
        grid-column: span 6;
    }
    .menu {
        grid-row: 1;
        grid-column: span 6;
    }
    .content {
        grid-column: span 12;
    }
    
    .affix {
        position: static;
    }
}



/* Underline Reveal */
.hvr-underline-reveal {
  display: inline-block;
  vertical-align: middle;
  -webkit-transform: perspective(1px) translateZ(0);
  transform: perspective(1px) translateZ(0);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
  position: relative;
  overflow: hidden;
}
.hvr-underline-reveal:before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 0;
  right: 0;
  bottom: 0;
  background: #669900;
  height: 4px;
  -webkit-transform: translateY(4px);
  transform: translateY(4px);
  -webkit-transition-property: transform;
  transition-property: transform;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-timing-function: ease-out;
  transition-timing-function: ease-out;
}
.hvr-underline-reveal:hover:before, .hvr-underline-reveal:focus:before, .hvr-underline-reveal:active:before {
  -webkit-transform: translateY(0);
  transform: translateY(0);
}


/* Dark Mode */

@media only screen and (prefers-color-scheme: dark) {
    html { background: black; }
    body { background: black; }
    h1, h3, h4, h5, h6 { color: #666699;}
    h2 { color: #9999ff;}
    p { color: white; }
    a { color: mediumpurple; }
    .hvr-underline-reveal:before { background:mediumpurple; }
    img { filter: invert(0.9); }
    .stats-table tbody tr {     color: lightgray;}
}

