Clickable area for 'STORE' and 'VIDEOS'
by Justin
HTML
<div id="container">
<div id="navcontainer">
<a href="/store" class="store">STORE</a>
<a href="/last-seen" class="videos">VIDEOS</a>
</div>
<div id="logocontainer">
<a href="/"> <img src="images/logo.svg" alt="Logo." /> </a>
</div>
</div>
CSS
a {
text-decoration: none;
display: inline-block;
}
#container {
background-color: black;
z-index: 0;
position: fixed;
left: 0;
right: 0;
top: 0;
bottom: 0;
width: 100%;
height: 100%;
}
#logocontainer {
margin: 0 auto;
z-index: 1;
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 25%;
}
#logocontainer a {
overflow: hidden;
}
#logocontainer img {
width: 100%;
height: 100%;
}
#navcontainer {
height: 100%;
width: 100%;
position: relative;
z-index: 1000000;
}
.store {
top: 0;
margin-top: 8%;
}
.videos {
bottom: 0;
margin-bottom: 8%;
}
.videos, .store {
position: absolute;
width: 100%;
text-align: center;
}
.videos a, .store a {
font-family: neue-haas-grotesk-display, sans-serif;
color: #ffffff;
font-weight: 500;
font-style: normal;
list-style: none;
text-align: center;
text-decoration: none;
font-size: 20px;
}