html, body {
	 
    /*height: 100%;  */
	 margin: 0;
	/* overflow: hidden; */
}
 .background {
	 width: 100%;
	 height: 100%;
	 background-image: url('../images/abstract.jpg');
	 background-size: cover;
}
 .outer-scratch, .inner-scratch {
	 height: inherit;
}
 .outer-scratch:after, .inner-scratch:after {
	 content: '';
	 width: 120%;
	 height: 100%;
	 position: absolute;
	 top: 0;
	 left: 0;
	 padding-left: 100px;
	 opacity: 0.08;
	 background: url('../images/scratch.png') repeat center center;
	 -webkit-animation: scratch 0.45s steps(1) infinite;
	 animation: scratch 0.45s steps(1) infinite;
}
 .inner-scratch:after {
	 left: 30%;
	 -webkit-animation: inner-scratch 2s infinite;
	 animation: inner-scratch 2s infinite;
}
 .grain:after {
	 content: '';
	 width: 110%;
	 height: 110%;
	 position: absolute;
	 top: -5%;
	 left: -5%;
	 opacity: 0.11;
	 background: url('../images/grain.jpg') repeat center center;
	 -webkit-animation: grain 0.5s steps(1) infinite;
	 animation: grain 0.5s steps(1) infinite;
}

/* Film Animations */
 @keyframes grain {
	 0%, 100% {
		 transform: translate(0, 0, 0);
	}
	 10% {
		 transform: translate(-1%, -1%);
	}
	 20% {
		 transform: translate(1%, 1%);
	}
	 30% {
		 transform: translate(-2%, -2%);
	}
	 40% {
		 transform: translate(3%, 3%);
	}
	 50% {
		 transform: translate(-3%, -3%);
	}
	 60% {
		 transform: translate(4%, 4%);
	}
	 70% {
		 transform: translate(-4%, -4%);
	}
	 80% {
		 transform: translate(2%, 2%);
	}
	 90% {
		 transform: translate(-3%, -3%);
	}
}
 @keyframes scratch {
	 0%, 100% {
		 transform: translateX(0);
		 opacity: 0.075;
	}
	 10% {
		 transform: translateX(-1%);
	}
	 20% {
		 transform: translateX(1%);
	}
	 30% {
		 transform: translateX(-2%);
		 opacity: 0.09;
	}
	 40% {
		 transform: translateX(3%);
	}
	 50% {
		 transform: translateX(-3%);
		 opacity: 0.05;
	}
	 60% {
		 transform: translateX(8%);
	}
	 70% {
		 transform: translateX(-3%);
	}
	 80% {
		 transform: translateX(10%);
		 opacity: 0.02;
	}
	 90% {
		 transform: translateX(-2%);
	}
}
 @keyframes inner-scratch {
	 0% {
		 transform: translateX(0);
		 opacity: 0.08;
	}
	 10% {
		 transform: translateX(-1%);
	}
	 20% {
		 transform: translateX(1%);
	}
	 30% {
		 transform: translateX(-2%);
	}
	 40% {
		 transform: translateX(3%);
	}
	 50% {
		 transform: translateX(-3%);
		 opacity: 0.06;
	}
	 60% {
		 transform: translateX(8%);
	}
	 70% {
		 transform: translateX(-3%);
	}
	 80% {
		 transform: translateX(10%);
		 opacity: 0.03;
	}
	 90% {
		 transform: translateX(20%);
	}
	 100% {
		 transform: translateX(30%);
	}
}
/* Simple Title Animation */
 @keyframes draw {
	 0% {
		 width: 0%;
	}
	 100% {
		 width: 110%;
	}
}
 @keyframes draw-bottom {
	 0% {
		 width: 0%;
	}
	 100% {
		 width: 100%;
	}
}
 @keyframes fade {
	 0% {
		 opacity: 0;
	}
	 100% {
		 opacity: 1;
	}
}


ul.mainmenu {
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background-color: #333;
  
}

li.mainmenu {
  float: left;
  margin-bottom: 0px;
}

li.mainmenu a, .dropbtn {
  display: inline-block;
  color: white;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}
/*
li.mainmenu a:hover, .dropdown:hover .dropbtn {
  background-color: #ff9966;
}
*/


li.dropdown {
  display: inline-block;
  margin-bottom: 0px;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

.dropdown-content a:hover {background-color: #ffff99;}

.dropdown:hover .dropdown-content {
  display: block;
}

progress[value] {
  width: 640px;
  height: 20px;
}

.fadeIn {
  -webkit-animation-name: fadeIn;
  animation-name: fadeIn;
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
  }
  @-webkit-keyframes fadeIn {
  0% {opacity: 0;}
  100% {opacity: 1;}
  }
  @keyframes fadeIn {
  0% {opacity: 0;}
  100% {opacity: 1;}
  } 



.drawpurple {
  overflow: hidden;
  position: relative;
}
.drawpurple::before, .drawpurple::after {
  content: '';
  box-sizing: border-box;
  position: absolute;
  border: 2px solid transparent;
  width: 0;
  height: 0;
}
.drawpurple::before {
  top: 0;
  left: 0;
  border-top-color: #ff66ff;
  border-right-color: #ff66ff;
  animation: border 2s infinite;
}
.drawpurple::after {
  bottom: 0;
  right: 0;
  animation: border 2s 1s infinite, borderPurple 2s 1s infinite;
}

@keyframes border {
  0% {
    width: 0;
    height: 0;
  }
  25% {
    width: 100%;
    height: 0;
  }
  50% {
    width: 100%;
    height: 100%;
  }
  100% {
    width: 100%;
    height: 100%;
  }
}
@keyframes borderPurple {
  0% {
    border-bottom-color: #ff66ff;
    border-left-color: #ff66ff;
  }
  50% {
    border-bottom-color: #ff66ff;
    border-left-color: #ff66ff;
  }
  51% {
    border-bottom-color: transparent;
    border-left-color: transparent;
  }
  100% {
    border-bottom-color: transparent;
    border-left-color: transparent;
  }
}
 



.drawyellow {
  overflow: hidden;
  position: relative;
}
.drawyellow::before, .drawyellow::after {
  content: '';
  box-sizing: border-box;
  position: absolute;
  border: 2px solid transparent;
  width: 0;
  height: 0;
}
.drawyellow::before {
  top: 0;
  left: 0;
  border-top-color: #ffff66;
  border-right-color: #ffff66;
  animation: border 2s infinite;
}
.drawyellow::after {
  bottom: 0;
  right: 0;
  animation: border 2s 1s infinite, borderYellow 2s 1s infinite;
}

@keyframes border {
  0% {
    width: 0;
    height: 0;
  }
  25% {
    width: 100%;
    height: 0;
  }
  50% {
    width: 100%;
    height: 100%;
  }
  100% {
    width: 100%;
    height: 100%;
  }
}
@keyframes borderYellow {
  0% {
    border-bottom-color: #ffff66;
    border-left-color: #ffff66;
  }
  50% {
    border-bottom-color: #ffff66;
    border-left-color: #ffff66;
  }
  51% {
    border-bottom-color: transparent;
    border-left-color: transparent;
  }
  100% {
    border-bottom-color: transparent;
    border-left-color: transparent;
  }
}
 



