:root {
  --bg-color: lightgrey;
  --border-color: grey;
  --outline-color: black;
}

html {
  font-family: verdana, sans-serif;
  display: flex;
  justify-content: center;
}

body {
  margin: 0;
  max-width: 810px;
  background: grey;
}

header {
  background: white;
  padding: .1em 1em;
  -webkit-user-select: none; /* Safari */
  -ms-user-select: none; /* IE 10 and IE 11 */
  user-select: none; /* Standard syntax */
}

header p {
  float: right;
  color: #00000030
}

nav {
  background: linear-gradient(navy, navy, #000033);
  color: white;
  display: flex;
  font-size: 15px;
  -webkit-user-select: none; /* Safari */
  -ms-user-select: none; /* IE 10 and IE 11 */
  user-select: none; /* Standard syntax */
}
nav ul {
  list-style: none;
  display: flex;
  flex: 1;
  margin: 0;
  padding-left: 1em;
}
nav li {
  padding: 0 0.5em;
  padding-top: 15px;
  border: #000033 2px solid;
  border-top: none;
  border-bottom: none;
  margin-left: -2px;
}
nav div {
  padding: 1em;
  align-self: center;
}

main {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  background: white;
  justify-content: center;
}

aside {
  width: 30%;
}

.blog-icon {
  padding: 1em 0;
  max-height: 200px;
  max-width: 200px;
}

#blog {
  max-width: 65%;
}

aside, #blog {
  padding: 10px;
  margin: 0;
}

#blog {
  margin-top: 2em;
}

table {
  border-collapse: collapse;
}
h4 {margin:0;}
td, .table-heading, .friends {
  border: solid 1px var(--border-color);
  margin: 0;
  padding: 5px;
}
table, .table-heading, .friends {
  background: var(--bg-color);
  outline: 2px solid var(--outline-color);
}
.table-heading {
  border: solid 2px var(--border-color);
  padding: 10px;
  margin-top: 15px;
  margin-bottom: 2px;
  border-radius: 10px 10px 0 0;
}

td:first-child {
  width: 33%;
}

.friends-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.person {
  font-size: 14px;
  width: 90px;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 10px;
}

.person p {
  margin: 0;
  -webkit-user-select: none; /* Safari */
  -ms-user-select: none; /* IE 10 and IE 11 */
  user-select: none; /* Standard syntax */
}

.person img {
 
  max-width: 70px;
  max-height: 70px;
  display: flex;
  padding: 10px 0;
}

article.post {
  background: var(--bg-color);
  padding: 1em;
  margin: 2em 1em;
  display: flex;
  flex-direction: column;
  max-width: 70vh;
  border-radius: 10px;
  border: 2px solid var(--border-color);
  outline: 2px solid var(--outline-color);
}

.comment {
  border-top: solid 2px var(--border-color);
}
.reply {
  border-top: solid 1px var(--border-color);
}

a.userlink, a.ping, .person a {
  text-decoration: none;
}
span.userlink {
  -webkit-user-select: none; /* Safari */
  -ms-user-select: none; /* IE 10 and IE 11 */
  user-select: none; /* Standard syntax */
}

.private {
  background: pink;
  padding: .75em 1em;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 10px;
  border-top: 2px solid #ad0000;
  outline: 2px solid black;
}
.private p, .private img {
  padding: 0 .5em;
}

audio {
  box-shadow: none;
}

@media only screen and (max-width: 816px) {
  body {
    width: 90%;
  }
  aside {
    flex-direction: row;
    width: 70%;
  }
  li.unnecessary {
    display: none;
  }
}

@media only screen and (max-width: 600px) {
  body {
    width: 100%;
  }
  aside, #blog {
    width: 90%;
    max-width: 90%;
  }
  nav {
    height: 50px;
    width: 100%;
  }
  nav li, nav div, header p {
    display: none;
  }
}