
body {
  margin: 0;
  background: black;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.page {
  aspect-ratio: 4 / 3;
  width: min(100vw, 133.33vh);
  height: min(75vw, 100vh);
  position: relative;
  display: grid;             /* New: Create a grid */
  grid-template-areas: "stack"; 
  overflow-y: auto;          /* Enables scrolling inside the 4:3 box */
  overflow-x: hidden;
  scrollbar-width: none;     /* Hides scrollbars */
}

.page::-webkit-scrollbar { display: none; }

.sbs {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.sbsright {
  align-self: flex-end;
  margin-bottom: -20px;
}

.main-content {
  width: 70%;
  max-width: 1200px;
  margin: 30px auto;
  padding: 30px;
  position: relative;
  z-index: 1;
}

.nav-container {
  width: 100%;
  margin-top: -60px;
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 10;
}
  
.sidebar a:link,
.sidebar a:visited,
.sidebar a:active {
    color: #000;
    text-decoration: none;
}  

.sidebar {
  width: 100%;
  text-align: center;
  transform: rotate(-1deg);
  font-family: 'Courier New', Courier, monospace; 
}
  
.scroll-container {
  height: 100vh;
  overflow-y: auto;
  position: relative; /* This is the key anchor */
}

.plaintext {
  justify-content: center;
  align-items: center;
  width: 100%;
  text-align: center;
  font-family: 'Courier New', Courier, monospace; 
}

.plaintext2 {
  justify-content: center;
  align-items: center;
  display: flex;
  margin: auto;
  width: 80%;
  font-family: 'Courier New', Courier, monospace; 
}

.windowleft {
  margin-left: 70px;
  font-family: 'Courier New', Courier, monospace;
  top: 20px;
  height: fit-content;
  transform: rotate(1deg);
  text-align: center;
  width: 40%;
  background: url('assets/wbg.png') no-repeat;
  background-size: cover;
}
  
.windowleft a:link,
.windowleft a:visited,
.windowleft a:active {
    color: #fff;
}    
  
.windowright {
  margin-right: 70px;
  font-family: 'Courier New', Courier, monospace;
  top: 20px;
  height: fit-content;
  transform: rotate(-1deg);
  text-align: center;
  width: 40%;
  background: url('assets/wbg.png') no-repeat;
  background-size: cover;
}
  
.windowright a:link,
.windowright a:visited,
.windowright a:active {
  color: #fff;
}  

.windowright2 {
  margin-right: 70px;
  font-family: 'Courier New', Courier, monospace;
  top: 20px;
  height: fit-content;
  transform: rotate(-1deg);
  text-align: left;
  text-indent: 50px;
  width: 100%;
  background: url('assets/wbg.png') no-repeat;
  background-size: cover;
}
  
.windowright2 a {
  text-align: center;
}
  
.windowright2 a:link,
.windowright2 a:visited,
.windowright2 a:active {
  color: #fff;
}
  
.windowright3 {
  margin-right: 70px;
  font-family: 'Courier New', Courier, monospace;
  top: 20px;
  height: fit-content;
  transform: rotate(1deg);
  text-align: center;
  width: 100%;
  background: url('assets/wbg.png') no-repeat;
  background-size: cover;
}
  
.windowright3 a:link,
.windowright3 a:visited,
.windowright3 a:active {
  color: #fff;
}

.windowcenter {
  margin-right: 70px;
  color: #000;
  font-family: 'Courier New', Courier, monospace;
  height: fit-content;
  text-align: center;
  width: 75%;
  background-size: fit;
  background-size: cover;
}

.windowcenter2 {
  color: #000;
  font-family: 'Courier New', Courier, monospace;
  height: fit-content;
  text-align: center;
  width: 75%;
  background-size: fit;
  background-size: cover;
}
  
.windows {  
  display: flex;
  justify-content: space-between;
}
  
.overlay-image,
.overlay-image2,
.overlay-image3 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.overlay-image { z-index:9999; }
.overlay-image2 { z-index:-2; }
.overlay-image3 { z-index:9998; }
