.nav
|
display: grid
|
grid-gap: 1rem
|
padding: 0 1.5rem !important
|
align-items: center
|
background-color: var(--bg)
|
@media screen and (min-width: 992px)
|
grid-template-columns: 10rem 1fr
|
&_brand
|
position: relative
|
picture, img
|
max-width: 10rem
|
&_header
|
position: absolute
|
top: 0
|
left: 0
|
width: 100%
|
background-color: var(--bg)
|
z-index: 999999
|
&_toggle
|
position: absolute
|
top: 0
|
bottom: 0
|
width: 3rem
|
display: grid
|
align-items: center
|
text-align: center
|
right: 0
|
color: var(--text)
|
@media screen and (min-width: 992px)
|
display: none
|
&_body
|
display: flex
|
flex-direction: column
|
background: var(--accent)
|
position: fixed
|
height: 100vh
|
transform: translateX(-101vw)
|
@media screen and (min-width: 992px)
|
transform: translateX(0)
|
position: relative
|
height: initial
|
justify-content: flex-end
|
background: transparent
|
flex-direction: row
|
&-link
|
display: inline-flex
|
padding: 0.5rem 1rem
|
&-item
|
display: grid
|
align-items: center
|
.search
|
@media screen and (min-width: 992px)
|
margin-right: 1.5rem
|