* {
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  font-size: 100%;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  background-color: #fff;
  color: #222;
}

header {
  width: 100%;
  display: flex;
  justify-content: space-between; /* Balra a logó, jobbra a navigáció */
  align-items: center;
  padding: 1rem;
  position: relative;
  top: 0;
  left: 0;
  background-color: #333;
  color: white;
}

.logo {
  width: 3vh;
  height: auto;
}

.site-title {
  font-size: 1.5rem;
  margin: 0;
  padding-left: 10px;
  text-align: center; /* Középre igazítja a címet */
  flex-grow: 1; /* Cím kitölti a rendelkezésre álló helyet */
}

nav {
  display: flex;
  justify-content: flex-end; /* Jobbra igazítja a navigációs linkeket */
}

nav ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
  display: flex; /* Flexbox layout */
}

nav ul li {
  margin-left: 15px; /* Bal oldali margó */
}

nav ul li a {
  color: white;
  text-decoration: underline;
}

main {
  padding: 1em;
}

form {
  background: #f4f4f4;
  padding: 1em;
  border-radius: 8px;
  max-width: 100em;
  margin: auto;
}

@media screen and (max-width: 600px) {
  nav ul li {
    display: block;
  }
  video {
    width: 100%
  }
  .logo {
    display: none;
  }
  .tile {
    display: none;
  }
}

@media screen and (max-width: 1000px) {
  .logo {
    display: none;
  }
  .tile {
    display: none;
  }
}

body {
  margin: 0;
}

button {
  padding: 10px 20px;
  background-color: #4CAF50;
  margin-right: 20px;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

button:hover {
  background-color: #45a049;
}

.kapcsolatbody {
  background-image: url("background.jpg");
  background-repeat: no-repeat;
  background-size: cover;
}

.tile {
  background-image: url("tile.jpg");
  background-repeat: repeat;
  width: 10vh;
  height: 100vh;
  float: right;
  position: fixed;
  right: 0;
  top: 0;
  z-index: -10;
}

video {
  width: 30%;
}

td, th {
  border: black solid 2px;
  padding: 3px;
}

footer {
  margin-left: 10px;
}

a:visited {
  color: purple;
}

.ki {
  position: absolute;
  left: -999px;
}

img {
  background-color: black;
  width: min(30vw, 500px)
}