
/* styles.css */
.hamburger-menu {
    width: 35px;
    height: 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    position: absolute;
    top: 0;
    right: 18px;
    top: 12px;
    margin: auto;
    cursor: pointer;	
	z-index: 100;
}

.bar {
    width: 100%;
    height: 2px;
    background-color: white;
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform-origin: center;
}

/* Transform bars into X */
.hamburger-menu.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger-menu.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.nav-background {
    display: none;
    position: fixed;
    top: 51px;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(44, 43, 59, 0.94);
    z-index: 50;
}

.mobile-nav {
    position: fixed;
    top: 51px;
    left: -100%;
    width: 100%;
    height: 100%;
    z-index: 75;
    overflow-y: auto;
	
}

.mobile-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav li {
    border-bottom: 1px solid #888;
	margin:0 10px;
	font-size: 24px;
}



.mobile-nav a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    text-decoration: none;
    color: white;
	padding-left: 0px;
}

.mobile-nav a: hover {
	color: #36c0ff;
}

.submenu {
    display: none;

	
}

.submenu li {
	border: 0;
}

.submenu a {
    padding: 5px 10px 8px 10px;
	font-size: 18px;
}

.submenu a: hover {
	color: #36c0ff;
}
    
.submenu li i {
	padding: 5px 10px 8px 10px;
	font-size: 18px;
	color: #a5a6bb;
}


.active > .submenu {
    display: block;
}

.mobile-nav > ul > li.selected-nav > a {
    color: #36c0ff;
}

.submenu li.button {
	border: 1px solid white;
	color: white;
	border-radius: 7px;
	width: max-content;
    padding-top: 2px;
	margin: 0 0 4px 0;
}

.arrow {
    display: inline-block; /* Ensures the arrow is treated as inline element with block behaviors */
    transition: transform 0.3s ease;
    /* Added right alignment for the arrow */
    text-align: right;
    width: 20px; /* Give some width to the arrow span for better control */
	color: white;
	font-weight: bold;
}
.active .arrow {
	transform-origin: 66% center;
    transform: rotate(90deg); /* Rotates the arrow 90 degrees */
	color: #36c0ff;
}

.no-scroll {
    overflow: hidden;
    height: 100%; /* Verhindern, dass die Höhe sich anpasst */
}
