/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

.page-container {
  display: grid;
  grid: 3.5rem 1fr / 1fr;
  grid-template-areas: "nav" "main";
  min-height: 100vh;
}

nav { grid-area: nav; }
main { grid-area: main; }

main {
  grid-area: main;
  position: relative;
}

main::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: var(--wallpaper);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: inset 0 0 0 100vw var(--overlay);
  z-index: 0;
  background-attachment: fixed;
}

main > * {
  position: relative;
  z-index: 1;
}

.main-container {
  position: relative;
  display: flex;
  flex-direction: column;
  height: calc(100dvh - 66px);
  margin-top: 0.25rem;
  margin-left: 1rem;
  margin-right: 1rem;
  border-radius: 0.375rem;
}
