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" } .menu-button { visibility: hidden; } header { grid-area: header; } 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; } @media only screen and (max-width: 600px) { body { grid-template-areas: "header" "main " "footer"; } .menu-header { font-size: 4vw; width: 20vw; height: 31vw; } .menu-button { visibility: visible; } .hide-menu { grid-template-areas: "header" "main " "footer"; } .print-menu { grid-template-areas: "header" "Menu" "main" "main" "footer"; } .print-menu > aside { max-width: unset; } aside > nav { margin-left: 30px; } nav ul { display: flex; flex-wrap: wrap; align-content: center; text-align: center; gap: 20px; } nav li { word-break: keep-all; width: 115px; height: 100px; } nav .icons { width: 80px; height: 50px; } } 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); } article { text-align: center; } /* 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); }