/*

Theme Name: Hello Elementor Child

Theme URI: https://github.com/elementor/hello-theme/

Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team

Author: Elementor Team

Author URI: https://elementor.com/

Template: hello-elementor

Version: 1.0.2

Text Domain: hello-elementor-child

License: GNU General Public License v3 or later.

License URI: https://www.gnu.org/licenses/gpl-3.0.html

/**
 * Muokkaus alkaa
 */
.elementor-kit-8 {
    --e-global-color-primary: #252525;
    --e-global-color-secondary: #04192B;
    --e-global-color-text: #FFFFFF;
    --e-global-color-accent: #e5ba05;
    --e-global-color-71d03f0: #CD201F;
    --e-global-color-8c2d228: #09BB3C;
    --e-global-color-f52ecef: #000000;
    --e-global-color-12a345d: #252525;
}

a:hover {
	color: #09BB3C;
	font-weight: bold;
}

a {
	color: #e5ba05;
}

.elementor-item.elementor-item-active{
	border-bottom: solid #252525 5px;
}

.elementor-nav-menu .sub-arrow .e-font-icon-svg {
	fill: white;
}

/* edit the hamburger and close icon colors here #09BB3C */

.lytbox-button {
	--hamburger-color: #252525;
	--close-x-color: #fff;
	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-168 {
	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;
}

/* 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);
}