#menu-bar {
	display: none;
}

header label {
	float: right;
	font-size: 28px;
	margin: 6px 0;
	cursor: pointer;
    background-color: rgba(1, 1, 1, 0.81);
}
.logo{
    max-width: 300px;
    padding-top: 20px;
    margin: auto;
}
.menu {
	position: absolute;
	top: 0px;
	left: 0;
	width: 90%;
	height: 80vh;
    margin: auto;
	transition: all 0.5s;
	transform: translateX(-100%);
     background:  rgba(32, 91, 172, 0.83);
}

.menu a {
	display: block;
    color: white;
	height: 50px;
	text-decoration: none;
	padding: 15px;
	font-size:14px;
	border-bottom: 1px solid rgba(255,255,255,0.3);
    text-transform: uppercase;
    font-weight: 600;
   
}

.menu a:hover {
	text-decoration: overline;
    background:  rgba(93, 165, 227, 0.79);    
	/*text-transform: lowercase;*/
       
}

.menu ul {
    position: absolute;
    left: 50%;
    top: 40px;
    display: none;
    width: 100%;
    
} 

.menu li{
    list-style: none;
    background: rgba(32, 91, 172, 0.83);
    padding-left: 5px;
 
}

.menu span:hover ul{
	display: block;
	/*text-transform: lowercase;*/
}


#menu-bar:checked ~ .menu {
	transform: translateX(0%);
}

@media (min-width:1024px) {
	header label {
		display: none;
	}
	
	.menu {
		transform: translateX(0);
		width: 380px;
		height: 15vh;
		display: flex;
        margin: auto;
        left: 0;
        right: 0;
        background:  rgba(32, 91, 172, 0);
	}
	
	.menu a {
		border: none;
        padding-top: 10%;
        height: 15vh;
	}
}


.menu-fixed {
	z-index:1000;
	 background: rgba(32, 91, 172, 0.83);
	/*max-width:1000px;*/
	top:0;
	width:100%;
    height: 15vh;
}

@media (max-width:800px) {
    .menu  ul{
        position: relative;
        left: 30px;
        top: -10px;
        margin-top: 0;
        
    }

}


