@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 100;
    font-display: swap;
    src: url(https://www.theorie-musik.de/training/style/Montserrat.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/*Menu*/

.navbar {
  background-color: #e5e5e5;
  height: 27px;
  font-family: Montserrat, sans-serif;
  font-size:13px;
  color:black; 
  display: none; 
  z-index:2000;
}

.navbar a {
  text-decoration: none;
  color: #353535;
  display: inline-block;
  padding-top: 0;
  line-height: 27px;
}

.navbar a:hover {
  color: #b29400; 
}

.desktop-support-link {
  position: absolute;
  left: 130px;
  top: 0;
  padding: 1px;
  display: inline-flex;
  align-items: center;
}

.mobile-menu-toggle {
  display: none;
}

.mobile-menu-panel {
  display: none;
}

body.mobile-menu-open .mobile-menu-toggle,
html.mobile-menu-open .mobile-menu-toggle {
  opacity: 0;
  pointer-events: none;
}

body.mobile-menu-ready .mobile-menu-toggle {
  opacity: 1;
}

@media (min-width: 1030px) {
  .navbar .menubar-current {
    display: inline-flex;
    align-items: center;
    border: 1px solid #b29400;
    border-radius: 10px;
    background: #ffffff;
    color: #353535;
    padding: 3px 10px;
    line-height: 1.2;
    font-weight: 700;
  }
}

@media (max-width: 1029px) {
  .mobile-menu-toggle {
    display: inline-flex;
    position: fixed;
    top: 8px;
    right: 10px;
    z-index: 10002;
    width: 42px;
    height: 42px;
    border: 1px solid #cfcfcf;
    border-radius: 10px;
    background: #ffffff;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    line-height: 1;
    color: #353535;
    cursor: pointer;
    opacity: 0;
    transition: top 0.14s ease, opacity 0.12s ease;
  }

  .mobile-menu-toggle:hover {
    color: #b29400;
  }

  .mobile-menu-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: min(320px, 86vw);
    height: 100vh;
    z-index: 10001;
    background: #f3f3f3;
    border-left: 1px solid #d3d3d3;
    box-shadow: -12px 0 28px rgba(0, 0, 0, 0.18);
    padding: 64px 18px 24px 18px;
    box-sizing: border-box;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.2s ease;
    display: block;
    visibility: hidden;
  }

  .mobile-menu-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    border: 1px solid #cfcfcf;
    border-radius: 10px;
    background: #ffffff;
    color: #353535;
    font-size: 28px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
  }

  .mobile-menu-close:hover {
    color: #b29400;
  }

  .mobile-menu-panel.open {
    transform: translateX(0);
    visibility: visible;
  }

  .mobile-menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .mobile-menu-exercises-title {
    margin: 0 0 8px 0;
    font-family: Montserrat, sans-serif;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #7a7a7a;
  }

  .mobile-menu-list li {
    display: block;
    padding: 0;
    margin: 0 0 10px 0;
  }

  .mobile-menu-link,
  .mobile-menu-button,
  .mobile-menu-current {
    display: block;
    width: 100%;
    box-sizing: border-box;
    text-align: left;
    border-radius: 10px;
    border: 1px solid #dadada;
    background: #ffffff;
    color: #353535;
    text-decoration: none;
    padding: 11px 12px;
    font-family: Montserrat, sans-serif;
    font-size: 15px;
  }

  .mobile-menu-button {
    cursor: pointer;
  }

  .mobile-menu-current {
    font-weight: 700;
    border-color: #b29400;
  }

  .mobile-menu-link:hover,
  .mobile-menu-button:hover {
    color: #b29400;
  }

  .mobile-menu-coffee {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 0;
    text-decoration: none;
    color: #353535;
    font-family: Montserrat, sans-serif;
    font-size: 14px;
    padding: 6px 2px;
  }

  .mobile-menu-coffee img {
    width: 28px;
    height: auto;
  }

  .mobile-menu-coffee:hover {
    color: #b29400;
  }

  .mobile-menu-divider {
    border-top: 1px solid #d3d3d3;
    margin: 12px 0;
  }

  .mobile-menu-general {
    margin-top: 8px;
    padding-top: 2px;
  }

  .mobile-menu-site {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #505050;
    text-decoration: none;
    font-family: Montserrat, sans-serif;
    font-size: 13px;
    padding: 6px 2px;
    border-bottom: 1px dashed #cfcfcf;
    margin-bottom: 8px;
  }

  .mobile-menu-site:hover {
    color: #b29400;
    border-bottom-color: #b29400;
  }

  .mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.25);
    z-index: 10000;
    display: none;
  }

  .mobile-menu-overlay.open {
    display: block;
  }
}


.navbar nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
}

.navbar nav {
  float: right;
  margin: 0;
  height: 27px;
  display: flex;
  align-items: center;
}

.navbar li {
  display: inline-flex;
  padding: 0 8px;
  align-items: center;
}

.menubar {
    padding-top: 0;
    background: transparent;
    border: none;
    font-family: Montserrat, sans-serif; 
    font-size:13px;
    color:black;
    font-weight: normal;
    line-height: 27px;
}
.menubar:hover {
    cursor: pointer;
}
.menubar-form {
 display:inline;
}

.menubar-current {
  font-weight: 700;
}

.menubar:focus-visible {
  outline: 2px solid #b29400;
  outline-offset: 2px;
}

@media (min-width: 1030px) {
   .navbar {
    display: block; 
   }    
 }
@media (max-width: 1570px) {
   .navbar li {
   padding: 0 4px;
 }
 .menubar {
   font-size:10px;
   }
 .navbar {
   font-size:10px;
   }
 }
 
  
 /*Ende Menu*/
