:root {
    --scrollspy-height: 60px;
}

#nav-scrollspy {
    position: -webkit-sticky;
    position: sticky;
    top: 10px;
    height: var(--scrollspy-height, 2em);
    z-index: 12;
    overflow-y: hidden;
    text-align: left;
	margin: 10px;
	box-shadow: 1px 1px 6px #aaa;
}

#nav-scrollspy[aria-expanded="true"] {
    height: auto;
}

#nav-scrollspy ul {
    margin: 0;
    padding: 0;
    transition: transform 100ms;
}

#nav-scrollspy[data-scrollspy-target="home"] ul {
    transform: translateY(calc(-0 * var(--scrollspy-height)));
}

#nav-scrollspy[data-scrollspy-target="concept"] ul {
    transform: translateY(calc(-1 * var(--scrollspy-height)));
}

#nav-scrollspy[data-scrollspy-target="location"] ul {
    transform: translateY(calc(-2 * var(--scrollspy-height)));
}

#nav-scrollspy[data-scrollspy-target="project"] ul {
    transform: translateY(calc(-3 * var(--scrollspy-height)));
}

#nav-scrollspy[data-scrollspy-target="skills"] ul {
    transform: translateY(calc(-4 * var(--scrollspy-height)));
}

#nav-scrollspy[data-scrollspy-target="moodbooard"] ul {
    transform: translateY(calc(-5 * var(--scrollspy-height)));
}

#nav-scrollspy[data-scrollspy-target="faq"] ul {
    transform: translateY(calc(-6 * var(--scrollspy-height)));
}

#nav-scrollspy[data-scrollspy-target="contact"] ul {
    transform: translateY(calc(-7 * var(--scrollspy-height)));
}

#nav-scrollspy[aria-expanded="true"] ul {
    transform: translateY(0);
}

#nav-scrollspy li {
    height: var(--scrollspy-height, 2em);
	border-bottom: 1px solid #eee;
    background-color: #fff;
}

#nav-scrollspy li:nth-of-type(1) {
    background-color: #fff;
}

#nav-scrollspy li:nth-of-type(2) {
    background-color: #fff;
}

#nav-scrollspy li:nth-of-type(3) {
    background-color: #fff;
}

#nav-scrollspy li:nth-of-type(4) {
    background-color: #fff;
}

#nav-scrollspy li:nth-of-type(5) {
    background-color: #fff;
}

#nav-scrollspy li:nth-of-type(6) {
    background-color: #fff;
}

#nav-scrollspy li a {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: #000;
    font-weight: bold;
    line-height: var(--scrollspy-height, 2em);
	padding-left: 10px;
}

#nav-scrollspy button {
	background: transparent;
    position: absolute;
    top: 0;
    right: 0;
    display: inline-block;
    width: 100%;
    height: var(--scrollspy-height, 2em);
    padding: 0;
    padding-right: 0.5em;
    line-height: var(--scrollspy-height, 2em);
    text-align: right;
    text-decoration: none;
    cursor: pointer;
    transition: transform 300ms;
}

#nav-scrollspy button[aria-expanded="true"] {
    width: auto;
    padding-right: 0.5em;
    transform: rotateX(180deg);
}





@media (min-width: 576px) {
    #nav-scrollspy {
        display: none;
    }
}