@import url(http://fonts.googleapis.com/css?family=Vollkorn|Roboto);



@media screen and (max-width:320px) {
	.overlay3 { top: 283px; }
     .overlay { top: 95px!important; }
     .overlay2  { top: 185px!important; }
}

@media screen and (max-width:360px) {
	.overlay3 { top: 290px; }
    .overlay2 { top: 190px!important; }
}

@media screen and (max-width:384px) {
    .overlay { top: 95px!important; }
    .overlay2  { top: 185px!important; }
}

@media screen and (max-width:400px) {
    .overlay2  { top: 190px!important; }   
}

@media screen and (max-width:480px) {
    .overlay { top: 95px!important; }
    /*.overlay2  { top: 200px!important; }   */
}

.toggle-button {
    position: relative;
    width: 100%;
    cursor: pointer;
    z-index: 3;
}

.bar {
    background-color: #ff5252;
    display: block;
    width: 100%;
    height: 5px;
    border: 0;
    -webkit-transition: all .35s ease;
    transition: all .35s ease;
}
.bar + .bar {
    margin-top: 4px;
}
.middle {
    top: 11px;
}
.bottom {
    top: 22px;
}
.toggle-button:hover {
    opacity: 1;
}
.toggle-active .bar {
    background-color: #fff;
}
.toggle-active .top {
    -webkit-transform: translateY(6px) translateX(0) rotate(45deg);
}
.toggle-active .middle {
   opacity: 0;
}
.toggle-active .bottom {
    -webkit-transform: translateY(-12px) translateX(0) rotate(-45deg);
}

.overlay {
    position: fixed;
    background-image: linear-gradient(120deg, #0583e4 0%, #aaa9ad 50%, #e41e2c 100%);
    top: 80px;
    right: 0;
    width: 50%;
    height: 0;
    visibility: hidden;
    opacity: 0;
    -webkit-transition: opacity .35s, visibility .35s, height .35s;
    z-index: 3;
}

.overlay2, .overlay3, .overlay4 {
    position: fixed;
    background-image: linear-gradient(120deg, #0583e4 0%, #aaa9ad 50%, #e41e2c 100%);
    left: 0;
    height: 0;
    visibility: hidden;
    opacity: 0;
    -webkit-transition: opacity .35s, visibility .35s, height .35s;
    z-index: 3;
}

.overlay2 {
    top: 200px;
    width: 60%;
}

.overlay3, .overlay4 {
    top: 285px;
    width: 50%;
}

.nav-active {
    opacity: 1;
    visibility: visible;
    height: 100%;
/*    max-height: 340px;*/
}
.overlay ul, .overlay2 ul, .overlay3 ul, .overlay4 ul {
    display: block;
    position: relative;
    /*top: 120px;*/
    top: 7%;
    left: 0;
    font-family: 'Vollkorn', serif;
    font-size: 18px;
    font-weight: 400;
    text-align: center;
    list-style: none;
    padding: 0;
}
.overlay ul li, .overlay2 ul li, .overlay3 ul li, .overlay4 ul li  {
    display: block;
    /*margin-top: -55px;*/
}
.overlay ul li a {
    color: #fff;
    font-size: 25px;
    text-decoration: none;
}

.overlay2 ul li a, .overlay3 ul li a {
    color: #fff;
    font-size: 18px;
    text-decoration: none;    
}