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





/* off-screen-menu */
.off-screen-menu {
    background-color:#FFF;
    height: 100vh;
    width: 100%;
    max-width: 100vw;
    position: fixed;
    top: 0px;
    right: -100vw;
    display: flex;
    flex-direction: column;
    align-items: flex-start;    
    justify-content:flex-start;
    padding-right: 70px;
    padding-top: 80px;
    text-align: left;
    padding-left: 4vh;
    font-size: 3rem;
    transition: .3s ease;
    z-index: 100;
}
.off-screen-menu.active {
    right: 0;
}



/* nav */
nav {
    background-color: transparent;
    padding: 1.6rem 2.6vh;
    display: flex;
}



/* ham menu */
.ham-menu {
    background-color:transparent;
    height: 50px;
    width: 60px;
    margin-left: auto;
    position: relative;
    z-index: 1500;
}
@media only screen and (max-width: 600px) {
    .ham-menu {
    background-color:transparent;
    height: 50px;
    width: 40px;
    margin-left: auto;
    position: relative;
    z-index: 1500;
}
}

.ham-menu span {
    height: 2px;
    width: 100%;
    background-color: #000;
    border-radius: 25px;
    position: absolute;
    left: 2.8vh;
    top: 50%;
    transform: translate(-50%, -50%);
    transition: .3s ease;
}

@media only screen and (max-width: 600px) {
    .ham-menu span {
    height: 2px;
    width: 120%;
    background-color: #000;
    border-radius: 25px;
    position: absolute;
    left: 3vh;
    top: 50%;
    transform: translate(-50%, -50%);
    transition: .3s ease;
}
}

.ham-menu span:nth-child(1) {
    top: 30%;
    /*left: 0;*/
}/*.ham-menu span:nth-child(3) {
    top: 65%;
}*/
.ham-menu.active span {
    background-color: black;
}
.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%;
    /*left: 20%;*/
    transform: translate(-50%, -50%) rotate(-45deg);
}







