#main-menu ul {
    display: flex;
    list-style-type: none;
    margin-bottom: 1rem;
    padding-left: 0;
}

#hamburger #bottom-head ul{
    padding-left: 0;
}

#main-menu ul li {
    margin-left: 4rem;
}

#main-menu ul li a {
    color: #464648;
    padding: 0.5rem 0;
    font-weight: 400;
    position: relative;
    font-size: 0.8rem;
    text-transform: uppercase;
}

#main-menu ul li a:hover {
    color: #9a23a5;
}

#main-menu ul li ul {
    display: none;
}

#nav-header .content-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 0;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

#bottom-head ul {
    display: flex;
    list-style-type: none;
    justify-content: flex-end;
}

#bottom-head a {
    font-size: 0.7rem;
    color: var(--body-txt)
}

#bottom-head a:hover {
    color: var(--purple);
}

#bottom-head ul li {
    margin-left: 2rem;
    display: flex;
    align-items: center;
}

#nav-header {
    color: var(--h-txt);
    border-bottom: 1px solid rgba(66, 65, 62, 0.10);
    background: linear-gradient(261deg, rgba(255, 255, 255, 1) 0%, rgba(246, 247, 240, 1) 50%, rgba(236, 238, 234, 1) 100%);
    box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.10);
    backdrop-filter: blur(4px);
}

.wp-image-50 {
    margin-right: 7px;
}

.wp-image-52 {
    margin-right: 10px;
}

/* Dekorációs csíkok */
#nav-menu {
    position: relative;
}

.menu {
    margin-top: 3rem;
}


#menu-main-menu>li:first-of-type a::before {
    content: '';
    background: #BDC4B2;
    width: 1.5px;
    height: 4rem;
    position: absolute;
    left: -2rem;
    top: 0;
}

#menu-main-menu>li:last-of-type a::before {
    content: '';
    background: #BDC4B2;
    width: 39rem;
    height: 1.5px;
    position: absolute;
    right: 0;
    bottom: -0.2rem;
}

/* Logóra vonatkozó beállítások */
#logo a {
    display: flex;
    align-items: center;
}

#logotipia svg {
    width: auto;
    height: 1.9rem;
}

#emblem svg {
    width: auto;
    height: 2.9rem;
    margin-right: 15px;
}

#hamburger {
    display: none;
}


@media only screen and (max-width: 1240px) {
    #logo {
        margin: 0 0 2rem 0;
    }

    #logotipia svg {
        height: 1.7rem;
    }

    #bottom-head ul {
        justify-content: center;
    }

    .bottom-head {
        margin-bottom: 4rem;
    }

    #nav-header .content-box {
        flex-direction: column;
        align-items: center;
    }
}

@media only screen and (max-width: 830px) {
    #logo {
        margin: 0;
    }

    #logotipia svg {
        height: 1.5rem;
    }

    #emblem svg {
        height: 2.4rem;
    }

    /* Hamburger gomb megjelenítése */
    #main-menu ul,
    #bottom-head ul {
        display: block;
        margin-bottom: 2rem;
    }

    #main-menu ul li {
        margin-left: 0;
        margin-bottom: 1.5rem;
    }

    #main-menu ul li:last-child{
        margin-bottom: 2rem;
    }

    #main-menu ul li a{
        font-size: 1rem;
    }

    #bottom-head ul li {
        margin-left: 0;
        margin-bottom: 0.5rem;
        justify-content: center;
    }

    #menu-main-menu>li:first-of-type a::before,
    #menu-main-menu>li:last-of-type a::before {
        display: none;
    }

    #menu-main-menu{
        border-bottom: 1px solid rgba(67, 84, 45, 0.30);
        text-align: center;
    }

    #nav-header .content-box {
        flex-wrap: wrap;
        flex-direction: row !important;
        margin-bottom: 0;
    }

    #nav-menu {
        width: 100%;
        max-height: 0;
        opacity: 0;
        /*overflow: hidden;*/
        pointer-events: none;
        transition: all 0.3s ease-in-out;

    }

    #nav-menu.nyitva {
        max-height: 1000px;
        opacity: 1;
        pointer-events: auto;
    }

    #hamburger {
        display: flex;
        height: 2rem;
        width: 2.1rem;
        padding: 0.4rem;
        flex-direction: column;
        justify-content: space-between;
        border: 2px solid rgba(66, 65, 62, 0.2);
        transition: all 0.3s ease-in-out;
        cursor: pointer;
    }

    #hamburger.nyitva {
        background: var(--lightpurple);
        justify-content: center;
        align-items: center;
    }

    #hamburger span {
        display: block;
        width: 100%;
        height: 2px;
        background-color: var(--body-txt);
    }

    #hamburger.nyitva span:nth-of-type(2) {
        display: none;
    }

    #hamburger.nyitva span:nth-of-type(1) {
        transform: rotate(45deg);
        margin-bottom: -1.3px;
    }

    #hamburger.nyitva span:nth-of-type(3) {
        transform: rotate(-45deg);
        margin-top: -1.5px;
    }

}

@media only screen and (max-width: 480px) {
    #emblem svg {
        margin-right: 9px;
    }

    #logotipia svg {
        height: 1.3rem;
    }

    footer img {
        width: 150px;
    }
}