@font-face {
  font-family: Apercu;
  src: url(../fonts/apercu/Apercu-Light.eot);
  src: url(../fonts/apercu/Apercu-Light.eot?#iefix) format("embedded-opentype"), url(../fonts/apercu/Apercu-Light.woff2) format("woff2"), url(../fonts/apercu/Apercu-Light.woff) format("woff"), url(../fonts/apercu/Apercu-Light.ttf) format("truetype"), url(../fonts/apercu/Apercu-Light.svg#Apercu-Light) format("svg");
  font-weight: 300;
  font-style: normal
}

@font-face {
  font-family: Apercu;
  src: url(../fonts/apercu/Apercu-LightItalic.eot);
  src: url(../fonts/apercu/Apercu-LightItalic.eot?#iefix) format("embedded-opentype"), url(../fonts/apercu/Apercu-LightItalic.woff2) format("woff2"), url(../fonts/apercu/Apercu-LightItalic.woff) format("woff"), url(../fonts/apercu/Apercu-LightItalic.ttf) format("truetype"), url(../fonts/apercu/Apercu-LightItalic.svg#Apercu-LightItalic) format("svg");
  font-weight: 300;
  font-style: italic
}

@font-face {
  font-family: Apercu;
  src: url(../fonts/apercu/Apercu-Regular.eot);
  src: url(../fonts/apercu/Apercu-Regular.eot?#iefix) format("embedded-opentype"), url(../fonts/apercu/Apercu-Regular.woff2) format("woff2"), url(../fonts/apercu/Apercu-Regular.woff) format("woff"), url(../fonts/apercu/Apercu-Regular.ttf) format("truetype"), url(../fonts/apercu/Apercu-Regular.svg#Apercu-Regular) format("svg");
  font-weight: 400;
  font-style: normal
}

@font-face {
  font-family: Apercu;
  src: url(../fonts/apercu/Apercu-Italic.eot);
  src: url(../fonts/apercu/Apercu-Italic.eot?#iefix) format("embedded-opentype"), url(../fonts/apercu/Apercu-Italic.woff2) format("woff2"), url(../fonts/apercu/Apercu-Italic.woff) format("woff"), url(../fonts/apercu/Apercu-Italic.ttf) format("truetype"), url(../fonts/apercu/Apercu-Italic.svg#Apercu-Italic) format("svg");
  font-weight: 400;
  font-style: italic
}

@font-face {
  font-family: Apercu;
  src: url(../fonts/apercu/Apercu-Medium.eot);
  src: url(../fonts/apercu/Apercu-Medium.eot?#iefix) format("embedded-opentype"), url(../fonts/apercu/Apercu-Medium.woff2) format("woff2"), url(../fonts/apercu/Apercu-Medium.woff) format("woff"), url(../fonts/apercu/Apercu-Medium.ttf) format("truetype"), url(../fonts/apercu/Apercu-Medium.svg#Apercu-Medium) format("svg");
  font-weight: 500;
  font-style: normal
}

@font-face {
  font-family: Apercu;
  src: url(../fonts/apercu/Apercu-MediumItalic.eot);
  src: url(../fonts/apercu/Apercu-MediumItalic.eot?#iefix) format("embedded-opentype"), url(../fonts/apercu/Apercu-MediumItalic.woff2) format("woff2"), url(../fonts/apercu/Apercu-MediumItalic.woff) format("woff"), url(../fonts/apercu/Apercu-MediumItalic.ttf) format("truetype"), url(../fonts/apercu/Apercu-MediumItalic.svg#Apercu-MediumItalic) format("svg");
  font-weight: 500;
  font-style: italic
}

@font-face {
  font-family: Apercu;
  src: url(../fonts/apercu/Apercu-Bold.eot);
  src: url(../fonts/apercu/Apercu-Bold.eot?#iefix) format("embedded-opentype"), url(../fonts/apercu/Apercu-Bold.woff2) format("woff2"), url(../fonts/apercu/Apercu-Bold.woff) format("woff"), url(../fonts/apercu/Apercu-Bold.ttf) format("truetype"), url(../fonts/apercu/Apercu-Bold.svg#Apercu-Bold) format("svg");
  font-weight: 700;
  font-style: normal
}

@font-face {
  font-family: Apercu;
  src: url(../fonts/apercu/Apercu-BoldItalic.eot);
  src: url(../fonts/apercu/Apercu-BoldItalic.eot?#iefix) format("embedded-opentype"), url(../fonts/apercu/Apercu-BoldItalic.woff2) format("woff2"), url(../fonts/apercu/Apercu-BoldItalic.woff) format("woff"), url(../fonts/apercu/Apercu-BoldItalic.ttf) format("truetype"), url(../fonts/apercu/Apercu-BoldItalic.svg#Apercu-BoldItalic) format("svg");
  font-weight: 700;
  font-style: italic
}

html {
  -webkit-box-sizing: border-box;
  box-sizing: border-box
}

*,
:after,
:before {
  -webkit-box-sizing: inherit;
  box-sizing: inherit
}

::-moz-selection {
  background: #ffdc00
}

::selection {
  background: #ffdc00
}

body,
html {
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: #fff;
  color: #444452;
  font-family: Apercu, "Source Sans Pro", system, system-ui, -apple-system, BlinkMacSystemFont, Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  width: 100%
}

body.night,
html.night {
  background-color: #000;
  color: #afafbf
}

body.night ::-moz-selection,
html.night ::-moz-selection {
  color: #36363c;
  background: #ffdc00
}

body.night ::selection,
html.night ::selection {
  color: #36363c;
  background: #ffdc00
}

body.night .switch-wrapper .sun,
html.night .switch-wrapper .sun {
  background: url(../img/switch/sun-white.svg) no-repeat center;
  background-size: 100%
}

body.night .switch-wrapper .moon,
html.night .switch-wrapper .moon {
  background: url(../img/switch/moon-white.svg) no-repeat center;
  background-size: 100%
}

body.night .experience .job__time,
body.night .footer__copyright,
body.night .intro,
body.night .skills .skillz__category__label,
body.night .status,
body.night a,
body.night strong,
html.night .experience .job__time,
html.night .footer__copyright,
html.night .intro,
html.night .skills .skillz__category__label,
html.night .status,
html.night a,
html.night strong {
  color: #e7e7e7
}

body.night .section__content .underline-link:after,
html.night .section__content .underline-link:after {
  background: #e7e7e7
}

a {
  -webkit-transition: all .2s ease-in-out;
  transition: all .2s ease-in-out;
  text-decoration: none;
  font-weight: 700;
  color: inherit
}

ul {
  list-style: none;
  padding: 0;
  margin: 0
}

svg {
  width: 100%;
  height: 100%;
  fill: currentColor
}

img {
  max-width: 100%;
  vertical-align: middle
}

strong {
  font-weight: 700;
  color: #36363c
}

.emoji {
  display: inline-block;
  vertical-align: text-top;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center
}


.section {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  padding: 100px 170px 0px 170px
}

@media screen and (max-width:1280px) {
  .section {
      padding: 100px 100px 0px 100px
  }
}

@media screen and (max-width:1024px) {
  .section {
      padding: 50px 50px 0px 50px
  }
}

@media screen and (max-width:768px) {
  .section {
      display: block
  }
}

@media screen and (max-width:480px) {
  .section {
      padding: 50px 35px
  }
}

.section__title {
  -ms-flex-negative: 0;
  flex-shrink: 0;
  width: 200px;
  margin-right: 70px;
  color: #007bff;
  text-transform: uppercase;
  text-align: right;
  font-weight: 700;
  letter-spacing: 2px
}

@media screen and (max-width:1024px) {
  .section__title {
      margin-right: 50px
  }
}

@media screen and (max-width:850px) {
  .section__title {
      width: 150px
  }
}

@media screen and (max-width:768px) {
  .section__title {
      text-align: left;
      width: auto
  }
}

.section__content {
  font-weight: 300;
  font-size: 1rem;
  width: 100%;
  max-width: 650px
}

@media screen and (max-width:768px) {
  .section__content {
      padding-top: 30px;
      padding-left: 50px
  }
}

@media screen and (max-width:480px) {
  .section__content {
      padding-left: 30px
  }
}

.section__content p {
  margin-top: 0;
  margin-bottom: 25px
}

.section__content .underline-link {
  position: relative;
  display: inline-block
}

.section__content .underline-link:after {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 1px;
  background: #36363c;
  content: '';
  opacity: 0;
  -webkit-transition: height .3s, opacity .3s, -webkit-transform .3s;
  transition: height .3s, opacity .3s, -webkit-transform .3s;
  transition: height .3s, opacity .3s, transform .3s;
  transition: height .3s, opacity .3s, transform .3s, -webkit-transform .3s;
  -webkit-transform: translateY(-5px);
  transform: translateY(-5px)
}

.section__content .underline-link:focus:after,
.section__content .underline-link:hover:after {
  height: 2px;
  border-radius: 3px;
  opacity: 1;
  -webkit-transform: translateY(-2px);
  transform: translateY(-2px)
}

.arrow-link {
  -webkit-transition: all .2s ease-in-out;
  transition: all .2s ease-in-out;
  font-weight: 700;
  display: inline-block;
  background-color: transparent;
  white-space: nowrap
}

.parent {

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-top: 50px;
}

.arrow-link:after {
  -webkit-transition: all .2s ease-in-out;
  transition: all .2s ease-in-out;
  position: relative;
  bottom: 2px;
  margin-left: 15px;
  content: '';
  background: url(../img/arrow.png) no-repeat center;
  background-size: 100%;
  width: 15px;
  height: 15px;
  display: inline-block;
  vertical-align: middle
}

.arrow-link:hover:after {
  -webkit-transform: translateX(7px);
  transform: translateX(7px)
}

.small {
  font-family: Inconsolata, monospace;
  font-size: .85rem;
  display: inline-block;
  margin-top: 15px
}

.small:after {
  display: none
}

#top-button {
  -webkit-transition: all .2s ease-in-out;
  transition: all .2s ease-in-out;
  background: 0 0;
  border: none;
  outline: 0;
  width: 40px;
  position: fixed;
  bottom: 25px;
  right: 10px;
  cursor: pointer;
  display: none
}

@media screen and (max-width:1024px) {
  #top-button {
      bottom: 20px;
      right: 7px;
      width: 35px
  }
}

@media screen and (max-width:480px) {
  #top-button {
      bottom: 15px;
      right: 3px
  }
}

#top-button:focus,
#top-button:hover {
  -webkit-transform: translateY(-10px);
  transform: translateY(-10px)
}

#top-button img {
  width: 100%
}

.waypoint {
  opacity: 0;
  -webkit-transform: translate3d(0, 20px, 0);
  transform: translate3d(0, 20px, 0);
  -webkit-transition: opacity .6s cubic-bezier(.694, 0, .335, 1), -webkit-transform .6s cubic-bezier(.694, 0, .335, 1);
  transition: opacity .6s cubic-bezier(.694, 0, .335, 1), -webkit-transform .6s cubic-bezier(.694, 0, .335, 1);
  transition: opacity .6s cubic-bezier(.694, 0, .335, 1), transform .6s cubic-bezier(.694, 0, .335, 1);
  transition: opacity .6s cubic-bezier(.694, 0, .335, 1), transform .6s cubic-bezier(.694, 0, .335, 1), -webkit-transform .6s cubic-bezier(.694, 0, .335, 1)
}

.in-view {
  opacity: 1;
  -webkit-transform: translateZ(0);
  transform: translateZ(0)
}

.switch-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  position: absolute;
  top: 20px;
  right: 30px
}

@media screen and (max-width:480px) {
  .switch-wrapper {
      top: 10px;
      right: 20px
  }
}

.switch-wrapper .moon,
.switch-wrapper .sun {
  width: 17px;
  height: 17px
}

.switch-wrapper .sun {
  background: url(../img/switch/sun.svg) no-repeat center;
  background-size: 100%
}

.switch-wrapper .moon {
  background: url(../img/switch/moon.svg) no-repeat center;
  background-size: 100%
}

.switch-wrapper .toggle-wrapper {
  margin: 10px
}

.switch-wrapper .toggle-wrapper #switch {
  height: 0;
  width: 0;
  visibility: hidden;
  position: absolute
}

.switch-wrapper .toggle-wrapper #switch:checked+label {
  background: #bae67e
}

.switch-wrapper .toggle-wrapper #switch:checked+label:after {
  left: calc(100% - 3px);
  -webkit-transform: translateX(-100%);
  transform: translateX(-100%)
}

.switch-wrapper .toggle-wrapper label {
  cursor: pointer;
  text-indent: -9999px;
  width: 45px;
  height: 25px;
  background: grey;
  display: block;
  border-radius: 100px;
  position: relative
}

.switch-wrapper .toggle-wrapper label:after {
  -webkit-transition: all .2s ease-in-out;
  transition: all .2s ease-in-out;
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 19px;
  height: 19px;
  background: #fff;
  border-radius: 100%
}

.intro {
  padding: 120px 100px;
  height: 100vh;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -ms-flex-pack: distribute;
  justify-content: space-around;
  max-width: 1440px;
  margin: 0 auto
}

@media screen and (max-width:630px) {
  .intro {
      padding: 120px 70px
  }
}

@media screen and (max-width:550px) {
  .intro {
      padding: 120px 50px
  }
}

@media screen and (max-width:480px) {
  .intro {
      padding: 70px 50px
  }
}

.intro__hello,
.intro__tagline {
  font-size: 2.5rem
}

@media screen and (max-width:1024px) {

  .intro__hello,
  .intro__tagline {
      font-size: 2.25rem
  }
}

@media screen and (max-width:768px) {

  .intro__hello,
  .intro__tagline {
      font-size: 2rem
  }
}

@media screen and (max-width:550px) {

  .intro__hello,
  .intro__tagline {
      font-size: 1.75rem
  }
}

@media screen and (max-width:360px) {

  .intro__hello,
  .intro__tagline {
      font-size: 1.5rem
  }
}

@media screen and (max-width:330px) {

  .intro__hello,
  .intro__tagline {
      font-size: 1.4rem
  }
}

.intro__hello .emoji,
.intro__tagline .emoji {
  width: 40px;
  height: 40px
}

@media screen and (max-width:1024px) {

  .intro__hello .emoji,
  .intro__tagline .emoji {
      width: 35px;
      height: 35px
  }
}

@media screen and (max-width:768px) {

  .intro__hello .emoji,
  .intro__tagline .emoji {
      width: 30px;
      height: 30px
  }
}

@media screen and (max-width:360px) {

  .intro__hello .emoji,
  .intro__tagline .emoji {
      width: 25px;
      height: 25px
  }
}

.intro__hello {
  font-weight: 300
}

.intro__hello .wave-hand {
  background-image: url(../img/emojis/wave.png);
  margin-left: 10px;
  cursor: pointer
}

.intro__hello .wave-hand.animated {
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both
}

.intro__hello .wave-hand.wave {
  -webkit-animation-name: wave;
  animation-name: wave
}

@-webkit-keyframes wave {
  from {
      -webkit-transform: none;
      transform: none
  }

  15% {
      -webkit-transform: translate3d(-20%, 0, 0) rotate3d(0, 0, 1, -10deg);
      transform: translate3d(-20%, 0, 0) rotate3d(0, 0, 1, -10deg)
  }

  30% {
      -webkit-transform: translate3d(10%, 0, 0) rotate3d(0, 0, 1, 7deg);
      transform: translate3d(10%, 0, 0) rotate3d(0, 0, 1, 7deg)
  }

  45% {
      -webkit-transform: translate3d(-15%, 0, 0) rotate3d(0, 0, 1, -10deg);
      transform: translate3d(-15%, 0, 0) rotate3d(0, 0, 1, -10deg)
  }

  60% {
      -webkit-transform: translate3d(10%, 0, 0) rotate3d(0, 0, 1, 5deg);
      transform: translate3d(10%, 0, 0) rotate3d(0, 0, 1, 5deg)
  }

  75% {
      -webkit-transform: translate3d(-5%, 0, 0) rotate3d(0, 0, 1, -2deg);
      transform: translate3d(-5%, 0, 0) rotate3d(0, 0, 1, -2deg)
  }

  to {
      -webkit-transform: none;
      transform: none
  }
}

@keyframes wave {
  from {
      -webkit-transform: none;
      transform: none
  }

  15% {
      -webkit-transform: translate3d(-20%, 0, 0) rotate3d(0, 0, 1, -10deg);
      transform: translate3d(-20%, 0, 0) rotate3d(0, 0, 1, -10deg)
  }

  30% {
      -webkit-transform: translate3d(10%, 0, 0) rotate3d(0, 0, 1, 7deg);
      transform: translate3d(10%, 0, 0) rotate3d(0, 0, 1, 7deg)
  }

  45% {
      -webkit-transform: translate3d(-15%, 0, 0) rotate3d(0, 0, 1, -10deg);
      transform: translate3d(-15%, 0, 0) rotate3d(0, 0, 1, -10deg)
  }

  60% {
      -webkit-transform: translate3d(10%, 0, 0) rotate3d(0, 0, 1, 5deg);
      transform: translate3d(10%, 0, 0) rotate3d(0, 0, 1, 5deg)
  }

  75% {
      -webkit-transform: translate3d(-5%, 0, 0) rotate3d(0, 0, 1, -2deg);
      transform: translate3d(-5%, 0, 0) rotate3d(0, 0, 1, -2deg)
  }

  to {
      -webkit-transform: none;
      transform: none
  }
}

.intro__tagline {
  font-weight: 300;
  max-width: 700px
}

.intro__tagline .name {
  font-weight: 700
}

.intro__tagline .technologist {
  background-image: url(../img/emojis/technologist.png)
}

.intro__contact {
  font-size: 1.25rem;
  font-weight: 400
}

@media screen and (max-width:550px) {
  .intro__contact {
      font-size: 1rem
  }
}

.intro__contact .emoji.pointer {
  background-image: url(../img/emojis/pointright.png);
  width: 30px;
  height: 30px;
  margin: 0 5px;
  vertical-align: text-bottom
}

@media screen and (max-width:550px) {
  .intro__contact .emoji.pointer {
      width: 25px;
      height: 25px
  }
}

.intro__contact .highlight-link {
  -webkit-transition: all .2s ease-in-out;
  transition: all .2s ease-in-out;
  font-weight: 400;
  text-decoration: none;
  display: inline-block;
  padding: 2px 3px;
  text-decoration: none;
  -webkit-box-shadow: inset 0 -3px 0 #007bff;
  box-shadow: inset 0 -3px 0 #007bff
}

.intro__contact .highlight-link:hover {
  -webkit-box-shadow: inset 0 -33px 0 0 #007bff;
  box-shadow: inset 0 -33px 0 0 #007bff;
  color: #fff
}

.skills .skillz {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between
}

@media screen and (max-width:630px) {
  .skills .skillz {
      -ms-flex-wrap: wrap;
      flex-wrap: wrap
  }
}

@media screen and (max-width:630px) {
  .skills .skillz__category {
      width: 47%;
      margin-right: 5px;
      margin-bottom: 25px
  }
}

.skills .skillz__category__label {
  font-weight: 700;
  color: #36363c;
  text-transform: uppercase
}

.skills .skillz__category__item {
  margin: 3px 0;
  font-size: .9rem
}

.experience .jobs {
  margin-bottom: 100px
}

.experience .job {
  margin-bottom: 25px
}

.experience .job .time-place {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between
}

@media screen and (max-width:480px) {
  .experience .job .time-place {
      display: block
  }
}

.experience .job__company {
  font-weight: 700
}

.experience .job__time {
  font-size: .9rem;
  font-family: Inconsolata, monospace
}

@media screen and (max-width:480px) {
  .experience .job__time {
      font-size: .8rem
  }
}

.experience .arrow-link {
  font-size: 1.25rem
}

.experience .arrow-link:after {
  width: 20px;
  height: 20px
}

.status {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  font-size: 1.1rem;
  margin-top: 70px
}

.status__light {
  width: 30px;
  height: 30px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center
}

.status__light__ring {
  position: absolute;
  width: 25px;
  height: 25px;
  -webkit-animation: pulsate 2s ease-out;
  animation: pulsate 2s ease-out;
  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
  opacity: 0;
  border: 3px solid #bae67e;
  border-radius: 30px
}

@-webkit-keyframes pulsate {
  0% {
      -webkit-transform: scale(.1, .1);
      transform: scale(.1, .1);
      opacity: 0
  }

  50% {
      opacity: 1
  }

  100% {
      -webkit-transform: scale(1.2, 1.2);
      transform: scale(1.2, 1.2);
      opacity: 0
  }
}

@keyframes pulsate {
  0% {
      -webkit-transform: scale(.1, .1);
      transform: scale(.1, .1);
      opacity: 0
  }

  50% {
      opacity: 1
  }

  100% {
      -webkit-transform: scale(1.2, 1.2);
      transform: scale(1.2, 1.2);
      opacity: 0
  }
}

.status__light__led {
  position: absolute;
  width: 13px;
  height: 13px;
  background: #bae67e;
  border-radius: 100%
}

.status__message {
  margin-left: 15px
}

.featured-projects a:after {
  display: none
}

.featured-projects .project {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin-bottom: 100px;
  margin-left: -5%;
  width: 125%
}

@media screen and (max-width:1280px) {
  .featured-projects .project {
      width: 115%
  }
}

@media screen and (max-width:1024px) {
  .featured-projects .project {
      width: 105%
  }
}

@media screen and (max-width:768px) {
  .featured-projects .project {
      width: 100%;
      display: block;
      margin-bottom: 70px
  }
}

.featured-projects .project.screentime {
  margin-bottom: 70px
}

.featured-projects .project:last-of-type {
  margin-bottom: 0
}

.featured-projects .project__pic {
  max-width: 500px;
  overflow: visible;
  margin: 0
}

.featured-projects .project__pic a {
  display: block
}

.featured-projects .project__pic.phones a {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between
}

.featured-projects .project__pic.phones .phone {
  margin: 0 -7%
}

.featured-projects .project__pic.phones .phone:first-of-type {
  margin-left: -5%
}

.featured-projects .project__pic img {
  width: 100%;
  max-width: 100%;
  vertical-align: bottom
}

.featured-projects .project__caption {
  width: 125px;
  -ms-flex-negative: 0;
  flex-shrink: 0;
  margin-left: 30px
}

@media screen and (max-width:768px) {
  .featured-projects .project__caption {
      width: 100%;
      margin-top: 25px;
      margin-left: 0
  }
}

.featured-projects .project__name {
  margin-bottom: 10px
}

.featured-projects .project__name a {
  font-weight: 700
}

.featured-projects .project p {
  font-size: .85rem;
  line-height: 1.3
}

.other-projects .project {
  max-width: 600px;
  margin-bottom: 50px
}

.other-projects .project__name {
  margin-bottom: 10px
}

.other-projects .project p {
  font-size: .9rem;
  margin-bottom: 20px
}

.other-projects .project__used__item {
  display: inline-block;
  margin: 3px 3px 3px 0;
  font-family: Inconsolata, monospace;
  font-size: .75rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 3px;
  color: #007bff;
  border: 1px solid #007bff;
  background: 0 0
}

.other-projects .project__used__item:first-of-type {
  margin-left: 0
}

.footer {
  padding: 50px 80px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center
}

@media screen and (max-width:1024px) {
  .footer {
      padding: 50px
  }
}

@media screen and (max-width:630px) {
  .footer {
      display: block
  }
}

@media screen and (max-width:480px) {
  .footer {
      padding: 50px 30px
  }
}

.footer__copyright {
  font-weight: 700;
  width: 200px
}

@media screen and (max-width:630px) {
  .footer__copyright {
      width: auto;
      text-align: center;
      margin-bottom: 25px
  }
}

@media screen and (max-width:630px) {

  .footer__copyright .bottom,
  .footer__copyright .top {
      display: inline-block
  }
}

@media screen and (max-width:480px) {

  .footer__copyright .bottom,
  .footer__copyright .top {
      display: block
  }
}

.footer__copyright .emoji {
  width: 20px;
  height: 20px;
  margin: 0 3px;
  vertical-align: text-bottom
}

@media screen and (max-width:630px) {
  .footer__links {
      display: -webkit-box;
      display: -ms-flexbox;
      display: flex;
      -webkit-box-pack: center;
      -ms-flex-pack: center;
      justify-content: center
  }
}

.footer__links a {
  position: relative;
  display: inline-block;
  color: #007bff !important;
  text-transform: uppercase;
  font-weight: 700;
  margin: 0 15px;
  outline: 0
}

@media screen and (max-width:1024px) {
  .footer__links a {
      margin: 0 10px
  }
}

.footer__links a:after {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 1px;
  background: #007bff;
  content: '';
  opacity: 0;
  -webkit-transition: height .3s, opacity .3s, -webkit-transform .3s;
  transition: height .3s, opacity .3s, -webkit-transform .3s;
  transition: height .3s, opacity .3s, transform .3s;
  transition: height .3s, opacity .3s, transform .3s, -webkit-transform .3s;
  -webkit-transform: translateY(-5px);
  transform: translateY(-5px)
}

@media screen and (max-width:850px) {
  .footer__links a:after {
      display: none
  }
}

.footer__links a:focus:after,
.footer__links a:hover:after {
  height: 2px;
  border-radius: 3px;
  opacity: 1;
  -webkit-transform: translateY(0);
  transform: translateY(0)
}

.footer__links a .text {
  font-size: .9rem;
  display: inline;
  letter-spacing: 1px
}

@media screen and (max-width:850px) {
  .footer__links a .text {
      display: none
  }
}

.footer__links img {
  display: none;
  width: 22px
}

@media screen and (max-width:850px) {
  .footer__links img {
      display: inline-block
  }
}

.not-found {
  width: 100%;
  height: 100vh !important;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  text-align: center;
  padding: 0 20px
}

.not-found .name {
  position: absolute;
  top: 25px;
  left: 30px;
  font-weight: 700;
  color: #007bff;
  font-size: 1.5rem
}

@media screen and (max-width:480px) {
  .not-found .name {
      top: 20px;
      left: 25px;
      font-size: 1.25rem
  }
}

.not-found h1 {
  font-size: 4rem;
  margin: 10px 0
}

.not-found h2 {
  font-size: 1.5rem
}

@media screen and (max-width:480px) {
  .not-found h2 {
      font-size: 1.25rem
  }
}

@media screen and (max-width:360px) {
  .not-found h2 {
      font-size: 1.1rem
  }
}

.not-found a {
  font-weight: 700;
  color: #007bff !important;
  position: relative;
  display: inline-block
}

nav {
  display: flex;
  justify-content: center;
  padding: 5px;
}



nav ul {
  list-style-type: none;
  margin-top: 10px;
  padding: 0;
  overflow: hidden;
  background-color: #f5f5f5;
  border-radius: 10px;
}

nav.night ul{
  background-color: #18191a;
}


nav li {
  float: left;
  margin-right: 20px;
}

nav a {
  display: block;
  text-decoration: none;
  color: #333;
  font-weight: bold;
  padding: 14px 16px;
}


nav a:hover {
  background-color: #ddd;
  color: #333;
  border-radius: 10px;
}


@media screen and (max-width: 600px) {
  nav a {
      display: block;
      text-decoration: none;
      color: #333;
      font-size: 10px;
      font-weight: 600;
      padding: 10px;
  }

}

@media screen and (max-width: 600px) {
  nav li {
      float: left;
      margin-right: 2px;
  }

}


.not-found a:after {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 3px;
  background: #007bff;
  content: '';
  opacity: 0;
  -webkit-transition: height .3s, opacity .3s, -webkit-transform .3s;
  transition: height .3s, opacity .3s, -webkit-transform .3s;
  transition: height .3s, opacity .3s, transform .3s;
  transition: height .3s, opacity .3s, transform .3s, -webkit-transform .3s;
  -webkit-transform: translateY(-10px);
  transform: translateY(-10px)
}

.not-found a:focus:after,
.not-found a:hover:after {
  height: 3px;
  opacity: 1;
  -webkit-transform: translateY(-5px);
  transform: translateY(-5px)
}
/* Mobile nav: readable labels and ~40px tap targets that still fit on a 360px screen. */
@media screen and (max-width: 600px) {
    nav ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    nav li {
        float: none;
        margin-right: 0;
    }

    nav a {
        font-size: 13px;
        padding: 12px 7px;
    }
}

/* Theme is set on <body> before first paint, so style the nav from body too (no flash). */
body.night nav ul {
    background-color: #18191a;
}

/* Back-to-top: fades in/out via a class toggled in main.js. */
#top-button {
    display: block;
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease, visibility .25s ease;
}

#top-button.is-visible {
    opacity: 1;
    visibility: visible;
}

/* Gentle reveal for sections that start below the fold (class added by main.js). */
.reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .6s cubic-bezier(.2, .7, .2, 1), transform .6s cubic-bezier(.2, .7, .2, 1);
}

.reveal.is-revealed {
    opacity: 1;
    transform: none;
}

/* Smooth page-to-page transitions; the nav and theme switch stay put while content cross-fades. */
@view-transition {
    navigation: auto;
}

nav {
    view-transition-name: site-nav;
}

.switch-wrapper {
    view-transition-name: theme-switch;
}

::view-transition-old(root),
::view-transition-new(root) {
    animation-duration: .28s;
    animation-timing-function: cubic-bezier(.2, .7, .2, 1);
}

@media (prefers-reduced-motion: reduce) {
    @view-transition {
        navigation: none;
    }

    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ---------- Long-form post layout (GTA 6 review) ---------- */
.post {
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.post__header {
    text-align: center;
    margin: 60px 0 28px;
}

.post__title {
    font-size: 2.2rem;
    line-height: 1.2;
    margin: 0 0 10px;
}

.post__meta {
    color: #777;
    font-size: .9rem;
    margin: 0;
}

.post__verdict {
    display: inline-block;
    margin: 16px 0 0;
    padding: 6px 16px;
    border-radius: 999px;
    background: #f5f5f5;
    font-weight: 700;
    color: #555;
}

.post__verdict span {
    color: #007bff;
    font-size: 1.25rem;
}

.post__figure {
    margin: 10px 0 0;
}

.post__figure img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 14px;
}

.post__figure figcaption {
    margin-top: 8px;
    text-align: center;
    font-size: .8rem;
    color: #999;
}

.post .section {
    display: block;
    padding: 36px 0 0;
    margin: 0;
}

.post .section__title {
    width: auto;
    text-align: left;
    margin: 0 0 12px;
    padding: 0;
}

.post .section__content {
    padding: 0;
    margin: 0;
    line-height: 1.75;
}

.post__credits {
    font-size: .8rem;
    color: #999;
    margin-top: 30px !important;
}

body.night .post__meta,
body.night .post__figure figcaption,
body.night .post__credits { color: #9ca3af; }
body.night .post__verdict { background: #18191a; color: #b0b3b8; }

@media screen and (max-width: 600px) {
    .post__title { font-size: 1.6rem; }
    .post__header { margin-top: 40px; }
}

/* Tall photos in posts: crop to a calm landscape frame; side-by-side pairs. */
.post__figure--wide img,
.post__figure img[src$="rainbow.jpg"] {
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.post__pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.post__pair img {
    aspect-ratio: 3 / 4;
    object-fit: cover;
}

.post__pair figcaption {
    grid-column: 1 / -1;
}

.post code {
    font-family: Inconsolata, monospace;
    font-size: .95em;
    padding: 1px 5px;
    border-radius: 5px;
    background: #f5f5f5;
}

body.night .post code { background: #18191a; }
