div.display_menu_nav {
    display: none;
}

.wrapper-menu {
    position: fixed;
    top: 30px;
    right: 60px;
    width: 50px;
    height: 50px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    z-index: 9990;
    transition: transform 330ms ease-out;
}

.wrapper-menu.open {
    transform: rotate(-45deg);
}

.line-menu {
    background-color: #821fa0;
    border-radius: 5px;
    width: 100%;
    height: 10px;
    border: 1px solid #f3f4f6;
}

.line-menu.half {
    width: 50%;
}

.line-menu.start {
    transition: transform 330ms cubic-bezier(0.54, -0.81, 0.57, 0.57);
    transform-origin: right;
    background-color: #821fa0;
}

.open .line-menu.start {
    transform: rotate(-90deg) translateX(3px);
}

.line-menu.end {
    align-self: flex-end;
    transition: transform 330ms cubic-bezier(0.54, -0.81, 0.57, 0.57);
    transform-origin: left;
    background-color: #821fa0;
}

.open .line-menu.end {
    transform: rotate(-90deg) translateX(-3px);
}

.menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #f3f4f6;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    transform: scale(0.8) rotate(-15deg);
    opacity: 0;
    transition: transform 0.5s ease, opacity 0.5s ease;
    z-index: 1000;
    pointer-events: none;
}

.menu.open {
    transform: scale(1) rotate(0deg);
    opacity: 1;
    pointer-events: auto;
}

.menu a {
    color: #821fa0;
    font-size: 24px;
    text-decoration: none;
    margin: 15px;
    transition: color 0.3s;
}

.menu a:hover {
    color: #f39c12;
}

@media only screen and (max-width: 1024px) {
    .wrapper-menu {
        width: 40px;
        height: 40px;
    }

    .line-menu {
        height: 6px;
    }
}

@media only screen and (max-width: 768px) {
    .wrapper-menu {
        right: 30px;
    }
}

@media only screen and (max-width: 468px) {
    .wrapper-menu {
        width: 30px;
        height: 30px;
        right: 10px;
    }
}