@import "/static/css/root.css";
@import "/static/css/window.css";
@import "/static/css/footer.css";
@import "/static/css/papernote.css";
@import "/static/css/button.css";
@import "/static/css/text.css";
@import "/static/css/color.css";

:root {
  --border-thickness: 2px;
}


body {
  background-color: var(--primary);
  color: var(--text-main);
  font-family: var(--font-mono);
  font-size: 16px;

  line-height: 1.5;
  margin-top: 10px;
  width:100vw;
  min-height: 100vh;
  display: grid;
  gap: 12px; /* Spaces between grid elements */
  box-sizing: border-box;

  grid-template-columns: 10px 1fr 2fr 2fr 10px ;

  grid-template-areas: 
    ".      nav    header  header   ."
    ".      aside  aboutMe aboutMe  ."
    ".      aside  rooms   goodies  ."
    "footer footer footer  footer   .";
}
body > :not(footer){
    width: 100%;
}
nav {
    grid-area: nav;
}
header {
    grid-area: header;
}
aside {
    grid-area: aside;
}
footer {
    grid-area: footer;
}

#aboutMe {grid-area: aboutMe;}
#rooms {grid-area: rooms;}
#goodies {grid-area: goodies;}
#webring {grid-area: webring;}


@media (max-width: 800px) {
body {
  grid-template-columns: 5px 1fr 5px ;

  grid-template-areas: 
    ". nav     ."
    ". header  ."
    ". aboutMe ."
    ". aside   ."
    ". rooms   ."
    ". goodies ."
    "footer footer footer";
   
    font-size: 0.9rem;
}
}

