body {
  margin: 0;
  font-family: "Nunito Sans", sans-serif;
  background: #f7f8f8; }

.constrain-center, .skill-group {
  margin: 0 auto;
  width: 100%;
  max-width: 960px; }

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

.dark-background {
  background: #2f7f85; }

.dark-header {
  padding-top: 1em;
  color: #f7f8f8; }

a {
  text-decoration: none; }
  a:link, a:visited {
    color: #f2aa71; }
  a:hover {
    text-decoration: underline; }

a.inverted:link, a.inverted:visited {
  color: #f7f8f8; }

.fill-screen {
  padding: 0;
  margin: 0;
  position: absolute;
  top: 80px;
  left: 0;
  right: 0;
  bottom: 0; }
  .fill-screen.ignore-nav {
    top: 0;
    z-index: 100; }

@media only screen and (max-width: 600px) {
  .fill-screen {
    top: 0; } }
body {
  margin-top: 100px; }

#main-nav {
  position: fixed;
  top: 0;
  left: 0;
  height: 80px;
  width: 100%;
  z-index: 100;
  font-family: "Nunito Sans", sans-serif;
  font-size: 1.1em;
  -webkit-transition: height .2s linear, background .2s linear;
  transition: height .2s linear, background .2s linear; }

.nav-link-container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  height: 100%;
  padding: 0; }

.nav-link {
  list-style: none;
  font-size: 1.25em;
  margin: 0 5px; }
  .nav-link a {
    padding: 10px; }
    .nav-link a:link, .nav-link a:visited {
      color: #67b645; }
    .nav-link a:active {
      color: lightgray; }

#site-logo {
  margin-right: auto;
  height: 95%; }
  #site-logo img {
    height: 100%; }

#main-nav-toggle {
  display: none; }

.shrunk #main-nav {
  height: 40px;
  background: #89bd72; }
  .shrunk #main-nav .nav-link a:link, .shrunk #main-nav .nav-link a:visited {
    color: #f7f8f8; }
  .shrunk #main-nav .nav-link a:active {
    color: lightgray; }

@media only screen and (max-width: 600px) {
  body {
    margin-top: 0; }

  #main-nav, .shrunk #main-nav {
    height: auto;
    -webkit-transition: none;
    transition: none; }

  #main-nav-toggle {
    color: #589c3b;
    border: none;
    background: none;
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    width: 50px;
    height: 50px;
    font-size: 1.5em; }
    #main-nav-toggle:focus {
      outline: 1px solid #67b645; }

  .nav-link-container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    position: relative;
    -ms-flex-pack: distribute;
        justify-content: space-around;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
    height: 0;
    -webkit-transition: height .5s ease-in-out;
    transition: height .5s ease-in-out;
    overflow: hidden; }

  .nav-link {
    display: none;
    width: 40%;
    -webkit-box-flex: 1;
        -ms-flex: 1 1 auto;
            flex: 1 1 auto;
    text-align: center; }
    .nav-link a {
      padding: .4em 1em; }
      .nav-link a:link, .nav-link a:visited {
        color: #f7f8f8; }

  #site-logo {
    padding-bottom: 0;
    width: 100%;
    height: auto;
    margin-top: 10px; }
    #site-logo img {
      height: 50px; }

  #main-nav.show {
    background: #89bd72; }
    #main-nav.show .nav-link {
      display: block; }
    #main-nav.show #main-nav-toggle {
      color: #f7f8f8; }
      #main-nav.show #main-nav-toggle:focus {
        outline: 1px solid #f7f8f8; }
    #main-nav.show .nav-link-container {
      height: 175px; } }
.splash-container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-flow: column wrap;
          flex-flow: column wrap;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  color: #67b645;
  width: 85%;
  max-width: 800px;
  height: 50vh;
  margin: 0 auto;
  font-size: 1.75em; }
  .splash-container small {
    font-style: italic;
    display: block;
    text-align: right;
    color: #529137;
    font-size: 0.7em; }

.text-reveal {
  color: #529137;
  -webkit-animation: fadeIn 1.5s ease-out 3s both;
          animation: fadeIn 1.5s ease-out 3s both; }

@-webkit-keyframes fadeIn {
  from {
    opacity: 0; }
  to {
    opacity: 1; } }

@keyframes fadeIn {
  from {
    opacity: 0; }
  to {
    opacity: 1; } }
.polaroid-container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-pack: space-evenly;
      -ms-flex-pack: space-evenly;
          justify-content: space-evenly;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  font-size: 1.25em; }

.polaroid {
  background: white;
  min-width: 250px;
  -webkit-box-flex: 0;
      -ms-flex: 0 1 30%;
          flex: 0 1 30%;
  margin: 10px 16px 30px;
  padding: 14px 14px 0;
  -webkit-box-shadow: 0 5px 15px 1px rgba(0, 0, 0, 0.5);
          box-shadow: 0 5px 15px 1px rgba(0, 0, 0, 0.5); }
  .polaroid img {
    border: 1px solid rgba(0, 0, 0, 0.4);
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    display: block;
    width: 100%; }
  .polaroid .polaroid-title {
    color: #f2aa71;
    text-align: center;
    height: 24.5px;
    line-height: 24.5px; }

.btn-lg {
  width: 100%;
  text-align: center;
  margin-bottom: 1em; }

.gallery {
  height: 100%;
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-rows: 1fr 70px 150px;
  gap: 0 2em;
  grid-template-columns: 70px 1fr 70px;
  grid-template-areas: "prev img next" "prev caption next" "buttons buttons buttons"; }

.gallery-img-container {
  grid-area: img;
  margin: 0;
  width: 100%;
  height: 100%;
  margin: 10px 0 40px;
  position: relative; }

.gallery-img {
  -webkit-box-shadow: 0px 0px 20px 3px rgba(0, 0, 0, 0.3);
          box-shadow: 0px 0px 20px 3px rgba(0, 0, 0, 0.3);
  position: absolute;
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  max-width: 100%;
  max-height: 100%;
  height: auto;
  width: auto; }

.caption {
  margin: 0;
  text-align: center;
  grid-area: caption;
  width: 100%;
  font-size: 17.5px;
  line-height: 70px; }

.prev, .next {
  border: none;
  background: none;
  color: #f2aa71;
  font-size: 4em;
  height: 100%; }

.prev {
  grid-area: prev;
  justify-self: end; }

.next {
  grid-area: next;
  justify-self: start; }

.gallery-jump-buttons {
  width: 100%;
  background: #369198;
  grid-area: buttons;
  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; }

.gallery-jump {
  border: none;
  margin: 0 5px;
  -webkit-box-flex: 1;
      -ms-flex: 1 1 auto;
          flex: 1 1 auto;
  max-width: 130px;
  height: 130px;
  background-size: cover;
  background-position: center;
  opacity: .5; }
  .gallery-jump:hover {
    opacity: .7; }
  .gallery-jump.active {
    opacity: 1; }

#view-fullscreen {
  background: rgba(0, 0, 0, 0.75);
  pointer-events: none;
  -webkit-transition: opacity .25s;
  transition: opacity .25s;
  opacity: 0; }
  #view-fullscreen p {
    margin: 1.5% 0 0;
    text-align: center;
    color: #f7f8f8; }
  #view-fullscreen.show {
    opacity: 1;
    pointer-events: auto; }

#fullscreen-img {
  pointer-events: none;
  -webkit-box-shadow: 0px 0px 20px 3px rgba(0, 0, 0, 0.3);
          box-shadow: 0px 0px 20px 3px rgba(0, 0, 0, 0.3);
  position: absolute;
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  max-width: 90%;
  max-height: 90%;
  height: auto;
  width: auto; }

@media only screen and (max-width: 600px) {
  .gallery {
    grid-template-areas: "img img img" "caption caption caption" "prev buttons next";
    grid-template-rows: 1fr 50px 50px;
    grid-template-columns: 80px 1fr 80px;
    gap: 0; }

  .prev, .next {
    background: #f2aa71;
    color: white;
    font-size: 2em;
    justify-self: stretch; }

  .caption {
    font-size: 1em;
    line-height: 50px; }

  .gallery-jump {
    -webkit-box-flex: 0;
        -ms-flex: 0 1 auto;
            flex: 0 1 auto;
    height: 20px;
    width: 20px;
    border-radius: 100%;
    background: white !important; } }
.blog-post {
  padding: 48px 3em 0;
  margin-bottom: 2em; }

.post-title {
  margin-top: 0;
  text-transform: capitalize;
  color: #67b645; }

.post-contents p {
  font-family: "Taviraj", serif; }

.post-info {
  border-top: 1px solid #c3cbcb;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between; }
  .post-info small {
    margin-top: .5em; }
    .post-info small:first-child {
      margin-right: 100px; }

.about, .skill-list {
  padding-bottom: 2em; }
  .about h1, .skill-list h1 {
    padding: 1.5em 0 .5em;
    text-align: center;
    color: #67b645; }

.about p {
  font-family: "Taviraj", serif;
  font-size: 1.2em;
  margin: 1em 2em; }

.skill-list h1 {
  color: #f7f8f8; }

.skill-group {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center; }

.skill {
  text-align: center;
  -webkit-box-flex: 0;
      -ms-flex: 0 0 15%;
          flex: 0 0 15%;
  min-width: 100px;
  max-width: 200px;
  margin: 1.25em; }
  .skill img {
    width: 100%; }
  .skill p {
    font-size: 1.25em;
    color: #f7f8f8; }

.project {
  width: 80%;
  max-width: 960px;
  padding-top: 4em;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 250px 1fr;
  -webkit-column-gap: 32px;
          column-gap: 32px;
  grid-template-rows: 205px 45px;
  grid-template-areas: "icon info" "icon links"; }
  .project:last-child {
    margin-bottom: 4em; }

.project-icon {
  grid-area: icon; }
  .project-icon img {
    border-radius: 10px;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%; }

.project-details {
  grid-area: info; }
  .project-details h1 {
    color: #67b645;
    margin: 0.25em 0; }

.project-links {
  grid-area: links;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex; }

.view-project, .view-source, .view-gallery {
  color: white;
  position: relative;
  display: block;
  height: 100%;
  max-height: 45px;
  margin: 0 5px;
  width: 160px;
  text-align: center;
  border-radius: 5px;
  -webkit-box-flex: 1;
      -ms-flex: 1 1 auto;
          flex: 1 1 auto;
  line-height: 45px;
  text-transform: capitalize; }
  .view-project::before, .view-source::before, .view-gallery::before {
    content: "";
    position: relative;
    top: 16px;
    display: inline-block;
    width: 32px;
    height: 45px;
    margin-top: -16px;
    margin-right: 10.6666666667px;
    background-size: 32px 32px;
    background-repeat: no-repeat;
    background-position: center; }

.view-project {
  background: #f2aa71; }
  .view-project:hover {
    background: #ff7e18; }
  .view-project:active {
    background: #d05f05; }
  .view-project:focus {
    outline: 1px solid #f09c5a; }
  .view-project::before {
    background-image: url("/img/icons/icon-link.svg"); }

.view-source {
  background: #369198; }
  .view-source:hover {
    background: #027780; }
  .view-source:active {
    background: #0a6a72; }
  .view-source:focus {
    outline: 1px solid #2f7f85; }
  .view-source::before {
    background-image: url("/img/icons/icon-brackets.svg"); }

.view-gallery {
  background: #f2aa71; }
  .view-gallery:hover {
    background: #ff7e18; }
  .view-gallery:active {
    background: #d05f05; }
  .view-gallery:focus {
    outline: 1px solid #f09c5a; }
  .view-gallery::before {
    background-image: url("/img/icons/icon-gallery.svg"); }

@media only screen and (max-width: 800px) {
  .project {
    grid-template-columns: 1fr;
    -webkit-column-gap: 24px;
            column-gap: 24px;
    row-gap: 1px;
    grid-template-rows: 250px 1fr;
    grid-template-areas: "icon" "info" "links"; }

  .project-icon, .project-details h1 {
    text-align: center; }

  .project-details h1 {
    margin: 0;
    margin-top: 1em; }
  .project-details p {
    margin-top: 0.75em;
    font-size: 1.2em; }

  .project-links {
    -ms-flex-wrap: wrap;
        flex-wrap: wrap; }

  .view-project, .view-source, .view-gallery {
    margin-bottom: 8px; } }
