* {
  margin: 0;
  padding: 0;
}
body,
html {
  display: block;
  width: 100%;
  height: 100%;
  font-size: 0;
  overflow: hidden;
}
#canvas {
  position: fixed;
}
#nav {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
}
#nav ul {
  list-style: none;
  margin-right: 20px;
  float: right;
  font-size: 0;
}
#nav ul li {
  display: inline-block;
  font-size: 18px;
  font-weight: bold;
  color: transparent;
  text-shadow: 1px 1px 0 #3399FF;
  height: 60px;
  line-height: 60px;
  padding: 0 30px;
  cursor: pointer;
  position: relative;
  transition: all .5s;
}
#nav ul li::before {
  content: '';
  position: absolute;
  display: block;
  width: 0%;
  height: 5px;
  top: 0;
  left: 0;
  background-color: #666;
  opacity: .5;
  z-index: -1;
  transition: all .5s;
}
#nav ul li::after {
  content: '';
  position: absolute;
  display: block;
  width: 0%;
  height: 5px;
  right: 0;
  bottom: 0;
  background-color: #123456;
  opacity: .5;
  z-index: -1;
  transition: all .5s;
}
#nav ul li:hover {
  color: #E1313D;
  text-shadow: 0 0 30px #94959A;
}
#nav ul .active {
  color: #E1313D;
  text-shadow: 0 0 30px #94959A;
}
#nav ul .active::before {
  content: '';
  position: absolute;
  display: block;
  width: 80%;
  height: 5px;
  top: 0;
  left: 10%;
  background: linear-gradient(15deg, #06dbc6, #9b59b6 20%, #3498ff 40%, #fd6335 60%, #fdec35 80%, #66db06 100%);
  z-index: -1;
  transition: all .5s;
}
#nav ul .active::after {
  content: '';
  position: absolute;
  display: block;
  width: 80%;
  height: 5px;
  right: 10%;
  bottom: 0;
  background: linear-gradient(195deg, #06dbc6, #9b59b6 20%, #3498ff 40%, #fd6335 60%, #fdec35 80%, #66db06 100%);
  z-index: -1;
  transition: all .5s;
}
.onepage-wrapper {
  width: 100%;
  height: 100%;
  display: block;
  position: relative;
  padding: 0;
  z-index: -1;
  -webkit-transform-style: preserve-3d;
}
.onepage-wrapper .section {
  width: 100%;
  height: 100%;
}
.onepage-pagination {
  position: absolute;
  right: 10px;
  top: 50%;
  z-index: 5;
  list-style: none;
  margin: 0;
  padding: 0;
  display: none;
}
.onepage-pagination li {
  padding: 0;
  text-align: center;
}
.onepage-pagination li a {
  padding: 10px;
  width: 4px;
  height: 4px;
  display: block;
  outline: none;
}
.onepage-pagination li a:before {
  content: '';
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(188, 188, 188, 0.85);
  border-radius: 10px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
}
.onepage-pagination li a.active:before {
  width: 10px;
  height: 10px;
  background: none;
  border: 1px solid black;
  margin-top: -4px;
  left: 8px;
}
.page1 {
  background-color: #000;
}
.page3 {
  background-color: #000;
}
