* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* TEXT */
.title {
  font-family: "Comic Neue", serif;
  font-weight: bold;
  color: #78c2e3;
  font-size: 64px;
  align-self: end;
  margin-left: -1rem;
}

body {
  background-color: #0c425a;
  margin: 0;
  font-family: "Karla", sans-serif;
  font-size: 16px;
  color: #000000;
  display: flex;
  flex-direction: row;
}

ul {
  list-style-position: inside;
}

li {
  font-size: 16px;
  position: relative;
  padding-left: 1.5em;
}

li::before {
  position: absolute;
  left: 0;
  padding-left: 0.5em;
}

/* SIDEBAR */
.sidebg {
  width: 15%;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
}

.side {
  background-color: #8da4d6;
  width: 100%;
  height: 100%;
  padding: 1rem 0.5rem 1rem 1rem;
  text-align: justify;
  font-size: 15px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.side p:last-child {
  margin-top: auto;
}

.avatar {
  display: block;
  margin: 0 auto;
  width: 100%;
}

.desc {
  padding: 0.5rem;
}

.sideheaders {
  font-family: "Comic Neue", serif;
  font-weight: bold;
  font-size: 28px;
}

.side ul {
  list-style-type: none;
}

.side li {
  font-size: 16px;
  position: relative;
  padding-left: 2em;
}

.side li::before {
  content: "⭐";
  position: absolute;
  left: 0;
}

/* POST BOXES */
.container {
  display: flex;
  flex-direction: column;
  margin-left: 18%; /* Make no larger than the size of the sidebg */
  width: 78%; /* 2% taken off for symmetry! */
  padding: 1rem;
}

.headerwrapper {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.boxgap {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.box {
  display: flex;
  flex-direction: row;
  background-color: #7bc5e6;
  border: 3px solid #3888ac;
}

.post-left {
  border-right: 3px solid #0c425a;
  padding: 0.7rem;
  text-align: center;
}

.post-icon {
  border: 2px solid #0c425a;
  width: 80px;
  height: 80px;
}

.post-right {
  padding: 1rem;
}

.post-right p {
  margin-bottom: 16px;
}

.post-right img {
  margin-top: 1em;
  margin-bottom: 1em;
}

a {
  color: #0c425a;
}

a:hover {
  text-decoration: underline;
}

a:active {
  font-style: italic;
  font-weight: normal;
}

figure {
  margin-top: 1em;
  margin-bottom: 1em;
}

figcaption {
  text-align: left !important;
  margin-top: 0.3em !important;
  margin-bottom: 0 !important;
  color: #0c425a !important;
}

figure img {
  max-width: 100%;
  height: auto;
  width: 70% !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background-color: transparent;
}

::-webkit-scrollbar-thumb {
  background-color: #967e68;
}

#credit {
  font-size: 12px;
  position: fixed;
  bottom: 0;
  right: 0;
}

@media (max-width: 760px) {
  body {
    margin: 0;
    padding: 1rem;
    flex-direction: column;
  }
  .sidebg {
    background-image: none;
    position: relative;
    top: 0;
    margin-bottom: 1rem;
    width: 100%;
    height: auto;
  }
  .side {
    height: auto;
    width: 100%;
    text-align: center;
    padding: 1rem;
  }
  .desc {
    font-size: 16px;
  }
  .side ul {
    padding: 0;
  }
  .side li {
    display: inline;
    margin-left: 4px;
  }
  .avatar {
    width: 50%;
    margin: 0 auto;
  }
  .container {
    width: 100%; /* Updated to take full width on small screens */
    margin: 0;
  }
  .headerimg {
    width: 180px;
  }
  .title {
    font-size: 36px;
    margin: 0;
  }
}

.no-js-banner {
  background-color: red;
  color: white;
  text-align: center;
  padding: 10px;
  font-size: 14px;
  width: 100%;
}
