.overlay {
    width: 100%;
    height: 100%;
    position: fixed;
    display: none;
    background: rgba(0,0,0,0.2);
}

.overlay.black{
    display: block;
}

.ham-button{
    display: none;
    flex-direction: column;
    gap: 10px;
}

.ham-button div{
    width: 46px;
    height: 5px;
    background-color: white;
}

.ham-ul{
    /* opacity: 0; */
    pointer-events: none;
    transition: all 0.5s ease-in-out;
    position: fixed;
    background-color: rgb(10 88 157);
    height: 100vh;
    display: flex;
    width: 75%;
    right: -100%;
    top: 0;
    justify-content: flex-end;
    text-align: right;
    padding: 30px;
}

.ham-ul ul{
    list-style-type: none;
    gap: 20px;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.ham-ul a{
    font-size: 30px;
    color: white;
}

.ham-ul.show{
    /* opacity: 1; */
    pointer-events:all;
    right: 0;
}
.ham-close{
    margin-right: auto;
}
.ham-close div {
    height: 8px;
    background-color: white;
    transition: ease-in-out 0.5s all;
}
.anim div:nth-child(1) {
    width: 50px;
    transform: rotate(-45deg) translateY(5px);
}
.anim div:nth-child(2) {
    width: 50px;
    transform: rotate(45deg) translateY(-5px);
}

@media screen and (max-width: 750px){
    nav ul{
        display: none;
    }
    .ham-button{
        display: flex;
    }
}