header {
    max-width: 800px;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    top: 0;
    position:sticky;
    height: 50px;
    background: #927d9c;
    z-index: 1;
}
header label {
    display: initial;
}
.navbar {
    display: none;
    position: absolute;
    top: 100%; left: 0;right:0;
    background: white;
    padding: 0;
    transition: 1000ms;
}
.navbar ul li {
    transition: 0.3s;
    width: 100%;
}
.navbar ul li a {
    width: 100%;
    transition: 0.3s;
}
.navbar ul li ul {
    position: relative;
    width: 100%;
}
.navbar ul li ul li {
    background: #eee;
}
.navbar ul li ul li ul {
    width: 100%;
    left: 0;
}
#nav-toggle{
    display: none;
}
#nav-toggle:checked ~ .navbar {
    display:initial;
}




/* 
.navbar {
    padding-top: 10px;

}
.navbar ul {
    font-size: .85rem;
}
.navbar ul li {
    position: relative;
    float: left;

}
.navbar ul li a {
    color: #eee;
    display: block;
    background: #a989b8;
    padding: 6px;
    /* padding-left: 6px; 
    width: 100px;
    z-index: 3;
}
.navbar ul li a:hover {
    color: white;
}
.navbar ul li ul {
    position: absolute;
    left: 0;
    width: 100%;
    /* box-shadow: 0 5px 10px rgb(0,0,0,.5); 
    display:none;
    z-index: 3;
}
.navbar ul li ul li {
    width: 100%;
    border-top: 1px solid white;
}
.navbar ul li ul li a:hover {
    background: #999;
}
.navbar ul li ul li ul {
    left: 100px;
    top: 0;
}
.navbar ul li:focus-within > ul,
.navbar ul li:focus > ul{
    display: initial;
    border-radius: 6px;
}
#nav-toggle {
    display: none;
} */