header {
    display: grid;
    place-items: center center;
    background-color: rgba(0,0,0,0.3);
    position: fixed;
    top: 0px;
    width: 100%;
    z-index: 999;

    .headerContent {
        display: flex;
        align-items: center;
        justify-content: space-between;

        padding: 0px 10px;
        width: 100%;
        max-width: 1400px;

        * {
            color: white;
        }

        .menuAndPhoneDesktop {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 40px;

            nav {
                ul#menu-menu {
                    display: flex;
                    align-items: center;
                    list-style-type: none;
                    font-size: 30px;
                    margin: 0px;
                    gap: 40px;
                    height: 90px;

                    li {
                        transition: 0.2s;
                        text-align: center;
                        height: 100%;
                        display: flex;
                        align-items: center;

                        a {
                            font-weight: 600;
                            text-decoration: none;
                        }
                        &:hover {
                            a {
                                color: #FFA434;
                            }
                            ul.sub-menu a {
                                color: white;
                            }
                        }
                    }
                    li#menu-item-24 {
                        position: relative;

                        ul.sub-menu {
                            position: absolute;
                            display: none;
                            flex-direction: column;
                            justify-content: center;
                            align-items: center;
                            margin: 0px;
                            background-color: #f8f8f8e6;
                            padding: 10px 70px;
                            gap: 20px;
                            left: -70px;
                            top: 90px;


                            li {
                                list-style-type: none;
                                position: relative;
                                display: flex;
                                justify-content: center;
                                
                                a {
                                    font-weight: 400;
                                    color: #747474;
                                }

                                &:hover {
                                    a {
                                        color: #FFA434;
                                    }
                                }

                                &:nth-child(1), &:nth-child(2) {
                                    &:before {
                                        content: "";
                                        display: block;
                                        position: absolute;
                                        width: 40px;
                                        height: 2px;
                                        background-color: #747474;
                                        top: 60px;
                                    }
                                }
                            }
                        }

                        &:hover {
                            ul.sub-menu {
                                display: flex;
                            }
                        }
                    }
                }
            }
    
            .phone {
                text-decoration: none;
                background-color: #FFA434;
                color: white;
                padding: 0px 20px;
                font-size: 30px;
                font-weight: 600;
                border-radius: 25px;
                display: flex;
                align-items: center;
                justify-content: center;
                gap: 5px;
                border: 2px solid #FFA434;
                transition: 0.2s;

                span {
                    transition: 0.2s;
                }

                svg {
                    margin-top: 3px;
                }

                &:hover {
                    background-color: unset;
                    
                    span {
                        color: #FFA434;
                    }

                    svg {
                        fill: #FFA434;
                    }
                }
            }
        }
    }
}
@media (max-width: 1366px) {
    header {
        .headerContent {
            .menuAndPhoneDesktop {
                gap: 30px;

                nav {
                    ul#menu-menu {
                        gap: 30px;
                        font-size: 25px;
                    }
                }

                .phone {
                    font-size: 25px;
                }
            }
        }
    }
}

@media (min-width: 1024px) {
    header {
        .headerContent {
            .menuAndPhoneDesktop {
                display: flex;
            }
            .menuAndPhoneMobile {
                display: none;
            }
        }
    }
}

@media (max-width: 1024px) {
    header {
        .headerContent {
            padding: 0px 20px;
            .custom-logo-link {
                img {
                    width: 150px;
                }
            }

            .menuAndPhoneDesktop {
                display: none;
            }
            .menuAndPhoneMobile {
                display: flex;

                .hamburgerMenuButton {
                    height: 30px;
                    background-color: white;
                    border-radius: 40px;
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    padding: 20px 40px;
                    z-index: 999;
                    border: 2px solid white;
                    transition: 0.2s;

                    span {
                        display: block;
                        font-size: 17px;
                        color: #747474;
                        font-weight: 800;
                    }
                }

                .hamburgerMenuButton.activeButton {
                    border: 2px solid #747474;
                }

                .hamburgerMenuContent {
                    z-index: 998;
                    position: absolute;
                    background-color: #ffffffe6;
                    backdrop-filter: blur(2px);
                    width: 100vw;
                    height: 100vh;
                    left: 100vw;
                    top: 0px;
                    transition: 0.3s;
                    display: flex;
                    flex-direction: column;
                    align-items: center;
                    padding-top: 100px;
                    gap: 30px;

                    .phone {
                        text-decoration: none;
                        background-color: #FFA434;
                        color: white;
                        padding: 0px 20px;
                        font-size: 30px;
                        font-weight: 600;
                        border-radius: 25px;
                        display: flex;
                        align-items: center;
                        justify-content: center;
                        gap: 5px;
                        border: 2px solid #FFA434;
                        transition: 0.2s;

                        svg {
                            margin-top: 3px;
                        }
                    }

                    nav {
                        ul#menu-menu-1 {
                            margin: 0px;
                            list-style-type: none;
                            display: flex;
                            flex-direction: column;
                            justify-content: center;
                            align-items: center;
                            gap: 20px;

                            li {
                                display: flex;
                                flex-direction: column;
                                justify-content: center;
                                align-items: center;
                                position: relative;

                                &:before {
                                    content: "";
                                    display: block;
                                    position: absolute;
                                    width: 200px;
                                    height: 2px;
                                    background-color: #747474;
                                    top: 50px;
                                }

                                a {
                                    color: #747474;
                                    text-decoration: none;
                                    font-size: 30px;
                                    font-weight: 600;
                                }

                                .sub-menu {
                                    margin: 0px;
                                    height: 0px;
                                    overflow: hidden;
                                    transition: 0.2s;
                                    
                                    li {
                                        &:before {
                                            display: none;
                                        }
                                    }
                                }

                                .sub-menu.visibleSubmenu {
                                    height: 200px;
                                    overflow: unset;
                                    padding-top: 15px;
                                }
                            }
                        }
                    }

                    .facebookLogo {
                        height: 40px;
                    }
                }
                .hamburgerMenuContent.visibleHamburgerMenu {
                    left: 0vw;
                }
            }
        }
    }
}