  /* Alapbeállítások */
  :root {
    --primary-color: #2b5797;
    --secondary-color: #e67e22;
    /* --background-color: #f5f5f5; */
    --text-color: #333;
    --link-color: #2b5797;
    --visited-link-color: #00f0d4;
    --hover-color: #e67e22;
    --border-color: #ddd;
  }
  
  * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
  
  body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    /* background-color: var(--background-color); */
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
  }

  /* Akadálymentességi panel stílusai */
    #accessibility-panel {
      background-color: var(--primary-color);
      padding: 10px;
      text-align: center;
      margin-bottom: 10px;
      border-radius: 5px;
    }

    #accessibility-panel button {
      margin: 0 5px;
      padding: 8px 15px;
      background-color: #bd0000;
      color: rgb(0, 0, 0);
      border: none;
      border-radius: 4px;
      cursor: pointer;
      font-size: 0.9rem;
    }

    #accessibility-panel button.active {
      background-color: var(--secondary-color);
    }

  /* Nagy kontrasztú mód */
    body.high-contrast {
      --primary-color: #ffffff;
      --secondary-color: #1aff00;
      --text-color: #000000;
      --link-color: #0f4f0e;
      --visited-link-color: #000000;
      --hover-color: #ff0000;
      --border-color: #000000;
      background-color: #000000;
      color: #000000;
    }

    body.high-contrast h1, h2, h3, h4, h5, h6 {
      background-color: #bd0000;
      color: #000000
    }

    body.high-contrast main {
      background-color: #ffffff;
      color: #000000;
    }

    body.high-contrast nav {
      background-color: #ffffff;
    }

    body.high-contrast header {
      background-color: #ffffff;
    }

    body.high-contrast footer {
      background-color: #ffffff;
    }

    body.high-contrast table th {
      background-color: #000000;
      color: #000000;
    }

    body.high-contrast table tr:nth-child(even) {
      background-color: #333333;
    }

    body.high-contrast a {
      color: #ff0000;
    }

    body.high-contrast a:visited {
      color: #000000;
    }

    body.high-contrast a:hover {
      color: #ff0000;
    }



iframe {
  border: none;
}
  
  /* Nagyobb betűméret */
    body.large-text {
      font-size: 1.5rem;
      line-height: 1.8;
    }

    body.large-text h1 {
      font-size: 3.5rem;
    }

    body.large-text h2 {
      font-size: 3rem;
    }

    body.large-text h3 {
      font-size: 2.5rem;
    }

    body.large-text h4 {
      font-size: 2rem;
    }

    body.large-text h5 {
      font-size: 1.8rem;
    }

    body.large-text h6 {
      font-size: 1.6rem;
    }

    body.large-text nav a {
      font-size: 1.5rem;
      padding: 20px 60px;
    }

    body.large-text button {
      font-size: 1.5rem;
      padding: 15px 30px;
    }

  
  /* Akadálymentesség */
  .skip-link {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
  }

  .skip-link:focus {
      position: fixed;
      top: 0;
      left: 0;
      width: auto;
      height: auto;
      padding: 10px;
      background: var(--primary-color);
      color: rgb(0, 0, 0);
      z-index: 1000;
  }

  
  /* Fejléc */
    header {
      background-color: var(--primary-color);
      padding: 20px;
      text-align: center;
      margin-bottom: 5px;
      background-size: cover;
      background-position: center;
      display: flex;
      justify-content: space-between; /* Distributes items left, center, right */
      align-items: center;            /* Vertically centers content */
      padding: 1em 2em;

    }

    .b_logo img, .j_logo img {
      width: 100px;   /* Adjust as needed for your design */
      height: auto;
      display: block;
    }
    
    header h1 {
      color: white;
      font-size: 2.5rem;
      text-shadow: 20px 20px 40px rgba(0, 0, 0, 0.5);
      margin: 0;
      text-align: center;
      flex: 1; /* Allows the title to take up available space */
    }



  /* Navigáció */
    nav {
      background-color: var(--primary-color);
      
      margin-bottom: 10px;

      border-radius: 80px;
      overflow: hidden;

    }
    
    nav ul {
      margin-top: 1%;
      margin-bottom: 1%;
      margin-right: 1%;
      margin-left: 1%;
      display: flex;
      justify-content: center;
      list-style: none;
      padding: 0;
      gap: 15%; 
    }
    nav li {
      flex: 0 1 auto; 
    }
    
    nav a {
      
      display: block;
      color: white;
      text-decoration: none;
      padding: 15px 50px;
      font-weight: bold;
      background-color: var(--primary-color); 
      border-radius: 100px; 
      transition: all 0.3s ease;
      box-shadow: 0 3px 20px rgba(0,0,0,0.2); 
    
    }
    
    nav a:hover {
      color: #ddd;
      background-color: var(--secondary-color);
      transform: translateY(-3px); 
      box-shadow: 0 5px 8px rgba(0,0,0,0.3); 
    }
    
    nav .active {
      background-color: var(--secondary-color);
    }
    
    /* Linkek */
    a {
      color: var(--link-color);
      text-decoration: underline;
    }
    
    a:visited {
      color: var(--visited-link-color);
    }
    
    a:hover {
      color: var(--hover-color);
    }
  
  
    /* Főtartalom */
  
    main {
   
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  }

  
  section {
    margin-bottom: 30px;
  }
  
  article {
    margin-bottom: 20px;
  }
  
  /* Címsorok */
  h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto', sans-serif;
    margin-bottom: 15px;
    color: var(--primary-color);
  }
  
  h2 {
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 5px;
  }
  
  /* Bekezdések */
  p {
    margin-bottom: 15px;
  }
  
  /* Képek */
 


    img {
      max-width: 100%;
      height: auto;
      border-radius: 5px;
    }

    img .thmb {
      border: 1px solid #ddd; 
      border-radius: 4px; 
      padding: 5px; 
      width: 150px; 

    }

    img .thmb:hover {
      box-shadow: 0 0 2px 1px rgba(0, 140, 186, 0.5);
    }
    
    figure {
      margin: 20px 0;
      text-align: center;
    }
    
    figcaption {
      font-style: italic;
      margin-top: 5px;
      color: #666;
    }
  
  /* Táblázatok */
    table {
      width: 100%;
      border-collapse: collapse;
      margin: 20px 0;
    }
    
    th, td {
      padding: 12px 15px;
      text-align: left;
      border-bottom: 1px solid var(--border-color);
    }
    
    th {
      background-color: var(--primary-color);
      color: white;
    }
    
    tr:nth-child(even) {
      background-color: #f2f2f2;
    }
  
  /* Listák */
  ul, ol {
    margin-left: 20px;
    margin-bottom: 15px;
  }
  
  /* Űrlapok */
    .bckg {
      background-image:url(Kepek/TET-Main-Pic-01.jpg);
      background-color: rgba(255,255,255,0.3);
      background-blend-mode: lighten;

    }

    form {
      max-width: 600px;
      margin: 0 auto;
    }
    
    .form-group {
      margin-bottom: 20px;
    }
    
    label {
      display: block;
      margin-bottom: 5px;
      font-weight: bold;
    }
    
    input, textarea, select {
      width: 100%;
      padding: 10px;
      border: 1px solid var(--border-color);
      border-radius: 4px;
      font-family: inherit;
      font-size: 1rem;
    }
    
    .radio-group, .checkbox-group {
      margin-top: 5px;
    }
    
    .radio-group label, .checkbox-group label {
      display: inline;
      font-weight: normal;
      margin-right: 15px;
    }
    
    .radio-group input, .checkbox-group input {
      width: auto;
      margin-right: 5px;
    }
    
    button {
      background-color: var(--primary-color);
      color: white;
      border: none;
      padding: 10px 20px;
      border-radius: 4px;
      cursor: pointer;
      font-size: 1rem;
      margin-right: 10px;
    }
    
    button:hover {
      /* background-color: var(--secondary-color); */
    }
  
  /* Lábléc */
    footer {
      text-align: center;
      padding: 20px;
      margin-top: 20px;
      background-color: var(--primary-color);
      color: white;
      border-radius: 5px;
    }
    
    footer a {
      color: white;
      text-decoration: underline;
    }
    
    footer a:hover {
      color: var(--secondary-color);
    }
  
 