html, body {
  height: 100%;
}

iframe {
  width: 100%;
  height: calc(100% - 20vh);
  min-height: calc(100% - 100px);
  max-height: calc(100% - 60px);
  border: none;
  display: block;
  font-size: 1.2em;
}

header {
  position: fixed;
  top: 0;
  width: 100%;
}

header .logo {
  display: block;
  background-color: #202020;
}

.logo img {
  display: block;
  margin: auto;
  height: 10vh;
  width: 28vh;
  min-width: 84px;
  max-width: 140px;
  min-height: 30px;
  max-height: 50px;
}

.filler {
  height: 20vh;
  min-height: 60px;
  max-height: 100px;
}

.toggle {
  display: none;
  position: absolute;
  top: 0;
  right: 0;
  height: 35px;
  width: 25px;
}

nav {
  background-color: #333;
  overflow: hidden;
}

.menu {
  margin: 0;
  padding: 0;
  list-style: none;
  float: left;
}

.menu li {
  float: left;
  user-select: none;
  height: 10vh;
  min-height: 30px;
  max-height: 50px;
}

.menu li a{
  text-decoration: none;
  color: white;
  padding: 0 16px;
  display: block;
  height: 100%;
}

.toggle img {
  vertical-align: middle;
  filter: invert(100%);
}

.menu li a::before, .toggle::before {
  content: '';
  display: inline-block;
  height: 100%;
  vertical-align: middle;
}

.end {
  float: right;
}

hr {
  display: none;
}

.menu li.active {
  background-color: black;
}

.menu li:hover {
  cursor: pointer;
  background-color: #111;
}

@media only screen and (max-width:1200px) {
  .menu li a {
    padding: 0 8px;
    font-size: 12px;
  }

  iframe {
    height: calc(100% - 70px);
    min-height: unset;
    max-height: unset;
  }

  .logo img, .menu li {
    height: 35px;
    min-height: unset;
    max-height: unset;
  }

  .logo img {
    width: 98px
  }

  .filler {
    height: 70px;
    min-height: unset;
    max-height: unset;
  }
}


@media only screen and (max-width:800px) {
  .filler {
    height: 35px;
  }

  iframe {
    height: calc(100% - 35px);
  }

  .toggle {
    display: block;
  }

  nav {
    display: none;
    overflow: auto;
    text-align: left;
    position: absolute;
    right: 0;
    width: 200px;
    max-width: 100%;
    max-height: calc(100vh - 100px);
    max-height: calc(var(--vh, 1vh) * 100 - 35px);
  }

  .menu, .menu li {
    float: none;
  }

  hr {
    display: block;
  }
}

