<body>
<div class="container">
<div id="navMenu" class="diamond">
<div id="mainRotCorrect" class="rotCorrect"><i class="fa fa-cubes fa-4x" aria-hidden="true"></i></div>
</div>
<div id="nav1" class="nav nav1 diamond">
<div class="rotCorrect"><i class="fa fa-home fa-2x" aria-hidden="true"></i></div>
</div>
<div id="nav2" class="nav nav2 diamond">
<div class="rotCorrect"><i class="fa fa-file-text-o fa-2x" aria-hidden="true"></i></div>
</div>
<div id="nav3" class="nav nav3 diamond">
<div class="rotCorrect"><i class="fa fa-calendar fa-2x" aria-hidden="true"></i></div>
</div>
<div id="nav4" class="nav nav4 diamond">
<div class="rotCorrect"><i class="fa fa-line-chart fa-2x" aria-hidden="true"></i></div>
</div>
<div id="nav5" class="nav nav5 diamond">
<div class="rotCorrect"><i class="fa fa-cogs fa-2x" aria-hidden="true"></i></div>
</div>
</div>
</body>
html, body, .container {
width: 100%;
height: 100%;
margin: 0px;
overflow: hidden;
}
.container {
background: #2F2F31;
}
#navMenu {
top: 150px;
left: 200px;
width: 140px;
height: 140px;
z-index: 100;
background: linear-gradient(90deg, #910EC9, #d350db, #910EC9);
-webkit-background: linear-gradient(90deg, #910EC9, #d350db, #910EC9);
background-size: 400% 400%;
-webkit-background-size: 400% 400%;
animation: gradient 5s infinite;
-webkit-animation: gradient 5s infinite;
}
#navMenu:hover, .nav:hover {
background: #d350db;
}
@keyframes gradient {
50% {
background-position: 100% 0;
}
}
@-webkit-keyframes gradient {
50% {
background-position: 100% 0;
}
}
.diamond {
position: absolute;
width: 67.5px;
height: 67.5px;
transform: rotate(45deg);
-webkit-transform: rotate(45deg);
background: #910EC9;
margin: 10px;
cursor: pointer;
box-shadow: 1px 4px 10px #101010;
}
.diamond:active {
background: #710b9e;
box-shadow: 0px 1px 2.5px #101010;
transition: 0.1s;
-webkit-transition: 0.1s;
}
.nav {
transition: 0.5s;
-webkit-transition: 0.5s;
}
.nav1 {
top: 86px;
left: 287px;
}
.nav2 {
top: 136px;
left: 337px;
}
.nav3 {
top: 186px;
left: 387px;
}
.nav4 {
top: 236px;
left: 337px;
}
.nav5 {
top: 286px;
left: 287px;
}
.small {
top: 186px;
left: 236px;
z-index: 10;
background: #643fc1;
transition: 0.5s;
-webkit-transition: 0.5s;
}
.rotCorrect {
transform: rotate(-45deg);
-webkit-transform: rotate(-45deg);
margin-left: 14px;
margin-top: 8px;
}
#mainRotCorrect {
margin-left: 26px;
margin-top: 28px;
transform: rotate(-45deg);
-webkit-transform: rotate(-45deg);
max-width: 90px;
}
i {
color: #EEEEEE;
}