html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  background: none;
  color: #000000;
  font-family: 'Verdana', Times, serif;
  font-size: 16px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: start;
}

body {
  flex-direction: column;
  align-items: center;
  padding-top: 2vh;
  gap: 1.2vh;
}

.photo {
  width: 28.125em;
  height: auto;
  border: 1px solid #000;
  margin-top: -2vh;
  margin-bottom: 4vh;
}

.title {
  font-size: 32px;
  margin: 0.5em 0 0 0;
  text-align: center;
}

.nav {
  list-style-type: none;
  padding: 0;
  margin: 0.5em 0;
}

.nav li {
  margin: 0.4em 0;
  text-align: center;
}

.nav a {
  text-decoration: underline;
  color: #0000ee;
}

.nav a:visited {
  color: #1E60FF;
}

.footer {
  font-size: 12px;
  color: #333;
  margin-top: auto;
  padding-bottom: 1vh;
  text-align: center;
}

.about-button {
  background-color: #ffffff;
  color: #000000;
  border: 1px solid #000000;
  font-family: 'Times New Roman', Times, serif;
  font-size: 16px;
  padding: 0.3em 1em;
  cursor: pointer;
  margin-bottom: 0.8em;
}

.about-section {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1em;
  width: 80%;
  text-align: center;
  transition: max-height 0.5s ease;
  max-height: 0;
  overflow: hidden;
}

.about-section.open {
  max-height: 300px;
}

.about-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1em;
}

.about-content p {
  max-width: 300px;
}

.about-image {
  width: 80px;
  height: auto;
  object-fit: contain;
  border: 1px solid #000;
}
.spacer {
  height: 30vh;
}
.content-box {
  background-color: rgba(255, 255, 255, 0.7);
  padding: 0.5em 1em 1em 1em;
  border: none;
  border-radius: 0px;
  backdrop-filter: blur(3px);
  margin-top: 1em;
}

.win95-popup {
  border: 2px solid #000;
  background-color: #c0c0c0;
  box-shadow: 4px 4px #808080;
  font-family: "MS Sans Serif", Tahoma, sans-serif;
  display: inline-flex;
  flex-direction: column;
  align-items: stretch;
  max-width: 90vw;
  margin: 1em auto;
  overflow: hidden;
  position: relative;
  z-index: 2;
}

.win95-header {
  background-color: #0000ee;
  color: white;
  padding: 4px 8px;
  font-weight: bold;
  display: flex;
  align-items: center;
  font-size: 1rem;
}

.win95-title {
  flex-grow: 1;
  text-align: left;
}

.win95-content {
  padding: 0.5rem;
  background-color: #c0c0c0; 
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  justify-content: center;
}

#draggable {
  cursor: move;
  z-index: 10000;
}


.top-left-gif {
  position: fixed;
  top: 2em;
  left: 2em;
  z-index: 9999;
  pointer-events: auto;
  width: 7%;
  cursor: pointer;
  transition: opacity 200ms ease-in;
  will-change: opacity;
  contain: paint;
  backface-visibility: hidden;
}

.nav-under-gif {
  position: fixed;
  z-index: 1;            /* below the nav window (z=2) */
  pointer-events: auto;  /* allow clicks */
  cursor: pointer;
  width: 4em;
  height: auto;
  margin: 0;
  display: block;
}

#draggable-container { position: relative; }
/* Home header Win95 wrapper tweaks */
.home-header-box .photo {
  width: 23em; /* 15% smaller than 28.125em */
  height: auto;
  margin: 0;            /* cancel global negative/top margins inside the box */
  display: block;       /* remove inline-gap quirks */
}

.home-header-box .win95-content {
  padding: 0;           /* no extra padding around the header GIF */
}