@import url(https://fonts.googleapis.com/css?family=Work+Sans:400,300,700|Open+Sans:400italic,300italic);

body,h1,h2,h3,p,quote,small,form,input,ul,li,ol,label{
	/* The reset rules */
	margin:0px;
	padding:0px;
	font-family: 'Work Sans', sans-serif;
}

body{
	color:#555555;
	font-size:13px;
	background: #fff;
	font-family: 'Work Sans', sans-serif;
	width: 100%;
}

.topbar {
	/* default background colour*/
	background: #fff;

	color: #fff; /* text colour */
	border-top:1px solid #000;
	height: 1.5em; /* gradient uses the full height of the element */
	padding: 10px; /* distance from border edge to text */
}

.footerbar {
	/* default background colour*/
	background: #000;

	/* gecko based browsers */
	background: -moz-linear-gradient(top, #000, #858484);

	/* webkit based browsers */
	background: -webkit-gradient(linear, left top, left bottom, from(#000), to(#858484));

	color: #000000; /* text colour */
	height: 40px; /* gradient uses the full height of the element */
	padding: 10px; /* distance from border edge to text */
	width: 100%;
    bottom: 0px;
	right: 0px;
	left: 0px;
	display: block;
}

.bodyfade{
	padding-top:10px;
	/* default background colour*/
	background: #000;

	/* gecko based browsers */
	background: -moz-linear-gradient(top, #000, #858484);

	/* webkit based browsers */
	background: -webkit-gradient(linear, left top, left bottom, from(#000), to(#858484));

	color: #000000; /* text colour */
	height: auto; /* gradient uses the full height of the element */
}

.top {
	width: 960px;
	text-align: left;
}

.center{
	width: 100%;
	text-align: center;
	margin:auto;
}

h1 {
	margin: auto;
	width: 95%;
	color: #55adff;
	text-transform: uppercase;
	font-family: 'Work sans', sans-serif;
	font-weight: 300;
	letter-spacing: 3px;
	text-decoration: none;
	display: block;
	font-size: 2.2em;
	text-align: center;
}

h2{
	font-family:"Arial Narrow",Arial,Helvetica,sans-serif;
	font-size:0.9em;
	font-weight:normal;
	letter-spacing:1px;
	padding-left:2px;
	text-transform:uppercase;
	white-space:nowrap;
	margin-top:4px;
	color:#888888;
}

h3{
	font-size:18px;
	font-weight:bold;
	font-family:"Trebuchet MS",Arial, Helvetica, sans-serif;
	letter-spacing:1px;
	color: #959595;
}

p{
	font-family: 'Helvetica', sans-serif;
}


#main p{
	padding-bottom:8px;
}

.clear{
	clear:both;
}

#main{
	width:800px;
	/* Centering it in the middle of the page */
	margin:60px auto;
}

.container{
	width: 960px;
	margin-top:10px;
	margin-bottom:10px;
	padding:5px;
}

.containernew{
	float: left;
	height: auto;
	display: block;
	position: fixed;
	background-color: white;
	width: 100%;
    bottom: 40px;
	right: 0px;
	left: 0px;
	text-align: center;
}

.holder{
	width: 100%;
	height: auto;
	background:#FFFFFF;
	display: inline;
}

.toscontainer{
	width: 960px;
	margin-top:10px;
	margin-bottom:10px;
	background:#FFFFFF;
	text-align:left;
	border:2px solid #000;
	padding:5px;
	
	/* Rounded corners */
	-moz-border-radius:20px;
	-khtml-border-radius: 20px;
	-webkit-border-radius: 20px;
	border-radius:20px;
}

.etopcontainer{
	width: 100%;
	height: auto;
	padding-top: 2em;
	/*border:1px solid #000;*/
	
	/* Rounded corners */
	-moz-border-radius:20px;
	-khtml-border-radius: 20px;
	-webkit-border-radius: 20px;
	border-radius:20px;
	margin: auto;
	overflow: hidden;
	text-align: center;
}

.err{
	color:red;
}

.success{
	color:#00CC00;
}

a {
	color:#55adff;
}

a.h1{
	font-size:20px;
	font-weight:bold;
	font-family:"Trebuchet MS",Arial, Helvetica, sans-serif;
	letter-spacing:1px;
	color: #55adff;
	text-decoration:none;
}

a.h1:visited{
	font-size:20px;
	font-weight:bold;
	font-family:"Trebuchet MS",Arial, Helvetica, sans-serif;
	letter-spacing:1px;
	color: #55adff;
	text-decoration:none;
}

a.h1:hover{
	font-size:20px;
	font-weight:bold;
	font-family:"Trebuchet MS",Arial, Helvetica, sans-serif;
	letter-spacing:1px;
	color: #000;
	text-shadow: -1px 0 2px white, 0 2px 2px white, 2px 0 2px white, 0 -1px 2px white;
}

a.h3{
	font-size:18px;
	font-weight:bold;
	font-family:"Trebuchet MS",Arial, Helvetica, sans-serif;
	letter-spacing:1px;
	color: #55adff;
}

a.h3:hover{
	font-size:18px;
	font-weight:bold;
	font-family:"Trebuchet MS",Arial, Helvetica, sans-serif;
	letter-spacing:1px;
	color: #000;
	text-shadow: -1px 0 1px white, 0 1px 1px white, 1px 0 1px white, 0 -1px 1px white;
}

a.titlecollname {
	color:#eb8ac0;
	font-size:12px;
	letter-spacing:1px;
	font-weight:bold;
}

a.titlecollname:hover {
	color:#000;
	font-size:12px;
	letter-spacing:1px;
	font-weight:bold;
	text-shadow: -1px 0 1px black, 0 1px 1px black, 1px 0 1px black, 0 -1px 1px black;
}

a.blue {
	width: 95%;
	color:#55adff;
	text-decoration:none;
	outline:none;
	font-family:"Arial Rounded",Arial,Helvetica,sans-serif;
	font-size:16px;
	font-weight:bold;
	letter-spacing:1px;
	margin-bottom: 1em;
}

a.blue:visited {
	color:#55adff;
	text-decoration:none;
	outline:none;
}

a.blue:hover{
	color: #000;
}

a.bluemenu{
	color: #55adff;
	font-size: 1.2em;
}

a.bluemenu:hover{
	color: #000;
}

a.pinkmenu{
	color: #eb8ac0;
	font-size: 1.2em;
}

a.pinkmenu:hover{
	color: #000;
}

a.blueusermenu {
	color:#55adff;
	text-decoration:none;
	margin-right:25px;
	margin-left:25px;
	outline:none;
	font-family:"Arial Rounded",Arial,Helvetica,sans-serif;
	font-size:14px;
	font-weight:bold;
	letter-spacing:1px;
}

a.blueusermenu:visited {
	color:#55adff;
	margin-right:25px;
	margin-left:25px;
	text-decoration:none;
	outline:none;
}

a.blueusermenu:hover{
	margin-right:25px;
	margin-left:25px;
	color: #000;
}

/*
a.blueusermenu:hover{
	margin-right:25px;
	margin-left:25px;
	color: #fff;
	text-shadow: -1px 0 2px black, 0 2px 2px black, 2px 0 2px black, 0 -1px 2px black;
}
*/

a.goldusermenu {
	color:#eb8ac0;
	text-decoration:none;
	margin-right:25px;
	margin-left:25px;
	outline:none;
	font-family:"Arial Rounded",Arial,Helvetica,sans-serif;
	font-size:14px;
	font-weight:bold;
	letter-spacing:1px;
}

a.goldusermenu:visited {
	color:#eb8ac0;
	margin-right:25px;
	margin-left:25px;
	text-decoration:none;
	outline:none;
}

a.goldusermenu:hover{
	margin-right:25px;
	margin-left:25px;
	color: #000;
}

a.ctab {
	color:#55adff;
	text-decoration:none;
	margin-right:2px;
	margin-left:2px;
	outline:none;
	font-family:"Arial Rounded",Arial,Helvetica,sans-serif;
	font-size:12px;
	font-weight:bold;
	letter-spacing:1px;
}

a.ctab:visited {
	color:#55adff;
	text-decoration:none;
	outline:none;
}

a.ctab:hover{
	font-size:13px;
	color: #000;
}

a.edit{
	font-size:12px;
	font-weight:bold;
	font-family:"Trebuchet MS",Arial, Helvetica, sans-serif;
	letter-spacing:1px;
	color: #eb8ac0;
}

a.edit:hover{
	font-size:12px;
	font-weight:bold;
	font-family:"Trebuchet MS",Arial, Helvetica, sans-serif;
	letter-spacing:1px;
	color: #000;
}

a.editembed{
	float:left;
	font-size:12px;
	font-weight:bold;
	font-family:"Trebuchet MS",Arial, Helvetica, sans-serif;
	letter-spacing:1px;
	color: #eb8ac0;
}

a.editembed:hover{
	float:left;
	font-size:12px;
	font-weight:bold;
	font-family:"Trebuchet MS",Arial, Helvetica, sans-serif;
	letter-spacing:1px;
	color: #fff;
}

a.subscribe{
	float:right;
	width: 200px;
	height: 19px;
	margin-top:-5px;
	margin-right:-5px;
	padding-top:3px;
	border:2px solid #ffffff;
	
	/* Rounded corners */
	-moz-border-radius:20px;
	-khtml-border-radius: 20px;
	-webkit-border-radius: 20px;
	border-radius:20px;
	overflow: hidden;
	
	/* default background colour*/
	background: #000;

	/* gecko based browsers */
	background: -moz-linear-gradient(top, #55adff, #000);

	/* webkit based browsers */
	background: -webkit-gradient(linear, left top, left bottom, from(#55adff), to(#000));
	
	
	color:#ffffff;
	text-decoration:none;
	outline:none;
	font-family:"Arial Rounded",Arial,Helvetica,sans-serif;
	font-size:14px;
	font-weight:bold;
	letter-spacing:1px;
}

a.subscribe:hover{
	float:right;
	width: 200px;
	height: 19px;
	margin-top:-5px;
	margin-right:-5px;
	padding-top:3px;
	border:2px solid #ffffff;
	
	/* Rounded corners */
	-moz-border-radius:20px;
	-khtml-border-radius: 20px;
	-webkit-border-radius: 20px;
	border-radius:20px;
	overflow: hidden;
	
	/* default background colour*/
	background: #000;

	/* gecko based browsers */
	background: -moz-linear-gradient(top, #55adff, #000);

	/* webkit based browsers */
	background: -webkit-gradient(linear, left top, left bottom, from(#55adff), to(#000));
	
	
	color:#000;
	text-decoration:none;
	outline:none;
	font-family:"Arial Rounded",Arial,Helvetica,sans-serif;
	font-size:14px;
	font-weight:bold;
	letter-spacing:1px;
	text-shadow: -1px 0 3px white, 0 1px 3px white, 1px 0 3px white, 0 -1px 3px white;
}

.tutorial-info{
	text-align:center;
	padding:10px;
}

.contentcontainer{
	width:70%;
	background:#FFFFFF;
	border:1px solid #000;
	padding:5px;
	
	/* Rounded corners */
	-moz-border-radius:20px;
	-khtml-border-radius: 20px;
	-webkit-border-radius: 20px;
	border-radius:20px;
	overflow: auto;
}

.addvcontainer{
	width:500px;
	background:#FFFFFF;
	border:2px solid #000;
	padding-top:20px;
	padding-bottom:20px;
	
	/* Rounded corners */
	-moz-border-radius:20px;
	-khtml-border-radius: 20px;
	-webkit-border-radius: 20px;
	border-radius:20px;
	overflow: auto;
}

.introbox{
	float:left;
	width: 45%;
	height: 555px;
	text-align:center;
	background:#FFFFFF;
	margin-left: 2.5%;
	margin-right: 2.5%;
	display: inline-block;
}

.intromovie{
	float:left;
	width: 45%;
	height: auto;
	text-align:left;
	background:#FFFFFF;
	padding:5px;
	display: inline-block;
}

.infobox{
	float:left;
	width: auto;
	height: auto;
	margin:8px;
	text-align:left;
	background:#FFFFFF;
	overflow: auto;
	padding:5px;
}

.infoboxline{
	float:left;
	width: 30%;
	height: auto;
	margin-left:2%;
	text-align:left;
	border-right:1px solid #000;
	overflow: auto;
	padding:5px;
}

.embedcollections{
	margin-top:0px;
	margin-bottom:0px;
	width: 300px;
	height: 180px;
	overflow:auto;
}

.collectionembed{
	margin-top:0px;
	margin-bottom:5px;
	width: 300px;
	height: 180px;
	overflow:auto;
}

.vtembed{
	margin-top:3px;
	margin-bottom:2px;
	margin-left:20px;
	margin-right:20px;
	width: 260px;
	height: 32px;
	overflow:hidden;
}

.infoholderembed{
	float:left;
	margin-left:5px;
	width:80px;
	height:25px;
	padding:3px;
}

.commentholder{
	float:left;
	margin-left:5px;
	width:80px;
	height:10px;
	padding:1px;
}

.namecollembed{
	float:left;
	width:140px;
	height:25px;
	padding:3px;
}

.reportshare{
	float:left;
	width:60px;
	height:35px;
	padding-top:10px;
	/* default background colour*/
	background: #000;

	/* gecko based browsers */
	background: -moz-linear-gradient(top, #858484, #000);

	/* webkit based browsers */
	background: -webkit-gradient(linear, left top, left bottom, from(#858484), to(#000));
	border-top-right-radius:20px;
}



.ctembed{
	margin-top:3px;
	margin-bottom:3px;
	width: 300px;
	height: 47px;
	overflow:hidden;
}

.mnamehold{
	margin-top:2px;
	margin-bottom:3px;
	width: 150px;
	height: 25px;
	overflow:hidden;
}

.preferholder{
	float:left;
	margin-top:20px;
	margin-left:10px;
}

.collectionbody{
	float:left;
	width: 760px;
	height: auto;
	margin-top:0px;
	margin-bottom:0px;
	margin-right:15px;
	background:#FFFFFF;
	border:2px solid #000;
	padding:20px;
	/* Rounded corners */
	-moz-border-radius:20px;
	-khtml-border-radius: 20px;
	-webkit-border-radius: 20px;
	border-radius:20px;
	
}

.listcontainer{
	width:75%;
	background:#FFFFFF;
	border:1px solid #000;
	
	/* Rounded corners */
	-moz-border-radius:20px;
	-khtml-border-radius: 20px;
	-webkit-border-radius: 20px;
	border-radius:20px;
	overflow: auto;
}

.collectionmenu{
	float:left;
	width: 22%;
	height: auto;
	margin: 1.4%;
	background:#FFFFFF;
	border:1px solid #000;
	
	/* Rounded corners */
	-moz-border-radius:20px;
	-khtml-border-radius: 20px;
	-webkit-border-radius: 20px;
	border-radius:20px;
	overflow: hidden;
}

.collectiontitle {
	/* default background colour*/
	background: #fff;

	color: #000000; /* text colour */
	height: auto; /* gradient uses the full height of the element */
	padding: 20px; /* distance from border edge to text */
	
	-moz-border-top-radius:5px;
	-khtml-border-top-radius: 5px;
	-webkit-border-top-radius: 5px;
	border-top-radius:5px;
	border-bottom: 1px solid #000;
}

.collectiontab {
	/* default background colour*/
	background: #fff;

	color: #000000; /* text colour */
	height: auto; /* gradient uses the full height of the element */
	padding: 10px; /* distance from border edge to text */
	border-bottom: 1px solid #000;
}

.collectionbottom {
	background: #fff;

	color: #000000; 
	height: 5px; /* gradient uses the full height of the element */
	padding: 2px; /* distance from border edge to text */
	
	-moz-border-radius-bottom:20px;
	-khtml-border-radius-bottom: 20px;
	-webkit-border-radius-bottom: 20px;
	border-radius-bottom:20px;
}

.bodycontent{
	width: 1165px;
	height: auto;
	margin-top:0px;
	margin-bottom:0px;
	background:#FFFFFF;
	/* Rounded corners */
	-moz-border-radius:20px;
	-khtml-border-radius: 20px;
	-webkit-border-radius: 20px;
	border-radius:20px;
	
}

.bodycontentdlist{
	width: 1020px;
	height: auto;
	margin-top:20px;
	margin-bottom:20px;
	background:#FFFFFF;
	/* Rounded corners */
	-moz-border-radius:20px;
	-khtml-border-radius: 20px;
	-webkit-border-radius: 20px;
	border-radius:20px;
	
}

.collectionmovie{
	float:left;
	width:300px;
	height: 220px;
	margin:8px;
	background:#000;
	border:2px solid #000;
	padding-top:10px;
	padding-bottom:5px;
	/* Rounded corners */
	-moz-border-radius:20px;
	-khtml-border-radius: 20px;
	-webkit-border-radius: 20px;
	border-radius:20px;
	
}

.collectioncontainer{
	width:960px;
	background:#FFFFFF;
	border:2px solid #000;
	padding:10px;
	
	/* Rounded corners */
	-moz-border-radius:20px;
	-khtml-border-radius: 20px;
	-webkit-border-radius: 20px;
	border-radius:20px;
	overflow: auto;
	
	/* default background colour*/
	background: #000;

	/* gecko based browsers */
	background: -moz-linear-gradient(top, #eb8ac0, #000);

	/* webkit based browsers */
	background: -webkit-gradient(linear, left top, left bottom, from(#eb8ac0), to(#000));
}

.titleholder{
	float: left;
	padding-bottom: 1em;
	width:100%;
	display: block;
	background: #fff;
	text-align: center;
}

.memberbox{
	float:left;
	width: 150px;
	height: 150px;
	margin:3px;
	background:#FFFFFF;
	border:2px solid #000;
	padding:0px;
	
	/* Rounded corners */
	-moz-border-radius:20px;
	-khtml-border-radius: 20px;
	-webkit-border-radius: 20px;
	border-radius:20px;
	overflow: hidden;
	
	/* default background colour*/
	background: #000;

	/* gecko based browsers */
	background: -moz-linear-gradient(top, #858484, #000);

	/* webkit based browsers */
	background: -webkit-gradient(linear, left top, left bottom, from(#858484), to(#000));
}

.prefbox{
	float:left;
	width: 150px;
	height: 100px;
	margin:4px;
	background:#FFFFFF;
	border:1px solid #000;
	padding:0px;
	
	/* Rounded corners */
	-moz-border-radius:5px;
	-khtml-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius:5px;
	overflow: hidden;
	
	/* default background colour*/
	background: #000;

	/* gecko based browsers */
	background: -moz-linear-gradient(top, #858484, #000);

	/* webkit based browsers */
	background: -webkit-gradient(linear, left top, left bottom, from(#858484), to(#000));
}


header {
    height: auto;
	background: white;
	padding-bottom: 0px;
	position: fixed;
	z-index: 1;
  	top: 0px;
	right: 0px;
	left: 0px;
}

header .logo {
	margin-top: 1em;
	margin-left: 0.4em;
    float: left;
    height: 100%;
}


#line {
	margin-top: 3em;
	width: 100%;
	border-top: 1px solid #55adff;
	border-bottom: 1px solid #4b249e;
}

#line .line1 {
	width: 100%;
	border-top: 1px solid #eb8ac0;
	border-bottom: 1px solid #ff3630;
}

.fav_container{
	float: left;
	margin: 1%;
	width: 31%;
	height: 350px;
	background: #FFFFFF;
	border: 1px solid #000;
	
	/* Rounded corners */
	-moz-border-radius:5px;
	-khtml-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius:5px;
    resize:both;
    overflow:auto; /* something other than visible */
}

.fav_title{
	width: 100%;
	text-align: center;
	
	color:#000;
	text-decoration:none;
	outline:none;
	font-family:"Arial Rounded",Arial,Helvetica,sans-serif;
	font-size:14px;
	font-weight:bold;
	letter-spacing:1px;
	
	/* Rounded corners */
	-moz-border-radius:5px;
	-khtml-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius:5px;
	overflow: auto;
}


/* ====================================
Navigation 
==================================== */

.overlay-navigation {
  position: fixed;
  z-index: 99;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: hsla(0, 0%, 100%, 0.2);
  display: none;
  opacity: 0;
}

nav,
nav ul {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
}

nav ul {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  list-style: none;
}

nav ul li {
  -webkit-flex-basis: 50%;
  -ms-flex-preferred-size: 50%;
  flex-basis: 50%;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  height: 100%;
  overflow: hidden;
  opacity: 0;
  display: none;
}

nav li a {
  position: relative;
  top: 46%;
  color: #fff;
  text-transform: uppercase;
  font-family: 'Work sans', sans-serif;
  font-weight: 300;
  letter-spacing: 4px;
  text-decoration: none;
  display: block;
  text-align: center;
  font-size: 1.2rem;
  opacity: 0;
}

nav li a:before {
  content: '';
  width: 70px;
  height: 2px;
  background-color: #fff;
  position: absolute;
  top: 50%;
  left: 0;
  z-index: 100;
  -webkit-transform: translateX(-100%);
  -ms-transform: translateX(-100%);
  transform: translateX(-100%);
  opacity: 0;
  -webkit-transition: all .2s linear;
  transition: all .2s linear;
}

nav li a:after {
  content: attr(data-content);
  font-size: 0.9rem;
  -webkit-transition: all .2s linear;
  transition: all .2s linear;
  opacity: 0;
  position: absolute;
  z-index: 100;
  color: #fff;
  display: block;
  margin-right: auto;
  margin-left: auto;
  left: 0;
  right: 0;
  bottom: -50px;
  text-transform: none;
  font-family: 'Open sans', sans-serif;
  font-weight: 300;
  font-style: italic;
  letter-spacing: 0;
}

nav li a:hover:before {
  -webkit-transform: translateX(0);
  -ms-transform: translateX(0);
  transform: translateX(0);
  opacity: 1;
}

nav li a:hover:after {
  -webkit-transform: translateY(15px);
  -ms-transform: translateY(15px);
  transform: translateY(15px);
  opacity: 1;
}

nav li:nth-of-type(1) {
  background-color: #55adff
}

nav li:nth-of-type(2) {
  background-color: #eb8ac0
}

nav li:nth-of-type(3) {
  background-color: #ff3630
}

nav li:nth-of-type(4) {
  background-color: #4b249e
}




/* ====================================
Burger king
==================================== */

.open-overlay {
  position: absolute;
  right: 0.8rem;
  top: 0.4rem;
  z-index: 100;
  width: 34px;
  display: block;
  cursor: pointer;
}

.open-overlay span {
  display: block;
  height: 1px;
  background-color: #4b249e;
  cursor: pointer;
  margin-top: 8px;
}

.animate-top-bar {
  -webkit-animation: animate-top-bar .6s linear 1 both;
  animation: animate-top-bar .6s linear 1 both
}

.animate-bottom-bar {
  -webkit-animation: animate-bottom-bar .6s linear 1 both;
  animation: animate-bottom-bar .6s linear 1 both
}

.animate-middle-bar {
  -webkit-animation: animate-middle-bar .6s linear 1 both;
  animation: animate-middle-bar .6s linear 1 both
}

.animate-out-top-bar {
  -webkit-animation: animate-out-top-bar .6s linear 1 both;
  animation: animate-out-top-bar .6s linear 1 both
}

.animate-out-bottom-bar {
  -webkit-animation: animate-out-bottom-bar .6s linear 1 both;
  animation: animate-out-bottom-bar .6s linear 1 both
}

.animate-out-middle-bar {
  -webkit-animation: animate-out-middle-bar .6s linear 1 both;
  animation: animate-out-middle-bar .6s linear 1 both
}


/* ====================================
Animation keyframes
==================================== */

@keyframes animate-top-bar {
  0% {
    background-color: #4b249e;
  }
  50% {
    -webkit-transform: translateY(9px);
    transform: translateY(9px)
  }
  80% {
    -webkit-transform: translateY(5px);
    transform: translateY(5px);
    background-color: #4b249e
  }
  100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    background-color: #55adff;
  }
}

@keyframes animate-bottom-bar {
  0% {
    background-color: #4b249e;
  }
  50% {
    -webkit-transform: translateY(-9px);
    transform: translateY(-9px)
  }
  80% {
    -webkit-transform: translateY(-5px);
    transform: translateY(-5px);
    background-color: #4b249e;
  }
  100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    background-color: #ff3630;
  }
}

@keyframes animate-middle-bar {
  0% {
    background-color: #4b249e;
  }
  80% {
    background-color: #4b249e;
  }
  100% {
    background-color: #eb8ac0;
  }
}

@keyframes animate-out-top-bar {
  0% {
    background-color: #55adff
  }
  50% {
    -webkit-transform: translateY(9px);
    transform: translateY(9px)
  }
  80% {
    -webkit-transform: translateY(5px);
    transform: translateY(5px);
    background-color: #55adff
  }
  100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    background-color: #4b249e;
  }
}

@keyframes animate-out-bottom-bar {
  0% {
    background-color: #ff3630
  }
  50% {
    -webkit-transform: translateY(-9px);
    transform: translateY(-9px)
  }
  80% {
    -webkit-transform: translateY(-5px);
    transform: translateY(-5px);
    background-color: #ff3630;
  }
  100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    background-color: #4b249e;
  }
}

@keyframes animate-out-middle-bar {
  0% {
    background-color: #eb8ac0
  }
  80% {
    background-color: #eb8ac0;
  }
  100% {
    background-color: #4b249e;
  }
}

.home a {
  font-family: "Work Sans", sans-serif;
  color: #222;
  font-weight: 300;
  font-size: 12px;
  text-transform: uppercase;
  text-decoration: none;
  position: absolute;
  z-index: 10;
  top: 50px;
  left: 50px;
  padding-bottom: 3px;
  border-bottom: 1px solid #222;
}

@media (max-width: 640px) {
  nav ul {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
  }
  nav ul li {
    height: 20%;
  }
  nav ul li a {
    font-size: 18px;
  }
  nav li a:after {
    font-size: 0.8rem;
    bottom: -25px;
  }
  nav li a:hover:after {
    transform: translateY(0);
  }
  .open-overlay {
    right: 1rem;
  }
  nav li a:before {
    width: 25px;
  }
}

/* The Overlay (background) */
.overlay {
  /* Height & width depends on how you want to reveal the overlay (see JS below) */    
  height: 0;
  width: 100%;
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  bottom: 0;
  background-color: rgb(255, 255, 255); /* White fallback color */
  background-color: rgba(255, 255, 255, 0.9); /* White w/opacity */
  overflow-y: hidden; /* Disable horizontal scroll */
  transition: 0.5s; /* 0.5 second transition effect to slide in or slide down the overlay (height or width, depending on reveal) */
}

/* Position the content inside the overlay */
.overlay-content {
  position: relative;
  top: 5%; /* 25% from the top */
  width: 100%; /* 100% width */
  text-align: center; /* Centered text/links */
  margin-top: 30px; /* 30px top margin to avoid conflict with the close button on smaller screens */
}

/* The navigation links inside the overlay */
.overlay a {
  padding: 8px;
  text-decoration: none;
  font-size: 2em;
  color: #818181;
  display: block; /* Display block instead of inline */
  transition: 0.3s; /* Transition effects on hover (color) */
}

/* When you mouse over the navigation links, change their color */
.overlay a:hover, .overlay a:focus {
  color: #454545;
}

/* Position the close button (top right corner) */
.overlay .closebtn {
  position: absolute;
  bottom: -22px;
  left: 28%;
  font-size: 55px;
}

/* When the height of the screen is less than 450 pixels, change the font-size of the links and position the close button again, so they don't overlap */
@media screen and (max-height: 450px) {
  .overlay a {font-size: 20px}
  .overlay .closebtn {
    font-size: 40px;
    top: 15px;
    right: 35px;
  }
}