.nav-menu {
    font-family: 'Poppins-Regular';
    width: 96%;
    position: fixed;
    top: 0;
    height: 14vh;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2%;
    border-bottom: 1px solid #DEDEDE;
    background-color: #ffffffef;
    backdrop-filter: blur(28px);
    font-size: (--fs-base);
    z-index: 999;

    .wpa-logo-full {
        width: 128px;
    }

    .wpa-logo-logomark {
        display: none;
    }

    .mainlogo:hover {
        scale: 1.05;
        transition: all 0.2s ease-in-out;
    }

    .menu-start {
        display: flex;
        align-items: center;
        gap: 52px;
        height: 100%;

        .menu-button {
            display: none;
        }

        .menu-list {
            display: flex;
            height: 100%;
            gap: 32px;

            .list-element {
                position: relative;
                height: 100%;
                /* background-color: aquamarine; */
                display: flex;
                flex-direction: column;
                align-items: center;

                .nav-text {
                    /* background-color: #333; */
                    height: 100%;
                    display: grid;
                    place-content: center;
                    transition: all 0.09s ease-in-out;
                    cursor: pointer;

                    a {
                        text-decoration: none;
                        color: #555555;
                    }
                }

                .nav-text:hover {
                    font-weight: bolder;
                    color: black;

                    a:hover {
                        color: black;
                    }
                }

                .overlay-container {
                    position: relative;
                    background-color: #DEDEDE;
                    width: 100%;
                    display: flex;
                    justify-content: center;

                    .nav-overlay {
                        position: absolute;
                        width: 324px;
                        background-color: white;
                        border: 1px solid #DDDDDD;
                        display: none;
                        padding: 16px 0 32px 0;
                        height: 500px;

                        .overlay-indication {
                            width: 100%;
                            padding: 4% 0;
                            display: flex;
                            flex-direction: column;
                            align-items: center;
                        }

                        .overlay-item {
                            width: 100%;
                            color: black;
                            font-size: (--fs-base);
                            display: flex;

                            p {
                                width: 100%;
                                padding: 0 42px;
                            }

                            p:hover {
                                font-weight: bold;
                                cursor: pointer;
                            }

                            .under-overlay-container {
                                width: 1px;
                                height: 100%;

                                .nav-under-overlay {
                                    position: absolute;
                                    top: 0;
                                    height: 500px;
                                    width: 294px;
                                    padding: 16px 12px 32px 0;
                                    margin: -1px 0 0 1px;
                                    border: 1px solid #DDDDDD;
                                    background-color: white;
                                    display: none;

                                    .under-overlay-title {
                                        padding: 4% 42px;
                                        font-size: var(--fs-xl);
                                        font-weight: bold;

                                        a {
                                            color: black;
                                            text-decoration: none;
                                        }
                                    }

                                    .overlay-item {
                                        display: flex;
                                        justify-content: start;
                                    }
                                }

                                .big-overlay-container {
                                    width: 392px;
                                }

                                .big-overlay {
                                    width: 574px;
                                }
                            }
                        }
                    }
                }
            }
        }
    }

    .overlay-item-list {
        padding: 0 0 0 52px;
        /* background-color: #D80027; */
        display: flex;
        align-items: center;
        gap: 8px;

        a {
            color: black;
            text-decoration: none;
        }
    }

    .overlay-item-text {
        padding: 0 42px 0 52px;
        /* background-color: #D80027; */
        display: flex;
        align-items: center;
        gap: 8px;

        a {
            color: black;
            text-decoration: none;
        }
    }

    .overlay-item-list img {
        transform: translateX(-6px);
        /* Start position (hidden to the left) */
        opacity: 0;
        /* Hidden initially */
        transition: transform 0.3s ease-out, opacity 0.3s ease-out;
    }

    .overlay-item-text img {
        transform: translateX(-6px);
        /* Start position (hidden to the left) */
        opacity: 0;
        /* Hidden initially */
        transition: transform 0.3s ease-out, opacity 0.3s ease-out;
    }

    .overlay-item-text:hover img {
        transform: translateX(0);
        /* Move to normal position */
        opacity: 1;
        /* Show image */
    }

    .overlay-item-list:hover img {
        transform: translateX(0);
        /* Move to normal position */
        opacity: 1;
        /* Show image */
    }

    .overlay-item-text:hover {
        cursor: pointer;
        font-weight: bold;
    }

    .overlay-item-list:hover {
        cursor: pointer;
        font-weight: bold;
    }

    .overlay-division {
        display: flex;
    }

    .menu-end {
        display: flex;
        align-items: center;
        gap: 14px;

        .icon-button {
            background-color: white;
            border: 1px solid #37383A;
            border-radius: 50px;
            height: 32px;
            width: 32px;
            display: grid;
            place-content: center;
        }

        .red-button {
            background-color: #D80027;
            padding: 10px 32px;
            border-radius: 50px;
            border: none;
            color: white;
            cursor: pointer;
            transition: all 0.1s ease-in-out;
        }

        .red-button:hover {
            scale: 1.08;
        }
    }

    .profile-image {
        height: 36px;
        width: 36px;
        object-fit: cover;
        border-radius: 50px;
        transition: all 0.1s ease-in-out;
        border: 3px solid #BB1A21;
        cursor: pointer;
    }

    .profile-image:hover {
        scale: 1.08;
    }
}

.close-it, .wpa-little-ref {
    display: none;
}

@media (max-width: 991px) {
    .nav-menu {
        width: 100vw;
        height: 13vh;
        padding: 0;
        margin: 0;

        .wpa-logo-full {
            display: none;
            pointer-events: none;
        }

        .wpa-logo-logomark {
            display: block;
            width: 64px;
            pointer-events: none;
        }

        .close-it {
            position: fixed;
            top: 0;
            left: 0;
            width: 94%;
            display: flex;
            align-items: center;
            justify-content: end;
            transition: all 0.6s ease-in-out;
            z-index: 5;
            padding-top: 20px;
            pointer-events: none;

            img {
                background-color: #f5f5f5;
                padding: 6px;
                border-radius: 500px;
                pointer-events: all;
            }
        }

        .wpa-little-ref {
            position: absolute;
            bottom: 128px;
            left: 0;
            width: 100%;
            font-size: 10px;
            opacity: 0.48;
            pointer-events: none;
            text-align: center;
            display: block;
        }

        .menu-start {
            gap: 10px;
            position: relative;
            padding-left: 16px;

            .menu-button {
                display: flex;
                justify-content: center;
                justify-content: center;
                background-color: white;
                border: none;
                outline: none;
                width: 26px;
                height: 26px;

                img {
                    width: 26px;
                    opacity: 0.78;
                }
            }

            .menu-list {
                position: fixed;
                top: 0;
                left: 0;
                background-color: white;
                flex-direction: column;
                width: 100vw;
                height: 100vh;
                margin: 0;
                padding: 0;
                z-index: 2;
                justify-content: center;
                align-items: center;
                gap: 0;
                opacity: 0;
                left: -100vw;
                transition: all 0.5s ease-in-out;

                &.open {
                    display: flex;
                    left: 0;
                    opacity: 1;
                }

                .res-logo {
                    position: absolute;
                    top: 0;
                    left: 0;
                    width: 100%;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    padding-top: 78px;

                    img {
                        width: 100px;
                    }
                }

                .list-element {
                    height: fit-content;
                    padding: 0;
                    margin: 0;

                    &.active {
                        position: absolute;
                        z-index: 2;
                        top: 20%;
                        left: 0;
                        width: 100%;

                        .nav-text {
                            font-size: 22px;
                            color: black;
                            font-weight: Bold;
                        }
                    }

                    .nav-text {
                        /* background-color: #555555; */
                        padding: 0;
                        margin: 0;
                        height: fit-content;
                        font-size: 18px;
                        transition: all 0.2s ease-in-out;
                    }

                    .overlay-container {
                        background-color: white;

                        .nav-overlay {
                            z-index: 2;
                            height: 95%;

                            .overlay-item {
                                display: flex;
                                flex-direction: column;

                                .under-overlay-container {
                                    display: flex;
                                    height: 1px;
                                    width: 100%;

                                    .under-overlay {
                                        top: 108px;
                                        display: flex;
                                        position: absolute;
                                        width: 100%;

                                        .nav-under-overlay {
                                            width: 95%;
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }

        .menu-end {
            padding-right: 18px;
        }
    }
}