/* 
Theme Name: Hello Elementor Child
Theme URI: 
Description: vittorio arpini
Author: 
Author URI: 
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: 
License URI: 
Tags: 
*/

/* edit the hamburger and close icon colors here */
.lytbox-button1 {
  --hamburger-color: #000000;
    --close-x-color: #fff;
  display: block;
  height: 18px;
  cursor: pointer;
  position: relative;
  z-index: 101;
}
.lytbox-button {
  --hamburger-color: #19294b;
  --close-x-color: #FFFFFF;
  display: block;
  height: 18px;
  cursor: pointer;
  position: relative;
  z-index: 101;
}
/* must add in elementor template ID number to make the menu full width */
.elementor-39 {
  width: 100%;
}
/* end editing */

.lytbox-navigation {
  position: fixed;
  top: 0;
  left: 0;
  transform: translateX(100%);
  overflow: hidden;
  transition: transform 0.2s;
  width: 100%;
  height: 100vh;
  z-index: 100;
}

.lytbox-navigation {
  display: flex;
  justify-content: center;
  align-items: center;
}
/* toggle hamburger*/

.lytbox-button .hamburguer {
  position: relative;
}

.lytbox-button .hamburguer span{
  display: block;
  height: 2px;
  width: 24px;
  background: var(--hamburger-color);
  transform-origin: 50% 50%;
  transition: all 0.1s 0.2s ease, transform 0.2s ease;
}

.lytbox-button .hamburguer span:nth-child(2) {
  transform: translate(0, 6px);
}

.lytbox-button .hamburguer span:nth-child(3) {
  transform: translate(0, 12px);
    
}

.lytbox-nav_control {
  position: absolute;
  left: -9999px;
  width: 100%;
  clip: rect(0, 0, 0, 0);
}

.lytbox-nav_control:checked~.lytbox-navigation {
  transform: translateX(0);
  opacity: 1;
  transition: transform 0.3s, opacity 0.3s;
}

.lytbox-nav_control:checked~.lytbox-button .hamburguer {
  transition: all 0.1s 0s ease;
}

.lytbox-button1 .hamburguer {
  position: relative;
}

.lytbox-button1 .hamburguer span{
  display: block;
  height: 2px;
  width: 24px;
  background: var(--hamburger-color);
  transform-origin: 50% 50%;
  transition: all 0.1s 0.2s ease, transform 0.2s ease;
}

.lytbox-button1 .hamburguer span:nth-child(2) {
  transform: translate(0, 6px);
}

.lytbox-button1 .hamburguer span:nth-child(3) {
  transform: translate(0, 12px);
    
}
.lytbox-nav_control:checked~.lytbox-button1 .hamburguer {
  transition: all 0.1s 0s ease;
}
/* closed X */

.lytbox-nav_control:checked~.lytbox-button .hamburguer span {
  background: var(--close-x-color);
  transition: all 0.1s ease, transform 0.1s 0.2s ease;
}

.lytbox-nav_control:checked~.lytbox-button .hamburguer span:first-child {
  opacity: 0;
}

.lytbox-nav_control:checked~.lytbox-button  .hamburguer span:nth-child(2) {
  transform: translate(0, 6px) rotate(45deg);
}

.lytbox-nav_control:checked~.lytbox-button .hamburguer span:nth-child(3) {
  transform: translate(0, 4px) rotate(-45deg);

}
.lytbox-nav_control:checked~.lytbox-button1 .hamburguer span {
  background: var(--close-x-color);
  transition: all 0.1s ease, transform 0.1s 0.2s ease;
}

.lytbox-nav_control:checked~.lytbox-button1 .hamburguer span:first-child {
  opacity: 0;
}

.lytbox-nav_control:checked~.lytbox-button1  .hamburguer span:nth-child(2) {
  transform: translate(0, 6px) rotate(45deg);
}

.lytbox-nav_control:checked~.lytbox-button1 .hamburguer span:nth-child(3) {
  transform: translate(0, 4px) rotate(-45deg);

}
