*, *::before, *::after {
  box-sizing: border-box;
}

@font-face {
   font-family: Arial;
   src: url("fonts/arial.ttf") format("TrueType");
}

/* sectioning junk*/

* {
  /* Color scheme */
  --textcolor: #121212;
  --bgcolor: #fff;
  --highlight: #2749c9;

}

/* thank you john-doe.neocities.org */
section {
  /* ! Everything below is needed ! */
  display: none;
  position: absolute;
  min-height: 100vh;
  width: 100vw;
  background: var(--bgcolor);
}

section:target { /* Show section */
  display: block;
}

section#home { /* Show #home by default */
  display: block;
}

/* styling junk */

body {
  font-family: Arial;
  font-size: 12px;
  padding: 0 10px 0; 
}

h1 {
  font-weight: normal; 
  font-size: 12px;
  margin-bottom: 4px;
}

p {
  margin: 0 50vw 4px 15px;
}

li {
  margin: -5px 0 7px 0;
}

/* classes */

.sidenav {
  width: 100px;
  text-align: left;
  position: fixed;
  z-index: 1;
  top: 16px;
  left: 16px;
  background: #EEE;
  overflow-x: hidden;
  padding: 6px 0;
}

.sidenav a {
  padding: 2px 2px 2px 15px;
  text-decoration: none;
  font-size: 12px;
  color: #000;
  display: block;
  line-height: 1.15;
}

.main {
  margin-left: 108px; /* keep this the same + a little more or less than the sidenav's left padding */
  font-size: 12px; 
  padding: 16px 20px;
  max-width: calc(100vw - 100px);
}

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