#map-section {
    text-align: center;
}

#map-section h2 {
    margin-bottom: 10px;
}

#map-section div {
    margin: 0 auto; /* középre igazítás */
    max-width: 600px;
    height: 400px;
    border: 1px solid #ccc;
    box-shadow: 0 0 5px rgba(0,0,0,0.1);
}
main section {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 20px;
    font-family: Arial, sans-serif;
    line-height: 1.6;
}
body {
    font-family: 'Open Sans', sans-serif;
    font-size: 25px;
    line-height: 1.6;
    color: #333;
    background-color: #CCCCCC;
}
main section h1 {
    font-size: 2em;
    margin-bottom: 20px;
    color: #222;
}
main section h1::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background-color: #0077cc;
    margin: 10px auto;
}
.btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #0077cc;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 20px;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #005fa3;
}
@media screen and (max-width: 600px) {
    main section {
        padding: 10px;
        font-size: 16px;
    }

    main section h1 {
        font-size: 1.5em;
    }
}
h1, h2, h3, p {
    text-align: center;
}
nav ul li a {
    font-size: 25px; /* vagy amekkora a főoldalon */
    text-decoration: none;
    color: #000;
}
/* Menü középre */
nav ul {
  display: flex;
  justify-content: center; /* vagy space-around, space-between, ami tetszik */
  list-style: none;
  gap: 20px;
  padding: 10px;
  background-color: #f0f0f0;
}
form {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    background-color: #CCCCCC;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}
form {
  max-width: 620px;
  margin: 0 auto;
}

.form-row {
  margin-bottom: 15px;
  text-align: left; /* hogy ne legyen középre igazítva */
}

.form-row label {
  display: block;
  margin-bottom: 6px;
  font-weight: bold;
}

.form-row input[type="text"],
.form-row input[type="email"] {
  width: 300px; /* keskenyebb */
  padding: 8px;
  box-sizing: border-box;
  display: block;
}

.form-row textarea {
  width: 100%; /* szélesebb, a form szélességéhez igazodik */
  padding: 8px;
  box-sizing: border-box;
  resize: vertical;
}

.btn {
  padding: 10px 20px;
  background-color: #0077cc;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  display: block;
  margin-top: 10px;
}

.btn:hover {
  background-color: #005fa3;
}
.site-header {
    background-color: #C0C0C0;
    padding: 10px;
}

.site-header h1 {
    margin: 0;
}

.site-header nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  padding: 0;
  margin: 0;
}

.site-header nav li {
  position: relative;
}

.site-header nav a {
  text-decoration: none;
  color: black;
  display: block;
  padding: 10px;
  transition: background-color 0.3s ease-in-out;
}

.site-header nav li:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -10px; /* A gap értékének a fele */
  width: 2px;
  height: 60%;
  background-color: #000;
  transform: translateY(-50%);
}

.site-header nav a:hover {
  background-color: #007BFF;
}
.header-image {
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.header-image {
  box-shadow: 0px 5px 15px rgba(0, 0, 0, 1), inset 0 0 10px rgba(0, 0, 0, 1);
}
h1 {
  text-shadow: 6px 6px 6px #6E7F90;
}
.main-nav ul li a.active { /*Aktív menü színe*/
  background-color: #555;
  color: white;
  font-weight: bold;
}
/* Mobil nézetre vonatkozó stílusok (max. 768px széles képernyőig) */
@media screen and (max-width: 768px) {
  
  /* A fejléc kép méretezése */
  .header-image {
    max-width: 100%; /* A kép nem lesz nagyobb, mint a szülőelem szélessége */
    height: auto;   /* Megtartja az arányokat, hogy ne torzuljon el */
  }

  /* A navigációs menü átalakítása */
  .main-nav ul {
    flex-direction: column; /* A menüpontok egymás alá kerülnek */
    align-items: center;    /* Középre igazítja a menüpontokat */
  }

  .main-nav li {
    margin-bottom: 1px; /* Hozzáad egy kis távolságot a menüpontok közé */
  }
}
/* Erősebb szabályok a levélküldő mezőkre a böngésző különbségek kiküszöbölésére */
form input[type="text"],
form input[type="email"],
form textarea {
  box-sizing: border-box !important;  /* Ez a kulcs a szélesség megfelelő számításához */
  width: 100% !important;             /* A szülőelem teljes szélességét kitölti */
  padding: 10px !important;           /* Biztosítja a belső margót */
  margin-bottom: 15px !important;     /* Biztosítja a külső margót */
  border: 1px solid #000 !important;  /* Meghatározza a keret stílusát */
  border-radius: 5px !important;      /* Lekerekített sarkok */
}
/* Mobil nézetre vonatkozó stílusok (max. 768px széles képernyőig) */
@media screen and (max-width: 768px) {
  
  /* A navigációs menü átalakítása */
  .main-nav ul {
    width: 80% !important;
    margin: 0 auto !important;
    padding: 0 !important;
    flex-direction: column !important;
    align-items: center !important;
    list-style: none !important;
    gap: 5px !important;
  }

  .main-nav li {
    width: 100% !important;
    margin: 0 !important;
    text-align: center !important;
  }

  .main-nav a {
    display: block !important;
    width: 100% !important;
    padding: 5px 0 !important; /* Még kisebb belső margó a kompaktabb megjelenésért */
  }    
 .site-header h1 {
    font-size: 1.5em !important; /* Most már a !important kulcsszót is hozzáadjuk, a biztonság kedvéért. */
  }  
}
.site-header nav {
    border-top: 2px solid #00008B;   /* felső csík */
    border-bottom: 2px solid #00008B; /* alsó csík */
    background: transparent;         /* menü mögött átlátszó */
    padding: 1px 0;
}
html, body {
  margin: 0;
  padding: 0;
}

footer {
  background: #1e1e1e;
  color: #f2f2f2;
  width: 100%;      /* vw helyett % */
  margin: 0;
  padding: 20px 0;
}
