@media only screen and (min-width: 1000px) { header { z-index: 1; position: absolute; top: 0px; width: 100%; } } @media only screen and (max-width: 500px) { .nav li { margin-left: 2px !important; margin-right: 2px !important; width: 20vw; } } @media only screen and (min-width: 501px) and (max-width: 999px) { .nav li { margin-left: 2px !important; margin-right: 2px !important; width: 100px; } } + Slide in stuff /*.col-img-desc { display: block; position: absolute; bottom: 0; left: 0; right: 0; background-color: rgba(51, 51, 51, 0.4); overflow: hidden; width: 220px; height: 220px; opacity: 0; border-radius: 50%; transition: .5s ease; } .col-img-container:hover .col-img-desc { opacity: 1; } .col-img-desc div { color: white; font-size: 20px; position: absolute; top: 50%; left: 50%; -webkit-transform: translate(-50%, -50%); -ms-transform: translate(-50%, -50%); transform: translate(-50%, -50%); text-align: center; } */