:root {
  --primary-color: #000000;
  --secondary-color: #ffffff;
  --tertiary-color: #ff0000;
  --bgCol: #f0f0f0;
  --border-color: #141414;
}

/* Custom Font Faces */
@font-face {
  font-family: "pxlsrf";
  src: url("/fonts/pxlshrd_1-Serif.woff2") format("woff2");
}

@font-face {
  font-family: "pxlbld";
  src: url("/fonts/pxlshrd_1-Bold.woff2") format("woff2");
}

html,
body,
a,
button {
  cursor: url("/images/cursor.gif") 16 16, auto !important;
}

a {
  color: var(--primary-color);
  font-family: "pxlbld", Georgia bold !important;
  text-decoration: none;
}

/* Style for visited links */
/* a:visited {
  color: var(--tertiary-color);
} */

a:hover {
  color: var(--secondary-color);
}

body {
  margin: 0;
  padding: 0;
  font-family: "pxlsrf", Georgia;
  color: var(--primary-color);
  text-transform: lowercase;
}

#container {
  display: flex;
  flex-wrap: nowrap;
  position: relative;
  z-index: 1;
  align-items: center;
  justify-content: center;
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 20px;
}

#navbar {
  background-color: var(--secondary-color);
  padding: 20px;
  border: 7px groove var(--primary-color);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: start;
  width: 100%;
  max-width: 250px;
  position: relative;
  z-index: 10;
}

#navbar-icon {
  display: none;
}

#navbar a {
  display: block;
  color: var(--primary-color);
  text-decoration: none;
  margin: 5px 0;
  white-space: nowrap;
}

#navbar a:hover,
#navbar a:focus,
#fullscreen-navbar-menu a.clicked {
  color: var(--tertiary-color);
}

.navbar-item-button {
  color: rgb(20, 20, 20) !important;
  font-family: "pxlbld", Georgia bold;
  background-color: #c0c0c0;
  width: auto;
  padding: 5px 18px;
  text-align: center;
  box-sizing: border-box;

  transition: all 0.1s;
  transform: translateY(-2px);
  box-shadow: inset 1px 1px #fff, inset -1px -1px #000, 1px 1px 0 #808080;
}

.navbar-item-button:active,
.navbar-item-button.clicked {
  transform: translateY(0);
  box-shadow: inset -1px -1px #fff, inset 1px 1px #000, 0 1px 0 #808080;
}

button[type="submit"],
button[type="previous-page"],
button[type="next-page"] {
  color: rgb(20, 20, 20) !important;
  font-family: "pxlbld", Georgia bold;
  background-color: #c0c0c0;
  width: auto;
  padding: 5px 18px;
  text-align: center;
  box-sizing: border-box;

  transition: all 0.1s;
  transform: translateY(-2px);
  box-shadow: inset 1px 1px #fff, inset -1px -1px #000, 1px 1px 0 #808080;
}
button[type="submit"]:active,
button[type="submit"].clicked,
button[type="previous-page"]:active,
button[type="previous-page"].clicked,
button[type="next-page"]:active,
button[type="next-page"].clicked {
  transform: translateY(0);
  box-shadow: inset -1px -1px #fff, inset 1px 1px #000, 0 1px 0 #808080;
}

.vimeo-button {
  margin-top: 30px;
  color: rgb(20, 20, 20) !important;
  font-family: "pxlbld", Georgia bold;
  background-color: #c0c0c0;
  width: 300px;
  padding: 5px 18px;
  text-align: center;
  box-sizing: border-box;
  margin: 0 auto;
  display: block;

  transition: all 0.1s;
  transform: translateY(-2px);
  box-shadow: inset 1px 1px #fff, inset -1px -1px #000, 1px 1px 0 #808080;
}

.vimeo-button:active,
.vimeo-button.clicked {
  transform: translateY(0);
  box-shadow: inset -1px -1px #fff, inset 1px 1px #000, 0 1px 0 #808080;
}

.mail-button {
  margin-top: 30px;
  color: rgb(20, 20, 20) !important;
  font-family: "pxlbld", Georgia bold;
  background-color: #c0c0c0;
  width: 150px;
  padding: 5px 18px;
  text-align: center;
  box-sizing: border-box;
  margin-left: 0;
  margin-right: auto;
  display: block;
  position: relative;

  transition: all 0.1s;
  transform: translateY(-2px);
  box-shadow: inset 1px 1px #fff, inset -1px -1px #000, 1px 1px 0 #808080;
}

.mail-button:active,
.mail-button.clicked {
  transform: translateY(0);
  box-shadow: inset -1px -1px #fff, inset 1px 1px #000, 0 1px 0 #808080;
}

@media (max-width: 1540px) {
  .mail-button {
    margin: 20px auto;
  }
}

button[type="opennav"] {
  color: rgb(20, 20, 20);
  font-family: "pxlbld", Georgia bold;
  background-color: #c0c0c0;
  width: 300px;
  padding: 5px 18px;
  text-align: center;
  box-sizing: border-box;
  transition: all 0.1s;
  transform: translateY(-2px);
  box-shadow: inset 1px 1px #fff, inset -1px -1px #000, 1px 1px 0 #808080;
}

button[type="opennav"]:active,
button[type="opennav"].clicked {
  transform: translateY(0);
  box-shadow: inset -1px -1px #fff, inset 1px 1px #000, 0 1px 0 #808080;
}

.navbar-item-button-icon {
  color: rgb(20, 20, 20) !important;
  font-family: "pxlbld", Georgia bold;
  background-color: #c0c0c0;
  width: auto;
  padding: 5px 18px 5px 38px;
  text-align: left;
  box-sizing: border-box;
  transition: all 0.1s;
  transform: translateY(-2px);
  box-shadow: inset 1px 1px #fff, inset -1px -1px #000, 1px 1px 0 #808080;
  position: relative;
  display: flex;
  align-items: center;
}

.navbar-item-button-icon:active,
.navbar-item-button-icon.clicked {
  transform: translateY(0);
  box-shadow: inset -1px -1px #fff, inset 1px 1px #000, 0 1px 0 #808080;
}

.button-icon {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  height: 93%;
  width: auto;
  display: flex;
  align-items: center;
}

.button-icon img {
  height: 100%;
  width: auto;
  max-width: 20px;
}

#fullscreen-navbar-menu .navbar-item-button,
#fullscreen-navbar-menu .navbar-item-button-icon {
  color: rgb(20, 20, 20) !important;
  font-family: "pxlbld", Georgia bold;
  background-color: #c0c0c0;
  width: auto;
  padding: 5px 18px;
  text-align: center;
  box-sizing: border-box;
  transition: all 0.1s;
  transform: translateY(-2px);
  box-shadow: inset 1px 1px #fff, inset -1px -1px #000, 1px 1px 0 #808080;
}

#fullscreen-navbar-menu .navbar-item-button:active,
#fullscreen-navbar-menu .navbar-item-button.clicked,
#fullscreen-navbar-menu .navbar-item-button-icon:active,
#fullscreen-navbar-menu .navbar-item-button-icon.clicked {
  transform: translateY(0);
  box-shadow: inset -1px -1px #fff, inset 1px 1px #000, 0 1px 0 #808080;
}

#content {
  padding: 40px;
  background-color: var(--secondary-color);
  overflow-y: auto;
  flex-grow: 1;
  border: 7px groove var(--primary-color);
  width: 100%;
  max-height: 80vh;
  position: relative;
  scrollbar-width: thin;
  scrollbar-color: transparent transparent;
  transition: scrollbar-color 0.3s;
  box-sizing: border-box;
  font-size: 0.9em;
}

#content h1,
#content h2,
#content h3,
#content h4,
#content h5,
#content h6 {
  font-family: "pxlbld", Georgia bold;
}

#content p,
#content span,
#content div,
#content a,
#content li {
  font-family: "pxlsrf", Arial;
}

#content h2 {
  font-size: 1.2em;
}

#content:hover {
  scrollbar-color: var(--primary-color) transparent;
}

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

#content::-webkit-scrollbar-thumb {
  background-color: transparent;
  transition: background-color 0.3s;
}

#content:hover::-webkit-scrollbar-thumb {
  background-color: var(--primary-color);
}

#writing-content h1,
#writing-content h2,
#writing-content h3,
#writing-content h4,
#writing-content h5,
#writing-content h6 {
  font-family: "pxlbld", Georgia bold;
}

#writing-content p,
#writing-content span,
#writing-content div,
#writing-content a,
#writing-content li {
  font-family: "pxlsrf", Arial;
}

#writing-content h2 {
  font-size: 1.2em;
}

#writing-content h1 {
  font-size: 2.3em;
  margin-bottom: -20px;
}

#writing-content:hover {
  scrollbar-color: var(--primary-color) transparent;
}

#writing-content::-webkit-scrollbar {
  width: 8px;
}

#writing-content::-webkit-scrollbar-thumb {
  background-color: transparent;
  transition: background-color 0.3s;
}

#writing-content:hover::-webkit-scrollbar-thumb {
  background-color: var(--primary-color);
}

textarea,
input[type="text"],
input[type="email"] {
  background-color: var(--tertiary-color);
  border: 3px solid var(--border-color);
  width: 100%;
  box-sizing: border-box;
}

.submenu,
.submenu-fullscreen {
  display: none;
}

.submenu {
  position: absolute;
  left: 100%;
  top: 0;
  background-color: var(--secondary-color);
  padding: 20px;
  border: 7px groove var(--primary-color);
  white-space: nowrap;
  z-index: 100;
}

.submenu,
.submenu-fullscreen {
  display: none;
}

.submenu {
  position: absolute;
  left: 100%;
  top: 0;
  background-color: var(--secondary-color);
  padding: 20px;
  border: 7px groove var(--primary-color);
  white-space: nowrap;
  z-index: 100;
}

.submenu-fullscreen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--secondary-color);
  z-index: 1000;
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: auto;
}

#fullscreen-navbar-menu .submenu-fullscreen a:nth-child(1) {
  margin: 25px 0;
}

#fullscreen-navbar-menu .submenu-fullscreen a {
  display: block;
  color: var(--primary-color);
  text-decoration: none;
  padding: 5px 20px;
  white-space: nowrap;
  font-family: "pxlbld", Georgia bold;
  font-size: 15px;
  width: 45%;
  max-width: 300px;
  min-width: 300px;
  text-align: center;
  margin: 5px 0;
}

.submenu-open {
  display: flex;
}

#fullscreen-navbar-menu {
  display: none;
}

#fullscreen-navbar-menu.open {
  display: flex;
}

#hovermenu-submenu {
  display: none;
}

#hovermenu-submenu.open {
  display: flex;
  flex-direction: column;
}

@media (min-width: 768px) {
  #container {
    flex-wrap: nowrap;
    flex-direction: row;
    height: 100vh;
  }

  #navbar {
    flex-basis: 250px;
    align-items: flex-start;
    width: 250px;
  }

  #content {
    flex-grow: 1;
  }

  #hovermenu:hover .submenu {
    display: block;
  }

  .submenu-fullscreen {
    display: none !important;
  }
}

@media (max-width: 767px) {
  #navbar {
    display: none;
  }

  #navbar-icon {
    display: block;
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 15px;
    z-index: 1001;
  }

  #fullscreen-navbar-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--secondary-color);
    z-index: 1000;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: auto;
  }

  #fullscreen-navbar-menu.open {
    display: flex;
  }

  #fullscreen-navbar-menu a {
    display: block;
    color: var(--primary-color);
    text-decoration: none;
    margin: 10px 0;
    white-space: nowrap;
    min-width: 300px;
    font-family: "pxlbld", Georgia bold;
    font-size: 15px;
  }

  #content {
    padding: 20px;
    max-height: none;
    height: auto;
    overflow-y: visible;
    max-width: 100%;
    width: calc(100% - 20px);
    margin-right: auto;
    margin-left: auto;
    margin-top: 100px;
  }
}

canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.entry {
  background-color: var(--secondary-color);
  border: 4px inset var(--primary-color);
  padding: 10px;
  margin-bottom: 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  word-wrap: break-word;
}

.entry-email,
.entry-website {
  font-family: "pxlsrf", Georgia;
  color: var(--tertiary-color);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 100%;
  box-sizing: border-box;
}

.entry-name {
  font-family: "pxlbld", Georgia bold !important;
  padding-top: 5px;
  color: var(--primary-color);
  /* font-size: 1em; */
}

.entry-message {
  font-family: "pxlsrf", Georgia;
  padding-top: 5px;
  color: var(--primary-color);
}
@media (max-width: 768px) {
  .entry-message {
    font-size: 0.9em;
  }
}

/* photo page */
.image-gallery {
  column-count: 2;
  column-gap: 10px;
  margin: 20px;
}

.image-gallery img {
  width: 100%;
  display: block;
  margin-bottom: 10px;
}

@media screen and (max-width: 767px) {
  .image-gallery {
    column-count: 1;
  }
}

.fullscreen-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 1002;
  visibility: hidden;
}

.fullscreen-container.show {
  opacity: 1;
  transform: scale(1);
  visibility: visible;
}

.fullscreen-container img {
  max-width: 90%;
  max-height: 90%;
}

.close-fullscreen {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 30px;
  color: white;
  cursor: pointer;
}

.content-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.text-content {
  flex: 1;
  padding-right: 20px;
}

.pfp {
  width: 300px;
  flex-shrink: 0;
}

.pfp img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 1540px) {
  .content-wrapper {
    flex-direction: column;
    align-items: flex-start;
  }

  .text-content {
    width: 100%;
    padding-right: 0;
  }

  .pfp {
    width: 100%;
    max-width: 300px;
    margin-top: 20px;
    margin: 20px auto;
  }
}

.introduction-section {
  position: relative;
  display: flex;
  /* flex-direction: column; */
  align-items: center;
  margin: 20px;
}

.intro-image {
  width: 100%;
  max-width: 600px;
  padding-bottom: 20px;
  padding-right: 40px;
}

.intro-image img {
  width: 100%;
  height: auto;
}

.video-container-3d {
  flex: 1;
  position: relative;
  width: 32%;
  height: 0;
  padding-bottom: 18%;
  overflow: hidden;
}

.video-container-3d iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.video-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
  width: 100%;
}

@media (max-width: 767px) {
  .video-row {
    flex-direction: column;
    align-items: center;
  }

  .video-container-3d {
    width: 100%;
    padding-bottom: 56.25%;
    margin-bottom: 20px;
  }
}

.intro-content {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.intro-infos {
  font-family: "pxlbld", Georgia;
  /* font-size: 1.1em; */
  color: var(--primary-color);
  padding-left: 30px;
  padding-bottom: 20px;
  line-height: 1;
}

.divider {
  display: block;
  width: 100%;
  height: auto;
  margin: 20px 0;
}

@media (max-width: 768px) {
  .introduction-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin: 10px;
  }

  #content p,
  #content h1,
  #content h2,
  #content h3,
  #content h4,
  #content h5,
  #content h6 {
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .intro-text,
  .intro-text p {
    width: 100%;
  }

  .intro-text p {
    margin: 0 0 10px;
  }

  #content {
    font-size: 0.9em;
  }

  #content h1 {
    font-size: 2.2em;
  }

  #content h2 {
    font-size: 1.2em;
  }

  #content h3 {
    font-size: 1.5em;
  }

  #content h4 {
    font-size: 1.25em;
  }

  #content h5 {
    font-size: 1em;
  }

  #content h6 {
    font-size: 0.875em;
  }
}

@media (max-width: 1540px) {
  .introduction-section {
    flex-direction: column;
  }

  .intro-image {
    margin-bottom: 0px;
    padding-right: 0;
    margin-left: auto;
    margin-right: auto;
  }

  .intro-infos {
    text-align: center;
    padding-left: 0px;
    padding-bottom: 20px;
    line-height: 1.3;
    font-size: 0.95em;
  }
}

.intro-text h1 {
  font-size: 3em;
}

.intro-text {
  max-width: 45em;
  margin: 0 auto;
  line-height: 1.3;
}

.intro-text p {
  text-align: justify;
}

.separator {
  border: none;
  border-top: 5px groove var(--primary-color);
  margin: 20px 0;
}

/* Swap Animation */
@keyframes swap {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(0.8);
  }
  100% {
    transform: scale(1);
  }
}

.swap-animation {
  animation: swap 1s ease;
}

/* cursor animation */
@media screen and (min-width: 767px) {
  .wave {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    transform: scale(0);
    animation: wave 1s ease-out;
    z-index: 1003;
  }

  .wave:nth-child(1) {
    background-color: rgba(255, 255, 255, 0.5);
  }

  .wave:nth-child(2) {
    background-color: var(--primary-color);
    animation-delay: 0.1s;
  }

  .wave:nth-child(3) {
    background-color: var(--tertiary-color);
    animation-delay: 0.2s;
  }

  @keyframes wave {
    to {
      transform: scale(1);
      opacity: 0;
    }
  }
}

/* music player */
#winamp {
  background-color: transparent;
  margin: 0;
  padding: 0;
}

.playlist {
  flex-grow: 1;
  overflow-y: auto;
  background-color: var(--secondary-color);
  padding: 10px;
}

.player {
  padding: 10px;
}

.controls {
  margin-bottom: 10px;
  display: flex;
  justify-content: center;
}

.control-btn {
  font-family: "pxlbld", Georgia bold;
  font-size: 14px;
  color: rgb(20, 20, 20);
  background: #c0c0c0;
  border: 2px solid #808080;
  padding: 5px 10px;
  margin: 0 5px;
  box-shadow: inset 1px 1px #fff, inset -1px -1px #000;
  touch-action: manipulation;
}

.control-btn:active,
.control-btn.pressed {
  border-style: inset;
  box-shadow: inset -1px -1px #fff, inset 1px 1px #000;
}

.progress-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: "pxlbld", Georgia bold;
  color: var(--primary-color);
}

#progress-bar {
  flex-grow: 1;
  margin: 0 10px;
  -webkit-appearance: none;
  appearance: none;
  background: #c0c0c0;
  border: 2px solid #808080;
  box-shadow: inset 1px 1px #fff, inset -1px -1px #000;
  height: 8px;
  touch-action: none;
}

#progress-bar::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  border: 2px solid #808080;
  box-shadow: inset 1px 1px #fff, inset -1px -1px #000;
  width: 14px;
  height: 20px;
  background: var(--primary-color);
}

#progress-bar::-moz-range-thumb {
  width: 14px;
  height: 20px;
  background: var(--primary-color);
}

audio {
  width: 100%;
}

.playlist-item {
  color: var(--primary-color);
  padding: 5px;
}

.playlist-item:hover {
  background-color: #222;
}

.playlist-item.playing {
  color: var(--tertiary-color);
}

.responsive-cover {
  display: block;
  margin: 0 auto 20px auto;
  width: 100%;
  max-width: 500px;
  height: auto;
  cursor: pointer;
}

@media (max-width: 768px) {
  .control-btn {
    padding: 5px;
    font-size: 12px;
  }

  .progress-container {
    flex-direction: column;
    align-items: flex-start;
  }

  #progress-bar {
    margin-top: 5px;
    width: 100%;
  }
}

.album-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 10px 0;
}

.album-category {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.album {
  cursor: pointer;
  padding: 10px;
  text-align: center;
  width: calc(33% - 20px);
  box-sizing: border-box;
  background-color: var(--secondary-color);
}

.album img {
  width: 100%;
  height: auto;
}

.album h3,
.album p {
  margin: 5px 0;
  font-family: "pxlbld", Georgia bold;
}

.album-details-wrapper {
  display: flex;
  gap: 20px;
  padding: 20px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.album-cover {
  flex: 0 1 auto;
  width: 100%;
  max-width: 40%;
  height: auto;
  cursor: pointer;
}

.album-info {
  flex-grow: 1;
  min-width: 200px;
}

.album-title,
.album-artist,
.album-tracks {
  margin: 10px 0;
  font-family: "pxlbld", Georgia bold;
}

.album-title:hover,
.album-artist:hover {
  text-decoration: underline;
}

.album-tracks {
  list-style: none;
  padding: 0;
  counter-reset: track-number;
}

.album-tracks li {
  margin-bottom: 0;
  padding: 2px 0;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.album-tracks li::before {
  counter-increment: track-number;
  margin-right: 5px;
}

@media (max-width: 768px) {
  .album-details-wrapper {
    flex-direction: column;
    align-items: center;
  }

  .album-info {
    text-align: center;
  }

  .album-cover {
    width: 100%;
    max-width: none;
  }

  .album h3 {
    font-size: 0.8em;
  }

  .album p {
    font-size: 0.9em;
  }
  .album-category {
    flex-direction: column;
    font-size: 0.7em;
  }

  .album-tracks li {
    font-size: 0.9em;
  }

  .album-artist {
    font-size: 0.9em;
  }

  .album {
    width: 100%;
  }
}

#content .category {
  font-family: "pxlbld", Georgia bold;
  font-size: 1.5em;
  margin: 10px 10px;
}

#back-btn {
  font-family: "pxlbld", Georgia bold;
  font-size: 14px;
  color: rgb(20, 20, 20);
  background: #c0c0c0;
  border: 2px solid #808080;
  padding: 5px 10px;
  margin: 30px;
  box-shadow: inset 1px 1px #fff, inset -1px -1px #000;
}

#back-btn:active {
  border-style: inset;
  box-shadow: inset -1px -1px #fff, inset 1px 1px #000;
}

/* overview page */

/* Existing styles */
.overview-grid {
  column-count: 2;
  column-gap: 50px;
  margin: 20px;
}

.overview-grid img {
  width: 100%;
  display: block;
  margin-bottom: 10px;
}

/* Placeholder styles */
.grid-item.placeholder {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  background-color: #f0f0f030;
}

.grid-item img {
  width: 100%;
  height: auto;
}

.grid-item.placeholder img {
  width: 100%;
  height: auto;
  display: block;
}

.grid-item h2 {
  font-size: 1em;
  margin: 0px 0 50px;
}

.placeholder h2 {
  position: absolute;
  top: 100%;
  left: 100%;
  transform: translate(-50%, -50%);
  margin: 0;
  font-size: 1.5em;
  color: #999;
  text-align: center;
}

@media screen and (max-width: 767px) {
  .overview-grid {
    column-count: 1;
  }
}

#writing-content {
  padding: 40px 0;
  background-color: var(--secondary-color);
  overflow-y: auto;
  flex-grow: 1;
  border: 7px groove var(--primary-color);
  width: 100%;
  max-height: 80vh;
  position: relative;
  scrollbar-width: thin;
  scrollbar-color: transparent transparent;
  transition: scrollbar-color 0.3s;
  box-sizing: border-box;
  font-size: 0.9em;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.writing-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 1000px;
}

.conversations-cover-image {
  width: 92%;
  /* margin: 20px auto; */
}

.conversations-cover-image img {
  width: 100%;
  height: auto;
}

.conversations-text {
  width: 100%;
  font-size: 1.1em;
  padding: 0 100px;
  box-sizing: border-box;
  text-align: justify;
}

.conversations-image {
  width: 100%;
  clear: left;
}

.conversations-image img {
  width: 100%;
  height: auto;
}

.conversations-text p {
  margin-bottom: 20px;
}

.conversations-text p:after {
  content: "";
  display: table;
  clear: both;
}
.writing-separator {
  text-align: center;
  padding-left: 0px;
  padding-bottom: 20px;
  line-height: 1.3;
  font-size: 0.95em;
}

@media (max-width: 767px) {
  .conversations-text {
    padding: 0 20px;
  }

  .conversations-cover-image {
    width: 90%;
    margin: 20px auto;
  }

  .conversations-image {
    width: 100%;
    float: none;
    margin: 20px 0;
  }

  #writing-content {
    font-size: 0.8em;
    padding: 10px;
    max-height: none;
    height: auto;
    overflow-y: visible;
    max-width: 100%;
    width: calc(100% - 20px);
    margin-right: auto;
    margin-left: auto;
    margin-top: 100px;
  }

  #writing-content h1 {
    font-size: 2.1em;
    margin-bottom: -10px;
  }

  #writing-content h2 {
    font-size: 1.1em;
  }
}
