@import url("https://fonts.googleapis.com/css?family=Source+Sans+Pro&display=swap");
@import url("https://fonts.googleapis.com/css?family=Lobster&display=swap");
@import url("https://fonts.googleapis.com/css?family=Source+Serif+Pro&display=swap");
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.9.0/css/all.min.css");
@media (min-width: 256px) {
  html {
    font-size: calc( 16px + ( 64 - 16 ) * ((100vh - 256px) / (4096 - 256)));
  }
}

@media (orientation: portrait) and (min-width: 256px) {
  html {
    font-size: calc( 16px + ( 64 - 16 ) * ((100vw - 256px) / (4096 - 256)));
  }
}

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

@keyframes fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@-webkit-keyframes slide {
  from {
    opacity: 0;
    -webkit-transform: translateY(-0.0625rem);
            transform: translateY(-0.0625rem);
  }
  to {
    opacity: 1;
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
}

@keyframes slide {
  from {
    opacity: 0;
    -webkit-transform: translateY(-0.0625rem);
            transform: translateY(-0.0625rem);
  }
  to {
    opacity: 1;
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
}

@-webkit-keyframes through {
  from {
    opacity: 0.5;
    -webkit-transform: translateX(-100%);
            transform: translateX(-100%);
  }
  to {
    opacity: 0.5;
    -webkit-transform: translateX(100%);
            transform: translateX(100%);
  }
}

@keyframes through {
  from {
    opacity: 0.5;
    -webkit-transform: translateX(-100%);
            transform: translateX(-100%);
  }
  to {
    opacity: 0.5;
    -webkit-transform: translateX(100%);
            transform: translateX(100%);
  }
}

*,
*::before,
*::after {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  margin: 0 0;
  padding: 0 0;
}

*.red-mask::after {
  bottom: 0;
  left: 0;
  margin: auto;
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 100%;
  background-color: #bd081c;
  content: '';
  opacity: 0.85;
}

img {
  max-height: 100%;
  max-width: 100%;
}

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

ul {
  list-style: none;
}

ul,
ul li,
ul li a {
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

ul li a {
  height: 100%;
  width: 100%;
}

body,
html {
  height: 100%;
  width: 100%;
}

body {
  background-color: #bd081c;
  color: #0c0c0c;
  margin: 0 auto;
  max-width: 4096px;
  min-width: 256px;
  overflow: hidden;
}

body div.loading {
  background-color: #bd081c;
  height: 0.25%;
  opacity: 0;
  position: fixed;
  z-index: 100;
}

body div.loading.active {
  opacity: 1;
}

body div.loading, body div.loading::after {
  left: 0;
  top: 0;
  width: 100%;
}

body div.loading::after {
  background-color: #fafafa;
  content: '';
  height: 100%;
  opacity: 0.5;
  position: absolute;
}

body div.loading {
  -webkit-transition: opacity 250ms ease-in-out;
  transition: opacity 250ms ease-in-out;
}

body div.loading::after {
  -webkit-animation: through forwards 2.25s linear infinite;
          animation: through forwards 2.25s linear infinite;
}

header {
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  background-blend-mode: luminosity, normal;
  background-color: #fafafa;
  /* background-image: url('../images/banner.jpg'); */
  background-repeat: no-repeat;
  background-size: cover;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  position: relative;
}

header::after {
  z-index: 0;
}

header::before,
header > * {
  z-index: 1;
}

header a {
  color: #fafafa;
  text-decoration: none;
}

header ul.menu a {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 0.375em;
  font-weight: bold;
  padding: 0 0.85em;
  text-transform: uppercase;
}

header a.jsl-logo {
  background-color: #fafafa;
  border-radius: 50%;
}

header ul.social a span {
  display: none;
}

header:not(:target) {
  background-position-x: center;
  background-position-y: 63.5%;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: reverse;
      -ms-flex-direction: row-reverse;
          flex-direction: row-reverse;
  font-size: 1.75rem;
  height: 16.19433vh;
  -webkit-box-pack: space-evenly;
      -ms-flex-pack: space-evenly;
          justify-content: space-evenly;
}

header:not(:target)::before {
  background-color: rgba(12, 12, 12, 0.5);
  bottom: 0;
  content: '';
  height: 1.0625%;
  left: 0;
  position: absolute;
  width: 100%;
}

header:not(:target) ul.menu a {
  border-bottom: dotted 0.125em rgba(0, 0, 0, 0);
  -webkit-transition: border-color 125ms ease-in-out;
  transition: border-color 125ms ease-in-out;
}

header:not(:target) ul.menu a.active {
  border-bottom-color: #fafafa;
}

header:not(:target) a.jsl-logo {
  border: solid 0.0375em #bd081c;
  max-height: 2.5em;
  padding: 0.3125em;
  width: 2.5em;
}

@media (max-width: 512px) {
  header:not(:target) a.jsl-logo {
    max-height: 1.875em;
    width: 1.875em;
  }
}

header:not(:target) ul.social a {
  font-size: 0.75em;
  padding: 0 0.25em;
}

@media (max-width: 512px) {
  header:not(:target) {
    padding: 0.5em;
    -webkit-box-pack: start;
        -ms-flex-pack: start;
            justify-content: flex-start;
  }
  header:not(:target) > * {
    position: absolute;
  }
  header:not(:target) ul.menu {
    -ms-flex-item-align: start;
        align-self: flex-start;
  }
  header:not(:target) a.jsl-logo {
    left: 0.5em;
  }
  header:not(:target) ul.social {
    -ms-flex-item-align: end;
        align-self: flex-end;
  }
  header:not(:target) ul.social a {
    font-size: 0.55em;
  }
}

header:target {
  -webkit-animation: fade forwards 375ms ease-in-out;
          animation: fade forwards 375ms ease-in-out;
  background-position-x: center;
  background-position-y: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  font-size: 2rem;
  height: 100%;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

header:target ul.menu {
  position: absolute;
  top: 0.25em;
  right: 0.25rem;
}

@media (max-width: 1024px) {
  header:target ul.menu {
    right: initial;
  }
}

header:target a.jsl-logo {
  border: solid 0.13875em #bd081c;
  max-height: 9.25em;
  padding: 1.15625em;
  width: 9.25em;
}

@media (max-width: 512px) {
  header:target a.jsl-logo {
    max-height: 6.9375em;
    width: 6.9375em;
  }
}

header:target ul.social a {
  font-size: 1em;
  padding: 1em 0.5em;
}

header:not(:target) ul.menu a {
  -webkit-transition: border-color 125ms ease-in-out;
  transition: border-color 125ms ease-in-out;
}

header:target {
  -webkit-animation: fade forwards 375ms ease-in-out;
          animation: fade forwards 375ms ease-in-out;
}

main {
  background-color: #fafafa;
  height: 80.97166vh;
  overflow: hidden;
  position: relative;
}

main section {
  height: 100%;
  width: 100%;
  font-size: 1rem;
  overflow: auto;
  padding: 0 1.75em;
  pointer-events: none;
}

main section:target {
  pointer-events: initial;
}

main section:target *:nth-child(1) {
  -webkit-animation: slide forwards 175ms ease-in-out;
          animation: slide forwards 175ms ease-in-out;
}

main section:target *:nth-child(2) {
  -webkit-animation: slide forwards 225ms ease-in-out;
          animation: slide forwards 225ms ease-in-out;
}

main section:target *:nth-child(3) {
  -webkit-animation: slide forwards 275ms ease-in-out;
          animation: slide forwards 275ms ease-in-out;
}

main section:target *:nth-child(4) {
  -webkit-animation: slide forwards 325ms ease-in-out;
          animation: slide forwards 325ms ease-in-out;
}

main section:target *:nth-child(5) {
  -webkit-animation: slide forwards 375ms ease-in-out;
          animation: slide forwards 375ms ease-in-out;
}

main section:target *:nth-child(6) {
  -webkit-animation: slide forwards 425ms ease-in-out;
          animation: slide forwards 425ms ease-in-out;
}

main section:target *:nth-child(7) {
  -webkit-animation: slide forwards 475ms ease-in-out;
          animation: slide forwards 475ms ease-in-out;
}

main section:target *:nth-child(8) {
  -webkit-animation: slide forwards 525ms ease-in-out;
          animation: slide forwards 525ms ease-in-out;
}

main section:target *:nth-child(9) {
  -webkit-animation: slide forwards 575ms ease-in-out;
          animation: slide forwards 575ms ease-in-out;
}

main section:target *:nth-child(10) {
  -webkit-animation: slide forwards 625ms ease-in-out;
          animation: slide forwards 625ms ease-in-out;
}

main section:target *:nth-child(11) {
  -webkit-animation: slide forwards 675ms ease-in-out;
          animation: slide forwards 675ms ease-in-out;
}

main section:target *:nth-child(12) {
  -webkit-animation: slide forwards 725ms ease-in-out;
          animation: slide forwards 725ms ease-in-out;
}

main section:target *:nth-child(13) {
  -webkit-animation: slide forwards 775ms ease-in-out;
          animation: slide forwards 775ms ease-in-out;
}

main section:target *:nth-child(14) {
  -webkit-animation: slide forwards 825ms ease-in-out;
          animation: slide forwards 825ms ease-in-out;
}

main section:target *:nth-child(15) {
  -webkit-animation: slide forwards 875ms ease-in-out;
          animation: slide forwards 875ms ease-in-out;
}

main section:target *:nth-child(16) {
  -webkit-animation: slide forwards 925ms ease-in-out;
          animation: slide forwards 925ms ease-in-out;
}

main section:target > * {
  opacity: 1;
}

main section > * {
  opacity: 0;
}

main section h1.title {
  font-family: 'Lobster', cursive;
  font-size: 1.5em;
  margin-bottom: 1em;
  margin-top: 2em;
  text-align: center;
}

@media (min-width: 1024px) {
  main section {
    padding: 0 7em;
  }
}

main section:target *:nth-child(1) {
  -webkit-animation: slide forwards 175ms ease-in-out;
          animation: slide forwards 175ms ease-in-out;
}

main section:target *:nth-child(2) {
  -webkit-animation: slide forwards 225ms ease-in-out;
          animation: slide forwards 225ms ease-in-out;
}

main section:target *:nth-child(3) {
  -webkit-animation: slide forwards 275ms ease-in-out;
          animation: slide forwards 275ms ease-in-out;
}

main section:target *:nth-child(4) {
  -webkit-animation: slide forwards 325ms ease-in-out;
          animation: slide forwards 325ms ease-in-out;
}

main section:target *:nth-child(5) {
  -webkit-animation: slide forwards 375ms ease-in-out;
          animation: slide forwards 375ms ease-in-out;
}

main section:target *:nth-child(6) {
  -webkit-animation: slide forwards 425ms ease-in-out;
          animation: slide forwards 425ms ease-in-out;
}

main section:target *:nth-child(7) {
  -webkit-animation: slide forwards 475ms ease-in-out;
          animation: slide forwards 475ms ease-in-out;
}

main section:target *:nth-child(8) {
  -webkit-animation: slide forwards 525ms ease-in-out;
          animation: slide forwards 525ms ease-in-out;
}

main section:target *:nth-child(9) {
  -webkit-animation: slide forwards 575ms ease-in-out;
          animation: slide forwards 575ms ease-in-out;
}

main section:target *:nth-child(10) {
  -webkit-animation: slide forwards 625ms ease-in-out;
          animation: slide forwards 625ms ease-in-out;
}

main section:target *:nth-child(11) {
  -webkit-animation: slide forwards 675ms ease-in-out;
          animation: slide forwards 675ms ease-in-out;
}

main section:target *:nth-child(12) {
  -webkit-animation: slide forwards 725ms ease-in-out;
          animation: slide forwards 725ms ease-in-out;
}

main section:target *:nth-child(13) {
  -webkit-animation: slide forwards 775ms ease-in-out;
          animation: slide forwards 775ms ease-in-out;
}

main section:target *:nth-child(14) {
  -webkit-animation: slide forwards 825ms ease-in-out;
          animation: slide forwards 825ms ease-in-out;
}

main section:target *:nth-child(15) {
  -webkit-animation: slide forwards 875ms ease-in-out;
          animation: slide forwards 875ms ease-in-out;
}

main section:target *:nth-child(16) {
  -webkit-animation: slide forwards 925ms ease-in-out;
          animation: slide forwards 925ms ease-in-out;
}

main section#about p {
  font-family: 'Source Serif Pro', serif;
  font-size: 1em;
  line-height: 1.85em;
  margin: 1.25em 0;
  text-align: justify;
}

main section#about p span {
  font-family: 'Lobster', cursive;
}

@media (max-width: 512px) {
  main section#about p {
    text-align: left;
  }
}

main section#activities ul.activities-gallery {
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  margin: 0 auto;
  width: 95%;
}

main section#activities ul.activities-gallery li.activities-gallery-item {
  font-size: 0.75rem;
  padding: 1em;
}

main section#activities ul.activities-gallery li.activities-gallery-item a {
  border: dotted 0.125em rgba(12, 12, 12, 0.25);
  padding: 0.0625em;
}

main section#activities ul.activities-gallery li.activities-gallery-item a, main section#activities ul.activities-gallery li.activities-gallery-item a::after,
main section#activities ul.activities-gallery li.activities-gallery-item a img {
  border-radius: 0.125em;
}

main section#activities ul.activities-gallery li.activities-gallery-item a::after {
  height: calc(100% - 0.25em);
  opacity: 0.35;
  width: calc(100% - 0.25em);
}

main section#activities ul.activities-gallery li.activities-gallery-item a img {
  background-color: rgba(12, 12, 12, 0.25);
  -webkit-filter: saturate(32%);
          filter: saturate(32%);
  max-height: 50vh;
  padding: 0.125em;
}

main section#activities ul.activities-gallery li.activities-gallery-item a:hover::after {
  opacity: 0.25;
}

main section#activities ul.activities-gallery li.activities-gallery-item a:hover img {
  -webkit-filter: saturate(100%);
          filter: saturate(100%);
}

div.activities-pic-modal {
  display: none;
}

div.activities-pic-modal:target {
  background-color: rgba(12, 12, 12, 0.99);
  display: block;
  left: 0;
  position: fixed;
  top: 0;
  z-index: 10;
}

div.activities-pic-modal:target,
div.activities-pic-modal:target a {
  height: 100%;
  width: 100%;
}

div.activities-pic-modal:target a {
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

div.activities-pic-modal:target img {
  background-color: rgba(189, 8, 28, 0.95);
  border-radius: 0.25rem;
  max-height: 95%;
  max-width: 95%;
  padding: 0.25rem;
}

main section#activities ul.activities-gallery li.activities-gallery-item a::after {
  -webkit-transition: opacity 750ms ease-in-out;
  transition: opacity 750ms ease-in-out;
}

main section#activities ul.activities-gallery li.activities-gallery-item a img {
  -webkit-transition: -webkit-filter 830ms ease-in-out;
  transition: -webkit-filter 830ms ease-in-out;
  transition: filter 830ms ease-in-out;
  transition: filter 830ms ease-in-out, -webkit-filter 830ms ease-in-out;
}

main section#activities ul.activities-gallery li.activities-gallery-item a:hover::after {
  -webkit-transition: opacity 375ms ease-in-out;
  transition: opacity 375ms ease-in-out;
}

main section#activities ul.activities-gallery li.activities-gallery-item a:hover img {
  -webkit-transition: -webkit-filter 415ms ease-in-out;
  transition: -webkit-filter 415ms ease-in-out;
  transition: filter 415ms ease-in-out;
  transition: filter 415ms ease-in-out, -webkit-filter 415ms ease-in-out;
}

div.activities-pic-modal:target {
  -webkit-animation: fade forwards 225ms ease-in-out;
          animation: fade forwards 225ms ease-in-out;
}

div.activities-pic-modal:target img {
  -webkit-animation: slide forwards 375ms ease-in-out;
          animation: slide forwards 375ms ease-in-out;
}

main section#projects ul.projects-gallery {
  -webkit-box-align: stretch;
      -ms-flex-align: stretch;
          align-items: stretch;
  border: dotted 0.0625em rgba(12, 12, 12, 0.25);
  border-radius: 0.125em;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  font-size: 1.125rem;
  margin: 0 auto;
  padding: 0.125em;
  width: 75%;
}

main section#projects ul.projects-gallery li:nth-child(odd) {
  background-color: rgba(12, 12, 12, 0.125);
}

main section#projects ul.projects-gallery li:nth-child(even) {
  background-color: rgba(12, 12, 12, 0.0625);
}

main section#projects ul.projects-gallery li:nth-child(1) {
  border-top-left-radius: 0.125em;
  border-top-right-radius: 0.125em;
}

main section#projects ul.projects-gallery li:nth-last-child(1) {
  border-bottom-left-radius: 0.125em;
  border-bottom-right-radius: 0.125em;
}

main section#projects ul.projects-gallery li:hover {
  background-color: rgba(189, 8, 28, 0.25);
}

main section#projects ul.projects-gallery a {
  color: #0c0c0c;
  padding: 1em;
  text-align: center;
  text-decoration: none;
}

main section#projects ul.projects-gallery li {
  -webkit-transition: background-color 150ms ease-in-out;
  transition: background-color 150ms ease-in-out;
}

footer {
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  background-color: #fafafa;
  -webkit-box-shadow: inset 0 1px 0 rgba(12, 12, 12, 0.125);
          box-shadow: inset 0 1px 0 rgba(12, 12, 12, 0.125);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  font-size: 16px;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
}

footer a {
  font-family: 'Source Sans Pro', sans-serif;
  color: #bd081c;
  /* color: rgba(12, 12, 12, 0.6); */
  margin: 0 0.75em;
  text-transform: uppercase;
}

@media (max-width: 512px) {
  footer {
    -webkit-box-pack: space-evenly;
        -ms-flex-pack: space-evenly;
            justify-content: space-evenly;
  }
  footer a {
    margin: 0;
  }
}
