/* Main Site*/
* {
  box-sizing: border-box;
}
::selection {
  color: white;
  background-color: rgb(129, 129, 129);
}
a:hover {
  text-decoration: none;
}
p {
  font-size: 18px;
  max-width: 60ch;
}
.button img {
  display: block;
  width: 88px;
  height: 31px;
  image-rendering: pixelated;
}
textarea {
  margin-left: 10px;
}
body {
  position: relative;
  background-color: white;
  color: black;
}
/* Header */
header {
  display: flex;
  flex-wrap: nowrap;
  width: 100%;
  height: 50px;
  position: absolute;
  padding-right: 3vw;
  z-index: 2;
  padding-top: 10px;
}
header h2 {
  font-weight: lighter;
  white-space: nowrap;
  margin-top: 0;
  padding: 0 3vw 0 2vw;
}
header .button {
  white-space: nowrap;
  margin-top: 0;
  padding: 0 2vw 0 2vw;
}
nav a:not(:last-of-type) {
  margin-right: 1.5vw;
}
nav a {
  color: rgb(85, 85, 85);
  font-size: 20px;
  text-decoration: none;
}
nav {
  height: fit-content;
  padding-top: 4px;
}
/* Sections */
.tab section:target {
  display: block;
}
.tab section {
  padding: calc(3em + 1vw) 5vw 8vw 5vw;
  display: none;
  position: absolute;
  top: 0;
  min-height: 100%;
  width: 100%;
  background-color: white;
}
.tab section#home {
  display: block;
}
.tab section#links {
  line-height: 1.6em;
}
.tab section#links a,
p {
  font-size: 1.2em;
}
.tab section#links a {
  color: rgb(34, 34, 34);
  text-decoration: underline;
  font-size: 18px;
}
.tab section#links a:visited {
  color: rgb(104, 103, 103);
}
.tab section#links a:hover {
  text-decoration: none;
}
/* Table */
.nested_table {
  border: none;
  width: 95%;
}
.listboxcontainer {
  margin: 1rem 0;
  color: #333;
}
.listboxcontent {
  border-radius: 8px;
  border: 3px solid #999999;
  background-color: white;
  padding-bottom: 1em;
  line-height: 1.4em;
}
.listboxcontent ul {
  padding-right: 1em;
  font-size: 17px;
}
.listboxheader {
  position: relative;
  padding: 10px 10px;
  border-bottom: 2px solid #999999;
  z-index: 1;
}
.listboxheader span {
  top: 3px;
  font-size: 130%;
  font-weight: bold;
}
td {
  vertical-align: top;
  width: 19%;
  padding: 0 10px;
}
/* End of Sidebar*/
@media screen and (max-width: 630px) {
  section#interests {
    padding-left: 0;
  }
}
