/*
 Theme Name:   Lukasz Friedrich
 Theme URI:    https://sychowicz.eu
 Description:
 Author:       Czarny Koń Wojciech Sychowicz
 Author URI:   https://lukaszfriedrich.com
 Template:     hello-elementor
 Version:      1.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html

 /* == Add your own styles below this line ==
--------------------------------------------*/

body {
  background-color: #e8e5e0;
}

.menu-item a,
.elementor-heading-title a {
  transition: color 0.4s ease;
}

header {
  z-index: 10000;
  position: relative;
}

/* menu */

#lf-menu__wrapper {
  position: relative;
  display: flex;
  flex-direction: row;
}

#lf-menu {
  .menu-list {
    font-family: Montserrat, Sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #ffffff;
    margin: 0;
    padding: 0;
    display: flex;
    text-transform: uppercase;
    gap: 10px;

    li {
      list-style-type: none;
      padding: 0;
      margin: 0;

      a {
        color: #fff;

        &:hover {
          color: var(--e-global-color-primary);
        }
      }

      &.active {
        a {
          color: var(--e-global-color-primary);
        }
      }
    }
  }
}

#lf-menu__button {
  display: none;
  flex-direction: column;
  width: 60px;
  gap: 4px;
  padding: 10px;
  height: 50px;
  border: none;
  span {
    display: block;
    height: 4px;
    background-color: #54595F;
    position: relative;
    transition: all 0.6s;
  }

  &:hover {
    background-color: transparent;
  }
}

@media screen and (max-width: 1124px) {
  #lf-menu {
    display: none;
    .menu-list {
      flex-direction: column;
    }
  }
  #lf-menu.closed {
    display: none;
  }
  #lf-menu.opened {
    display: flex;

    .menu-list {
      position: fixed;
      z-index: 99;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      z-index: 100;
      background-color: #000a;
      padding: 60px;
      justify-content: center;
      align-items: center;
      gap: 30px;

      li a {
        color: #fff !important;
      }
    }
  }

  #lf-menu__button {
    display: flex;
    z-index: 100;
  }
  #lf-menu__button.close {
    span:nth-child(1) {
      transform: rotate(45deg);
      top: 10px;
      left: 0;
    }
    span:nth-child(4) {
      transform: rotate(-45deg);
      top: 2px;
      right: 0;
    }
    span:nth-child(2),
    span:nth-child(3) {
      display: none;
    }
  }
}
