body { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr; grid-template-rows: 0.1fr 1fr 0.1fr; gap: 3px 5px; grid-template-areas: "Menu Menu header header header header header" "Menu Menu main main main main main" "Menu Menu footer footer footer footer footer" } header{ grid-area: header; width: 100%; } body > main { width: 75%; } main { grid-area: main; text-align: justify; overflow-y: scroll; } body > main > h1, h2, h3, h4, h5 { text-align: center; } main > nav { margin-bottom: 4vw; } aside { grid-area: Menu; border-right: 5px solid; border-color: var(--pico-primary); margin-bottom: 10vw; max-width: 25vw; } aside .logo { min-height: 7vw; } aside h4 { text-align: left; } footer { grid-area: footer; text-align: center; } .center { text-align: center; } .flashed { list-style-type: none; position: center; margin: auto; margin-top: 5%; width: 50%; } .flashed p { font-family: sans-serif; text-align: center; border-radius: 3px; } .success p { background-color: var(--pico-color-green-550); color: var(--pico-color-green-50); } .error p { background-color: var(--pico-color-red-550); color: var(--pico-color-red-50); } /* Navigation */ header > nav { display: flex; justify-content: flex-end; gap: 10px; } aside > nav { padding-left: 1.5vw; } aside ul { max-width: 96%; } nav > ul:first-of-type, ul { margin-left: calc(var(--pico-nav-element-spacing-horizontal) * 1); line-height: 1; } /* Gallery */ .gallery { display: flex; flex-wrap: wrap; justify-content: center; gap: 5px; } .picture{ text-align: center; .danger { color: red; } .invert { background-color: var(--pico-color); color: var(--pico-color-grey-950); }