#menu-img {
    position: fixed;
    top: 0;
    right: 0;
    width: 50px;
    padding: 10px;
    z-index: 1000;
}
nav {
    position: fixed;
    top: 70px;
    right: -100vw;
    background-color: var(--opaque);
    backdrop-filter: blur(1px);
    max-width: 70%;
    border-top-left-radius: 5%;
    border-bottom-left-radius: 5%;
    transition: right ease 1s;
    transition-delay: 1.5s;
    z-index: 1000;
}
nav ul {
    max-width: 80%;
    list-style-type: disclosure-closed;
    line-height: 1.5;
}
nav a {
    padding-left: 0;
    transition: all ease 0.5s;
}
nav a:hover {
    padding-left: 2%;
    transition: all ease 1s;
}
nav p {
    text-align: center;
}
#menu-img:hover + nav, nav:hover {
    right: 0;
    transition: right ease 1s;
}

@media screen and (max-width:  1200px) {
    #menu-img:active + nav {
        right: 0;
        transition: right ease 1s;
    }
    .home-container-mobile:active + nav {
        right: -100vw;
        transition: right ease 1s;
    }

    nav {
        transition-delay: 0.5s;
    }
}