header {
	position: fixed;
	top: 0;
	left: 0;
    padding-left: 20px;
    padding-right: 20px;
	z-index: 10000;
    display: flex;
	display: -webkit-flex;
	flex-direction: row;
    align-items: center;
	-webkit-align-items: center;
	justify-content: space-between;
	-webkit-justify-content: space-between;
	width: 100%;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-transition: 0.2s;
    -moz-transition: 0.2s;
    -o-transition: 0.2s;
	transition: 0.2s;
    -webkit-box-shadow: 0 4px 6px -6px #222;
    -moz-box-shadow: 0 4px 6px -6px #222;
    box-shadow: 0 4px 6px -6px #222;
    backdrop-filter: blur(15px); /* Hier wird der Hintergrund unscharf */
    -webkit-backdrop-filter: blur(15px); /* Für Safari */
    background-color: rgba(255, 255, 255, 0.2); /* Optional: halbtransparentes Overlay */
}

#header-logo {
	-webkit-transition: 0.2s;
    -moz-transition: 0.2s;
    -o-transition: 0.2s;
	transition: 0.2s;
    height: 50px;
}

.header-top {
    display: flex;
	display: -webkit-flex;
    justify-content: space-between;
	-webkit-justify-content: space-between;
    align-items: center;
	-webkit-align-items: center;
    width: 100%;
}

nav ul {
    display: flex;
	display: -webkit-flex;
    justify-content: space-between;
	-webkit-justify-content: space-between;
	align-items: center;
	-webkit-align-items: center;
	gap: 20px;
}

.nav-child a {
    position: relative;
    color: #000000;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: bold;
}

.nav-child a:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -6px;
    left: 0;
    background-color: #0f4c5c;
    color: #0f4c5c;
    visibility: hidden;
    -webkit-transform: scaleX(0);
    -ms-transform: scaleX(0);
        transform: scaleX(0);
    -webkit-transition: all 0.2s ease-in-out 0s;
    -o-transition: all 0.2s ease-in-out 0s;
    transition: all 0.2s ease-in-out 0s;
}
  
.nav-child a:hover:before,
.nav-child.active > a::before {
    visibility: visible;
    -webkit-transform: scaleX(1);
    -ms-transform: scaleX(1);
    transform: scaleX(1);
}

.nav-child a:hover,
.nav-child.active > a {
    color: #0f4c5c;
}

#hamb {
    cursor: pointer;
}

.hamb-line {
    background: black;
    display: block;
    height: 2px;
    position: relative;
    width: 24px;
}

.hamb-line::before,
.hamb-line::after{
    background: black;
    content: '';
    display: block;
    height: 100%;
    position: absolute;
    -webkit-transition: all .2s ease-out;
	-moz-transition: all .2s ease-out;
    -o-transition: all .2s ease-out;
    transition: all .2s ease-out;
    width: 100%;
}

.hamb-line::before{
    top: 5px;
}

.hamb-line::after{
    top: -5px;
}

.side-menu {
    display: none;
}

/* Toggle menu icon */

nav.open {
    max-height: 100%;
}

#hamb.open .hamb-line {
    background: transparent;
}

#hamb.open .hamb-line::before {
    -webkit-transform: rotate(-45deg);
        -ms-transform: rotate(-45deg);
            transform: rotate(-45deg);
    top:0;
}

#hamb.open .hamb-line::after {
    -webkit-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
            transform: rotate(45deg);
    top:0;
}

@media screen and (min-width: 900px) {
    header {
		height: 100px;
	}

	nav {
		max-height: none;
	}
	
	#hamb {
		display: none;
	}
}

@media screen and (max-width: 900px) {	
    header {
		padding-top: 10px;
        padding-bottom: 10px;
        flex-direction: column;
	}

    #header-logo {
        height: 40px;
    }

	nav {
        max-height: 0;
		overflow: hidden;
	}

	nav ul {
		flex-direction: column;
		padding-top: 10px;
	}
}