@font-face {
    font-family: 'Terminus';
    src: url('../Terminus.woff2') format('woff2'),
}
body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: "Terminus", monospace;
    text-align: center;
    font-size: 1em;
    color: #FFFFFF;
    background-color: #000000;
}
a {
    text-decoration: none;
    color: #FFFFFF;
    margin: 0.25em;
}
.file {
    cursor: pointer;
    background-color: #111111;
    color: #FFFFFF;
    border: none;
    border-radius: 1.5vh;
    width: 90%;
    height: 3%;
    padding: 0.5% 1.5%;
    margin: 0.5%;
    text-align: left;
    font-size: 3vh;
    font-family: "Terminus", monospace;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
}
.file:hover {
    background-color: #222222;
}
.main {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.filename {
    flex: 2;
}

.date {
    flex: 1;
    text-align: center;
}

.size {
    flex: 1;
    text-align: right;
}
.navbar {
  margin: 4vh 2vh;
  color: white;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 5;
}

.nav {
  margin: 0;
  width: 2.5vh;
  height: 2vh;
  display: inline-block;
  position: relative;
  cursor: pointer;
  background: none;
  border: none;
  z-index: 6;
  padding: 0;
}

.nav span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 3px;
  background: white;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.2s ease;
  transform-origin: 50% 50%;
}

.nav span:nth-child(1) { top: 0; }
.nav span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.nav span:nth-child(3) { bottom: 0; }

.nav.active span:nth-child(1) {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}
.nav.active span:nth-child(2) {
  opacity: 0;
}
.nav.active span:nth-child(3) {
  bottom: auto;
  top: 50%;
  transform: translateY(-50%) rotate(-45deg);
}


.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.75);
  display: flex;
  align-items: stretch;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
}

.overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.sidebar {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #111111;
  opacity: 0.7;
  width: 15%;
  height: 100%;
  padding-top: 2rem;
  box-shadow: 2px 0 8px rgba(0,0,0,0.5);
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}

.overlay.active .sidebar {
  transform: translateX(0);
}

.sidebar img {
  margin-top: 5vh;
  width: 80%;
}

.sidebar a {
    font-size: 1.5em;
}