body {
    background: white;
    color: black;
    font-family: 'Helvetica Neue', Helvetica, sans-serif;
    margin: 0;
    padding: 0;
    font-size: 16px; /* Adjusted for better mobile readability */
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
}

#wrapper {
    display: flex;
    flex-direction: column;
    white-space: normal;
    overflow-x: hidden;
}

.site-title {
  position: fixed;
  top: 5.5vh; /* Center vertically */
  left: 50%; /* Center horizontally */
  transform: translate(-50%, -50%); /* Centering trick */
  z-index: 12;
  text-align: center;
}

header {
  width: 250px;
  height: 100vh;
  background: white;
  padding-left: 30px;
  z-index: 13;
  position: fixed;
  top: 0;
  left: 0; /* Initially hide the header off-screen */
  overflow-y: auto;
  transition: left 0.3s ease; /* Add smooth transition effect */
}

a {
  color: black;
  text-decoration: none;
}

h1 {
  margin: 0;
  font-size: 3vh;
  font-weight: bold;
  letter-spacing: 0.3em;
}

h2 {
  font-weight: 300;
  font-size: 65%;
}

nav {
    display: flex;
    flex-direction: column;
    left: 0;
    justify-content: space-between;
    padding: 10vh 15px 0 0;
    height: auto;
}

ul {
  padding: 0;
  letter-spacing: 0.1em;
  margin: 0;
}

nav ul li {
  font-weight: 300;
  font-size: 2vh;
  margin-top: 7px;
  list-style-type: none;
}

.instaLink img {
  margin-top: 5px;
  width: 12px;
}

footer {
  position: absolute;
  bottom: 0;
  width: 80%;
  font-size: 1.2vh;
  font-style: italic;
  line-height: 1.9em;
  padding-bottom: 12vw;
  white-space: normal;
}

.footer .copyright {
  font-style: normal;
  text-transform: uppercase;
}

.current:hover {
  font-style: italic;
  color: #bdecef;
}

.hover:hover {
  text-decoration: none;
  color: #bdecef;
}

.main-content {
  white-space: normal;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow-x: hidden;
  margin-left: 0;
  margin-top: 11vh;
}

.post img {
    width: 90vw;
    height: auto;
    max-height: 100vh; /* Adjusted for variable height on mobile */
}

.embed-video video {
  width: 90vw;
  max-width: 90vw;
  height: auto;
}

.embed-iframe iframe {
  max-width: 90vw;
  height: 50vw;
}

.embed-iframe {
  text-align: center;
}

.post-link {
    font-size: 14px;
    width: 100%;
    text-align: center; /* Centered text for better mobile display */
    margin-bottom: 8vw;
}

#menu-button {
    display: block;
    position: fixed;
    top: 2.5vh;
    left: 3vh;
    z-index: 15;
    cursor: pointer;
}

#menu-button div {
    width: 30px;
    height: 3px;
    background-color: black;
    margin: 6px 0;
    transition: 0.4s;
}

#menu-button.open div:nth-child(1) {
    transform: rotate(-45deg) translate(-8px, 7px);
}

#menu-button.open div:nth-child(2) {
    opacity: 0;
}

#menu-button.open div:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -5px);
}

#wrapper {
    overflow: hidden;
}

#header {
    width: 200px;
    margin-left: -250px;
    transition: margin-left 0.5s;
}

#wrapper.menu-open #header {
    margin-left: 0;
}
