
/* base styles 

*/
* {
    
    padding: 0;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
}

a {
    color: white;
}
a:visited {
    color: white;
}
a:hover {
    color: #6F86FF;
}

body {
    background-color:#bfbfbf;
    font-family: sans-serif;
}



/* off-screen-menu */
.off-screen-menu {
	margin-top:50px;
    background-color:  rgb(34, 37, 49);
    height: 100vh;
    width: 100%;
    max-width: 200px;
    position: fixed;
    top: 0;
    right: -450px;
    display: flex;
    flex-direction: column;
    text-align: left;
    font-size: 1.5rem;
    transition: .3s ease;
}
.off-screen-menu.active {
    left: 0;
    flex-direction: column;	
}

.off-screen-menu.active ul{
   margin-left: 20px;
   flex-direction: column;
}

/* nav */
nav {
    padding-left: 1rem;
    display: flex;
	max-height:40px;
    background-color: rgb(26, 100, 51);
}



/* ham menu */
.ham-menu {
    height: 40px;
    width: 35px;

    position: relative;
}
.ham-menu span {
    height: 4px;
    width: 100%;
    background-color: #6F86FF;
    border-radius: 22px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    transition: .3s ease;
}
.ham-menu span:nth-child(1) {
    top: 25%;
}
.ham-menu span:nth-child(3) {
    top: 75%;
}
.ham-menu.active span {
    background-color: white;
}
.ham-menu.active span:nth-child(1) {
    top: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
}
.ham-menu.active span:nth-child(2) {
    opacity: 0;
}
.ham-menu.active span:nth-child(3) {
    top: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
}