@font-face {
  font-family: "Bagnard";
  src: url("../fonts/Bagnard-master/Bagnard.otf") format("opentype");
}
@font-face {
  font-family: "Archivo";
  src: url("../fonts/Archivo/Archivo-Regular.otf") format("opentype");
}
body {
  margin: 0;
  font-family: Archivo;
  background-color: #fff4e9;
  color: #333;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}
body h1 {
  font-family: "Bagnard";
}
body h2 {
  font-family: "Bagnard";
}

.header {
  font-family: "Bagnard";
  font-size: 2rem;
  color: #fff4e9;
  top: 0;
  z-index: 1000;
  background-color: #333;
  text-align: center;
  width: 100%;
  padding: 1.25rem 1rem;
  line-height: 1;
  box-sizing: border-box;
}
.header h1 {
  margin: 0;
  letter-spacing: 0.05em;
  word-break: break-word;
}

.footer {
  font-family: "Bagnard";
  font-size: 1rem;
  color: #fff4e9;
  top: 0;
  z-index: 1000;
  background-color: #333;
  text-align: center;
  width: 100%;
  padding: 1rem;
  line-height: 1;
  box-sizing: border-box;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.content-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  background-image: url("../images/tile.svg");
  background-repeat: repeat;
  background-size: 100px 100px;
  overflow: auto;
}

.main {
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 80vw;
  box-sizing: border-box;
  border-style: inset;
  padding: 2rem;
  gap: 1rem;
  background-color: rgba(255, 244, 233, 0.7);
  overflow: auto;
}

.vertical-stack {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  align-items: center;
  justify-content: center;
}

.button-group,
.pagedoll {
  flex: 1 1 0;
  min-width: 0;
}

.post-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  justify-content: center;
}

.button-group {
  display: flex;
  flex-direction: column;
  width: 20vw;
  gap: 1rem;
  align-items: center;
  justify-content: center;
}

.index-button {
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 10vh;
  width: 30vw;
  box-sizing: border-box;
  flex-direction: column;
  font-size: 3rem;
  padding: 1rem;
  color: #fff4e9;
  font-family: "Bagnard";
  background-color: #333;
}

.pagedoll {
  width: 20vw;
  height: 60vh;
  object-fit: fill; /* explicitly allow distortion */
}

.sidebar-sort {
  display: flex;
  flex: 1;
  min-height: 0;
}

.sidebar,
.sidebar-background {
  left: 0;
  padding: 1.25rem;
  width: 15rem;
  box-sizing: border-box;
  align-self: flex-start;
  line-height: 2;
}
.sidebar.sidebar,
.sidebar-background.sidebar {
  color: #fff4e9;
  font-family: "Bagnard";
  height: fit-content;
  position: sticky;
  font-size: 2rem;
  top: 40px;
  z-index: 0;
}
.sidebar.sidebar-background,
.sidebar-background.sidebar-background {
  display: flex;
  background-color: #333;
  flex: 1;
  z-index: -1;
  height: 100%;
}

.mobile-hamburger {
  display: none;
  position: fixed;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 1100;
  font-size: 1rem;
  color: #fff4e9;
  font-family: "Bagnard";
  background-color: #333;
  border: none;
  cursor: pointer;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  color: #fff4e9;
  font-family: "Bagnard";
  background-color: #333;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.2);
  z-index: 1000;
}
.mobile-menu ul {
  top: 2rem;
}

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

@media (max-width: 768px) {
  .mobile-hamburger {
    display: block;
  }
  sidebar {
    display: none;
  }
  .mobile-menu.open {
    display: block;
  }
  .header {
    position: fixed;
    font-size: 0.9rem;
    padding: 1rem;
  }
  .index-button {
    font-size: 1.25rem;
    width: 35vw;
  }
  .content-wrapper {
    padding-top: 5rem;
  }
  img {
    max-width: 40vw;
    height: auto;
  }
}
@media (max-width: 480px) {
  .header {
    font-size: 0.65rem;
    padding: 0.5rem 0.25rem;
  }
  .content-wrapper {
    padding-top: 3rem;
  }
}

/*# sourceMappingURL=main.css.map */