@font-face {
  font-family: 'HELVETICA_EXTRA_COMPRESSED';
  src: url('/assets/fonts/HELVETICA_EXTRA_COMPRESSED.TTF') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'handwriting';
  src: url('/assets/fonts/handwriting.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'HELVETICA_LT_NARROW';
  src: url('/assets/fonts/HELVETICA_LT_NARROW.TTF') format('truetype');
  font-weight: normal;
  font-style: normal;
}

.small-img {
  width: 650px;
  height: auto;
}

body {
  font-family: 'HELVETICA_EXTRA_COMPRESSED', monospace;
  margin: 0;
  padding: 0;
  position: relative;
  font-size: 90%;
  overflow-x: hidden;
}


body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  background-image: url("/assets/sitebg.png");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;

  filter: blur(4px);
  transform: scale(1.05); 
  z-index: -1;
}

h1 {
  color: #239ff2;
  font-family: 'HELVETICA_EXTRA_COMPRESSED', monospace;
  font-size: 43px;
  margin: -5px 0 5px 0;
  text-shadow: 3px 2px 5px rgba(0,0,0,0.53);
}

h2 {
  color: white;
  font-family: 'handwriting', monospace;
  font-size: 80%;
  margin: -5px 0 5px 0;
  text-shadow: 3px 2px 5px rgba(0,0,0,0.53);
}

h3 {
  color: red;
  font-family: 'HELVETICA_EXTRA_COMPRESSED', monospace;
  margin: 5px 0;
  font-size: 110%;
}

p {
  color: black;
  font-family: 'HELVETICA_LT_NARROW', monospace;
    text-shadow: 3px 2px 5px rgba(0,0,0,0.53);
}

.sidenav-image img {
  width: 196px;
  display: block;
  margin: 36px auto;
  margin-top: -10px;
  margin-bottom: 10px;
}

.layout {
  position: relative;
  width: 990px;
  margin: 36px auto 0;
}


.figcaption {
  color: #818181;
  font-family: 'handwriting', monospace;
}

.sidenav {
  height: 100vh;
  width: 260px;
  position: fixed;
  z-index: 1;
  top: 0;
  left: 0;

  display: flex;
  flex-direction: column;

  background: #4E4E4E;
  background: -moz-linear-gradient(top, #4E4E4E 0%, #4E4E4E 5%, #000000 100%);
  background: -webkit-linear-gradient(top, #4E4E4E 0%, #4E4E4E 5%, #000000 100%);
  background: linear-gradient(to bottom, #4E4E4E 0%, #4E4E4E 5%, #000000 100%);

  overflow-x: hidden;
  padding-top: 20px;
}

.sidenav a {
  padding: 6px 8px 6px 16px;
  text-decoration: none;
  font-size: 30px;
  color: #818181;
  display: block;
  text-shadow: 3px 2px 5px rgba(0,0,0,0.53);
}

.sidenav a:hover {
  color: #239ff2;
}

.sidenav-footer {
  margin-top: auto;
}

.sidenav-footer p {
  padding: 6px 8px 6px 16px;
  font-size: 15px;
  color: #818181;
  display: block;
}

.main {
  margin-left: 260px;
  padding: 0px 10px;
}

@media screen and (max-height: 450px) {
  .sidenav {
    padding-top: 15px;
  }

  .sidenav a {
    font-size: 18px;
  }
}