body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f4f4f4;
}

h1, h2 {
  color: #2c3e50;
}

h1 {
  font-size: 2em; /* Adjust font size for h1 */
}

h2 {
  font-size: 1.5em; /* Adjust font size for h2 */
}

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  z-index: 100;
}

.skip-link:focus {
  position: absolute;
  left: 10px;
  top: 10px;
  width: auto;
  height: auto;
  padding: 8px 16px;
  background: #0066cc;
  color: white;
  font-weight: bold;
  text-decoration: none;
  border-radius: 5px;
  z-index: 1000;
}

img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.site-header {
  position: sticky;
  top: 0;
  width: 100%;
  background-color: white;
  border-bottom: 1px solid #ccc;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  z-index: 1000;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: auto;
  padding: 10px 20px;
}

.logo img {
  height: 100px;
}

.main-nav {
  display: flex;
  gap: 20px;
}

.main-nav a {
  text-decoration: none;
  color: #2c3e50;
  font-weight: bold;
  padding: 8px 12px;
  border-radius: 5px;
  transition: background-color 0.3s, color 0.3s;
}

.main-nav a:hover {
  background-color: #0066cc;
  color: white;
}

.hero {
  position: relative;
  width: 100%;
  height: 60vh;
  background: url('fooldal4uj.jpeg') center/cover no-repeat;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin: 0;
  padding: 0;
  overflow: hidden;
  image-rendering: auto;
}

.hero h1 {
  font-size: 3em;
  margin: 0;
  padding: 1em;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 10px;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.6);
  color: white; /* Ensure the text is white */
}

.content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 2em;
  padding: 2em;
  max-width: 1400px; 
  margin: 0 auto;    
  
}
footer {
  background-color: #004990;
  color: white;
  text-align: center;
  padding: 1em;
  margin-top: 2em;
}
  
  .container {
    padding: 20px;
  }
  
  .content {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
  }
  
  .image-box, .text-box {
    width: 45%;
    min-height: 150px;
    background-color: #e8e8e8;
  }
  

  form {
    background-color: #ffffff;
    max-width: 600px;
    margin: 40px auto;
    padding: 30px;
    border: 2px solid #0077cc; /* kék keret */
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(0, 119, 204, 0.2);
  }
  
  form h1 {
    color: #0077cc;
    margin-bottom: 20px;
  }
  
  label {
    display: block;
    margin-top: 15px;
    font-weight: bold;
  }

  legend {
    font-size: 1.5em; /* Adjust font size */
    font-weight: bold; /* Make it bold */
    color: #2c3e50; /* Match the color of other headings */
    margin-bottom: 10px; /* Add spacing below the legend */
  }
  
  button {
    margin-top: 10px;
    padding: 10px 20px;
  }

  input[type="text"],
  input[type="email"],
  textarea {
    width: 300px;
    padding: 8px;
    margin-top: 5px;
    margin-bottom: 10px;
    box-sizing: border-box;
}

#uzenet {
  width: 100%;
  max-width: 500px;   /* Adjust as needed */
  min-height: 100px;  /* Adjust as needed */
  font-size: 1em;
  padding: 8px;
  box-sizing: border-box;
  resize: vertical;   /* Allow vertical resizing only */
}

.main-nav a.active {
  background-color: #0066cc; /* Blue background */
  color: white; /* White text */
}


footer {
  background-color: #004990;
  color: white;
  text-align: left; /* Align content to the left */
  padding: 1em;
  margin-top: 2em;
}

footer h2 {
  color: white;
}



footer a {
  color: white;
  text-decoration: underline;
}

footer a:visited {
  color: #e0e0e0; /* vagy akár white */
}

footer a:hover,
footer a:focus {
  color: orange;
  text-decoration: underline;
  outline: 2px dashed orange;
  outline-offset: 2px;
}
