body {
  font-family: Lucida Sans Typewriter, Lucida Console, monaco, Bitstream Vera Sans Mono, monospace; 
  background-color: rgb(255, 255, 255);
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  overflow-x: hidden; /* Megakadályozza a vízszintes görgetést */
}

/* Szülő div, hogy egy sorba helyezze a nyilat és a címet */
.header-container {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  padding-top: 1cm; /* 1 cm-es eltolás felülről */
}

.back-to-home a {
  text-decoration: none;
  color: black; /* Alapértelmezett szín */
  font-size: 18px;
}

.back-to-home a:hover {
  color: red; /* Hover szín */
}

.main-title {
  flex-grow: 1;
  text-align: center; /* Cím középre igazítása */
  margin: 0; /* Margin eltávolítása, hogy a flex doboz megfelelően működjön */
  font-size: 60px; /* Állítsd be a cím méretét tetszés szerint */
  font-family: Lucida Sans Typewriter, Lucida Console, monaco, Bitstream Vera Sans Mono, monospace;
  color: rgb(0, 0, 0);
}

.navbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 10px 0;
  background-color: white;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar a {
  color: black;
  padding: 10px 20px;
  text-decoration: none;
  margin: 5px;
}

.navbar a:hover {
  color: red;
}

.gallery {
  margin-top: 20px;
}

.section {
  margin: 20px;
  padding: 20px;
  border: none;
}

.images {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}

.images img {
  margin: 10px;
  max-width: 100%;
  height: auto;
  cursor: pointer;
}

/* Modál stílusok */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.8);
}

.modal-content {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
}

#caption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #ccc;
  padding: 10px 0;
}

.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
  cursor: pointer;
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

.images img.gif-centered {
  display: block;
  margin-left: auto;
  margin-right: auto;
  max-width: 30%; /* Méret csökkentése */
  height: auto;
}

.video-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* Középre helyezi a gyerek elemeket */
  gap: 20px; /* Térköz a videók között */
}

.video-container iframe {
  width: 100%;
  max-width: 620px;
  height: 360px;
}