/* Alap beállítások minden oldalhoz */
body {
  font-family: Arial, sans-serif;
  font-size: 1rem; /* hozzáadva az alapméret */
  margin: 0;
  background-color: #fff9e6;
  color: #222;
}

/* Fejléc és menüsor */
.header-bar {
  position: relative;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  background-color: #ffffff;
  padding: 0.3125rem 0.9375rem; /* 5px 15px */
  border-bottom: 0.125rem solid #ccc; /* 2px */
}

.nav-left {
  display: flex;
  gap: 0.125rem; /* 2px */
  flex-wrap: nowrap;
}

.nav-left a {
  padding: 0.625rem 0.375rem; /* 10px 6px */
  background-color: #fff;
  text-decoration: none;
  color: #333;
  border: 0.125rem solid #ccc; /* 2px */
  border-bottom: none;
  font-weight: bold;
  font-size: 0.625rem; /* 10px */
  clip-path: polygon(5% 0%, 95% 0%, 100% 25%, 100% 100%, 0% 100%, 0% 25%);
  transition: background-color 0.3s;
  white-space: nowrap;
}

.nav-left a:hover,
.nav-left a.active {
  background-color: #ff914d;
  color: #fff;
}

.logo-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.5rem; /* 24px */
  font-weight: bold;
  color: #e63946;
  white-space: nowrap;
}

/* Reszponzivitás */
@media (max-width: 768px) {
  .header-bar {
    flex-direction: column;
    align-items: center;
  }

  .nav-left {
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 0.5rem; /* 8px */
  }

  .logo-center {
    position: static;
    transform: none;
    font-size: 1.25rem; /* 20px */
    margin-top: 0.3125rem; /* 5px */
  }
}

a:link {
  color: #0044cc;
}

a:visited {
  color: #660066;
}

body, p, ul, ol, textarea {
  text-align: left;
}
.accessibility-mode {
  background-color: black !important;
  color: yellow !important;
}

.accessibility-mode a {
  color: yellow !important;
  text-decoration: underline !important;
}

.accessibility-mode .header-bar,
.accessibility-mode .nav-left a {
  background-color: black !important;
  color: yellow !important;
  border-color: yellow !important;
}

.accessibility-mode h1,
.accessibility-mode h2,
.accessibility-mode h3,
.accessibility-mode label,
.accessibility-mode p {
  color: yellow !important;
  font-size: 1.3em;
  font-weight: bold;
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: #000;
  color: #fff;
  padding: 8px;
  z-index: 1000;
  text-decoration: none;
  font-weight: bold;
}

.skip-link:focus {
  top: 0;
}
