@font-face {
  font-family: 'font-sans-serif';
  src: url('/Roboto.woff') format('woff');
}

body {
  margin: 0;
}

.main {
  margin-top: 80px;
}

/* NAVBAR */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 80px;
  background: #fff;
  border-bottom: 2px solid #e5e5e5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.navbar-inner {
  display: flex;
  align-items: stretch;
  height: 100%;
  gap: 2rem;
}

.navbar-logo {
  height: 100%;
  display: flex;
  align-items: center;
}

.navbar-logo img {
  display: block;
  height: 55%;
  width: auto;
}

.navbar-links {
  display: flex;
  align-items: stretch;
  height: 100%;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.navbar-links li {
  display: flex;
}

.navbar-links a {
  text-decoration: none;
  font-family: 'font-sans-serif', Fallback, sans-serif;
  font-size: 20px;
  color: #555;
  display: flex;
  align-items: center;
  padding: 0 16px;
  border-radius: 6px 6px 0 0;
  box-shadow: inset 0 -3px 0 transparent;
  transition: background 0.15s, color 0.15s;
}

.navbar-links a:hover {
  background: #f5f5f5;
  color: #28166f;
}

.navbar-links a.active {
  background: #f5f5f5;
  color: #28166f;
  font-weight: 500;
  border-bottom: 4px solid #28166f;
}

.navbar-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
}

.navbar-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #1a1a1a;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.navbar-hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.navbar-hamburger.open span:nth-child(2) {
  opacity: 0;
}

.navbar-hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 768px) {
  .navbar {
    height: auto;
    min-height: 80px;
  }

  .navbar-inner {
    flex-wrap: wrap;
    padding: 0 1rem;
    width: 100%;
    height: auto;
    align-items: center;
    gap: 0;
    min-height: 80px;
    align-content: flex-start;
  }

  .navbar-logo {
    flex: 1;
    height: 80px;
    display: flex;
    align-items: center;
  }

  .navbar-logo img {
    height: 40px;
  }

  .navbar-hamburger {
    display: flex;
    height: 80px;
    align-items: center;
    margin-left: 0;
  }

  .navbar-links {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 0;
    gap: 0;
    height: auto;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: #fff;
  }

  .navbar-links.open {
    max-height: 400px;
    border-top: 1px solid #e5e5e5;
  }

  .navbar-links li {
    width: 100%;
  }

  .navbar-links a {
    width: 100%;
    padding: 1rem 1.5rem;
    border-radius: 0;
    font-size: 16px;
    box-sizing: border-box;
    height: auto;
  }

  .navbar-links a.active {
    border-bottom: none;
    border-left: 4px solid #28166f;
    background: #f5f5f5;
  }
}


.footer {
  background: #1a1a1a;
  padding: 2rem;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-logo img {
  height: 32px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.8;
}

.footer-links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 2rem;
}

.footer-links a {
  text-decoration: none;
  font-family: 'font-sans-serif', sans-serif;
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #fff;
}

.footer-copy {
  font-family: 'font-sans-serif', sans-serif;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}