*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.menu_header ul{
    list-style: none;
	margin-left: 0 !important;
}

/* Header */
.menu_header{
    position: sticky;
    top: 0;
	background-color: white;
	border-bottom: solid 1px #336699;
	box-shadow: 0 6px 6px -6px #336699;
}

.logo{
    display: inline-block;
    font-size: 40px;
	padding: 10px 0;
    margin-left: 10px;
}


/* Nav menu */
.nav{
    width: 100%;
    height: 100%;
    position: fixed;
    overflow: hidden;
    max-height: 0;
    transition: max-height .5s ease-out;
	background-color: white;
	top: 71px;
}

.nav a:visited, a.logo:visited {
	color: #336699;
}


.menu a{
    display: block;
    padding: 5px 1em;
	text-decoration: none;
}

.menu li {
	line-height: 3em;
	margin-left: 0 !important;
	margin-bottom: 0 !important;
}

.hamb{
    cursor: pointer;
    float: right;
    padding: 40px 20px;
}


.hamb-line {
    background: #336699;
    display: block;
    height: 2px;
    position: relative;
    width: 24px;
}

.hamb-line::before,
.hamb-line::after{
    background: #336699;
    content: '';
    display: block;
    height: 100%;
    position: absolute;
    transition: all .2s ease-out;
    width: 100%;
}

.hamb-line::before{
    top: 5px;
}

.hamb-line::after{
    top: -5px;
}


.side-menu {
    display: none;
}

/* Toggle menu icon */

.side-menu:checked ~ nav{
    max-height: 100%;
}

.side-menu:checked ~ .hamb .hamb-line {
    background: transparent;
}

.side-menu:checked ~ .hamb .hamb-line::before {
    transform: rotate(-45deg);
    top:0;

}

.side-menu:checked ~ .hamb .hamb-line::after {
    transform: rotate(45deg);
    top:0;
}



/* Responsiveness */

@media (min-width: 900px) {
    .nav{
        max-height: none;
        top: 0;
        position: relative;
		float: right;
		width: fit-content;
    }

    .menu li{
        float: left;
		line-height: 59px;
		margin-bottom: 0;
    }

    
    .hamb{
        display: none;
    }

}

