section { position: fixed; top:10%; left: 0; height: calc(100% - 100px); width: 100%; overflow: hidden; } .menu { position: fixed; top: 0; left: 0; height: 100%; width: 120px; border-right: 1px solid #4687E6; background-color: white; z-index: 1; } .menu .logo { position: absolute; top: 5%; left: 50%; transform: translate(-50%, -50%); } .menu line { stroke: var(--portal-main-color); } .menu a.previous { position: absolute; top: 25%; left: 50%; transform: translate(-50%, -50%); color: var(--portal-main-color); } .menu a.next { position: absolute; top: 75%; left: 50%; transform: translate(-50%, -50%); color: var(--portal-main-color); } .menu nav { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); } .menu nav > ul { list-style: none; padding: 0; margin: 0; } .menu nav > ul > li { border-radius: 100%; padding: 8px; border: 1px solid white; margin-bottom: 15px; } .menu nav > ul > li > a { display: block; border-radius: 100%; width: 16px; height: 16px; background-color: rgba(233, 84, 32, 0.4); } .menu nav > ul > li.uk-active { border: 1px solid #E95420; transition: border-top-color 0.25s linear, border-right-color 0.25s linear 0.10s, border-bottom-color 0.25s linear 0.30s, border-left-color 0.25s linear 0.40s; -webkit-animation : border-top-color 0.25s linear, border-right-color 0.25s linear 0.10s, border-bottom-color 0.25s linear 0.30s, border-left-color 0.25s linear 0.40s; -moz-animation : border-top-color 0.25s linear, border-right-color 0.25s linear 0.10s, border-bottom-color 0.25s linear 0.30s, border-left-color 0.25s linear 0.40s; -o-animation : border-top-color 0.25s linear, border-right-color 0.25s linear 0.10s, border-bottom-color 0.25s linear 0.30s, border-left-color 0.25s linear 0.40s; } .menu nav > ul > li.uk-active > a { background-color: #E95420; }