.fullnavi {
  position: relative;
  z-index: 2;
}

.navigation {
  color: var(--accent);
  font-size: 10px;
  white-space: nowrap; /* Verhindert Zeilenumbrüche */
}

.navigation .active {
  color: var(--highlight);
  font-weight: bold;
}

.nav-welcome,
.nav-welcome a {
    font-size: 15px;
    font-family: Wolfpack;
    color: var(--accent) !important; /* Priorität über andere Farbcodes */
    letter-spacing: 5px;
    transition: color 0.8s ease-in-out; /* Fade-Effekt */
}

.nav-welcome a:hover {
    color: var(--highlight) !important; /* Priorität über andere Farbcodes */
}

 /* Media Query für mobile Geräte */
@media (max-width: 1200px) {
  #navtop {
    flex-wrap: wrap;
    height: auto; /* Ermöglicht flexibles Höhenwachstum */
    padding-left: 8px;
    padding-top: 8px;
  }

  #navtop-ui-left {
    flex: 1 1 100%;
    display: flex;
    padding: 10px 0; /* Abstand zwischen den Elementen */
  }

  #navtop-ui-left .nav-welcome {
    font-size: 12px; /* Reduziert die Schriftgröße */
    letter-spacing: 2px; /* Reduziert den Buchstabenabstand */
    margin: 5px 0; /* Abstand zwischen den Links */
    text-align: center; /* Zentriert den Text */
  }

  #navtop-ui-left a {
    margin: 5px 0; /* Abstand zwischen den Links */

  }

  #navtop-ui-middle {
    display: none; /* Blendet das Trennzeichen für kleine Bildschirme aus */
  }

  #navtop-ui-right {
    flex: 0 0 auto; /* Verhindert, dass der Bereich skaliert wird */
    display: flex;
    align-items: center; /* Zentriert die Inhalte im flex-Container */
    padding-left: 20px;
    padding-right: 30px;
  }

#navtop:after {
    background: var(--designnabg) !important;
    width: 100% !important; /* Stellt sicher, dass der Hintergrund so breit ist wie #navtop */
    height: 90px !important; /* Höhe des Hintergrunds */
    top: 0 !important; /* Stellt sicher, dass das Pseudo-Element oben bleibt */
    content: "" !important; /* Stellt sicher, dass das Pseudo-Element angezeigt wird */
    display: block !important;
    position: absolute !important;
    z-index: -1 !important;
  }

}




#navtop, #navright, #navbottom, #navleft { 
  position: fixed;
  display: flex;
  text-transform: uppercase;
  color: var(--highlight);
  box-sizing: content-box;
  z-index: 2;
}

#navtop a, #navright a, #navbottom a, #navleft a, .navigation a {
  text-transform: uppercase;
  color: var(--highlight);
  transition: color 0.8s ease;
}

#navtop a:hover, #navright a:hover, #navbottom a:hover, #navleft a:hover,
.navigation a:hover {
  color: var(--accent);
}

#navtop {
  display: flex;
  width: 100%;
  align-items: center;
  height: var(--borderSize);
  padding-left: 8px;
  padding-top: 8px;
  font: 10px sans-serif;
  letter-spacing: 3px;
  top: 0;
}

#navtop span {
  margin-left: 20px;
  z-index: 3; /* Höchster Z-Index */
}

#navtop select {
  -webkit-appearance: auto;
}

#navtop-ui-left, #navtop-ui-right, #navtop-ui-middle {
  z-index: 3; /* Höchster Z-Index */
}

#navtop-ui-left {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  padding-left: 10px;
  padding-right: 15px;
}

#navtop-ui-left a, #navtop-ui-right a, #navtop-ui-middle a {
  margin-right: 15px;
}

#navtop-ui-middle {
  flex-grow: 1;
  display: flex;
  justify-content: center;
  padding: 0 10px; /* Padding für symmetrischen Abstand */
}

#navtop-ui-right {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  padding-left: 20px;
  padding-right: 5px;
}

#navtop:after, #navbottom:after, #navleft:after, #navright:after {
  content: "";
  display: block;
  position: absolute;
  background: var(--designnabg);
  z-index: -1;
}

#navleft:after, #navright:after {
  width: 45px;
  height: 100vh;
  top: -15px;
}

#navleft:after {
  left: -7px;
}

#navright:after {
  right: -7px;
}

#navtop:after, #navbottom:after {
  left: -12px;
  width: calc(100% + 24px);
  height: 35px;
}

#navtop:after {
  top: 0;
}

#navbottom:after {
  bottom: 0;
}

#navleft {
  top: 50px;
  left: 0;
  width: var(--borderSize);
  writing-mode: vertical-lr;
  align-items: center;
  padding-left: 8px;
  bottom: -10px;
  font: 10px sans-serif;
  letter-spacing: 3px;
  z-index: 1;
}

#navleft span {
  padding: 25px 35px 10px 35px;
  z-index: 3; /* Höchster Z-Index */
  transform: rotate(-180deg);
}


#navleft-ui-left {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

#navleft-ui-right {
  flex-grow: 1;
}

#navright {
  width: var(--borderSize);
  top: 50px;
  right: 0;
  padding-right: 8px;
  display: flex;
  align-items: center;
  writing-mode: vertical-rl;
  bottom: -1px;
  z-index: 1;
}

#navright hr {
  flex-grow: 0;
  border: 0;
}

#navright span {
  padding: 20px 35px 5px 35px;
  z-index: 3; /* Höchster Z-Index */
}

.navright-house,
#navright-house {
  padding: 25px 35px 10px 35px;
  z-index: 3; /* Höchster Z-Index */

}

.navright-house2,
#navright-house2 {
  padding: 0 35px 10px 35px!important;
  z-index: 3; /* Höchster Z-Index */

}

#navright a {
  margin-bottom: 15px;
}

#navbottom {
  bottom: 0;
  height: var(--borderSize);
  align-items: center;
  padding-bottom: 8px;
  left: 50px;
  right: 50px;
  z-index: 1;
}

#navbottom span {
  font: 10px sans-serif;
  letter-spacing: 3px;
  padding: 20px 0 20px 15px;
  z-index: 3; /* Höchster Z-Index */
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

#navbottom .navbottom-link a {
  margin-left: 15px;
}

#navbottom .navbottom-link {
  display: flex;
  justify-content: flex-end;
}

#navtop hr, #navbottom hr {
  background: var(--designnavhr);
  height: 1px;
  width: 100%;
  border: 0;
}

#navright hr, #navleft hr {
  background: var(--designnavhr);
  height: 100%;
  width: 1px;
  border: 0;
}

html {
  scroll-behavior: smooth;
}
 

.navmodal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
height:100vh;
  overflow: hidden;
  background-color: var(--designbgcolor);
  background-size: 100% auto; 
  background-position: 50% 30%; 
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-image: url(/images/004/back.png);
}

.navmodal-content {
  background: var(--designbgcolor);
  margin: 10% auto 40% auto;
  padding: 20px;
  border: 1px solid var(--designlight);
  width: 80%;
  max-width: 1000px;
  text-align: center;
  color: var(--designtextcolor);
  position: relative;
}


.navmodal-content a {
  color: var(--highlight);
  text-decoration: none;
  font-size: 10px;
}

.navmodal-content a:hover {
  color: var(--accent);
}

.navclose-btn {
  color: var(--highlight);
  font-size: 28px;
  font-weight: bold;
  position: absolute;
  top: 0;
  right: 0;
  margin: 10px;
}

.navclose-btn:hover,
.navclose-btn:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

.navmod-header {
font-size: 50px;
  font-family: SacraSpina;
  color: var(--accent);
 
}

.navmod-subheader {
font-size: 10px;
  font-family: Wolfpack;
  color: var(--highlight);
  margin-bottom: 10px;
  text-transform: lowercase;
  font-style: italic;
	letter-spacing: 2px;
}

.navmod-title {
font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  border-bottom: 1px solid var(--designnavhr);
  margin-bottom: 10px;
}

.navmod-left,
.navmod-right {
  max-width: 50%;
  display: inline-block;
  vertical-align: top;
  text-align: left;
}

.navmod-left {
  font-size: 22px;
  font-family: Vandals;
  margin: 10px;
text-align: right;
}

.navmod-left a {
  font-size: 25px;
  font-family: Vandals;
 
}

.navmod-center {
font-size: 11px;
  margin: 10px;
  max-width: 550px;
  text-align: justify;
}

.navmod-right {
  font-size: 10px;
  text-transform: uppercase;
  margin: 10px;
}

.navmod-sections {
  display: flex;
  justify-content: center;
}

/* Stil für die Buttons, basierend auf deiner Navigation */
.font-button {
	font-size: 10px;
 color: var(--highlight);  
  border: none;
  text-transform: uppercase;
  margin-left: 5px;
	background-color: transparent;
	transition: color 0.8s ease-in-out; /* Fade-Effekt */
}

/* Hover-Effekt für die Buttons */
.font-button:hover {
    color: var(--accent);  
	transition: color 0.8s ease-in-out; /* Fade-Effekt */
}


/* Stil für den aktiven Zustand (wenn der Button gedrückt wird) */
.font-button:active {
    color: var(--accent);  
	transition: color 0.8s ease-in-out; /* Fade-Effekt */
}
