@font-face {
    font-family: 'Hertha';
    src: url('https://www.herthabsc.com/_nuxt/fonts/Hertha-Regular.5648406.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Hertha';
    src: url('https://www.herthabsc.com/_nuxt/fonts/Hertha-Italic.4699c78.woff2') format('woff2');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Hertha';
    src: url('https://www.herthabsc.com/_nuxt/fonts/Hertha-Bold.ab71597.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Hertha';
    src: url('https://www.herthabsc.com/_nuxt/fonts/Hertha-Black.0b84650.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

body {
  min-height: 100vh;
  background: linear-gradient(135deg, #0055A4 0%, #0066cc 50%, #002D62 100%) fixed;
  color: #002D62;
  font-family: 'Hertha', Arial, Helvetica, sans-serif;
  margin: 0;
  padding: 0;
}

header, footer {
  background: #002D62;
  color: #fff;
}

.sidebar {
  position: relative;
  height: 100vh;
  text-align:center;
  top: 0;
  left: 0;
  width: 220px;
  height: 100vh;
  background: linear-gradient(180deg, #002D62 0%, #0055A4 100%);
  color: #fff;
  box-shadow: 4px 0 15px 0 #002D62cc;
  z-index: 100;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.sidebar-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 0.7rem;
  margin-bottom: 0.2rem;
}

.sidebar-title {
  font-family: 'Hertha', Arial, Helvetica, sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  text-align: center;
  letter-spacing: 1px;
  text-shadow: 0 1px 4px #002D6288;
  margin: 0;
}

.sidebar-subtitle {
  font-family: 'Hertha', Arial, Helvetica, sans-serif;
  font-size: 0.8rem;
  font-weight: 400;
  color: #fff;
  text-align: center;
  letter-spacing: 0.3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 60vw;
  opacity: 0.85;
  margin: 0.2rem 0 0 0;
  display: block;
}

.sidebar nav {
  margin-top: 3rem;
}

.menulist {
  position: sticky;
  top:50%
}

.sidebar ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1.2rem;
  height: 100%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  margin: 0;
  padding: 0;
}

.sidebar li {
  margin: 0;
  width: 100%;
  text-align: center;
  list-style: none;
}

.sidebar a {
  color: #fff;
  text-decoration: none;
  font-size: 1.15rem;
  font-weight: 500;
  padding: 0.7rem 1.2rem;
  border-radius: 8px;
  display: block;
  transition: background 0.2s, color 0.2s;
}

.sidebar a:hover {
  background: #0055A4;
  color: #00B6F1;
}

.sidebar a.active {
  background: rgba(0,182,241,0.18);
  color: #fff;
  font-weight: 700;
  box-shadow: none;
  border-bottom: 2px solid #00B6F1;
}

.main-content {
  display: none;
}

.button {
  background: #0055A4;
  color: #fff;
  border: none;
  border-radius: 30px;
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 2px 8px #00B6F144;
  transition: background 0.2s;
}

.button:hover {
  background: #00B6F1;
}

.watermark {
  position: fixed;
  bottom: 40px;
  right: 10px;
  font-size: 1.0rem;
  opacity: 0.6;
  font-weight: bold;
  color: rgba(255, 255, 255, 0.7);
  z-index: 10;
}

footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
    padding: 10px 20px;
    text-align: center;
    font-size: 0.8rem;
    opacity: 0.8;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 900px) {
  .sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: auto;
    min-height: 55px;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    box-shadow: 0 4px 15px 0 #002D62cc;
    z-index: 100;
    text-align: center;
    padding: 0.2rem 0;
  }
  .sidebar-header {
    margin-top: 0.7rem;
    margin-bottom: 0.2rem;
  }
  .sidebar ul {
    position: static;
    top: auto;
    left: auto;
    transform: none;
    gap: 1.2rem;
    width: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    height: auto;
  }
  .sidebar li {
    margin: 0;
    width: auto;
    text-align: center;
  }
}
@media (max-width: 600px) {
  .sidebar {
    min-height: 45px;
    padding: 0.1rem 0;
  }
  .sidebar-header {
    margin-top: 0.2rem;
    margin-bottom: 0.1rem;
  }
  .sidebar ul {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 1.2rem;
    width: 100%;
    margin: 0;
    padding: 0;
    height: auto;
    position: static;
    top: auto;
    left: auto;
    transform: none;
  }
  .sidebar li {
    margin: 0;
    width: auto;
    text-align: center;
  }
}