/*
 * Audiovisualization using the html canvas element.
 * ©2017, Dominik Hofacker
 * https://www.behance.net/dominikhofacker
 * Please consider supporting this project on behance:
 * https://www.behance.net/gallery/49260123/Web-Audio-Visualization
 */
@keyframes hue {
  0% {
    filter: hue-rotate(0deg);
    -webkit-filter: hue-rotate(0deg);
  }

  100% {
    filter: hue-rotate(-360deg);
    -webkit-filter: hue-rotate(-360deg);
  }
}
#freq {
	background:rgba(0,170,135, 0.9);
    position: absolute; 
    left: 0;
    right: 0;
    margin: 0 auto;
}
body {
    background: url(../images/bg.jpg);
	background-size: cover;
	background-repeat:no-repeat;
    overflow: hidden;
}
#freq.animateHue{
    animation-name: hue;
    animation-duration: 500s;
    animation-delay: 1s;
    animation-iteration-count: infinite;

    -webkit-animation-name: hue;
    -webkit-animation-duration: 500s;
    -webkit-animation-delay: 1s;
    -webkit-animation-iteration-count: infinite;
}
#logo {
	position:absolute;
    text-align: center;
    width: 100%;
    z-index: 9;
	vertical-align: middle;
}
#logo img {
	width:20vw;
	-moz-user-select: none;
  	-khtml-user-select: none;
  	-webkit-user-select: none;
 	 user-select: none;
}

/* Menu Start */
.menu{
	height: 100%;
    width: 300px;
    background: rgb(0,0,0, 0.8);
    position: fixed;
    z-index: 97;
	transition:all 0.2s;
	-webkit-box-shadow: 0px 0px 29px 13px rgba(0, 0, 0, 0.25);
	-moz-box-shadow: 0px 0px 29px 13px rgba(0, 0, 0, 0.25);
	box-shadow: 0px 0px 29px 13px rgba(0, 0, 0, 0.25);
}
.menu_open_close_button{
	position: fixed;
    top: 5px;
    background: rgb(0,0,0, 0.4);
    border: none;
    border-radius: 10px;
    color: #fff;
    padding: 5px 10px;
	transition:all 0.2s;
}
.menu_open_close_button:focus{
	outline:none;
}
.menu_content{
	color: #fff;
    padding: 10px;
}
.menu_content .menu_button a{
    display: block;
    font-size: 20px;
    font-family: sans-serif;
    text-align: center;
    padding: 5px;
	cursor:pointer;
	transition:all 0.2s;
	margin-bottom: 5px;
}
.menu_content .menu_button a:last-child {
  margin-bottom: 0;
}
.menu_content a:hover{
	background: rgb(0,0,0, 0.3);
	border-radius: 5px;
}
.menu_content p{
    font-size: 30px;
    font-family: monospace;
    text-align: center;
    background: rgb(255,255,255, 0.2);
    border-radius: 10px;
	margin-bottom: 10px;
}
.menu_button{
	background: rgb(255,255,255, 0.2);
    padding: 5px;
    border-radius: 10px;
}
/* Menu End */
/* Left Menu Start */
.left_menu{
	left:-300px;
}
.left_menu button{
	left:5px;
}
.left_menu_active{
	left:0;
	z-index: 99;
}
.left_menu_active button{
	left:305px;
}
.pc_left{
	margin-left:300px;
}
/* Left Menu End */
/* Right Menu Start */
.right_menu{
	right:-300px;
}
.right_button{
	right:5px;
}
.right_menu_active{
	right:0;
	z-index: 99;
}
.right_menu_active button{
	right:305px;
}
.pc_right{
	margin-right:300px;
}
/* Right Menu End */
/* Bg Opened Start */
.bg_opened{
	position: fixed;
    right: 0;
    left: 0;
    top: 0;
    bottom: 0;
    z-index: 98;
	transition:all 0.2s;
	background: rgb(255,255,255, 0.2);
    backdrop-filter: blur(5px);
	opacity:0;
}
.active{
	opacity:1;
}
/* Bg Opened End */
.loading{
	height: 100%;
    width: 100%;
	background:rgb(255, 255, 255, 0.9);
	position:absolute;
	z-index: 999999;
	display:none;
	
}
.load-bar {
  position:absolute ;
  width: 100%;
  height: 6px;
  background-color: #fdba2c;
  top:0;
  border-radius: 50px;
}
.bar {
  content: "";
  display: inline;
  position: absolute;
  width: 0;
  height: 100%;
  left: 50%;
  text-align: center;
  border-radius: 50px;
}
.bar:nth-child(1) {
  background-color: #da4733;
  animation: loading 3s linear infinite;
}
.bar:nth-child(2) {
  background-color: #3b78e7;
  animation: loading 3s linear 1s infinite;
}
.bar:nth-child(3) {
  background-color: #fdba2c;
  animation: loading 3s linear 2s infinite;
}
@keyframes loading {
    from {left: 50%; width: 0;z-index:100;}
    33.3333% {left: 0; width: 100%;z-index: 10;}
    to {left: 0; width: 100%;
}