p { font-size: calc(9px + 0.25vw + 0.25vh); }

.q { color: #6666FF; }

text {
  font-size: var(--bigtext);
  width: 150%;
}

a, a:visited, #navbtn, #navbtn:hover, #closebtn, #closebtn:hover {
  color: #6666FF;
  text-decoration: none;
  cursor: pointer;
}

a:hover { text-decoration: underline; }

.space { padding-bottom: calc(10px + 3.5vh); }

#title {
  font-family: 'Suisse Intl';
  font-size: var(--bigtext);
  padding-left: 5px;
}

#content {
  width: 35%;
  padding-top: var(--topspace);
  padding-left: 5px;
  line-height: 1.5;
}

#pic {
  position: fixed;
  right: 15px;
  top: 15px;
  padding-top: var(--topspace);
  height: auto;
  width: auto;
  max-width: 50%;
  max-height: 85%;
}

#nav {
  display: none;
  height: 100%;
  width: calc(220px + 5vw);
  position: fixed;
  z-index: 2;
  top: 0;
  right: 0;
  background-color: #333333;
  border-left: 4px solid white;
  padding-top: calc(var(--topspace) + 1vh);
  text-align: center;
}

#navlinks, #sublinks {
  font-size: calc(var(--bigtext) - 2px);
  line-height: 1.6;
  margin: auto;
  width: 100%;
}

#curr, #curr:hover {
  text-decoration: none;
  color: white;
  cursor: auto;
}

#navbtn {
  position: fixed;
  bottom: 10px;
  right: 15px;
  font-size: calc(40px + 0.4vw + 0.4vh);
  z-index: 1;
}

#closebtn {
  position: absolute;
  bottom: 30px;
  right: 15px;
  font-size: calc(50px + 0.5vw + 0.5vh);
}

@media only screen and (max-width: 415px) {
  p { font-size: 12px; }
  text { font-size: var(--mobbigtext); }
  #title {
    font-size: var(--mobbigtext);
    padding-left: 0px;
  }
  #content {
    width: 46%;
    padding-left: 0px;
  }
  #pic {
    top: calc(20px + 8vh);
    right: 5px;
  }
  #nav {
    width: calc(50% + 5px);
    border-left: 2px solid white;
  }
  #closebtn { bottom: 25px; }
}
