* { box-sizing: border-box; } body{ margin: 0; height: 100vh; } a { text-decoration: none; color: black; } .main-column-left { padding: 1.7em 0em; float: left; width: 50%; background: #ea4f2b; overflow-y: scroll; height: 100vh; } .main-column-right { padding: 2em 1em; float: right; width: 50%; background: #8048b7; overflow-y: scroll; height: 100vh; } .main:after { content: ""; display: table; clear: both; } div.nav-bottom ul, div.nav-top ul { list-style-type: none; margin: 0; padding: 0; } ul { list-style: none; } ul.name-elements li { padding: 1em; } li span.nav-button { display: block; text-decoration: none; padding: 0.25em; font-family: sans-serif; float: left; width: 33.33%; } li span.nav-button:hover { color: #ea4f2b;; } .nav-top { height: 24px; background: white; width: 100%; position: fixed; cursor: pointer; z-index: 1; } .nav-bottom{ height: 24px; background: white; width: 100%; bottom: 0; position: fixed; z-index: 10000; cursor: pointer; z-index: 1; } span.librarian-names, span.file-names { text-decoration: none; padding: 0.3em; color: black; font-family: sans-serif; } span.librarian-names:hover, span.file-names:hover { color: white; cursor: pointer; } #listofpeople{ /* border: lime 1px solid; */ position: fixed; width: 50%; padding: 0em; top: 25px; left: 0; z-index: 1; } .file-names-container { /* IE 9 */ -ms-transform: rotate(-90deg) translate(-78%, 0%); /* Safari */ -webkit-transform: rotate(-90deg) translate(-78%, 0%); /* Standard syntax */ transform: rotate(-90deg) translate(-0%, 0%); transform-origin: top left; /* border:blue 1px solid; */ height: 50vw; width: 40vw; overflow-y: scroll; overflow-x: hidden; position: absolute; left: 0%; top: calc(100% - 1.5em); } img.listed-images { width: 100%; } video.listed-videos { width: 100%; } audio.listed-audio { width: 100%; } object.listed-pdf { width: 100%; height: 75vh; } .clicked { color: blue !important; } button { border-radius: 0; border: 0; padding: 0; z-index: 2; } button:hover { background: white !important; cursor: pointer; } button#listoffiles { position: fixed; left: 46.3%; top: 46%; transform: rotate(90deg); width: 6.4%; background: #8048b7; } button#about { position: fixed; left: 47.25%; top: 46%; width: 6.4%; transform: rotate(270deg); background: #ea4f2b; } button#reset { position: fixed; left: 48.3%; top: 33%; border-radius: 100%; padding: 1.5em 0.8em; } button#showall { position: fixed; left: 47.8%; bottom: 37.4%; border-radius: 100%; padding: 2.1em 0.8em; }