/*Theme Name: balanceliving*/

#myBtn {
    z-index: 111;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-decoration: none;
    border: solid 2px var(--beige);
    color: var(--beige);
    background: var(--dark-green);
    position: fixed;
    bottom: 20px;
    right: 20px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow:
        0 4px 8px 0 rgb(0 0 0 / 20%),
        0 6px 20px 0 rgb(0 0 0 / 19%);
}

header {
    width: 100%;
    background: var(--beige);
}

.container-box {
    max-width: 1360px;
    margin: 0 auto;
    width: 98%;
}

.header-inner {
    display: grid;
    grid-template-columns: 250px 1fr 40px;
    align-items: center;
    height: 110px;
}

.logo img {
width: 100% !important;
    max-width: 240px !important;
    height: auto !important;
}

nav {
    display: flex;
    justify-content: center;
}

nav ul {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin: 0;
}

nav a {
    color: var(--dark-green);
    text-decoration: none;
    white-space: nowrap;
    font-weight: 400;
    transition: .3s;
}

nav a:hover {
    color: var(--terrakotta);
}

/* Bejelentkezés gomb */
.login-menu-item a {
    display: inline-block;
    padding: 5px 20px;
    background-color: var(--terrakotta);
    color: var(--beige) !important;
    border-radius: 35px;
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 17px;
}

/* Hover */
.login-menu-item a:hover {
    background-color: var(--terrakotta);
    color: var(--beige) !important;
    transform: translateY(-1px);
    opacity: 0.8;
}

.social-icons {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    gap: 18px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-green);
    transition: .3s;
}

.social-icons svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.social-icons a:hover {
    color: var(--terrakotta);
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    padding: 8px;
    border: 0;
    background: transparent;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
}

.menu-toggle span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--dark-green);
    transition: .3s ease;
}

.video-desktop {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-mobile {
    display: none;
}

@media (max-width: 1100px) {

    .header-inner {
        grid-template-columns: 170px 1fr 90px;
    }

    nav ul {
        gap: 22px;
    }

}

@media (max-width: 1080px) {

    header {
        position: relative;
    }

    .container {
        width: 90%;
    }

    .header-inner {
        display: flex;
        flex-direction: column;
        align-items: center;
        position: relative;
        width: 100%;
        height: auto;
        padding: 10px 0 12px;
    }

    .logo {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .logo img {
        padding: 3px;
    }

    #menu-item-406 a {
        display: inline;
    }

    .social-icons {
        flex-direction: row;
        margin-top: 5px;
    }

    .social-icons a {
        width: 28px;
        height: 28px;
    }

    .menu-toggle {
        display: flex;
        position: absolute;
        right: 0;
        bottom: 4px;
        z-index: 1001;
    }

    .menu-toggle {
        display: flex !important;
        position: absolute;
        right: 0;
        top: 80px;
        width: 42px;
        height: 42px;
        padding: 8px;
        border: 0;
        background: transparent;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 6px;
        cursor: pointer;
        z-index: 1001;
    }

    .menu-toggle span {
        display: block;
        width: 26px;
        height: 2px;
        background: var(--dark-green);
        transition: .3s ease;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    nav {
        display: block;
        width: 100%;
        margin-top: 0;
        max-height: 0;
        opacity: 0;
        overflow: hidden;
        transition:
            max-height .45s ease,
            opacity .3s ease,
            margin-top .3s ease;
    }

    nav.active {
        max-height: 500px;
        opacity: 1;
        margin-top: 15px;
    }

    nav ul {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        gap: 10px;
        padding: 5px 0 10px;
    }

    nav ul li {
        width: 100%;

        text-align: center;
    }

    nav a {
        display: block;
        width: 100%;
        padding: 11px 0;
        border-bottom: solid 2px var(--terrakotta);
        font-size: 18px;
    }

    .last-li a {
        border-bottom: none;
    }
}

@media (max-width: 700px) {
    .video-desktop {
        display: none;
    }

    .video-mobile {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

}

@media (max-width: 550px) {
    #menu-item-406 a {
        display: inline-block;
    }
}